Documentation ¶
Index ¶
- Variables
- type ClusterObjectRef
- func (*ClusterObjectRef) Descriptor() ([]byte, []int)
- func (this *ClusterObjectRef) Equal(that interface{}) bool
- func (m *ClusterObjectRef) GetClusterName() string
- func (m *ClusterObjectRef) GetName() string
- func (m *ClusterObjectRef) GetNamespace() string
- func (m *ClusterObjectRef) Hash(hasher hash.Hash64) (uint64, error)
- func (this *ClusterObjectRef) MarshalJSON() ([]byte, error)
- func (*ClusterObjectRef) ProtoMessage()
- func (m *ClusterObjectRef) Reset()
- func (m *ClusterObjectRef) String() string
- func (this *ClusterObjectRef) UnmarshalJSON(b []byte) error
- func (m *ClusterObjectRef) XXX_DiscardUnknown()
- func (m *ClusterObjectRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterObjectRef) XXX_Merge(src proto.Message)
- func (m *ClusterObjectRef) XXX_Size() int
- func (m *ClusterObjectRef) XXX_Unmarshal(b []byte) error
- type ObjectRef
- func (*ObjectRef) Descriptor() ([]byte, []int)
- func (this *ObjectRef) Equal(that interface{}) bool
- func (m *ObjectRef) GetName() string
- func (m *ObjectRef) GetNamespace() string
- func (m *ObjectRef) Hash(hasher hash.Hash64) (uint64, error)
- func (this *ObjectRef) MarshalJSON() ([]byte, error)
- func (*ObjectRef) ProtoMessage()
- func (m *ObjectRef) Reset()
- func (m *ObjectRef) String() string
- func (this *ObjectRef) UnmarshalJSON(b []byte) error
- func (m *ObjectRef) XXX_DiscardUnknown()
- func (m *ObjectRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectRef) XXX_Merge(src proto.Message)
- func (m *ObjectRef) XXX_Size() int
- func (m *ObjectRef) XXX_Unmarshal(b []byte) error
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (this *Status) Equal(that interface{}) bool
- func (m *Status) GetMessage() string
- func (m *Status) GetObservedGeneration() int64
- func (m *Status) GetOwner() *types.StringValue
- func (m *Status) GetProcessingTime() *types.Timestamp
- func (m *Status) GetState() Status_State
- func (m *Status) Hash(hasher hash.Hash64) (uint64, error)
- func (this *Status) MarshalJSON() ([]byte, error)
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) String() string
- func (this *Status) UnmarshalJSON(b []byte) error
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
- type Status_State
- type TypedClusterObjectRef
- func (*TypedClusterObjectRef) Descriptor() ([]byte, []int)
- func (this *TypedClusterObjectRef) Equal(that interface{}) bool
- func (m *TypedClusterObjectRef) GetApiGroup() *types.StringValue
- func (m *TypedClusterObjectRef) GetClusterName() string
- func (m *TypedClusterObjectRef) GetKind() *types.StringValue
- func (m *TypedClusterObjectRef) GetName() string
- func (m *TypedClusterObjectRef) GetNamespace() string
- func (m *TypedClusterObjectRef) Hash(hasher hash.Hash64) (uint64, error)
- func (this *TypedClusterObjectRef) MarshalJSON() ([]byte, error)
- func (*TypedClusterObjectRef) ProtoMessage()
- func (m *TypedClusterObjectRef) Reset()
- func (m *TypedClusterObjectRef) String() string
- func (this *TypedClusterObjectRef) UnmarshalJSON(b []byte) error
- func (m *TypedClusterObjectRef) XXX_DiscardUnknown()
- func (m *TypedClusterObjectRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TypedClusterObjectRef) XXX_Merge(src proto.Message)
- func (m *TypedClusterObjectRef) XXX_Size() int
- func (m *TypedClusterObjectRef) XXX_Unmarshal(b []byte) error
- type TypedObjectRef
- func (*TypedObjectRef) Descriptor() ([]byte, []int)
- func (this *TypedObjectRef) Equal(that interface{}) bool
- func (m *TypedObjectRef) GetApiGroup() *types.StringValue
- func (m *TypedObjectRef) GetKind() *types.StringValue
- func (m *TypedObjectRef) GetName() string
- func (m *TypedObjectRef) GetNamespace() string
- func (m *TypedObjectRef) Hash(hasher hash.Hash64) (uint64, error)
- func (this *TypedObjectRef) MarshalJSON() ([]byte, error)
- func (*TypedObjectRef) ProtoMessage()
- func (m *TypedObjectRef) Reset()
- func (m *TypedObjectRef) String() string
- func (this *TypedObjectRef) UnmarshalJSON(b []byte) error
- func (m *TypedObjectRef) XXX_DiscardUnknown()
- func (m *TypedObjectRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TypedObjectRef) XXX_Merge(src proto.Message)
- func (m *TypedObjectRef) XXX_Size() int
- func (m *TypedObjectRef) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( CoreMarshaler = &github_com_gogo_protobuf_jsonpb.Marshaler{} CoreUnmarshaler = &github_com_gogo_protobuf_jsonpb.Unmarshaler{} )
var Status_State_name = map[int32]string{
0: "PENDING",
1: "PROCESSING",
2: "INVALID",
3: "FAILED",
4: "ACCEPTED",
}
var Status_State_value = map[string]int32{
"PENDING": 0,
"PROCESSING": 1,
"INVALID": 2,
"FAILED": 3,
"ACCEPTED": 4,
}
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Resource reference for a cross-cluster-scoped object
func (*ClusterObjectRef) Descriptor ¶
func (*ClusterObjectRef) Descriptor() ([]byte, []int)
func (*ClusterObjectRef) Equal ¶
func (this *ClusterObjectRef) Equal(that interface{}) bool
func (*ClusterObjectRef) GetClusterName ¶
func (m *ClusterObjectRef) GetClusterName() string
func (*ClusterObjectRef) GetName ¶
func (m *ClusterObjectRef) GetName() string
func (*ClusterObjectRef) GetNamespace ¶
func (m *ClusterObjectRef) GetNamespace() string
func (*ClusterObjectRef) Hash ¶
func (m *ClusterObjectRef) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*ClusterObjectRef) MarshalJSON ¶
func (this *ClusterObjectRef) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for ClusterObjectRef
func (*ClusterObjectRef) ProtoMessage ¶
func (*ClusterObjectRef) ProtoMessage()
func (*ClusterObjectRef) Reset ¶
func (m *ClusterObjectRef) Reset()
func (*ClusterObjectRef) String ¶
func (m *ClusterObjectRef) String() string
func (*ClusterObjectRef) UnmarshalJSON ¶
func (this *ClusterObjectRef) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for ClusterObjectRef
func (*ClusterObjectRef) XXX_DiscardUnknown ¶
func (m *ClusterObjectRef) XXX_DiscardUnknown()
func (*ClusterObjectRef) XXX_Marshal ¶
func (m *ClusterObjectRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterObjectRef) XXX_Merge ¶
func (m *ClusterObjectRef) XXX_Merge(src proto.Message)
func (*ClusterObjectRef) XXX_Size ¶
func (m *ClusterObjectRef) XXX_Size() int
func (*ClusterObjectRef) XXX_Unmarshal ¶
func (m *ClusterObjectRef) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Resource reference for an object
func (*ObjectRef) Descriptor ¶
func (*ObjectRef) GetNamespace ¶
func (*ObjectRef) MarshalJSON ¶
MarshalJSON is a custom marshaler for ObjectRef
func (*ObjectRef) ProtoMessage ¶
func (*ObjectRef) ProtoMessage()
func (*ObjectRef) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for ObjectRef
func (*ObjectRef) XXX_DiscardUnknown ¶
func (m *ObjectRef) XXX_DiscardUnknown()
func (*ObjectRef) XXX_Marshal ¶
func (*ObjectRef) XXX_Unmarshal ¶
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 *types.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 *types.StringValue `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A generic status
func (*Status) Descriptor ¶
func (*Status) GetMessage ¶
func (*Status) GetObservedGeneration ¶
func (*Status) GetOwner ¶
func (m *Status) GetOwner() *types.StringValue
func (*Status) GetProcessingTime ¶
func (*Status) GetState ¶
func (m *Status) GetState() Status_State
func (*Status) MarshalJSON ¶
MarshalJSON is a custom marshaler for Status
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for Status
func (*Status) XXX_DiscardUnknown ¶
func (m *Status) XXX_DiscardUnknown()
func (*Status) XXX_Marshal ¶
func (*Status) XXX_Unmarshal ¶
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) EnumDescriptor ¶
func (Status_State) EnumDescriptor() ([]byte, []int)
func (Status_State) String ¶
func (x Status_State) String() string
type TypedClusterObjectRef ¶ added in v0.7.2
type TypedClusterObjectRef struct { // API group of the resource being referenced ApiGroup *types.StringValue `protobuf:"bytes,1,opt,name=api_group,json=apiGroup,proto3" json:"api_group,omitempty"` // Kind of the resource being referenced Kind *types.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Resource reference for a typed, cross-cluster-scoped object
func (*TypedClusterObjectRef) Descriptor ¶ added in v0.7.2
func (*TypedClusterObjectRef) Descriptor() ([]byte, []int)
func (*TypedClusterObjectRef) Equal ¶ added in v0.7.2
func (this *TypedClusterObjectRef) Equal(that interface{}) bool
func (*TypedClusterObjectRef) GetApiGroup ¶ added in v0.7.2
func (m *TypedClusterObjectRef) GetApiGroup() *types.StringValue
func (*TypedClusterObjectRef) GetClusterName ¶ added in v0.7.2
func (m *TypedClusterObjectRef) GetClusterName() string
func (*TypedClusterObjectRef) GetKind ¶ added in v0.7.2
func (m *TypedClusterObjectRef) GetKind() *types.StringValue
func (*TypedClusterObjectRef) GetName ¶ added in v0.7.2
func (m *TypedClusterObjectRef) GetName() string
func (*TypedClusterObjectRef) GetNamespace ¶ added in v0.7.2
func (m *TypedClusterObjectRef) GetNamespace() string
func (*TypedClusterObjectRef) Hash ¶ added in v0.7.2
func (m *TypedClusterObjectRef) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*TypedClusterObjectRef) MarshalJSON ¶ added in v0.7.2
func (this *TypedClusterObjectRef) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for TypedClusterObjectRef
func (*TypedClusterObjectRef) ProtoMessage ¶ added in v0.7.2
func (*TypedClusterObjectRef) ProtoMessage()
func (*TypedClusterObjectRef) Reset ¶ added in v0.7.2
func (m *TypedClusterObjectRef) Reset()
func (*TypedClusterObjectRef) String ¶ added in v0.7.2
func (m *TypedClusterObjectRef) String() string
func (*TypedClusterObjectRef) UnmarshalJSON ¶ added in v0.7.2
func (this *TypedClusterObjectRef) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for TypedClusterObjectRef
func (*TypedClusterObjectRef) XXX_DiscardUnknown ¶ added in v0.7.2
func (m *TypedClusterObjectRef) XXX_DiscardUnknown()
func (*TypedClusterObjectRef) XXX_Marshal ¶ added in v0.7.2
func (m *TypedClusterObjectRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TypedClusterObjectRef) XXX_Merge ¶ added in v0.7.2
func (m *TypedClusterObjectRef) XXX_Merge(src proto.Message)
func (*TypedClusterObjectRef) XXX_Size ¶ added in v0.7.2
func (m *TypedClusterObjectRef) XXX_Size() int
func (*TypedClusterObjectRef) XXX_Unmarshal ¶ added in v0.7.2
func (m *TypedClusterObjectRef) XXX_Unmarshal(b []byte) error
type TypedObjectRef ¶ added in v0.7.2
type TypedObjectRef struct { // API group of the resource being referenced ApiGroup *types.StringValue `protobuf:"bytes,1,opt,name=api_group,json=apiGroup,proto3" json:"api_group,omitempty"` // Kind of the resource being referenced Kind *types.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Resource reference for a typed object
func (*TypedObjectRef) Descriptor ¶ added in v0.7.2
func (*TypedObjectRef) Descriptor() ([]byte, []int)
func (*TypedObjectRef) Equal ¶ added in v0.7.2
func (this *TypedObjectRef) Equal(that interface{}) bool
func (*TypedObjectRef) GetApiGroup ¶ added in v0.7.2
func (m *TypedObjectRef) GetApiGroup() *types.StringValue
func (*TypedObjectRef) GetKind ¶ added in v0.7.2
func (m *TypedObjectRef) GetKind() *types.StringValue
func (*TypedObjectRef) GetName ¶ added in v0.7.2
func (m *TypedObjectRef) GetName() string
func (*TypedObjectRef) GetNamespace ¶ added in v0.7.2
func (m *TypedObjectRef) GetNamespace() string
func (*TypedObjectRef) Hash ¶ added in v0.7.2
func (m *TypedObjectRef) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*TypedObjectRef) MarshalJSON ¶ added in v0.7.2
func (this *TypedObjectRef) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for TypedObjectRef
func (*TypedObjectRef) ProtoMessage ¶ added in v0.7.2
func (*TypedObjectRef) ProtoMessage()
func (*TypedObjectRef) Reset ¶ added in v0.7.2
func (m *TypedObjectRef) Reset()
func (*TypedObjectRef) String ¶ added in v0.7.2
func (m *TypedObjectRef) String() string
func (*TypedObjectRef) UnmarshalJSON ¶ added in v0.7.2
func (this *TypedObjectRef) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for TypedObjectRef
func (*TypedObjectRef) XXX_DiscardUnknown ¶ added in v0.7.2
func (m *TypedObjectRef) XXX_DiscardUnknown()
func (*TypedObjectRef) XXX_Marshal ¶ added in v0.7.2
func (m *TypedObjectRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TypedObjectRef) XXX_Merge ¶ added in v0.7.2
func (m *TypedObjectRef) XXX_Merge(src proto.Message)
func (*TypedObjectRef) XXX_Size ¶ added in v0.7.2
func (m *TypedObjectRef) XXX_Size() int
func (*TypedObjectRef) XXX_Unmarshal ¶ added in v0.7.2
func (m *TypedObjectRef) XXX_Unmarshal(b []byte) error