Documentation ¶
Index ¶
- Variables
- type ClusterObjectRef
- func (*ClusterObjectRef) Descriptor() ([]byte, []int)deprecated
- func (m *ClusterObjectRef) Equal(that interface{}) bool
- func (x *ClusterObjectRef) GetClusterName() string
- func (x *ClusterObjectRef) GetName() string
- func (x *ClusterObjectRef) GetNamespace() string
- func (m *ClusterObjectRef) Hash(hasher hash.Hash64) (uint64, error)
- func (*ClusterObjectRef) ProtoMessage()
- func (x *ClusterObjectRef) ProtoReflect() protoreflect.Message
- func (x *ClusterObjectRef) Reset()
- func (x *ClusterObjectRef) String() string
- type ObjectRef
- func (*ObjectRef) Descriptor() ([]byte, []int)deprecated
- func (m *ObjectRef) Equal(that interface{}) bool
- func (x *ObjectRef) GetName() string
- func (x *ObjectRef) GetNamespace() string
- func (m *ObjectRef) Hash(hasher hash.Hash64) (uint64, error)
- func (*ObjectRef) ProtoMessage()
- func (x *ObjectRef) ProtoReflect() protoreflect.Message
- func (x *ObjectRef) Reset()
- func (x *ObjectRef) String() string
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (m *Status) Equal(that interface{}) bool
- func (x *Status) GetMessage() string
- func (x *Status) GetObservedGeneration() int64
- func (x *Status) GetOwner() *wrappers.StringValue
- func (x *Status) GetProcessingTime() *timestamp.Timestamp
- func (x *Status) GetState() Status_State
- func (m *Status) Hash(hasher hash.Hash64) (uint64, error)
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- type Status_State
- func (Status_State) Descriptor() protoreflect.EnumDescriptor
- func (x Status_State) Enum() *Status_State
- func (Status_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Status_State) Number() protoreflect.EnumNumber
- func (x Status_State) String() string
- func (Status_State) Type() protoreflect.EnumType
- type TypedClusterObjectRef
- func (*TypedClusterObjectRef) Descriptor() ([]byte, []int)deprecated
- func (m *TypedClusterObjectRef) Equal(that interface{}) bool
- func (x *TypedClusterObjectRef) GetApiGroup() *wrappers.StringValue
- func (x *TypedClusterObjectRef) GetClusterName() string
- func (x *TypedClusterObjectRef) GetKind() *wrappers.StringValue
- func (x *TypedClusterObjectRef) GetName() string
- func (x *TypedClusterObjectRef) GetNamespace() string
- func (m *TypedClusterObjectRef) Hash(hasher hash.Hash64) (uint64, error)
- func (*TypedClusterObjectRef) ProtoMessage()
- func (x *TypedClusterObjectRef) ProtoReflect() protoreflect.Message
- func (x *TypedClusterObjectRef) Reset()
- func (x *TypedClusterObjectRef) String() string
- type TypedObjectRef
- func (*TypedObjectRef) Descriptor() ([]byte, []int)deprecated
- func (m *TypedObjectRef) Equal(that interface{}) bool
- func (x *TypedObjectRef) GetApiGroup() *wrappers.StringValue
- func (x *TypedObjectRef) GetKind() *wrappers.StringValue
- func (x *TypedObjectRef) GetName() string
- func (x *TypedObjectRef) GetNamespace() string
- func (m *TypedObjectRef) Hash(hasher hash.Hash64) (uint64, error)
- func (*TypedObjectRef) ProtoMessage()
- func (x *TypedObjectRef) ProtoReflect() protoreflect.Message
- func (x *TypedObjectRef) Reset()
- func (x *TypedObjectRef) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Status_State_name = map[int32]string{ 0: "PENDING", 1: "PROCESSING", 2: "INVALID", 3: "FAILED", 4: "ACCEPTED", } Status_State_value = map[string]int32{ "PENDING": 0, "PROCESSING": 1, "INVALID": 2, "FAILED": 3, "ACCEPTED": 4, } )
Enum value maps for Status_State.
View Source
var File_github_com_solo_io_skv2_api_core_v1_core_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClusterObjectRef ¶
type ClusterObjectRef struct { // name of the resource being referenced Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // namespace of the resource being referenced Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // name of the cluster in which the resource exists ClusterName string `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` // contains filtered or unexported fields }
Resource reference for a cross-cluster-scoped object
func (*ClusterObjectRef) Descriptor
deprecated
func (*ClusterObjectRef) Descriptor() ([]byte, []int)
Deprecated: Use ClusterObjectRef.ProtoReflect.Descriptor instead.
func (*ClusterObjectRef) Equal ¶
func (m *ClusterObjectRef) Equal(that interface{}) bool
Equal function
func (*ClusterObjectRef) GetClusterName ¶
func (x *ClusterObjectRef) GetClusterName() string
func (*ClusterObjectRef) GetName ¶
func (x *ClusterObjectRef) GetName() string
func (*ClusterObjectRef) GetNamespace ¶
func (x *ClusterObjectRef) GetNamespace() string
func (*ClusterObjectRef) Hash ¶
func (m *ClusterObjectRef) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*ClusterObjectRef) ProtoMessage ¶
func (*ClusterObjectRef) ProtoMessage()
func (*ClusterObjectRef) ProtoReflect ¶ added in v0.7.17
func (x *ClusterObjectRef) ProtoReflect() protoreflect.Message
func (*ClusterObjectRef) Reset ¶
func (x *ClusterObjectRef) Reset()
func (*ClusterObjectRef) String ¶
func (x *ClusterObjectRef) String() string
type ObjectRef ¶
type ObjectRef struct { // name of the resource being referenced Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // namespace of the resource being referenced Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
Resource reference for an object
func (*ObjectRef) Descriptor
deprecated
func (*ObjectRef) GetNamespace ¶
func (*ObjectRef) ProtoMessage ¶
func (*ObjectRef) ProtoMessage()
func (*ObjectRef) ProtoReflect ¶ added in v0.7.17
func (x *ObjectRef) ProtoReflect() protoreflect.Message
type Status ¶
type Status struct { // The current state of the resource State Status_State `protobuf:"varint,1,opt,name=state,proto3,enum=core.skv2.solo.io.Status_State" json:"state,omitempty"` // A human readable message about the current state of the object Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // The most recently observed generation of the resource. This value corresponds to the `metadata.generation` of // a kubernetes resource ObservedGeneration int64 `protobuf:"varint,3,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"` // The time at which this status was recorded ProcessingTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=processing_time,json=processingTime,proto3" json:"processing_time,omitempty"` // (optional) The owner of the status, this value can be used to identify the entity which wrote this status. // This is useful in situations where a given resource may have multiple owners. Owner *wrappers.StringValue `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
A generic status
func (*Status) Descriptor
deprecated
func (*Status) GetMessage ¶
func (*Status) GetObservedGeneration ¶
func (*Status) GetOwner ¶
func (x *Status) GetOwner() *wrappers.StringValue
func (*Status) GetProcessingTime ¶
func (*Status) GetState ¶
func (x *Status) GetState() Status_State
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶ added in v0.7.17
func (x *Status) ProtoReflect() protoreflect.Message
type Status_State ¶
type Status_State int32
The State of a reconciled object
const ( // Waiting to be processed. Status_PENDING Status_State = 0 // Currently processing. Status_PROCESSING Status_State = 1 // Invalid parameters supplied, will not continue. Status_INVALID Status_State = 2 // Failed during processing. Status_FAILED Status_State = 3 // Finished processing successfully. Status_ACCEPTED Status_State = 4 )
func (Status_State) Descriptor ¶ added in v0.7.17
func (Status_State) Descriptor() protoreflect.EnumDescriptor
func (Status_State) Enum ¶ added in v0.7.17
func (x Status_State) Enum() *Status_State
func (Status_State) EnumDescriptor
deprecated
func (Status_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Status_State.Descriptor instead.
func (Status_State) Number ¶ added in v0.7.17
func (x Status_State) Number() protoreflect.EnumNumber
func (Status_State) String ¶
func (x Status_State) String() string
func (Status_State) Type ¶ added in v0.7.17
func (Status_State) Type() protoreflect.EnumType
type TypedClusterObjectRef ¶ added in v0.7.2
type TypedClusterObjectRef struct { // API group of the resource being referenced ApiGroup *wrappers.StringValue `protobuf:"bytes,1,opt,name=api_group,json=apiGroup,proto3" json:"api_group,omitempty"` // Kind of the resource being referenced Kind *wrappers.StringValue `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // name of the resource being referenced Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // namespace of the resource being referenced Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` // name of the cluster in which the resource exists ClusterName string `protobuf:"bytes,5,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` // contains filtered or unexported fields }
Resource reference for a typed, cross-cluster-scoped object
func (*TypedClusterObjectRef) Descriptor
deprecated
added in
v0.7.2
func (*TypedClusterObjectRef) Descriptor() ([]byte, []int)
Deprecated: Use TypedClusterObjectRef.ProtoReflect.Descriptor instead.
func (*TypedClusterObjectRef) Equal ¶ added in v0.7.2
func (m *TypedClusterObjectRef) Equal(that interface{}) bool
Equal function
func (*TypedClusterObjectRef) GetApiGroup ¶ added in v0.7.2
func (x *TypedClusterObjectRef) GetApiGroup() *wrappers.StringValue
func (*TypedClusterObjectRef) GetClusterName ¶ added in v0.7.2
func (x *TypedClusterObjectRef) GetClusterName() string
func (*TypedClusterObjectRef) GetKind ¶ added in v0.7.2
func (x *TypedClusterObjectRef) GetKind() *wrappers.StringValue
func (*TypedClusterObjectRef) GetName ¶ added in v0.7.2
func (x *TypedClusterObjectRef) GetName() string
func (*TypedClusterObjectRef) GetNamespace ¶ added in v0.7.2
func (x *TypedClusterObjectRef) GetNamespace() string
func (*TypedClusterObjectRef) Hash ¶ added in v0.7.2
func (m *TypedClusterObjectRef) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*TypedClusterObjectRef) ProtoMessage ¶ added in v0.7.2
func (*TypedClusterObjectRef) ProtoMessage()
func (*TypedClusterObjectRef) ProtoReflect ¶ added in v0.7.17
func (x *TypedClusterObjectRef) ProtoReflect() protoreflect.Message
func (*TypedClusterObjectRef) Reset ¶ added in v0.7.2
func (x *TypedClusterObjectRef) Reset()
func (*TypedClusterObjectRef) String ¶ added in v0.7.2
func (x *TypedClusterObjectRef) String() string
type TypedObjectRef ¶ added in v0.7.2
type TypedObjectRef struct { // API group of the resource being referenced ApiGroup *wrappers.StringValue `protobuf:"bytes,1,opt,name=api_group,json=apiGroup,proto3" json:"api_group,omitempty"` // Kind of the resource being referenced Kind *wrappers.StringValue `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // name of the resource being referenced Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // namespace of the resource being referenced Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
Resource reference for a typed object
func (*TypedObjectRef) Descriptor
deprecated
added in
v0.7.2
func (*TypedObjectRef) Descriptor() ([]byte, []int)
Deprecated: Use TypedObjectRef.ProtoReflect.Descriptor instead.
func (*TypedObjectRef) Equal ¶ added in v0.7.2
func (m *TypedObjectRef) Equal(that interface{}) bool
Equal function
func (*TypedObjectRef) GetApiGroup ¶ added in v0.7.2
func (x *TypedObjectRef) GetApiGroup() *wrappers.StringValue
func (*TypedObjectRef) GetKind ¶ added in v0.7.2
func (x *TypedObjectRef) GetKind() *wrappers.StringValue
func (*TypedObjectRef) GetName ¶ added in v0.7.2
func (x *TypedObjectRef) GetName() string
func (*TypedObjectRef) GetNamespace ¶ added in v0.7.2
func (x *TypedObjectRef) GetNamespace() string
func (*TypedObjectRef) Hash ¶ added in v0.7.2
func (m *TypedObjectRef) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*TypedObjectRef) ProtoMessage ¶ added in v0.7.2
func (*TypedObjectRef) ProtoMessage()
func (*TypedObjectRef) ProtoReflect ¶ added in v0.7.17
func (x *TypedObjectRef) ProtoReflect() protoreflect.Message
func (*TypedObjectRef) Reset ¶ added in v0.7.2
func (x *TypedObjectRef) Reset()
func (*TypedObjectRef) String ¶ added in v0.7.2
func (x *TypedObjectRef) String() string
Click to show internal directories.
Click to hide internal directories.