Documentation ¶
Overview ¶
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Index ¶
- Variables
- type ControlPoint
- func (in *ControlPoint) DeepCopy() *ControlPoint
- func (in *ControlPoint) DeepCopyInterface() interface{}
- func (in *ControlPoint) DeepCopyInto(out *ControlPoint)
- func (*ControlPoint) Descriptor() ([]byte, []int)deprecated
- func (m *ControlPoint) GetControlpoint() isControlPoint_Controlpoint
- func (x *ControlPoint) GetFeature() string
- func (x *ControlPoint) GetTraffic() string
- func (msg *ControlPoint) MarshalJSON() ([]byte, error)
- func (*ControlPoint) ProtoMessage()
- func (x *ControlPoint) ProtoReflect() protoreflect.Message
- func (x *ControlPoint) Reset()
- func (x *ControlPoint) String() string
- func (msg *ControlPoint) UnmarshalJSON(b []byte) error
- type ControlPoint_Feature
- type ControlPoint_Traffic
- type FlowSelector
- func (in *FlowSelector) DeepCopy() *FlowSelector
- func (in *FlowSelector) DeepCopyInterface() interface{}
- func (in *FlowSelector) DeepCopyInto(out *FlowSelector)
- func (*FlowSelector) Descriptor() ([]byte, []int)deprecated
- func (x *FlowSelector) GetControlPoint() *ControlPoint
- func (x *FlowSelector) GetLabelMatcher() *v1.LabelMatcher
- func (msg *FlowSelector) MarshalJSON() ([]byte, error)
- func (*FlowSelector) ProtoMessage()
- func (x *FlowSelector) ProtoReflect() protoreflect.Message
- func (x *FlowSelector) Reset()
- func (x *FlowSelector) String() string
- func (msg *FlowSelector) UnmarshalJSON(b []byte) error
- type Selector
- func (in *Selector) DeepCopy() *Selector
- func (in *Selector) DeepCopyInterface() interface{}
- func (in *Selector) DeepCopyInto(out *Selector)
- func (*Selector) Descriptor() ([]byte, []int)deprecated
- func (x *Selector) GetFlowSelector() *FlowSelector
- func (x *Selector) GetServiceSelector() *ServiceSelector
- func (msg *Selector) MarshalJSON() ([]byte, error)
- func (*Selector) ProtoMessage()
- func (x *Selector) ProtoReflect() protoreflect.Message
- func (x *Selector) Reset()
- func (x *Selector) String() string
- func (msg *Selector) UnmarshalJSON(b []byte) error
- type ServiceSelector
- func (in *ServiceSelector) DeepCopy() *ServiceSelector
- func (in *ServiceSelector) DeepCopyInterface() interface{}
- func (in *ServiceSelector) DeepCopyInto(out *ServiceSelector)
- func (*ServiceSelector) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceSelector) GetAgentGroup() string
- func (x *ServiceSelector) GetService() string
- func (msg *ServiceSelector) MarshalJSON() ([]byte, error)
- func (*ServiceSelector) ProtoMessage()
- func (x *ServiceSelector) ProtoReflect() protoreflect.Message
- func (x *ServiceSelector) Reset()
- func (x *ServiceSelector) String() string
- func (msg *ServiceSelector) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var File_aperture_common_selector_v1_selector_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ControlPoint ¶
type ControlPoint struct { // @gotags: validate:"required" // // Types that are assignable to Controlpoint: // *ControlPoint_Feature // *ControlPoint_Traffic Controlpoint isControlPoint_Controlpoint `protobuf_oneof:"controlpoint" validate:"required"` // contains filtered or unexported fields }
Identifies control point within a service that the rule or policy should apply to. Controlpoint is either a library feature name or one of ingress/egress traffic control point.
func (*ControlPoint) DeepCopy ¶ added in v0.1.2
func (in *ControlPoint) DeepCopy() *ControlPoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPoint. Required by controller-gen.
func (*ControlPoint) DeepCopyInterface ¶ added in v0.1.2
func (in *ControlPoint) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ControlPoint. Required by controller-gen.
func (*ControlPoint) DeepCopyInto ¶ added in v0.1.2
func (in *ControlPoint) DeepCopyInto(out *ControlPoint)
DeepCopyInto supports using ControlPoint within kubernetes types, where deepcopy-gen is used.
func (*ControlPoint) Descriptor
deprecated
func (*ControlPoint) Descriptor() ([]byte, []int)
Deprecated: Use ControlPoint.ProtoReflect.Descriptor instead.
func (*ControlPoint) GetControlpoint ¶
func (m *ControlPoint) GetControlpoint() isControlPoint_Controlpoint
func (*ControlPoint) GetFeature ¶
func (x *ControlPoint) GetFeature() string
func (*ControlPoint) GetTraffic ¶
func (x *ControlPoint) GetTraffic() string
func (*ControlPoint) MarshalJSON ¶
func (msg *ControlPoint) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ControlPoint) ProtoMessage ¶
func (*ControlPoint) ProtoMessage()
func (*ControlPoint) ProtoReflect ¶
func (x *ControlPoint) ProtoReflect() protoreflect.Message
func (*ControlPoint) Reset ¶
func (x *ControlPoint) Reset()
func (*ControlPoint) String ¶
func (x *ControlPoint) String() string
func (*ControlPoint) UnmarshalJSON ¶
func (msg *ControlPoint) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ControlPoint_Feature ¶
type ControlPoint_Feature struct { // Name of Aperture SDK's feature. // Feature corresponds to a block of code that can be "switched off" which usually is a "named opentelemetry's Span". // // Note: Flowcontrol only. Feature string `protobuf:"bytes,1,opt,name=feature,proto3,oneof" validate:"required"` //@gotags: validate:"required" }
type ControlPoint_Traffic ¶
type ControlPoint_Traffic struct { // Type of traffic service, either "ingress" or "egress". // Apply the policy to the whole incoming/outgoing traffic of a service. // Usually powered by integration with a proxy (like envoy) or a web framework. // // * Flowcontrol: Blockable atom here is a single HTTP-transaction. // * Classification: Apply the classification rules to every incoming/outgoing request and attach the resulting flow labels to baggage and telemetry. Traffic string `protobuf:"bytes,2,opt,name=traffic,proto3,oneof" validate:"required,oneof=ingress egress"` // @gotags: validate:"required,oneof=ingress egress" }
type FlowSelector ¶ added in v0.3.0
type FlowSelector struct { // Describes // [control point](/concepts/flow-control/flow-control.md#control-point) // within the entity where the policy should apply to. ControlPoint *ControlPoint `protobuf:"bytes,1,opt,name=control_point,json=controlPoint,proto3" json:"control_point,omitempty" validate:"required"` // @gotags: validate:"required" // Label matcher allows to add _additional_ condition on // [flow labels](/concepts/flow-control/flow-label.md) // must also be satisfied (in addition to service+control point matching) // // :::info // See also [Label Matcher overview](/concepts/flow-control/selector.md#label-matcher). // ::: // // :::note // [Classifiers](#v1-classifier) _can_ use flow labels created by some other // classifier, but only if they were created at some previous control point // (and propagated in baggage). // // This limitation doesn't apply to selectors of other entities, like // FluxMeters or actuators. It's valid to create a flow label on a control // point using classifier, and immediately use it for matching on the same // control point. // ::: LabelMatcher *v1.LabelMatcher `protobuf:"bytes,2,opt,name=label_matcher,json=labelMatcher,proto3" json:"label_matcher,omitempty"` // contains filtered or unexported fields }
Describes which flows a [dataplane component](/concepts/flow-control/flow-control.md#components) should apply to
:::info See also [Selector overview](/concepts/flow-control/selector.md). :::
Example: ```yaml control_point:
traffic: ingress # Allowed values are `ingress` and `egress`.
label_matcher:
match_labels: user_tier: gold match_expressions: - key: query operator: In values: - insert - delete - label: user_agent regex: ^(?!.*Chrome).*Safari
```
func (*FlowSelector) DeepCopy ¶ added in v0.3.0
func (in *FlowSelector) DeepCopy() *FlowSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowSelector. Required by controller-gen.
func (*FlowSelector) DeepCopyInterface ¶ added in v0.3.0
func (in *FlowSelector) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FlowSelector. Required by controller-gen.
func (*FlowSelector) DeepCopyInto ¶ added in v0.3.0
func (in *FlowSelector) DeepCopyInto(out *FlowSelector)
DeepCopyInto supports using FlowSelector within kubernetes types, where deepcopy-gen is used.
func (*FlowSelector) Descriptor
deprecated
added in
v0.3.0
func (*FlowSelector) Descriptor() ([]byte, []int)
Deprecated: Use FlowSelector.ProtoReflect.Descriptor instead.
func (*FlowSelector) GetControlPoint ¶ added in v0.3.0
func (x *FlowSelector) GetControlPoint() *ControlPoint
func (*FlowSelector) GetLabelMatcher ¶ added in v0.3.0
func (x *FlowSelector) GetLabelMatcher() *v1.LabelMatcher
func (*FlowSelector) MarshalJSON ¶ added in v0.3.0
func (msg *FlowSelector) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*FlowSelector) ProtoMessage ¶ added in v0.3.0
func (*FlowSelector) ProtoMessage()
func (*FlowSelector) ProtoReflect ¶ added in v0.3.0
func (x *FlowSelector) ProtoReflect() protoreflect.Message
func (*FlowSelector) Reset ¶ added in v0.3.0
func (x *FlowSelector) Reset()
func (*FlowSelector) String ¶ added in v0.3.0
func (x *FlowSelector) String() string
func (*FlowSelector) UnmarshalJSON ¶ added in v0.3.0
func (msg *FlowSelector) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Selector ¶
type Selector struct { ServiceSelector *ServiceSelector `` // @gotags: validate:"required" /* 126-byte string literal not displayed */ FlowSelector *FlowSelector `protobuf:"bytes,2,opt,name=flow_selector,json=flowSelector,proto3" json:"flow_selector,omitempty" validate:"required"` // @gotags: validate:"required" // contains filtered or unexported fields }
Describes which flow in which service a [dataplane component](/concepts/flow-control/flow-control.md#components) should apply to
:::info See also [Selector overview](/concepts/flow-control/selector.md). :::
func (*Selector) DeepCopy ¶ added in v0.1.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector. Required by controller-gen.
func (*Selector) DeepCopyInterface ¶ added in v0.1.2
func (in *Selector) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Selector. Required by controller-gen.
func (*Selector) DeepCopyInto ¶ added in v0.1.2
DeepCopyInto supports using Selector within kubernetes types, where deepcopy-gen is used.
func (*Selector) Descriptor
deprecated
func (*Selector) GetFlowSelector ¶ added in v0.3.0
func (x *Selector) GetFlowSelector() *FlowSelector
func (*Selector) GetServiceSelector ¶ added in v0.3.0
func (x *Selector) GetServiceSelector() *ServiceSelector
func (*Selector) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Selector) ProtoMessage ¶
func (*Selector) ProtoMessage()
func (*Selector) ProtoReflect ¶
func (x *Selector) ProtoReflect() protoreflect.Message
func (*Selector) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type ServiceSelector ¶ added in v0.3.0
type ServiceSelector struct { // Which [agent-group](/concepts/service.md#agent-group) this // selector applies to. AgentGroup string `protobuf:"bytes,1,opt,name=agent_group,json=agentGroup,proto3" json:"agent_group,omitempty" default:"default"` // @gotags: default:"default" // The Fully Qualified Domain Name of the // [service](/concepts/service.md) to select. // // In kubernetes, this is the FQDN of the Service object. // // Empty string means all services within an agent group (catch-all). // // :::note // One entity may belong to multiple services. // ::: Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // contains filtered or unexported fields }
Describes which service a [dataplane component](/concepts/flow-control/flow-control.md#components) should apply to
:::info See also [Selector overview](/concepts/flow-control/selector.md). :::
func (*ServiceSelector) DeepCopy ¶ added in v0.3.0
func (in *ServiceSelector) DeepCopy() *ServiceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSelector. Required by controller-gen.
func (*ServiceSelector) DeepCopyInterface ¶ added in v0.3.0
func (in *ServiceSelector) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSelector. Required by controller-gen.
func (*ServiceSelector) DeepCopyInto ¶ added in v0.3.0
func (in *ServiceSelector) DeepCopyInto(out *ServiceSelector)
DeepCopyInto supports using ServiceSelector within kubernetes types, where deepcopy-gen is used.
func (*ServiceSelector) Descriptor
deprecated
added in
v0.3.0
func (*ServiceSelector) Descriptor() ([]byte, []int)
Deprecated: Use ServiceSelector.ProtoReflect.Descriptor instead.
func (*ServiceSelector) GetAgentGroup ¶ added in v0.3.0
func (x *ServiceSelector) GetAgentGroup() string
func (*ServiceSelector) GetService ¶ added in v0.3.0
func (x *ServiceSelector) GetService() string
func (*ServiceSelector) MarshalJSON ¶ added in v0.3.0
func (msg *ServiceSelector) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ServiceSelector) ProtoMessage ¶ added in v0.3.0
func (*ServiceSelector) ProtoMessage()
func (*ServiceSelector) ProtoReflect ¶ added in v0.3.0
func (x *ServiceSelector) ProtoReflect() protoreflect.Message
func (*ServiceSelector) Reset ¶ added in v0.3.0
func (x *ServiceSelector) Reset()
func (*ServiceSelector) String ¶ added in v0.3.0
func (x *ServiceSelector) String() string
func (*ServiceSelector) UnmarshalJSON ¶ added in v0.3.0
func (msg *ServiceSelector) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler