v1

package
v0.38.6 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 20 Imported by: 51

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 PolicyTargetReference added in v0.36.5

type PolicyTargetReference 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"`
	// Optional, if unspecified, the local namespace of the policy is inferred.
	Namespace *wrappers.StringValue `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

PolicyTargetReference identifies Gateway API objects to directly apply policy to. This is a copy of the upstream K8s Gateway API `targetRef` API. See the following for more information: * https://gateway-api.sigs.k8s.io/geps/gep-713/ * https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io%2fv1alpha2.PolicyTargetReference * https://github.com/kubernetes-sigs/gateway-api/blob/b4f0307cc9269e73187300e72979e7e111ab74ab/apis/v1alpha2/policy_types.go#L34-L56

func (*PolicyTargetReference) Clone added in v0.36.5

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

Clone function

func (*PolicyTargetReference) Descriptor deprecated added in v0.36.5

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

Deprecated: Use PolicyTargetReference.ProtoReflect.Descriptor instead.

func (*PolicyTargetReference) Equal added in v0.36.5

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

Equal function

func (*PolicyTargetReference) GetGroup added in v0.36.5

func (x *PolicyTargetReference) GetGroup() string

func (*PolicyTargetReference) GetKind added in v0.36.5

func (x *PolicyTargetReference) GetKind() string

func (*PolicyTargetReference) GetName added in v0.36.5

func (x *PolicyTargetReference) GetName() string

func (*PolicyTargetReference) GetNamespace added in v0.36.5

func (x *PolicyTargetReference) GetNamespace() *wrappers.StringValue

func (*PolicyTargetReference) Hash added in v0.36.5

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

Hash function

func (*PolicyTargetReference) ProtoMessage added in v0.36.5

func (*PolicyTargetReference) ProtoMessage()

func (*PolicyTargetReference) ProtoReflect added in v0.36.5

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

func (*PolicyTargetReference) Reset added in v0.36.5

func (x *PolicyTargetReference) Reset()

func (*PolicyTargetReference) String added in v0.36.5

func (x *PolicyTargetReference) String() string

type PolicyTargetReferenceWithSectionName added in v0.36.5

type PolicyTargetReferenceWithSectionName 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"`
	// Optional, if unspecified, the local namespace of the policy is inferred.
	Namespace *wrappers.StringValue `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Name of the section within the targeted resource to attach to. For `Gateway` resources, this refers to a `Listener` name.
	// Optional, if unspecified, the entire object referenced is selected.
	SectionName *wrappers.StringValue `protobuf:"bytes,5,opt,name=section_name,json=sectionName,proto3" json:"section_name,omitempty"`
	// contains filtered or unexported fields
}

PolicyTargetReferenceWithSectionName identifies Gateway API objects, and optionally a specific section of those objects, to directly apply policy to. This is a copy of the upstream K8s Gateway API `targetRef` API. See the following for more information: * https://gateway-api.sigs.k8s.io/geps/gep-713/ * https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io%2fv1alpha2.PolicyTargetReferenceWithSectionName * https://github.com/kubernetes-sigs/gateway-api/blob/b4f0307cc9269e73187300e72979e7e111ab74ab/apis/v1alpha2/policy_types.go#L58-L83

func (*PolicyTargetReferenceWithSectionName) Clone added in v0.36.5

Clone function

func (*PolicyTargetReferenceWithSectionName) Descriptor deprecated added in v0.36.5

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

Deprecated: Use PolicyTargetReferenceWithSectionName.ProtoReflect.Descriptor instead.

func (*PolicyTargetReferenceWithSectionName) Equal added in v0.36.5

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

Equal function

func (*PolicyTargetReferenceWithSectionName) GetGroup added in v0.36.5

func (*PolicyTargetReferenceWithSectionName) GetKind added in v0.36.5

func (*PolicyTargetReferenceWithSectionName) GetName added in v0.36.5

func (*PolicyTargetReferenceWithSectionName) GetNamespace added in v0.36.5

func (*PolicyTargetReferenceWithSectionName) GetSectionName added in v0.36.5

func (*PolicyTargetReferenceWithSectionName) Hash added in v0.36.5

Hash function

func (*PolicyTargetReferenceWithSectionName) ProtoMessage added in v0.36.5

func (*PolicyTargetReferenceWithSectionName) ProtoMessage()

func (*PolicyTargetReferenceWithSectionName) ProtoReflect added in v0.36.5

func (*PolicyTargetReferenceWithSectionName) Reset added in v0.36.5

func (*PolicyTargetReferenceWithSectionName) String added in v0.36.5

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