v1

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 14 Imported by: 56

Documentation

Index

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",
}
View Source
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) Descriptor() ([]byte, []int)

func (*ObjectRef) Equal

func (this *ObjectRef) Equal(that interface{}) bool

func (*ObjectRef) GetName

func (m *ObjectRef) GetName() string

func (*ObjectRef) GetNamespace

func (m *ObjectRef) GetNamespace() string

func (*ObjectRef) Hash

func (m *ObjectRef) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*ObjectRef) MarshalJSON

func (this *ObjectRef) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for ObjectRef

func (*ObjectRef) ProtoMessage

func (*ObjectRef) ProtoMessage()

func (*ObjectRef) Reset

func (m *ObjectRef) Reset()

func (*ObjectRef) String

func (m *ObjectRef) String() string

func (*ObjectRef) UnmarshalJSON

func (this *ObjectRef) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for ObjectRef

func (*ObjectRef) XXX_DiscardUnknown

func (m *ObjectRef) XXX_DiscardUnknown()

func (*ObjectRef) XXX_Marshal

func (m *ObjectRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectRef) XXX_Merge

func (m *ObjectRef) XXX_Merge(src proto.Message)

func (*ObjectRef) XXX_Size

func (m *ObjectRef) XXX_Size() int

func (*ObjectRef) XXX_Unmarshal

func (m *ObjectRef) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Status) Equal

func (this *Status) Equal(that interface{}) bool

func (*Status) GetMessage

func (m *Status) GetMessage() string

func (*Status) GetObservedGeneration

func (m *Status) GetObservedGeneration() int64

func (*Status) GetOwner

func (m *Status) GetOwner() *types.StringValue

func (*Status) GetProcessingTime

func (m *Status) GetProcessingTime() *types.Timestamp

func (*Status) GetState

func (m *Status) GetState() Status_State

func (*Status) Hash

func (m *Status) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*Status) MarshalJSON

func (this *Status) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for Status

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) String

func (m *Status) String() string

func (*Status) UnmarshalJSON

func (this *Status) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for Status

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status) XXX_Merge

func (m *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

func (m *Status) XXX_Unmarshal(b []byte) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL