metadata.proto

Package: core.solo.io

Types:

Source File: github.com/solo-io/solo-kit/api/v1/metadata.proto

Metadata

* Metadata contains general properties of resources for purposes of versioning, annotating, and namespacing.

"name": string
"namespace": string
"cluster": string
"resourceVersion": string
"labels": map<string, string>
"annotations": map<string, string>
"generation": int
"ownerReferences": []core.solo.io.Metadata.OwnerReference
Field Type Description Default
name string Name of the resource. Names must be unique and follow the following syntax rules: One or more lowercase rfc1035/rfc1123 labels separated by ‘.’ with a maximum length of 253 characters.
namespace string Namespace is used for the namespacing of resources.
cluster string Cluster indicates the cluster this resource belongs to Cluster is only applicable in certain contexts, e.g. Kubernetes An empty string here refers to the local cluster.
resourceVersion string An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed.
labels map<string, string> Map of string keys and values that can be used to organize and categorize (scope and select) objects. Some resources contain selectors which can be linked with other resources by their labels.
annotations map<string, string> Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.
generation int A sequence number representing a specific generation of the desired state. Currently only populated for resources backed by Kubernetes.
ownerReferences []core.solo.io.Metadata.OwnerReference List of objects depended by this object. Currently only populated for resources backed by Kubernetes.

OwnerReference

proto message representing kubernertes owner reference https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#ownerreference-v1-meta

"apiVersion": string
"blockOwnerDeletion": .google.protobuf.BoolValue
"controller": .google.protobuf.BoolValue
"kind": string
"name": string
"uid": string
Field Type Description Default
apiVersion string
blockOwnerDeletion .google.protobuf.BoolValue
controller .google.protobuf.BoolValue
kind string
name string
uid string