var File_meta_proto protoreflect.FileDescriptor
General metadata about a configuration object. Typically references either an implicit default configuration or a Kubernetes resource.
type Metadata struct { // Types that are assignable to Kind: // // *Metadata_Default // *Metadata_Resource Kind isMetadata_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*Metadata) Descriptor() ([]byte, []int)
Deprecated: Use Metadata.ProtoReflect.Descriptor instead.
func (x *Metadata) GetDefault() string
func (m *Metadata) GetKind() isMetadata_Kind
func (x *Metadata) GetResource() *Resource
func (*Metadata) ProtoMessage()
func (x *Metadata) ProtoReflect() protoreflect.Message
func (x *Metadata) Reset()
func (x *Metadata) String() string
type Metadata_Default struct { // A name describing a default/implicit configuration. // // For example, a policy default name like `all-authenticated` describes an // implicit controller-implementedc policy that does not exist as a cluster // resource. Default string `protobuf:"bytes,1,opt,name=default,proto3,oneof"` }
type Metadata_Resource struct { Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3,oneof"` }
References a (e.g., Kubernetes) resource.
type Resource struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` Section string `protobuf:"bytes,5,opt,name=section,proto3" json:"section,omitempty"` Port uint32 `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*Resource) Descriptor() ([]byte, []int)
Deprecated: Use Resource.ProtoReflect.Descriptor instead.
func (x *Resource) GetGroup() string
func (x *Resource) GetKind() string
func (x *Resource) GetName() string
func (x *Resource) GetNamespace() string
func (x *Resource) GetPort() uint32
func (x *Resource) GetSection() string
func (*Resource) ProtoMessage()
func (x *Resource) ProtoReflect() protoreflect.Message
func (x *Resource) Reset()
func (x *Resource) String() string