v1

package
v0.22.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 20 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",
	}
	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 (
	ObjectSelector_Expression_Operator_name = map[int32]string{
		0: "Equals",
		1: "DoubleEquals",
		2: "NotEquals",
		3: "In",
		4: "NotIn",
		5: "Exists",
		6: "DoesNotExist",
		7: "GreaterThan",
		8: "LessThan",
	}
	ObjectSelector_Expression_Operator_value = map[string]int32{
		"Equals":       0,
		"DoubleEquals": 1,
		"NotEquals":    2,
		"In":           3,
		"NotIn":        4,
		"Exists":       5,
		"DoesNotExist": 6,
		"GreaterThan":  7,
		"LessThan":     8,
	}
)

Enum value maps for ObjectSelector_Expression_Operator.

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) Clone added in v0.19.9

func (m *ClusterObjectRef) Clone() proto.Message

Clone function

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) Clone added in v0.19.9

func (m *ObjectRef) Clone() proto.Message

Clone function

func (*ObjectRef) Descriptor deprecated

func (*ObjectRef) Descriptor() ([]byte, []int)

Deprecated: Use ObjectRef.ProtoReflect.Descriptor instead.

func (*ObjectRef) Equal

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

Equal function

func (*ObjectRef) GetName

func (x *ObjectRef) GetName() string

func (*ObjectRef) GetNamespace

func (x *ObjectRef) GetNamespace() string

func (*ObjectRef) Hash

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

Hash function

func (*ObjectRef) ProtoMessage

func (*ObjectRef) ProtoMessage()

func (*ObjectRef) ProtoReflect added in v0.7.17

func (x *ObjectRef) ProtoReflect() protoreflect.Message

func (*ObjectRef) Reset

func (x *ObjectRef) Reset()

func (*ObjectRef) String

func (x *ObjectRef) String() string

type ObjectRefList added in v0.17.23

type ObjectRefList struct {
	Refs []*ObjectRef `protobuf:"bytes,1,rep,name=refs,proto3" json:"refs,omitempty"`
	// contains filtered or unexported fields
}

Object providing a list of object refs. Used to store lists of refs inside a map.

func (*ObjectRefList) Clone added in v0.19.9

func (m *ObjectRefList) Clone() proto.Message

Clone function

func (*ObjectRefList) Descriptor deprecated added in v0.17.23

func (*ObjectRefList) Descriptor() ([]byte, []int)

Deprecated: Use ObjectRefList.ProtoReflect.Descriptor instead.

func (*ObjectRefList) Equal added in v0.17.23

func (m *ObjectRefList) Equal(that interface{}) bool

Equal function

func (*ObjectRefList) GetRefs added in v0.17.23

func (x *ObjectRefList) GetRefs() []*ObjectRef

func (*ObjectRefList) Hash added in v0.17.23

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

Hash function

func (*ObjectRefList) ProtoMessage added in v0.17.23

func (*ObjectRefList) ProtoMessage()

func (*ObjectRefList) ProtoReflect added in v0.17.23

func (x *ObjectRefList) ProtoReflect() protoreflect.Message

func (*ObjectRefList) Reset added in v0.17.23

func (x *ObjectRefList) Reset()

func (*ObjectRefList) String added in v0.17.23

func (x *ObjectRefList) String() string

type ObjectSelector added in v0.17.23

type ObjectSelector struct {

	// Select Objects in these namespaces. If omitted, Gloo Mesh will only select Objects in the same namespace
	// as the parent resource (e.g. VirtualGateway) that owns this selector.
	// The reserved value "*" can be used to select objects in all namespaces watched by Gloo Mesh.
	Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// Select objects whose labels match the ones specified here.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Expressions allow for more flexible object label matching, such as equality-based requirements, set-based requirements, or a combination of both.
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#equality-based-requirement
	Expressions []*ObjectSelector_Expression `protobuf:"bytes,3,rep,name=expressions,proto3" json:"expressions,omitempty"`
	// contains filtered or unexported fields
}

Select K8s Objects by namespace, labels, or both.

func (*ObjectSelector) Clone added in v0.19.9

func (m *ObjectSelector) Clone() proto.Message

Clone function

func (*ObjectSelector) Descriptor deprecated added in v0.17.23

func (*ObjectSelector) Descriptor() ([]byte, []int)

Deprecated: Use ObjectSelector.ProtoReflect.Descriptor instead.

func (*ObjectSelector) Equal added in v0.17.23

func (m *ObjectSelector) Equal(that interface{}) bool

Equal function

func (*ObjectSelector) GetExpressions added in v0.17.23

func (x *ObjectSelector) GetExpressions() []*ObjectSelector_Expression

func (*ObjectSelector) GetLabels added in v0.17.23

func (x *ObjectSelector) GetLabels() map[string]string

func (*ObjectSelector) GetNamespaces added in v0.17.23

func (x *ObjectSelector) GetNamespaces() []string

func (*ObjectSelector) Hash added in v0.17.23

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

Hash function

func (*ObjectSelector) ProtoMessage added in v0.17.23

func (*ObjectSelector) ProtoMessage()

func (*ObjectSelector) ProtoReflect added in v0.17.23

func (x *ObjectSelector) ProtoReflect() protoreflect.Message

func (*ObjectSelector) Reset added in v0.17.23

func (x *ObjectSelector) Reset()

func (*ObjectSelector) String added in v0.17.23

func (x *ObjectSelector) String() string

type ObjectSelector_Expression added in v0.17.23

type ObjectSelector_Expression struct {

	// Kubernetes label key, must conform to Kubernetes syntax requirements
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The operator can only be in, notin, =, ==, !=, exists, ! (DoesNotExist), gt (GreaterThan), lt (LessThan).
	Operator ObjectSelector_Expression_Operator `` /* 128-byte string literal not displayed */
	Values   []string                           `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectSelector_Expression) Clone added in v0.19.9

Clone function

func (*ObjectSelector_Expression) Descriptor deprecated added in v0.17.23

func (*ObjectSelector_Expression) Descriptor() ([]byte, []int)

Deprecated: Use ObjectSelector_Expression.ProtoReflect.Descriptor instead.

func (*ObjectSelector_Expression) Equal added in v0.17.23

func (m *ObjectSelector_Expression) Equal(that interface{}) bool

Equal function

func (*ObjectSelector_Expression) GetKey added in v0.17.23

func (x *ObjectSelector_Expression) GetKey() string

func (*ObjectSelector_Expression) GetOperator added in v0.17.23

func (*ObjectSelector_Expression) GetValues added in v0.17.23

func (x *ObjectSelector_Expression) GetValues() []string

func (*ObjectSelector_Expression) Hash added in v0.17.23

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

Hash function

func (*ObjectSelector_Expression) ProtoMessage added in v0.17.23

func (*ObjectSelector_Expression) ProtoMessage()

func (*ObjectSelector_Expression) ProtoReflect added in v0.17.23

func (*ObjectSelector_Expression) Reset added in v0.17.23

func (x *ObjectSelector_Expression) Reset()

func (*ObjectSelector_Expression) String added in v0.17.23

func (x *ObjectSelector_Expression) String() string

type ObjectSelector_Expression_Operator added in v0.17.23

type ObjectSelector_Expression_Operator int32

Object Selector expression operator, while the set-based syntax differs from Kubernetes (kubernetes: `key: !mylabel`, gloo: `key: mylabel, operator: "!"` | kubernetes: `key: mylabel`, gloo: `key: mylabel, operator: exists`), the functionality remains the same.

const (
	// =
	ObjectSelector_Expression_Equals ObjectSelector_Expression_Operator = 0
	// ==
	ObjectSelector_Expression_DoubleEquals ObjectSelector_Expression_Operator = 1
	// !=
	ObjectSelector_Expression_NotEquals ObjectSelector_Expression_Operator = 2
	// in
	ObjectSelector_Expression_In ObjectSelector_Expression_Operator = 3
	// notin
	ObjectSelector_Expression_NotIn ObjectSelector_Expression_Operator = 4
	// exists
	ObjectSelector_Expression_Exists ObjectSelector_Expression_Operator = 5
	// !
	ObjectSelector_Expression_DoesNotExist ObjectSelector_Expression_Operator = 6
	// gt
	ObjectSelector_Expression_GreaterThan ObjectSelector_Expression_Operator = 7
	// lt
	ObjectSelector_Expression_LessThan ObjectSelector_Expression_Operator = 8
)

func (ObjectSelector_Expression_Operator) Descriptor added in v0.17.23

func (ObjectSelector_Expression_Operator) Enum added in v0.17.23

func (ObjectSelector_Expression_Operator) EnumDescriptor deprecated added in v0.17.23

func (ObjectSelector_Expression_Operator) EnumDescriptor() ([]byte, []int)

Deprecated: Use ObjectSelector_Expression_Operator.Descriptor instead.

func (ObjectSelector_Expression_Operator) Number added in v0.17.23

func (ObjectSelector_Expression_Operator) String added in v0.17.23

func (ObjectSelector_Expression_Operator) Type added in v0.17.23

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) Clone added in v0.19.9

func (m *Status) Clone() proto.Message

Clone function

func (*Status) Descriptor deprecated

func (*Status) Descriptor() ([]byte, []int)

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) Equal

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

Equal function

func (*Status) GetMessage

func (x *Status) GetMessage() string

func (*Status) GetObservedGeneration

func (x *Status) GetObservedGeneration() int64

func (*Status) GetOwner

func (x *Status) GetOwner() *wrappers.StringValue

func (*Status) GetProcessingTime

func (x *Status) GetProcessingTime() *timestamp.Timestamp

func (*Status) GetState

func (x *Status) GetState() Status_State

func (*Status) Hash

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

Hash function

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect added in v0.7.17

func (x *Status) ProtoReflect() protoreflect.Message

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

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) 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 (Status_State) String

func (x Status_State) String() string

func (Status_State) Type added in v0.7.17

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) Clone added in v0.19.9

func (m *TypedClusterObjectRef) Clone() proto.Message

Clone function

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 (*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) Clone added in v0.19.9

func (m *TypedObjectRef) Clone() proto.Message

Clone function

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

Jump to

Keyboard shortcuts

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