Documentation
¶
Overview ¶
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-gen-jsonshim. DO NOT EDIT.
Index ¶
- Variables
- type WorkloadSelector
- func (in *WorkloadSelector) DeepCopy() *WorkloadSelector
- func (in *WorkloadSelector) DeepCopyInterface() interface{}
- func (in *WorkloadSelector) DeepCopyInto(out *WorkloadSelector)
- func (*WorkloadSelector) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadSelector) GetMatchLabels() map[string]string
- func (this *WorkloadSelector) MarshalJSON() ([]byte, error)
- func (*WorkloadSelector) ProtoMessage()
- func (x *WorkloadSelector) ProtoReflect() protoreflect.Message
- func (x *WorkloadSelector) Reset()
- func (x *WorkloadSelector) String() string
- func (this *WorkloadSelector) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( SelectorMarshaler = &jsonpb.Marshaler{} SelectorUnmarshaler = &jsonpb.Unmarshaler{AllowUnknownFields: true} )
var File_type_v1beta1_selector_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type WorkloadSelector ¶
type WorkloadSelector struct { // One or more labels that indicate a specific set of pods/VMs // on which a policy should be applied. The scope of label search is restricted to // the configuration namespace in which the resource is present. MatchLabels map[string]string `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
WorkloadSelector specifies the criteria used to determine if a policy can be applied to a proxy. The matching criteria includes the metadata associated with a proxy, workload instance info such as labels attached to the pod/VM, or any other info that the proxy provides to Istio during the initial handshake. If multiple conditions are specified, all conditions need to match in order for the workload instance to be selected. Currently, only label based selection mechanism is supported.
func (*WorkloadSelector) DeepCopy ¶
func (in *WorkloadSelector) DeepCopy() *WorkloadSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSelector. Required by controller-gen.
func (*WorkloadSelector) DeepCopyInterface ¶
func (in *WorkloadSelector) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSelector. Required by controller-gen.
func (*WorkloadSelector) DeepCopyInto ¶
func (in *WorkloadSelector) DeepCopyInto(out *WorkloadSelector)
DeepCopyInto supports using WorkloadSelector within kubernetes types, where deepcopy-gen is used.
func (*WorkloadSelector) Descriptor
deprecated
func (*WorkloadSelector) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadSelector.ProtoReflect.Descriptor instead.
func (*WorkloadSelector) GetMatchLabels ¶
func (x *WorkloadSelector) GetMatchLabels() map[string]string
func (*WorkloadSelector) MarshalJSON ¶
func (this *WorkloadSelector) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for WorkloadSelector
func (*WorkloadSelector) ProtoMessage ¶
func (*WorkloadSelector) ProtoMessage()
func (*WorkloadSelector) ProtoReflect ¶
func (x *WorkloadSelector) ProtoReflect() protoreflect.Message
func (*WorkloadSelector) Reset ¶
func (x *WorkloadSelector) Reset()
func (*WorkloadSelector) String ¶
func (x *WorkloadSelector) String() string
func (*WorkloadSelector) UnmarshalJSON ¶
func (this *WorkloadSelector) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for WorkloadSelector