languagev1

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Package languagev1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Index

Constants

View Source
const (
	PolicyService_GetPolicy_FullMethodName         = "/aperture.policy.language.v1.PolicyService/GetPolicy"
	PolicyService_GetPolicies_FullMethodName       = "/aperture.policy.language.v1.PolicyService/GetPolicies"
	PolicyService_UpsertPolicy_FullMethodName      = "/aperture.policy.language.v1.PolicyService/UpsertPolicy"
	PolicyService_PostDynamicConfig_FullMethodName = "/aperture.policy.language.v1.PolicyService/PostDynamicConfig"
	PolicyService_DeletePolicy_FullMethodName      = "/aperture.policy.language.v1.PolicyService/DeletePolicy"
)

Variables

View Source
var File_aperture_policy_language_v1_autoscale_proto protoreflect.FileDescriptor
View Source
var File_aperture_policy_language_v1_flowcontrol_proto protoreflect.FileDescriptor
View Source
var File_aperture_policy_language_v1_label_matcher_proto protoreflect.FileDescriptor
View Source
var File_aperture_policy_language_v1_policy_proto protoreflect.FileDescriptor
View Source
var File_aperture_policy_language_v1_ports_proto protoreflect.FileDescriptor
View Source
var File_aperture_policy_language_v1_query_proto protoreflect.FileDescriptor
View Source
var File_aperture_policy_language_v1_std_components_proto protoreflect.FileDescriptor
View Source
var PolicyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "aperture.policy.language.v1.PolicyService",
	HandlerType: (*PolicyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPolicy",
			Handler:    _PolicyService_GetPolicy_Handler,
		},
		{
			MethodName: "GetPolicies",
			Handler:    _PolicyService_GetPolicies_Handler,
		},
		{
			MethodName: "UpsertPolicy",
			Handler:    _PolicyService_UpsertPolicy_Handler,
		},
		{
			MethodName: "PostDynamicConfig",
			Handler:    _PolicyService_PostDynamicConfig_Handler,
		},
		{
			MethodName: "DeletePolicy",
			Handler:    _PolicyService_DeletePolicy_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "aperture/policy/language/v1/policy.proto",
}

PolicyService_ServiceDesc is the grpc.ServiceDesc for PolicyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterPolicyServiceHandler

func RegisterPolicyServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPolicyServiceHandler registers the http handlers for service PolicyService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPolicyServiceHandlerClient

func RegisterPolicyServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PolicyServiceClient) error

RegisterPolicyServiceHandlerClient registers the http handlers for service PolicyService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PolicyServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PolicyServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PolicyServiceClient" to call the correct interceptors.

func RegisterPolicyServiceHandlerFromEndpoint

func RegisterPolicyServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPolicyServiceHandlerFromEndpoint is same as RegisterPolicyServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPolicyServiceHandlerServer

func RegisterPolicyServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PolicyServiceServer) error

RegisterPolicyServiceHandlerServer registers the http handlers for service PolicyService to "mux". UnaryRPC :call PolicyServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPolicyServiceHandlerFromEndpoint instead.

func RegisterPolicyServiceServer

func RegisterPolicyServiceServer(s grpc.ServiceRegistrar, srv PolicyServiceServer)

Types

type AIMDConcurrencyController added in v0.21.0

type AIMDConcurrencyController struct {

	// Input ports for the AIMDConcurrencyController component.
	InPorts *AIMDConcurrencyController_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the AIMDConcurrencyController component.
	OutPorts *AIMDConcurrencyController_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Flow Selector decides the service and flows at which the concurrency limiter is applied.
	// Deprecated 1.8.0: Use `selectors` instead.
	FlowSelector *FlowSelector `` // @gotags: validate:"required_without=Selectors"
	/* 135-byte string literal not displayed */
	// Scheduler parameters.
	SchedulerParameters *Scheduler_Parameters `` // @gotags: validate:"required"
	/* 138-byte string literal not displayed */
	// Gradient parameters for the controller.
	GradientParameters *GradientController_Parameters `protobuf:"bytes,5,opt,name=gradient_parameters,json=gradientParameters,proto3" json:"gradient_parameters,omitempty"`
	// Current accepted concurrency is multiplied with this number to dynamically calculate the upper concurrency limit of a Service during normal (non-overload) state. This protects the Service from sudden spikes.
	MaxLoadMultiplier float64 `` // @gotags: default:"2.0"
	/* 130-byte string literal not displayed */
	// Linear increment to load multiplier in each execution tick when the system is not in overloaded state.
	LoadMultiplierLinearIncrement float64 `` // @gotags: default:"0.0025"
	/* 171-byte string literal not displayed */
	// Configuration for embedded Alerter.
	AlerterParameters *Alerter_Parameters `protobuf:"bytes,8,opt,name=alerter_parameters,json=alerterParameters,proto3" json:"alerter_parameters,omitempty"`
	// Dynamic configuration key for load actuation.
	DynamicConfigKey string `protobuf:"bytes,9,opt,name=dynamic_config_key,json=dynamicConfigKey,proto3" json:"dynamic_config_key,omitempty"`
	// Default configuration.
	DefaultConfig *LoadActuator_DynamicConfig `protobuf:"bytes,10,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// Selectors for the component.
	Selectors []*Selector `protobuf:"bytes,11,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required_without=FlowSelector,dive"` // @gotags: validate:"required_without=FlowSelector,dive"
	// contains filtered or unexported fields
}

High level concurrency control component. Baselines a signal using exponential moving average and applies concurrency limits based on deviation of signal from the baseline. Internally implemented as a nested circuit.

func (*AIMDConcurrencyController) DeepCopy added in v0.21.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AIMDConcurrencyController. Required by controller-gen.

func (*AIMDConcurrencyController) DeepCopyInterface added in v0.21.0

func (in *AIMDConcurrencyController) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AIMDConcurrencyController. Required by controller-gen.

func (*AIMDConcurrencyController) DeepCopyInto added in v0.21.0

DeepCopyInto supports using AIMDConcurrencyController within kubernetes types, where deepcopy-gen is used.

func (*AIMDConcurrencyController) Descriptor deprecated added in v0.21.0

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

Deprecated: Use AIMDConcurrencyController.ProtoReflect.Descriptor instead.

func (*AIMDConcurrencyController) GetAlerterParameters added in v0.21.0

func (x *AIMDConcurrencyController) GetAlerterParameters() *Alerter_Parameters

func (*AIMDConcurrencyController) GetDefaultConfig added in v0.23.0

func (*AIMDConcurrencyController) GetDynamicConfigKey added in v0.23.0

func (x *AIMDConcurrencyController) GetDynamicConfigKey() string

func (*AIMDConcurrencyController) GetFlowSelector added in v0.21.0

func (x *AIMDConcurrencyController) GetFlowSelector() *FlowSelector

func (*AIMDConcurrencyController) GetGradientParameters added in v0.21.0

func (x *AIMDConcurrencyController) GetGradientParameters() *GradientController_Parameters

func (*AIMDConcurrencyController) GetInPorts added in v0.21.0

func (*AIMDConcurrencyController) GetLoadMultiplierLinearIncrement added in v0.24.0

func (x *AIMDConcurrencyController) GetLoadMultiplierLinearIncrement() float64

func (*AIMDConcurrencyController) GetMaxLoadMultiplier added in v0.24.0

func (x *AIMDConcurrencyController) GetMaxLoadMultiplier() float64

func (*AIMDConcurrencyController) GetOutPorts added in v0.21.0

func (*AIMDConcurrencyController) GetSchedulerParameters added in v0.21.0

func (x *AIMDConcurrencyController) GetSchedulerParameters() *Scheduler_Parameters

func (*AIMDConcurrencyController) GetSelectors added in v1.6.0

func (x *AIMDConcurrencyController) GetSelectors() []*Selector

func (*AIMDConcurrencyController) MarshalJSON added in v0.21.0

func (msg *AIMDConcurrencyController) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AIMDConcurrencyController) ProtoMessage added in v0.21.0

func (*AIMDConcurrencyController) ProtoMessage()

func (*AIMDConcurrencyController) ProtoReflect added in v0.21.0

func (*AIMDConcurrencyController) Reset added in v0.21.0

func (x *AIMDConcurrencyController) Reset()

func (*AIMDConcurrencyController) String added in v0.21.0

func (x *AIMDConcurrencyController) String() string

func (*AIMDConcurrencyController) UnmarshalJSON added in v0.21.0

func (msg *AIMDConcurrencyController) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AIMDConcurrencyController) Validate added in v1.2.0

func (m *AIMDConcurrencyController) Validate() error

Validate checks the field values on AIMDConcurrencyController with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AIMDConcurrencyController) ValidateAll added in v1.2.0

func (m *AIMDConcurrencyController) ValidateAll() error

ValidateAll checks the field values on AIMDConcurrencyController with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AIMDConcurrencyControllerMultiError, or nil if none found.

type AIMDConcurrencyControllerMultiError added in v1.2.0

type AIMDConcurrencyControllerMultiError []error

AIMDConcurrencyControllerMultiError is an error wrapping multiple validation errors returned by AIMDConcurrencyController.ValidateAll() if the designated constraints aren't met.

func (AIMDConcurrencyControllerMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (AIMDConcurrencyControllerMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type AIMDConcurrencyControllerValidationError added in v1.2.0

type AIMDConcurrencyControllerValidationError struct {
	// contains filtered or unexported fields
}

AIMDConcurrencyControllerValidationError is the validation error returned by AIMDConcurrencyController.Validate if the designated constraints aren't met.

func (AIMDConcurrencyControllerValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (AIMDConcurrencyControllerValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (AIMDConcurrencyControllerValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (AIMDConcurrencyControllerValidationError) Field added in v1.2.0

Field function returns field value.

func (AIMDConcurrencyControllerValidationError) Key added in v1.2.0

Key function returns key value.

func (AIMDConcurrencyControllerValidationError) Reason added in v1.2.0

Reason function returns reason value.

type AIMDConcurrencyController_Ins added in v0.21.0

type AIMDConcurrencyController_Ins struct {

	// The signal to the controller.
	Signal *InPort `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"`
	// The setpoint to the controller.
	Setpoint *InPort `protobuf:"bytes,2,opt,name=setpoint,proto3" json:"setpoint,omitempty"`
	// The enabled port controls whether the _Adaptive Load Scheduler_ can load shed _Flows_. By default, the _Adaptive Load Scheduler_ is enabled.
	Enabled *InPort `protobuf:"bytes,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the AIMDConcurrencyController component.

func (*AIMDConcurrencyController_Ins) DeepCopy added in v0.21.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AIMDConcurrencyController_Ins. Required by controller-gen.

func (*AIMDConcurrencyController_Ins) DeepCopyInterface added in v0.21.0

func (in *AIMDConcurrencyController_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AIMDConcurrencyController_Ins. Required by controller-gen.

func (*AIMDConcurrencyController_Ins) DeepCopyInto added in v0.21.0

DeepCopyInto supports using AIMDConcurrencyController_Ins within kubernetes types, where deepcopy-gen is used.

func (*AIMDConcurrencyController_Ins) Descriptor deprecated added in v0.21.0

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

Deprecated: Use AIMDConcurrencyController_Ins.ProtoReflect.Descriptor instead.

func (*AIMDConcurrencyController_Ins) GetEnabled added in v1.6.0

func (x *AIMDConcurrencyController_Ins) GetEnabled() *InPort

func (*AIMDConcurrencyController_Ins) GetSetpoint added in v0.21.0

func (x *AIMDConcurrencyController_Ins) GetSetpoint() *InPort

func (*AIMDConcurrencyController_Ins) GetSignal added in v0.21.0

func (x *AIMDConcurrencyController_Ins) GetSignal() *InPort

func (*AIMDConcurrencyController_Ins) MarshalJSON added in v0.21.0

func (msg *AIMDConcurrencyController_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AIMDConcurrencyController_Ins) ProtoMessage added in v0.21.0

func (*AIMDConcurrencyController_Ins) ProtoMessage()

func (*AIMDConcurrencyController_Ins) ProtoReflect added in v0.21.0

func (*AIMDConcurrencyController_Ins) Reset added in v0.21.0

func (x *AIMDConcurrencyController_Ins) Reset()

func (*AIMDConcurrencyController_Ins) String added in v0.21.0

func (*AIMDConcurrencyController_Ins) UnmarshalJSON added in v0.21.0

func (msg *AIMDConcurrencyController_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AIMDConcurrencyController_Ins) Validate added in v1.2.0

func (m *AIMDConcurrencyController_Ins) Validate() error

Validate checks the field values on AIMDConcurrencyController_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AIMDConcurrencyController_Ins) ValidateAll added in v1.2.0

func (m *AIMDConcurrencyController_Ins) ValidateAll() error

ValidateAll checks the field values on AIMDConcurrencyController_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AIMDConcurrencyController_InsMultiError, or nil if none found.

type AIMDConcurrencyController_InsMultiError added in v1.2.0

type AIMDConcurrencyController_InsMultiError []error

AIMDConcurrencyController_InsMultiError is an error wrapping multiple validation errors returned by AIMDConcurrencyController_Ins.ValidateAll() if the designated constraints aren't met.

func (AIMDConcurrencyController_InsMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (AIMDConcurrencyController_InsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type AIMDConcurrencyController_InsValidationError added in v1.2.0

type AIMDConcurrencyController_InsValidationError struct {
	// contains filtered or unexported fields
}

AIMDConcurrencyController_InsValidationError is the validation error returned by AIMDConcurrencyController_Ins.Validate if the designated constraints aren't met.

func (AIMDConcurrencyController_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (AIMDConcurrencyController_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (AIMDConcurrencyController_InsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (AIMDConcurrencyController_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (AIMDConcurrencyController_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (AIMDConcurrencyController_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type AIMDConcurrencyController_Outs added in v0.21.0

type AIMDConcurrencyController_Outs struct {

	// Is overload is a Boolean signal that indicates whether the service is overloaded based on the deviation of the signal from the setpoint taking into account some tolerance.
	// Deprecated: 1.6.0
	IsOverload *OutPort `protobuf:"bytes,1,opt,name=is_overload,json=isOverload,proto3" json:"is_overload,omitempty"`
	// Desired Load multiplier is the ratio of desired concurrency to the incoming concurrency.
	DesiredLoadMultiplier *OutPort `` /* 126-byte string literal not displayed */
	// Observed Load multiplier is the ratio of accepted concurrency to the incoming concurrency.
	ObservedLoadMultiplier *OutPort `` /* 129-byte string literal not displayed */
	// Accepted concurrency is the number of concurrent requests that are accepted by the service.
	AcceptedConcurrency *OutPort `protobuf:"bytes,4,opt,name=accepted_concurrency,json=acceptedConcurrency,proto3" json:"accepted_concurrency,omitempty"`
	// IncomingConcurrency is the number of concurrent requests that are received by the service.
	IncomingConcurrency *OutPort `protobuf:"bytes,5,opt,name=incoming_concurrency,json=incomingConcurrency,proto3" json:"incoming_concurrency,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the AIMDConcurrencyController component.

func (*AIMDConcurrencyController_Outs) DeepCopy added in v0.21.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AIMDConcurrencyController_Outs. Required by controller-gen.

func (*AIMDConcurrencyController_Outs) DeepCopyInterface added in v0.21.0

func (in *AIMDConcurrencyController_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AIMDConcurrencyController_Outs. Required by controller-gen.

func (*AIMDConcurrencyController_Outs) DeepCopyInto added in v0.21.0

DeepCopyInto supports using AIMDConcurrencyController_Outs within kubernetes types, where deepcopy-gen is used.

func (*AIMDConcurrencyController_Outs) Descriptor deprecated added in v0.21.0

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

Deprecated: Use AIMDConcurrencyController_Outs.ProtoReflect.Descriptor instead.

func (*AIMDConcurrencyController_Outs) GetAcceptedConcurrency added in v0.21.0

func (x *AIMDConcurrencyController_Outs) GetAcceptedConcurrency() *OutPort

func (*AIMDConcurrencyController_Outs) GetDesiredLoadMultiplier added in v0.24.0

func (x *AIMDConcurrencyController_Outs) GetDesiredLoadMultiplier() *OutPort

func (*AIMDConcurrencyController_Outs) GetIncomingConcurrency added in v0.21.0

func (x *AIMDConcurrencyController_Outs) GetIncomingConcurrency() *OutPort

func (*AIMDConcurrencyController_Outs) GetIsOverload added in v0.21.0

func (x *AIMDConcurrencyController_Outs) GetIsOverload() *OutPort

func (*AIMDConcurrencyController_Outs) GetObservedLoadMultiplier added in v0.24.0

func (x *AIMDConcurrencyController_Outs) GetObservedLoadMultiplier() *OutPort

func (*AIMDConcurrencyController_Outs) MarshalJSON added in v0.21.0

func (msg *AIMDConcurrencyController_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AIMDConcurrencyController_Outs) ProtoMessage added in v0.21.0

func (*AIMDConcurrencyController_Outs) ProtoMessage()

func (*AIMDConcurrencyController_Outs) ProtoReflect added in v0.21.0

func (*AIMDConcurrencyController_Outs) Reset added in v0.21.0

func (x *AIMDConcurrencyController_Outs) Reset()

func (*AIMDConcurrencyController_Outs) String added in v0.21.0

func (*AIMDConcurrencyController_Outs) UnmarshalJSON added in v0.21.0

func (msg *AIMDConcurrencyController_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AIMDConcurrencyController_Outs) Validate added in v1.2.0

func (m *AIMDConcurrencyController_Outs) Validate() error

Validate checks the field values on AIMDConcurrencyController_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AIMDConcurrencyController_Outs) ValidateAll added in v1.2.0

func (m *AIMDConcurrencyController_Outs) ValidateAll() error

ValidateAll checks the field values on AIMDConcurrencyController_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AIMDConcurrencyController_OutsMultiError, or nil if none found.

type AIMDConcurrencyController_OutsMultiError added in v1.2.0

type AIMDConcurrencyController_OutsMultiError []error

AIMDConcurrencyController_OutsMultiError is an error wrapping multiple validation errors returned by AIMDConcurrencyController_Outs.ValidateAll() if the designated constraints aren't met.

func (AIMDConcurrencyController_OutsMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (AIMDConcurrencyController_OutsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type AIMDConcurrencyController_OutsValidationError added in v1.2.0

type AIMDConcurrencyController_OutsValidationError struct {
	// contains filtered or unexported fields
}

AIMDConcurrencyController_OutsValidationError is the validation error returned by AIMDConcurrencyController_Outs.Validate if the designated constraints aren't met.

func (AIMDConcurrencyController_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (AIMDConcurrencyController_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (AIMDConcurrencyController_OutsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (AIMDConcurrencyController_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (AIMDConcurrencyController_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (AIMDConcurrencyController_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type AdaptiveLoadScheduler added in v1.6.0

type AdaptiveLoadScheduler struct {

	// Collection of input ports for the _Adaptive Load Scheduler_ component.
	InPorts *AdaptiveLoadScheduler_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Collection of output ports for the _Adaptive Load Scheduler_ component.
	OutPorts *AdaptiveLoadScheduler_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// _Flow Selector_ is responsible for choosing the _Flows_ to which the _Load Scheduler_ is applied.
	// Deprecated 1.8.0: Use `selectors` instead.
	FlowSelector *FlowSelector `` // @gotags: validate:"required_without=Selectors"
	/* 135-byte string literal not displayed */
	// Parameters for the _Load Scheduler_.
	SchedulerParameters *LoadScheduler_Scheduler_Parameters `` // @gotags: validate:"required"
	/* 138-byte string literal not displayed */
	// Parameters for the _Gradient Controller_.
	GradientParameters *GradientController_Parameters `protobuf:"bytes,5,opt,name=gradient_parameters,json=gradientParameters,proto3" json:"gradient_parameters,omitempty"`
	// The accepted token rate is multiplied by this value to dynamically calculate the upper concurrency limit of a Service during normal (non-overload) states, helping to protect the Service from sudden spikes in incoming token rate.
	MaxLoadMultiplier float64 `` // @gotags: default:"2.0"
	/* 130-byte string literal not displayed */
	// Linear increment to load multiplier in each execution tick when the system is not in overloaded state.
	LoadMultiplierLinearIncrement float64 `` // @gotags: default:"0.0025"
	/* 171-byte string literal not displayed */
	// Configuration parameters for the embedded Alerter.
	AlerterParameters *Alerter_Parameters `protobuf:"bytes,8,opt,name=alerter_parameters,json=alerterParameters,proto3" json:"alerter_parameters,omitempty"`
	// Dynamic configuration key for load actuation.
	DynamicConfigKey string `protobuf:"bytes,9,opt,name=dynamic_config_key,json=dynamicConfigKey,proto3" json:"dynamic_config_key,omitempty"`
	// Default dynamic configuration for load actuation.
	DefaultConfig *LoadScheduler_Actuator_DynamicConfig `protobuf:"bytes,10,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// Selectors for the component.
	Selectors []*Selector `protobuf:"bytes,11,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required_without=FlowSelector,dive"` // @gotags: validate:"required_without=FlowSelector,dive"
	// contains filtered or unexported fields
}

The _Adaptive Load Scheduler_ adjusts the accepted token rate based on the deviation of the input signal from the setpoint..

func (*AdaptiveLoadScheduler) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdaptiveLoadScheduler. Required by controller-gen.

func (*AdaptiveLoadScheduler) DeepCopyInterface added in v1.6.0

func (in *AdaptiveLoadScheduler) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AdaptiveLoadScheduler. Required by controller-gen.

func (*AdaptiveLoadScheduler) DeepCopyInto added in v1.6.0

func (in *AdaptiveLoadScheduler) DeepCopyInto(out *AdaptiveLoadScheduler)

DeepCopyInto supports using AdaptiveLoadScheduler within kubernetes types, where deepcopy-gen is used.

func (*AdaptiveLoadScheduler) Descriptor deprecated added in v1.6.0

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

Deprecated: Use AdaptiveLoadScheduler.ProtoReflect.Descriptor instead.

func (*AdaptiveLoadScheduler) GetAlerterParameters added in v1.6.0

func (x *AdaptiveLoadScheduler) GetAlerterParameters() *Alerter_Parameters

func (*AdaptiveLoadScheduler) GetDefaultConfig added in v1.6.0

func (*AdaptiveLoadScheduler) GetDynamicConfigKey added in v1.6.0

func (x *AdaptiveLoadScheduler) GetDynamicConfigKey() string

func (*AdaptiveLoadScheduler) GetFlowSelector added in v1.6.0

func (x *AdaptiveLoadScheduler) GetFlowSelector() *FlowSelector

func (*AdaptiveLoadScheduler) GetGradientParameters added in v1.6.0

func (x *AdaptiveLoadScheduler) GetGradientParameters() *GradientController_Parameters

func (*AdaptiveLoadScheduler) GetInPorts added in v1.6.0

func (*AdaptiveLoadScheduler) GetLoadMultiplierLinearIncrement added in v1.6.0

func (x *AdaptiveLoadScheduler) GetLoadMultiplierLinearIncrement() float64

func (*AdaptiveLoadScheduler) GetMaxLoadMultiplier added in v1.6.0

func (x *AdaptiveLoadScheduler) GetMaxLoadMultiplier() float64

func (*AdaptiveLoadScheduler) GetOutPorts added in v1.6.0

func (*AdaptiveLoadScheduler) GetSchedulerParameters added in v1.6.0

func (x *AdaptiveLoadScheduler) GetSchedulerParameters() *LoadScheduler_Scheduler_Parameters

func (*AdaptiveLoadScheduler) GetSelectors added in v1.6.0

func (x *AdaptiveLoadScheduler) GetSelectors() []*Selector

func (*AdaptiveLoadScheduler) MarshalJSON added in v1.6.0

func (msg *AdaptiveLoadScheduler) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AdaptiveLoadScheduler) ProtoMessage added in v1.6.0

func (*AdaptiveLoadScheduler) ProtoMessage()

func (*AdaptiveLoadScheduler) ProtoReflect added in v1.6.0

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

func (*AdaptiveLoadScheduler) Reset added in v1.6.0

func (x *AdaptiveLoadScheduler) Reset()

func (*AdaptiveLoadScheduler) String added in v1.6.0

func (x *AdaptiveLoadScheduler) String() string

func (*AdaptiveLoadScheduler) UnmarshalJSON added in v1.6.0

func (msg *AdaptiveLoadScheduler) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AdaptiveLoadScheduler) Validate added in v1.6.0

func (m *AdaptiveLoadScheduler) Validate() error

Validate checks the field values on AdaptiveLoadScheduler with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AdaptiveLoadScheduler) ValidateAll added in v1.6.0

func (m *AdaptiveLoadScheduler) ValidateAll() error

ValidateAll checks the field values on AdaptiveLoadScheduler with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AdaptiveLoadSchedulerMultiError, or nil if none found.

type AdaptiveLoadSchedulerMultiError added in v1.6.0

type AdaptiveLoadSchedulerMultiError []error

AdaptiveLoadSchedulerMultiError is an error wrapping multiple validation errors returned by AdaptiveLoadScheduler.ValidateAll() if the designated constraints aren't met.

func (AdaptiveLoadSchedulerMultiError) AllErrors added in v1.6.0

func (m AdaptiveLoadSchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AdaptiveLoadSchedulerMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type AdaptiveLoadSchedulerValidationError added in v1.6.0

type AdaptiveLoadSchedulerValidationError struct {
	// contains filtered or unexported fields
}

AdaptiveLoadSchedulerValidationError is the validation error returned by AdaptiveLoadScheduler.Validate if the designated constraints aren't met.

func (AdaptiveLoadSchedulerValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (AdaptiveLoadSchedulerValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (AdaptiveLoadSchedulerValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (AdaptiveLoadSchedulerValidationError) Field added in v1.6.0

Field function returns field value.

func (AdaptiveLoadSchedulerValidationError) Key added in v1.6.0

Key function returns key value.

func (AdaptiveLoadSchedulerValidationError) Reason added in v1.6.0

Reason function returns reason value.

type AdaptiveLoadScheduler_Ins added in v1.6.0

type AdaptiveLoadScheduler_Ins struct {

	// The input signal to the controller.
	Signal *InPort `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"`
	// The setpoint input to the controller.
	Setpoint *InPort `protobuf:"bytes,2,opt,name=setpoint,proto3" json:"setpoint,omitempty"`
	// The enabled port determines if the _Load Scheduler_ can shed _Flows_. By default, the Load Scheduler is enabled.
	Enabled *InPort `protobuf:"bytes,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Input ports for the _Adaptive Load Scheduler_ component.

func (*AdaptiveLoadScheduler_Ins) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdaptiveLoadScheduler_Ins. Required by controller-gen.

func (*AdaptiveLoadScheduler_Ins) DeepCopyInterface added in v1.6.0

func (in *AdaptiveLoadScheduler_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AdaptiveLoadScheduler_Ins. Required by controller-gen.

func (*AdaptiveLoadScheduler_Ins) DeepCopyInto added in v1.6.0

DeepCopyInto supports using AdaptiveLoadScheduler_Ins within kubernetes types, where deepcopy-gen is used.

func (*AdaptiveLoadScheduler_Ins) Descriptor deprecated added in v1.6.0

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

Deprecated: Use AdaptiveLoadScheduler_Ins.ProtoReflect.Descriptor instead.

func (*AdaptiveLoadScheduler_Ins) GetEnabled added in v1.6.0

func (x *AdaptiveLoadScheduler_Ins) GetEnabled() *InPort

func (*AdaptiveLoadScheduler_Ins) GetSetpoint added in v1.6.0

func (x *AdaptiveLoadScheduler_Ins) GetSetpoint() *InPort

func (*AdaptiveLoadScheduler_Ins) GetSignal added in v1.6.0

func (x *AdaptiveLoadScheduler_Ins) GetSignal() *InPort

func (*AdaptiveLoadScheduler_Ins) MarshalJSON added in v1.6.0

func (msg *AdaptiveLoadScheduler_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AdaptiveLoadScheduler_Ins) ProtoMessage added in v1.6.0

func (*AdaptiveLoadScheduler_Ins) ProtoMessage()

func (*AdaptiveLoadScheduler_Ins) ProtoReflect added in v1.6.0

func (*AdaptiveLoadScheduler_Ins) Reset added in v1.6.0

func (x *AdaptiveLoadScheduler_Ins) Reset()

func (*AdaptiveLoadScheduler_Ins) String added in v1.6.0

func (x *AdaptiveLoadScheduler_Ins) String() string

func (*AdaptiveLoadScheduler_Ins) UnmarshalJSON added in v1.6.0

func (msg *AdaptiveLoadScheduler_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AdaptiveLoadScheduler_Ins) Validate added in v1.6.0

func (m *AdaptiveLoadScheduler_Ins) Validate() error

Validate checks the field values on AdaptiveLoadScheduler_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AdaptiveLoadScheduler_Ins) ValidateAll added in v1.6.0

func (m *AdaptiveLoadScheduler_Ins) ValidateAll() error

ValidateAll checks the field values on AdaptiveLoadScheduler_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AdaptiveLoadScheduler_InsMultiError, or nil if none found.

type AdaptiveLoadScheduler_InsMultiError added in v1.6.0

type AdaptiveLoadScheduler_InsMultiError []error

AdaptiveLoadScheduler_InsMultiError is an error wrapping multiple validation errors returned by AdaptiveLoadScheduler_Ins.ValidateAll() if the designated constraints aren't met.

func (AdaptiveLoadScheduler_InsMultiError) AllErrors added in v1.6.0

AllErrors returns a list of validation violation errors.

func (AdaptiveLoadScheduler_InsMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type AdaptiveLoadScheduler_InsValidationError added in v1.6.0

type AdaptiveLoadScheduler_InsValidationError struct {
	// contains filtered or unexported fields
}

AdaptiveLoadScheduler_InsValidationError is the validation error returned by AdaptiveLoadScheduler_Ins.Validate if the designated constraints aren't met.

func (AdaptiveLoadScheduler_InsValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (AdaptiveLoadScheduler_InsValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (AdaptiveLoadScheduler_InsValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (AdaptiveLoadScheduler_InsValidationError) Field added in v1.6.0

Field function returns field value.

func (AdaptiveLoadScheduler_InsValidationError) Key added in v1.6.0

Key function returns key value.

func (AdaptiveLoadScheduler_InsValidationError) Reason added in v1.6.0

Reason function returns reason value.

type AdaptiveLoadScheduler_Outs added in v1.6.0

type AdaptiveLoadScheduler_Outs struct {

	// A Boolean signal that indicates whether the service is overloaded based on the deviation of the signal from the setpoint, considering a certain tolerance.
	// Deprecated: 1.6.0
	IsOverload *OutPort `protobuf:"bytes,1,opt,name=is_overload,json=isOverload,proto3" json:"is_overload,omitempty"`
	// Desired Load multiplier is the ratio of desired token rate to the incoming token rate.
	DesiredLoadMultiplier *OutPort `` /* 126-byte string literal not displayed */
	// Observed Load multiplier is the ratio of accepted token rate to the incoming token rate.
	ObservedLoadMultiplier *OutPort `` /* 129-byte string literal not displayed */
	// Accepted token rate is the number of tokens per second accepted by the service.
	AcceptedTokenRate *OutPort `protobuf:"bytes,4,opt,name=accepted_token_rate,json=acceptedTokenRate,proto3" json:"accepted_token_rate,omitempty"`
	// Incoming token rate is the number of tokens per second incoming to the service (including rejected ones).
	IncomingTokenRate *OutPort `protobuf:"bytes,5,opt,name=incoming_token_rate,json=incomingTokenRate,proto3" json:"incoming_token_rate,omitempty"`
	// contains filtered or unexported fields
}

Output ports for the _Adaptive Load Scheduler_ component.

func (*AdaptiveLoadScheduler_Outs) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdaptiveLoadScheduler_Outs. Required by controller-gen.

func (*AdaptiveLoadScheduler_Outs) DeepCopyInterface added in v1.6.0

func (in *AdaptiveLoadScheduler_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AdaptiveLoadScheduler_Outs. Required by controller-gen.

func (*AdaptiveLoadScheduler_Outs) DeepCopyInto added in v1.6.0

DeepCopyInto supports using AdaptiveLoadScheduler_Outs within kubernetes types, where deepcopy-gen is used.

func (*AdaptiveLoadScheduler_Outs) Descriptor deprecated added in v1.6.0

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

Deprecated: Use AdaptiveLoadScheduler_Outs.ProtoReflect.Descriptor instead.

func (*AdaptiveLoadScheduler_Outs) GetAcceptedTokenRate added in v1.6.0

func (x *AdaptiveLoadScheduler_Outs) GetAcceptedTokenRate() *OutPort

func (*AdaptiveLoadScheduler_Outs) GetDesiredLoadMultiplier added in v1.6.0

func (x *AdaptiveLoadScheduler_Outs) GetDesiredLoadMultiplier() *OutPort

func (*AdaptiveLoadScheduler_Outs) GetIncomingTokenRate added in v1.6.0

func (x *AdaptiveLoadScheduler_Outs) GetIncomingTokenRate() *OutPort

func (*AdaptiveLoadScheduler_Outs) GetIsOverload added in v1.6.0

func (x *AdaptiveLoadScheduler_Outs) GetIsOverload() *OutPort

func (*AdaptiveLoadScheduler_Outs) GetObservedLoadMultiplier added in v1.6.0

func (x *AdaptiveLoadScheduler_Outs) GetObservedLoadMultiplier() *OutPort

func (*AdaptiveLoadScheduler_Outs) MarshalJSON added in v1.6.0

func (msg *AdaptiveLoadScheduler_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AdaptiveLoadScheduler_Outs) ProtoMessage added in v1.6.0

func (*AdaptiveLoadScheduler_Outs) ProtoMessage()

func (*AdaptiveLoadScheduler_Outs) ProtoReflect added in v1.6.0

func (*AdaptiveLoadScheduler_Outs) Reset added in v1.6.0

func (x *AdaptiveLoadScheduler_Outs) Reset()

func (*AdaptiveLoadScheduler_Outs) String added in v1.6.0

func (x *AdaptiveLoadScheduler_Outs) String() string

func (*AdaptiveLoadScheduler_Outs) UnmarshalJSON added in v1.6.0

func (msg *AdaptiveLoadScheduler_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AdaptiveLoadScheduler_Outs) Validate added in v1.6.0

func (m *AdaptiveLoadScheduler_Outs) Validate() error

Validate checks the field values on AdaptiveLoadScheduler_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AdaptiveLoadScheduler_Outs) ValidateAll added in v1.6.0

func (m *AdaptiveLoadScheduler_Outs) ValidateAll() error

ValidateAll checks the field values on AdaptiveLoadScheduler_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AdaptiveLoadScheduler_OutsMultiError, or nil if none found.

type AdaptiveLoadScheduler_OutsMultiError added in v1.6.0

type AdaptiveLoadScheduler_OutsMultiError []error

AdaptiveLoadScheduler_OutsMultiError is an error wrapping multiple validation errors returned by AdaptiveLoadScheduler_Outs.ValidateAll() if the designated constraints aren't met.

func (AdaptiveLoadScheduler_OutsMultiError) AllErrors added in v1.6.0

AllErrors returns a list of validation violation errors.

func (AdaptiveLoadScheduler_OutsMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type AdaptiveLoadScheduler_OutsValidationError added in v1.6.0

type AdaptiveLoadScheduler_OutsValidationError struct {
	// contains filtered or unexported fields
}

AdaptiveLoadScheduler_OutsValidationError is the validation error returned by AdaptiveLoadScheduler_Outs.Validate if the designated constraints aren't met.

func (AdaptiveLoadScheduler_OutsValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (AdaptiveLoadScheduler_OutsValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (AdaptiveLoadScheduler_OutsValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (AdaptiveLoadScheduler_OutsValidationError) Field added in v1.6.0

Field function returns field value.

func (AdaptiveLoadScheduler_OutsValidationError) Key added in v1.6.0

Key function returns key value.

func (AdaptiveLoadScheduler_OutsValidationError) Reason added in v1.6.0

Reason function returns reason value.

type AddressExtractor

type AddressExtractor struct {

	// Attribute path pointing to some string - for example, `source.address`.
	From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" validate:"required"` //@gotags: validate:"required"
	// contains filtered or unexported fields
}

Display an [Address]ext-authz-address as a single string, for example, `<ip>:<port>`

IP addresses in attribute context are defined as objects with separate IP and port fields. This is a helper to display an address as a single string.

:::caution

This might introduce high-cardinality flow label values.

:::

Example: ```yaml from: "source.address # or destination.address" ```

func (*AddressExtractor) DeepCopy added in v0.1.2

func (in *AddressExtractor) DeepCopy() *AddressExtractor

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressExtractor. Required by controller-gen.

func (*AddressExtractor) DeepCopyInterface added in v0.1.2

func (in *AddressExtractor) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AddressExtractor. Required by controller-gen.

func (*AddressExtractor) DeepCopyInto added in v0.1.2

func (in *AddressExtractor) DeepCopyInto(out *AddressExtractor)

DeepCopyInto supports using AddressExtractor within kubernetes types, where deepcopy-gen is used.

func (*AddressExtractor) Descriptor deprecated

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

Deprecated: Use AddressExtractor.ProtoReflect.Descriptor instead.

func (*AddressExtractor) GetFrom

func (x *AddressExtractor) GetFrom() string

func (*AddressExtractor) MarshalJSON

func (msg *AddressExtractor) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AddressExtractor) ProtoMessage

func (*AddressExtractor) ProtoMessage()

func (*AddressExtractor) ProtoReflect

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

func (*AddressExtractor) Reset

func (x *AddressExtractor) Reset()

func (*AddressExtractor) String

func (x *AddressExtractor) String() string

func (*AddressExtractor) UnmarshalJSON

func (msg *AddressExtractor) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AddressExtractor) Validate added in v1.2.0

func (m *AddressExtractor) Validate() error

Validate checks the field values on AddressExtractor with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AddressExtractor) ValidateAll added in v1.2.0

func (m *AddressExtractor) ValidateAll() error

ValidateAll checks the field values on AddressExtractor with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddressExtractorMultiError, or nil if none found.

type AddressExtractorMultiError added in v1.2.0

type AddressExtractorMultiError []error

AddressExtractorMultiError is an error wrapping multiple validation errors returned by AddressExtractor.ValidateAll() if the designated constraints aren't met.

func (AddressExtractorMultiError) AllErrors added in v1.2.0

func (m AddressExtractorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddressExtractorMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type AddressExtractorValidationError added in v1.2.0

type AddressExtractorValidationError struct {
	// contains filtered or unexported fields
}

AddressExtractorValidationError is the validation error returned by AddressExtractor.Validate if the designated constraints aren't met.

func (AddressExtractorValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (AddressExtractorValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (AddressExtractorValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (AddressExtractorValidationError) Field added in v1.2.0

Field function returns field value.

func (AddressExtractorValidationError) Key added in v1.2.0

Key function returns key value.

func (AddressExtractorValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Alerter added in v0.11.0

type Alerter struct {

	// Input ports for the Alerter component.
	InPorts *Alerter_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Alerter configuration
	Parameters *Alerter_Parameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Alerter reacts to a signal and generates alert to send to alert manager.

func (*Alerter) DeepCopy added in v0.11.0

func (in *Alerter) DeepCopy() *Alerter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alerter. Required by controller-gen.

func (*Alerter) DeepCopyInterface added in v0.11.0

func (in *Alerter) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Alerter. Required by controller-gen.

func (*Alerter) DeepCopyInto added in v0.11.0

func (in *Alerter) DeepCopyInto(out *Alerter)

DeepCopyInto supports using Alerter within kubernetes types, where deepcopy-gen is used.

func (*Alerter) Descriptor deprecated added in v0.11.0

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

Deprecated: Use Alerter.ProtoReflect.Descriptor instead.

func (*Alerter) GetInPorts added in v0.11.0

func (x *Alerter) GetInPorts() *Alerter_Ins

func (*Alerter) GetParameters added in v0.21.0

func (x *Alerter) GetParameters() *Alerter_Parameters

func (*Alerter) MarshalJSON added in v0.11.0

func (msg *Alerter) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Alerter) ProtoMessage added in v0.11.0

func (*Alerter) ProtoMessage()

func (*Alerter) ProtoReflect added in v0.11.0

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

func (*Alerter) Reset added in v0.11.0

func (x *Alerter) Reset()

func (*Alerter) String added in v0.11.0

func (x *Alerter) String() string

func (*Alerter) UnmarshalJSON added in v0.11.0

func (msg *Alerter) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Alerter) Validate added in v1.2.0

func (m *Alerter) Validate() error

Validate checks the field values on Alerter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Alerter) ValidateAll added in v1.2.0

func (m *Alerter) ValidateAll() error

ValidateAll checks the field values on Alerter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AlerterMultiError, or nil if none found.

type AlerterMultiError added in v1.2.0

type AlerterMultiError []error

AlerterMultiError is an error wrapping multiple validation errors returned by Alerter.ValidateAll() if the designated constraints aren't met.

func (AlerterMultiError) AllErrors added in v1.2.0

func (m AlerterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AlerterMultiError) Error added in v1.2.0

func (m AlerterMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AlerterValidationError added in v1.2.0

type AlerterValidationError struct {
	// contains filtered or unexported fields
}

AlerterValidationError is the validation error returned by Alerter.Validate if the designated constraints aren't met.

func (AlerterValidationError) Cause added in v1.2.0

func (e AlerterValidationError) Cause() error

Cause function returns cause value.

func (AlerterValidationError) Error added in v1.2.0

func (e AlerterValidationError) Error() string

Error satisfies the builtin error interface

func (AlerterValidationError) ErrorName added in v1.2.0

func (e AlerterValidationError) ErrorName() string

ErrorName returns error name.

func (AlerterValidationError) Field added in v1.2.0

func (e AlerterValidationError) Field() string

Field function returns field value.

func (AlerterValidationError) Key added in v1.2.0

func (e AlerterValidationError) Key() bool

Key function returns key value.

func (AlerterValidationError) Reason added in v1.2.0

func (e AlerterValidationError) Reason() string

Reason function returns reason value.

type Alerter_Ins added in v0.11.0

type Alerter_Ins struct {

	// Signal which Alerter is monitoring. If the signal greater than 0, Alerter generates an alert.
	Signal *InPort `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the Alerter component.

func (*Alerter_Ins) DeepCopy added in v0.11.0

func (in *Alerter_Ins) DeepCopy() *Alerter_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alerter_Ins. Required by controller-gen.

func (*Alerter_Ins) DeepCopyInterface added in v0.11.0

func (in *Alerter_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Alerter_Ins. Required by controller-gen.

func (*Alerter_Ins) DeepCopyInto added in v0.11.0

func (in *Alerter_Ins) DeepCopyInto(out *Alerter_Ins)

DeepCopyInto supports using Alerter_Ins within kubernetes types, where deepcopy-gen is used.

func (*Alerter_Ins) Descriptor deprecated added in v0.11.0

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

Deprecated: Use Alerter_Ins.ProtoReflect.Descriptor instead.

func (*Alerter_Ins) GetSignal added in v0.19.0

func (x *Alerter_Ins) GetSignal() *InPort

func (*Alerter_Ins) MarshalJSON added in v0.11.0

func (msg *Alerter_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Alerter_Ins) ProtoMessage added in v0.11.0

func (*Alerter_Ins) ProtoMessage()

func (*Alerter_Ins) ProtoReflect added in v0.11.0

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

func (*Alerter_Ins) Reset added in v0.11.0

func (x *Alerter_Ins) Reset()

func (*Alerter_Ins) String added in v0.11.0

func (x *Alerter_Ins) String() string

func (*Alerter_Ins) UnmarshalJSON added in v0.11.0

func (msg *Alerter_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Alerter_Ins) Validate added in v1.2.0

func (m *Alerter_Ins) Validate() error

Validate checks the field values on Alerter_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Alerter_Ins) ValidateAll added in v1.2.0

func (m *Alerter_Ins) ValidateAll() error

ValidateAll checks the field values on Alerter_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Alerter_InsMultiError, or nil if none found.

type Alerter_InsMultiError added in v1.2.0

type Alerter_InsMultiError []error

Alerter_InsMultiError is an error wrapping multiple validation errors returned by Alerter_Ins.ValidateAll() if the designated constraints aren't met.

func (Alerter_InsMultiError) AllErrors added in v1.2.0

func (m Alerter_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Alerter_InsMultiError) Error added in v1.2.0

func (m Alerter_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Alerter_InsValidationError added in v1.2.0

type Alerter_InsValidationError struct {
	// contains filtered or unexported fields
}

Alerter_InsValidationError is the validation error returned by Alerter_Ins.Validate if the designated constraints aren't met.

func (Alerter_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Alerter_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Alerter_InsValidationError) ErrorName added in v1.2.0

func (e Alerter_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Alerter_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (Alerter_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (Alerter_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Alerter_Parameters added in v0.21.0

type Alerter_Parameters struct {

	// Name of the alert.
	AlertName string `protobuf:"bytes,1,opt,name=alert_name,json=alertName,proto3" json:"alert_name,omitempty" validate:"required"` // @gotags: validate:"required"
	// Severity of the alert, one of 'info', 'warn' or 'crit'.
	Severity string `protobuf:"bytes,2,opt,name=severity,proto3" json:"severity,omitempty" default:"info" validate:"oneof=info warn crit"` // @gotags: default:"info" validate:"oneof=info warn crit"
	// Duration of alert resolver.
	ResolveTimeout *durationpb.Duration `protobuf:"bytes,3,opt,name=resolve_timeout,json=resolveTimeout,proto3" json:"resolve_timeout,omitempty" default:"5s"` // @gotags: default:"5s"
	// A list of alert channel strings.
	AlertChannels []string `protobuf:"bytes,4,rep,name=alert_channels,json=alertChannels,proto3" json:"alert_channels,omitempty"`
	// Additional labels to add to alert.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Alerter Parameters configure parameters such as alert name, severity, resolve timeout, alert channels and labels.

func (*Alerter_Parameters) DeepCopy added in v0.21.0

func (in *Alerter_Parameters) DeepCopy() *Alerter_Parameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alerter_Parameters. Required by controller-gen.

func (*Alerter_Parameters) DeepCopyInterface added in v0.21.0

func (in *Alerter_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Alerter_Parameters. Required by controller-gen.

func (*Alerter_Parameters) DeepCopyInto added in v0.21.0

func (in *Alerter_Parameters) DeepCopyInto(out *Alerter_Parameters)

DeepCopyInto supports using Alerter_Parameters within kubernetes types, where deepcopy-gen is used.

func (*Alerter_Parameters) Descriptor deprecated added in v0.21.0

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

Deprecated: Use Alerter_Parameters.ProtoReflect.Descriptor instead.

func (*Alerter_Parameters) GetAlertChannels added in v0.21.0

func (x *Alerter_Parameters) GetAlertChannels() []string

func (*Alerter_Parameters) GetAlertName added in v0.21.0

func (x *Alerter_Parameters) GetAlertName() string

func (*Alerter_Parameters) GetLabels added in v0.23.0

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

func (*Alerter_Parameters) GetResolveTimeout added in v0.21.0

func (x *Alerter_Parameters) GetResolveTimeout() *durationpb.Duration

func (*Alerter_Parameters) GetSeverity added in v0.21.0

func (x *Alerter_Parameters) GetSeverity() string

func (*Alerter_Parameters) MarshalJSON added in v0.21.0

func (msg *Alerter_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Alerter_Parameters) ProtoMessage added in v0.21.0

func (*Alerter_Parameters) ProtoMessage()

func (*Alerter_Parameters) ProtoReflect added in v0.21.0

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

func (*Alerter_Parameters) Reset added in v0.21.0

func (x *Alerter_Parameters) Reset()

func (*Alerter_Parameters) String added in v0.21.0

func (x *Alerter_Parameters) String() string

func (*Alerter_Parameters) UnmarshalJSON added in v0.21.0

func (msg *Alerter_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Alerter_Parameters) Validate added in v1.2.0

func (m *Alerter_Parameters) Validate() error

Validate checks the field values on Alerter_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Alerter_Parameters) ValidateAll added in v1.2.0

func (m *Alerter_Parameters) ValidateAll() error

ValidateAll checks the field values on Alerter_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Alerter_ParametersMultiError, or nil if none found.

type Alerter_ParametersMultiError added in v1.2.0

type Alerter_ParametersMultiError []error

Alerter_ParametersMultiError is an error wrapping multiple validation errors returned by Alerter_Parameters.ValidateAll() if the designated constraints aren't met.

func (Alerter_ParametersMultiError) AllErrors added in v1.2.0

func (m Alerter_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Alerter_ParametersMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type Alerter_ParametersValidationError added in v1.2.0

type Alerter_ParametersValidationError struct {
	// contains filtered or unexported fields
}

Alerter_ParametersValidationError is the validation error returned by Alerter_Parameters.Validate if the designated constraints aren't met.

func (Alerter_ParametersValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Alerter_ParametersValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Alerter_ParametersValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (Alerter_ParametersValidationError) Field added in v1.2.0

Field function returns field value.

func (Alerter_ParametersValidationError) Key added in v1.2.0

Key function returns key value.

func (Alerter_ParametersValidationError) Reason added in v1.2.0

Reason function returns reason value.

type And added in v0.20.0

type And struct {

	// Input ports for the And component.
	InPorts *And_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the And component.
	OutPorts *And_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

Logical AND.

Signals are mapped to Boolean values as follows: * Zero is treated as false. * Any non-zero is treated as true. * Invalid inputs are considered unknown.

:::note

Treating invalid inputs as "unknowns" has a consequence that the result
might end up being valid even when some inputs are invalid. For example, `unknown && false == false`,
because the result would end up false no matter if
first signal was true or false. Conversely, `unknown && true == unknown`.

:::

func (*And) DeepCopy added in v0.20.0

func (in *And) DeepCopy() *And

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new And. Required by controller-gen.

func (*And) DeepCopyInterface added in v0.20.0

func (in *And) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new And. Required by controller-gen.

func (*And) DeepCopyInto added in v0.20.0

func (in *And) DeepCopyInto(out *And)

DeepCopyInto supports using And within kubernetes types, where deepcopy-gen is used.

func (*And) Descriptor deprecated added in v0.20.0

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

Deprecated: Use And.ProtoReflect.Descriptor instead.

func (*And) GetInPorts added in v0.20.0

func (x *And) GetInPorts() *And_Ins

func (*And) GetOutPorts added in v0.20.0

func (x *And) GetOutPorts() *And_Outs

func (*And) MarshalJSON added in v0.20.0

func (msg *And) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*And) ProtoMessage added in v0.20.0

func (*And) ProtoMessage()

func (*And) ProtoReflect added in v0.20.0

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

func (*And) Reset added in v0.20.0

func (x *And) Reset()

func (*And) String added in v0.20.0

func (x *And) String() string

func (*And) UnmarshalJSON added in v0.20.0

func (msg *And) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*And) Validate added in v1.2.0

func (m *And) Validate() error

Validate checks the field values on And with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*And) ValidateAll added in v1.2.0

func (m *And) ValidateAll() error

ValidateAll checks the field values on And with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AndMultiError, or nil if none found.

type AndMultiError added in v1.2.0

type AndMultiError []error

AndMultiError is an error wrapping multiple validation errors returned by And.ValidateAll() if the designated constraints aren't met.

func (AndMultiError) AllErrors added in v1.2.0

func (m AndMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AndMultiError) Error added in v1.2.0

func (m AndMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AndValidationError added in v1.2.0

type AndValidationError struct {
	// contains filtered or unexported fields
}

AndValidationError is the validation error returned by And.Validate if the designated constraints aren't met.

func (AndValidationError) Cause added in v1.2.0

func (e AndValidationError) Cause() error

Cause function returns cause value.

func (AndValidationError) Error added in v1.2.0

func (e AndValidationError) Error() string

Error satisfies the builtin error interface

func (AndValidationError) ErrorName added in v1.2.0

func (e AndValidationError) ErrorName() string

ErrorName returns error name.

func (AndValidationError) Field added in v1.2.0

func (e AndValidationError) Field() string

Field function returns field value.

func (AndValidationError) Key added in v1.2.0

func (e AndValidationError) Key() bool

Key function returns key value.

func (AndValidationError) Reason added in v1.2.0

func (e AndValidationError) Reason() string

Reason function returns reason value.

type And_Ins added in v0.20.0

type And_Ins struct {

	// Array of input signals.
	Inputs []*InPort `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty" validate:"dive"` // @gotags: validate:"dive"
	// contains filtered or unexported fields
}

Inputs for the And component.

func (*And_Ins) DeepCopy added in v0.20.0

func (in *And_Ins) DeepCopy() *And_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new And_Ins. Required by controller-gen.

func (*And_Ins) DeepCopyInterface added in v0.20.0

func (in *And_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new And_Ins. Required by controller-gen.

func (*And_Ins) DeepCopyInto added in v0.20.0

func (in *And_Ins) DeepCopyInto(out *And_Ins)

DeepCopyInto supports using And_Ins within kubernetes types, where deepcopy-gen is used.

func (*And_Ins) Descriptor deprecated added in v0.20.0

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

Deprecated: Use And_Ins.ProtoReflect.Descriptor instead.

func (*And_Ins) GetInputs added in v0.20.0

func (x *And_Ins) GetInputs() []*InPort

func (*And_Ins) MarshalJSON added in v0.20.0

func (msg *And_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*And_Ins) ProtoMessage added in v0.20.0

func (*And_Ins) ProtoMessage()

func (*And_Ins) ProtoReflect added in v0.20.0

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

func (*And_Ins) Reset added in v0.20.0

func (x *And_Ins) Reset()

func (*And_Ins) String added in v0.20.0

func (x *And_Ins) String() string

func (*And_Ins) UnmarshalJSON added in v0.20.0

func (msg *And_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*And_Ins) Validate added in v1.2.0

func (m *And_Ins) Validate() error

Validate checks the field values on And_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*And_Ins) ValidateAll added in v1.2.0

func (m *And_Ins) ValidateAll() error

ValidateAll checks the field values on And_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in And_InsMultiError, or nil if none found.

type And_InsMultiError added in v1.2.0

type And_InsMultiError []error

And_InsMultiError is an error wrapping multiple validation errors returned by And_Ins.ValidateAll() if the designated constraints aren't met.

func (And_InsMultiError) AllErrors added in v1.2.0

func (m And_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (And_InsMultiError) Error added in v1.2.0

func (m And_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type And_InsValidationError added in v1.2.0

type And_InsValidationError struct {
	// contains filtered or unexported fields
}

And_InsValidationError is the validation error returned by And_Ins.Validate if the designated constraints aren't met.

func (And_InsValidationError) Cause added in v1.2.0

func (e And_InsValidationError) Cause() error

Cause function returns cause value.

func (And_InsValidationError) Error added in v1.2.0

func (e And_InsValidationError) Error() string

Error satisfies the builtin error interface

func (And_InsValidationError) ErrorName added in v1.2.0

func (e And_InsValidationError) ErrorName() string

ErrorName returns error name.

func (And_InsValidationError) Field added in v1.2.0

func (e And_InsValidationError) Field() string

Field function returns field value.

func (And_InsValidationError) Key added in v1.2.0

func (e And_InsValidationError) Key() bool

Key function returns key value.

func (And_InsValidationError) Reason added in v1.2.0

func (e And_InsValidationError) Reason() string

Reason function returns reason value.

type And_Outs added in v0.20.0

type And_Outs struct {

	// Result of logical AND of all the input signals.
	//
	// Will always be 0 (false), 1 (true) or invalid (unknown).
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Output ports for the And component.

func (*And_Outs) DeepCopy added in v0.20.0

func (in *And_Outs) DeepCopy() *And_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new And_Outs. Required by controller-gen.

func (*And_Outs) DeepCopyInterface added in v0.20.0

func (in *And_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new And_Outs. Required by controller-gen.

func (*And_Outs) DeepCopyInto added in v0.20.0

func (in *And_Outs) DeepCopyInto(out *And_Outs)

DeepCopyInto supports using And_Outs within kubernetes types, where deepcopy-gen is used.

func (*And_Outs) Descriptor deprecated added in v0.20.0

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

Deprecated: Use And_Outs.ProtoReflect.Descriptor instead.

func (*And_Outs) GetOutput added in v0.20.0

func (x *And_Outs) GetOutput() *OutPort

func (*And_Outs) MarshalJSON added in v0.20.0

func (msg *And_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*And_Outs) ProtoMessage added in v0.20.0

func (*And_Outs) ProtoMessage()

func (*And_Outs) ProtoReflect added in v0.20.0

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

func (*And_Outs) Reset added in v0.20.0

func (x *And_Outs) Reset()

func (*And_Outs) String added in v0.20.0

func (x *And_Outs) String() string

func (*And_Outs) UnmarshalJSON added in v0.20.0

func (msg *And_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*And_Outs) Validate added in v1.2.0

func (m *And_Outs) Validate() error

Validate checks the field values on And_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*And_Outs) ValidateAll added in v1.2.0

func (m *And_Outs) ValidateAll() error

ValidateAll checks the field values on And_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in And_OutsMultiError, or nil if none found.

type And_OutsMultiError added in v1.2.0

type And_OutsMultiError []error

And_OutsMultiError is an error wrapping multiple validation errors returned by And_Outs.ValidateAll() if the designated constraints aren't met.

func (And_OutsMultiError) AllErrors added in v1.2.0

func (m And_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (And_OutsMultiError) Error added in v1.2.0

func (m And_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type And_OutsValidationError added in v1.2.0

type And_OutsValidationError struct {
	// contains filtered or unexported fields
}

And_OutsValidationError is the validation error returned by And_Outs.Validate if the designated constraints aren't met.

func (And_OutsValidationError) Cause added in v1.2.0

func (e And_OutsValidationError) Cause() error

Cause function returns cause value.

func (And_OutsValidationError) Error added in v1.2.0

func (e And_OutsValidationError) Error() string

Error satisfies the builtin error interface

func (And_OutsValidationError) ErrorName added in v1.2.0

func (e And_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (And_OutsValidationError) Field added in v1.2.0

func (e And_OutsValidationError) Field() string

Field function returns field value.

func (And_OutsValidationError) Key added in v1.2.0

func (e And_OutsValidationError) Key() bool

Key function returns key value.

func (And_OutsValidationError) Reason added in v1.2.0

func (e And_OutsValidationError) Reason() string

Reason function returns reason value.

type ArithmeticCombinator

type ArithmeticCombinator struct {

	// Input ports for the Arithmetic Combinator component.
	InPorts *ArithmeticCombinator_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the Arithmetic Combinator component.
	OutPorts *ArithmeticCombinator_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Operator of the arithmetic operation.
	//
	// The arithmetic operation can be addition, subtraction, multiplication, division, XOR, right bit shift or left bit shift.
	// In case of XOR and bit shifts, value of signals is cast to integers before performing the operation.
	Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty" validate:"oneof=add sub mul div xor lshift rshift"` // @gotags: validate:"oneof=add sub mul div xor lshift rshift"
	// contains filtered or unexported fields
}

Type of Combinator that computes the arithmetic operation on the operand signals

func (*ArithmeticCombinator) DeepCopy added in v0.1.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArithmeticCombinator. Required by controller-gen.

func (*ArithmeticCombinator) DeepCopyInterface added in v0.1.2

func (in *ArithmeticCombinator) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ArithmeticCombinator. Required by controller-gen.

func (*ArithmeticCombinator) DeepCopyInto added in v0.1.2

func (in *ArithmeticCombinator) DeepCopyInto(out *ArithmeticCombinator)

DeepCopyInto supports using ArithmeticCombinator within kubernetes types, where deepcopy-gen is used.

func (*ArithmeticCombinator) Descriptor deprecated

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

Deprecated: Use ArithmeticCombinator.ProtoReflect.Descriptor instead.

func (*ArithmeticCombinator) GetInPorts

func (*ArithmeticCombinator) GetOperator

func (x *ArithmeticCombinator) GetOperator() string

func (*ArithmeticCombinator) GetOutPorts

func (*ArithmeticCombinator) MarshalJSON

func (msg *ArithmeticCombinator) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ArithmeticCombinator) ProtoMessage

func (*ArithmeticCombinator) ProtoMessage()

func (*ArithmeticCombinator) ProtoReflect

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

func (*ArithmeticCombinator) Reset

func (x *ArithmeticCombinator) Reset()

func (*ArithmeticCombinator) String

func (x *ArithmeticCombinator) String() string

func (*ArithmeticCombinator) UnmarshalJSON

func (msg *ArithmeticCombinator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ArithmeticCombinator) Validate added in v1.2.0

func (m *ArithmeticCombinator) Validate() error

Validate checks the field values on ArithmeticCombinator with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ArithmeticCombinator) ValidateAll added in v1.2.0

func (m *ArithmeticCombinator) ValidateAll() error

ValidateAll checks the field values on ArithmeticCombinator with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ArithmeticCombinatorMultiError, or nil if none found.

type ArithmeticCombinatorMultiError added in v1.2.0

type ArithmeticCombinatorMultiError []error

ArithmeticCombinatorMultiError is an error wrapping multiple validation errors returned by ArithmeticCombinator.ValidateAll() if the designated constraints aren't met.

func (ArithmeticCombinatorMultiError) AllErrors added in v1.2.0

func (m ArithmeticCombinatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ArithmeticCombinatorMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type ArithmeticCombinatorValidationError added in v1.2.0

type ArithmeticCombinatorValidationError struct {
	// contains filtered or unexported fields
}

ArithmeticCombinatorValidationError is the validation error returned by ArithmeticCombinator.Validate if the designated constraints aren't met.

func (ArithmeticCombinatorValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (ArithmeticCombinatorValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (ArithmeticCombinatorValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (ArithmeticCombinatorValidationError) Field added in v1.2.0

Field function returns field value.

func (ArithmeticCombinatorValidationError) Key added in v1.2.0

Key function returns key value.

func (ArithmeticCombinatorValidationError) Reason added in v1.2.0

Reason function returns reason value.

type ArithmeticCombinator_Ins

type ArithmeticCombinator_Ins struct {

	// Left hand side of the arithmetic operation.
	Lhs *InPort `protobuf:"bytes,1,opt,name=lhs,proto3" json:"lhs,omitempty"`
	// Right hand side of the arithmetic operation.
	Rhs *InPort `protobuf:"bytes,2,opt,name=rhs,proto3" json:"rhs,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the Arithmetic Combinator component.

func (*ArithmeticCombinator_Ins) DeepCopy added in v0.1.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArithmeticCombinator_Ins. Required by controller-gen.

func (*ArithmeticCombinator_Ins) DeepCopyInterface added in v0.1.2

func (in *ArithmeticCombinator_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ArithmeticCombinator_Ins. Required by controller-gen.

func (*ArithmeticCombinator_Ins) DeepCopyInto added in v0.1.2

func (in *ArithmeticCombinator_Ins) DeepCopyInto(out *ArithmeticCombinator_Ins)

DeepCopyInto supports using ArithmeticCombinator_Ins within kubernetes types, where deepcopy-gen is used.

func (*ArithmeticCombinator_Ins) Descriptor deprecated

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

Deprecated: Use ArithmeticCombinator_Ins.ProtoReflect.Descriptor instead.

func (*ArithmeticCombinator_Ins) GetLhs

func (x *ArithmeticCombinator_Ins) GetLhs() *InPort

func (*ArithmeticCombinator_Ins) GetRhs

func (x *ArithmeticCombinator_Ins) GetRhs() *InPort

func (*ArithmeticCombinator_Ins) MarshalJSON

func (msg *ArithmeticCombinator_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ArithmeticCombinator_Ins) ProtoMessage

func (*ArithmeticCombinator_Ins) ProtoMessage()

func (*ArithmeticCombinator_Ins) ProtoReflect

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

func (*ArithmeticCombinator_Ins) Reset

func (x *ArithmeticCombinator_Ins) Reset()

func (*ArithmeticCombinator_Ins) String

func (x *ArithmeticCombinator_Ins) String() string

func (*ArithmeticCombinator_Ins) UnmarshalJSON

func (msg *ArithmeticCombinator_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ArithmeticCombinator_Ins) Validate added in v1.2.0

func (m *ArithmeticCombinator_Ins) Validate() error

Validate checks the field values on ArithmeticCombinator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ArithmeticCombinator_Ins) ValidateAll added in v1.2.0

func (m *ArithmeticCombinator_Ins) ValidateAll() error

ValidateAll checks the field values on ArithmeticCombinator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ArithmeticCombinator_InsMultiError, or nil if none found.

type ArithmeticCombinator_InsMultiError added in v1.2.0

type ArithmeticCombinator_InsMultiError []error

ArithmeticCombinator_InsMultiError is an error wrapping multiple validation errors returned by ArithmeticCombinator_Ins.ValidateAll() if the designated constraints aren't met.

func (ArithmeticCombinator_InsMultiError) AllErrors added in v1.2.0

func (m ArithmeticCombinator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ArithmeticCombinator_InsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type ArithmeticCombinator_InsValidationError added in v1.2.0

type ArithmeticCombinator_InsValidationError struct {
	// contains filtered or unexported fields
}

ArithmeticCombinator_InsValidationError is the validation error returned by ArithmeticCombinator_Ins.Validate if the designated constraints aren't met.

func (ArithmeticCombinator_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (ArithmeticCombinator_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (ArithmeticCombinator_InsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (ArithmeticCombinator_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (ArithmeticCombinator_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (ArithmeticCombinator_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type ArithmeticCombinator_Outs

type ArithmeticCombinator_Outs struct {

	// Result of arithmetic operation.
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the Arithmetic Combinator component.

func (*ArithmeticCombinator_Outs) DeepCopy added in v0.1.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArithmeticCombinator_Outs. Required by controller-gen.

func (*ArithmeticCombinator_Outs) DeepCopyInterface added in v0.1.2

func (in *ArithmeticCombinator_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ArithmeticCombinator_Outs. Required by controller-gen.

func (*ArithmeticCombinator_Outs) DeepCopyInto added in v0.1.2

DeepCopyInto supports using ArithmeticCombinator_Outs within kubernetes types, where deepcopy-gen is used.

func (*ArithmeticCombinator_Outs) Descriptor deprecated

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

Deprecated: Use ArithmeticCombinator_Outs.ProtoReflect.Descriptor instead.

func (*ArithmeticCombinator_Outs) GetOutput

func (x *ArithmeticCombinator_Outs) GetOutput() *OutPort

func (*ArithmeticCombinator_Outs) MarshalJSON

func (msg *ArithmeticCombinator_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ArithmeticCombinator_Outs) ProtoMessage

func (*ArithmeticCombinator_Outs) ProtoMessage()

func (*ArithmeticCombinator_Outs) ProtoReflect

func (*ArithmeticCombinator_Outs) Reset

func (x *ArithmeticCombinator_Outs) Reset()

func (*ArithmeticCombinator_Outs) String

func (x *ArithmeticCombinator_Outs) String() string

func (*ArithmeticCombinator_Outs) UnmarshalJSON

func (msg *ArithmeticCombinator_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ArithmeticCombinator_Outs) Validate added in v1.2.0

func (m *ArithmeticCombinator_Outs) Validate() error

Validate checks the field values on ArithmeticCombinator_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ArithmeticCombinator_Outs) ValidateAll added in v1.2.0

func (m *ArithmeticCombinator_Outs) ValidateAll() error

ValidateAll checks the field values on ArithmeticCombinator_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ArithmeticCombinator_OutsMultiError, or nil if none found.

type ArithmeticCombinator_OutsMultiError added in v1.2.0

type ArithmeticCombinator_OutsMultiError []error

ArithmeticCombinator_OutsMultiError is an error wrapping multiple validation errors returned by ArithmeticCombinator_Outs.ValidateAll() if the designated constraints aren't met.

func (ArithmeticCombinator_OutsMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (ArithmeticCombinator_OutsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type ArithmeticCombinator_OutsValidationError added in v1.2.0

type ArithmeticCombinator_OutsValidationError struct {
	// contains filtered or unexported fields
}

ArithmeticCombinator_OutsValidationError is the validation error returned by ArithmeticCombinator_Outs.Validate if the designated constraints aren't met.

func (ArithmeticCombinator_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (ArithmeticCombinator_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (ArithmeticCombinator_OutsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (ArithmeticCombinator_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (ArithmeticCombinator_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (ArithmeticCombinator_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type AutoScale added in v0.21.0

type AutoScale struct {

	// Types that are assignable to Component:
	//
	//	*AutoScale_PodScaler
	//	*AutoScale_AutoScaler
	//	*AutoScale_PodAutoScaler
	Component isAutoScale_Component `protobuf_oneof:"component"`
	// contains filtered or unexported fields
}

AutoScale components are used to scale a service.

func (*AutoScale) DeepCopy added in v0.21.0

func (in *AutoScale) DeepCopy() *AutoScale

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScale. Required by controller-gen.

func (*AutoScale) DeepCopyInterface added in v0.21.0

func (in *AutoScale) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AutoScale. Required by controller-gen.

func (*AutoScale) DeepCopyInto added in v0.21.0

func (in *AutoScale) DeepCopyInto(out *AutoScale)

DeepCopyInto supports using AutoScale within kubernetes types, where deepcopy-gen is used.

func (*AutoScale) Descriptor deprecated added in v0.21.0

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

Deprecated: Use AutoScale.ProtoReflect.Descriptor instead.

func (*AutoScale) GetAutoScaler added in v0.27.0

func (x *AutoScale) GetAutoScaler() *AutoScaler

func (*AutoScale) GetComponent added in v0.21.0

func (m *AutoScale) GetComponent() isAutoScale_Component

func (*AutoScale) GetPodAutoScaler added in v1.3.0

func (x *AutoScale) GetPodAutoScaler() *PodAutoScaler

func (*AutoScale) GetPodScaler added in v0.24.0

func (x *AutoScale) GetPodScaler() *PodScaler

func (*AutoScale) MarshalJSON added in v0.21.0

func (msg *AutoScale) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AutoScale) ProtoMessage added in v0.21.0

func (*AutoScale) ProtoMessage()

func (*AutoScale) ProtoReflect added in v0.21.0

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

func (*AutoScale) Reset added in v0.21.0

func (x *AutoScale) Reset()

func (*AutoScale) String added in v0.21.0

func (x *AutoScale) String() string

func (*AutoScale) UnmarshalJSON added in v0.21.0

func (msg *AutoScale) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AutoScale) Validate added in v1.2.0

func (m *AutoScale) Validate() error

Validate checks the field values on AutoScale with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AutoScale) ValidateAll added in v1.2.0

func (m *AutoScale) ValidateAll() error

ValidateAll checks the field values on AutoScale with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AutoScaleMultiError, or nil if none found.

type AutoScaleMultiError added in v1.2.0

type AutoScaleMultiError []error

AutoScaleMultiError is an error wrapping multiple validation errors returned by AutoScale.ValidateAll() if the designated constraints aren't met.

func (AutoScaleMultiError) AllErrors added in v1.2.0

func (m AutoScaleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AutoScaleMultiError) Error added in v1.2.0

func (m AutoScaleMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AutoScaleValidationError added in v1.2.0

type AutoScaleValidationError struct {
	// contains filtered or unexported fields
}

AutoScaleValidationError is the validation error returned by AutoScale.Validate if the designated constraints aren't met.

func (AutoScaleValidationError) Cause added in v1.2.0

func (e AutoScaleValidationError) Cause() error

Cause function returns cause value.

func (AutoScaleValidationError) Error added in v1.2.0

func (e AutoScaleValidationError) Error() string

Error satisfies the builtin error interface

func (AutoScaleValidationError) ErrorName added in v1.2.0

func (e AutoScaleValidationError) ErrorName() string

ErrorName returns error name.

func (AutoScaleValidationError) Field added in v1.2.0

func (e AutoScaleValidationError) Field() string

Field function returns field value.

func (AutoScaleValidationError) Key added in v1.2.0

Key function returns key value.

func (AutoScaleValidationError) Reason added in v1.2.0

func (e AutoScaleValidationError) Reason() string

Reason function returns reason value.

type AutoScale_AutoScaler added in v0.27.0

type AutoScale_AutoScaler struct {
	// _AutoScaler_ provides auto-scaling functionality for any scalable resource.
	AutoScaler *AutoScaler `protobuf:"bytes,2,opt,name=auto_scaler,json=autoScaler,proto3,oneof"`
}

type AutoScale_PodAutoScaler added in v1.3.0

type AutoScale_PodAutoScaler struct {
	// _PodAutoScaler_ provides auto-scaling functionality for scalable Kubernetes resource.
	PodAutoScaler *PodAutoScaler `protobuf:"bytes,3,opt,name=pod_auto_scaler,json=podAutoScaler,proto3,oneof"`
}

type AutoScale_PodScaler added in v0.24.0

type AutoScale_PodScaler struct {
	// PodScaler provides pod horizontal scaling functionality for scalable Kubernetes resources.
	PodScaler *PodScaler `protobuf:"bytes,1,opt,name=pod_scaler,json=podScaler,proto3,oneof"`
}

type AutoScaler added in v0.26.0

type AutoScaler struct {

	// Output ports for the _AutoScaler_.
	OutPorts *AutoScaler_Outs   `protobuf:"bytes,1,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	Scaler   *AutoScaler_Scaler `protobuf:"bytes,2,opt,name=scaler,proto3" json:"scaler,omitempty" validate:"required"` // @gotags: validate:"required"
	// The minimum scale to which the _AutoScaler_ can scale-in. For example, in case of KubernetesReplicas Scaler, this is the minimum number of replicas.
	MinScale int64 `protobuf:"varint,3,opt,name=min_scale,json=minScale,proto3" json:"min_scale,omitempty" default:"0" validate:"gte=0"` // @gotags: default:"0" validate:"gte=0"
	// The maximum scale to which the _AutoScaler_ can scale-out. For example, in case of KubernetesReplicas Scaler, this is the maximum number of replicas.
	MaxScale int64 `` // @gotags: default:"9223372036854775807" validate:"gt=0"
	/* 132-byte string literal not displayed */
	// List of _Controllers_ for scaling out.
	ScaleOutControllers []*ScaleOutController `protobuf:"bytes,5,rep,name=scale_out_controllers,json=scaleOutControllers,proto3" json:"scale_out_controllers,omitempty"`
	// List of _Controllers_ for scaling in.
	ScaleInControllers []*ScaleInController `protobuf:"bytes,6,rep,name=scale_in_controllers,json=scaleInControllers,proto3" json:"scale_in_controllers,omitempty"`
	// The maximum increase of scale (for example, pods) at one time. Defined as percentage of current scale value. Can never go below one even if percentage computation is less than one. Defaults to 10% of current scale value.
	MaxScaleOutPercentage float64 `` // @gotags: default:"10"
	/* 143-byte string literal not displayed */
	// The maximum decrease of scale (for example, pods) at one time. Defined as percentage of current scale value. Can never go below one even if percentage computation is less than one. Defaults to 1% of current scale value.
	MaxScaleInPercentage float64 `` // @gotags: default:"1"
	/* 139-byte string literal not displayed */
	// The amount of time to wait after a scale-out operation for another scale-out or scale-in operation.
	ScaleOutCooldown *durationpb.Duration `protobuf:"bytes,9,opt,name=scale_out_cooldown,json=scaleOutCooldown,proto3" json:"scale_out_cooldown,omitempty" default:"30s"` // @gotags: default:"30s"
	// The amount of time to wait after a scale-in operation for another scale-in operation.
	ScaleInCooldown *durationpb.Duration `protobuf:"bytes,10,opt,name=scale_in_cooldown,json=scaleInCooldown,proto3" json:"scale_in_cooldown,omitempty" default:"120s"` // @gotags: default:"120s"
	// Cooldown override percentage defines a threshold change in scale-out beyond which previous cooldown is overridden.
	// For example, if the cooldown is 5 minutes and the cooldown override percentage is 10%, then if the
	// scale-increases by 10% or more, the previous cooldown is cancelled. Defaults to 50%.
	CooldownOverridePercentage float64 `` // @gotags: default:"50"
	/* 157-byte string literal not displayed */
	// Configuration for scale-out Alerter.
	ScaleOutAlerterParameters *Alerter_Parameters `` /* 141-byte string literal not displayed */
	// Configuration for scale-in Alerter.
	ScaleInAlerterParameters *Alerter_Parameters `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

_AutoScaler_ provides auto-scaling functionality for any scalable resource. Multiple _Controllers_ can be defined on the _AutoScaler_ for performing scale-out or scale-in. The _AutoScaler_ can interface with infrastructure APIs such as Kubernetes to perform auto-scale.

func (*AutoScaler) DeepCopy added in v0.26.0

func (in *AutoScaler) DeepCopy() *AutoScaler

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaler. Required by controller-gen.

func (*AutoScaler) DeepCopyInterface added in v0.26.0

func (in *AutoScaler) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaler. Required by controller-gen.

func (*AutoScaler) DeepCopyInto added in v0.26.0

func (in *AutoScaler) DeepCopyInto(out *AutoScaler)

DeepCopyInto supports using AutoScaler within kubernetes types, where deepcopy-gen is used.

func (*AutoScaler) Descriptor deprecated added in v0.26.0

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

Deprecated: Use AutoScaler.ProtoReflect.Descriptor instead.

func (*AutoScaler) GetCooldownOverridePercentage added in v0.26.0

func (x *AutoScaler) GetCooldownOverridePercentage() float64

func (*AutoScaler) GetMaxScale added in v0.26.0

func (x *AutoScaler) GetMaxScale() int64

func (*AutoScaler) GetMaxScaleInPercentage added in v0.26.0

func (x *AutoScaler) GetMaxScaleInPercentage() float64

func (*AutoScaler) GetMaxScaleOutPercentage added in v0.26.0

func (x *AutoScaler) GetMaxScaleOutPercentage() float64

func (*AutoScaler) GetMinScale added in v0.26.0

func (x *AutoScaler) GetMinScale() int64

func (*AutoScaler) GetOutPorts added in v0.26.0

func (x *AutoScaler) GetOutPorts() *AutoScaler_Outs

func (*AutoScaler) GetScaleInAlerterParameters added in v0.26.0

func (x *AutoScaler) GetScaleInAlerterParameters() *Alerter_Parameters

func (*AutoScaler) GetScaleInControllers added in v0.26.0

func (x *AutoScaler) GetScaleInControllers() []*ScaleInController

func (*AutoScaler) GetScaleInCooldown added in v0.26.0

func (x *AutoScaler) GetScaleInCooldown() *durationpb.Duration

func (*AutoScaler) GetScaleOutAlerterParameters added in v0.26.0

func (x *AutoScaler) GetScaleOutAlerterParameters() *Alerter_Parameters

func (*AutoScaler) GetScaleOutControllers added in v0.26.0

func (x *AutoScaler) GetScaleOutControllers() []*ScaleOutController

func (*AutoScaler) GetScaleOutCooldown added in v0.26.0

func (x *AutoScaler) GetScaleOutCooldown() *durationpb.Duration

func (*AutoScaler) GetScaler added in v0.26.0

func (x *AutoScaler) GetScaler() *AutoScaler_Scaler

func (*AutoScaler) MarshalJSON added in v0.26.0

func (msg *AutoScaler) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AutoScaler) ProtoMessage added in v0.26.0

func (*AutoScaler) ProtoMessage()

func (*AutoScaler) ProtoReflect added in v0.26.0

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

func (*AutoScaler) Reset added in v0.26.0

func (x *AutoScaler) Reset()

func (*AutoScaler) String added in v0.26.0

func (x *AutoScaler) String() string

func (*AutoScaler) UnmarshalJSON added in v0.26.0

func (msg *AutoScaler) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaler) Validate added in v1.2.0

func (m *AutoScaler) Validate() error

Validate checks the field values on AutoScaler with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AutoScaler) ValidateAll added in v1.2.0

func (m *AutoScaler) ValidateAll() error

ValidateAll checks the field values on AutoScaler with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AutoScalerMultiError, or nil if none found.

type AutoScalerMultiError added in v1.2.0

type AutoScalerMultiError []error

AutoScalerMultiError is an error wrapping multiple validation errors returned by AutoScaler.ValidateAll() if the designated constraints aren't met.

func (AutoScalerMultiError) AllErrors added in v1.2.0

func (m AutoScalerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AutoScalerMultiError) Error added in v1.2.0

func (m AutoScalerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AutoScalerValidationError added in v1.2.0

type AutoScalerValidationError struct {
	// contains filtered or unexported fields
}

AutoScalerValidationError is the validation error returned by AutoScaler.Validate if the designated constraints aren't met.

func (AutoScalerValidationError) Cause added in v1.2.0

func (e AutoScalerValidationError) Cause() error

Cause function returns cause value.

func (AutoScalerValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (AutoScalerValidationError) ErrorName added in v1.2.0

func (e AutoScalerValidationError) ErrorName() string

ErrorName returns error name.

func (AutoScalerValidationError) Field added in v1.2.0

Field function returns field value.

func (AutoScalerValidationError) Key added in v1.2.0

Key function returns key value.

func (AutoScalerValidationError) Reason added in v1.2.0

func (e AutoScalerValidationError) Reason() string

Reason function returns reason value.

type AutoScaler_Outs added in v0.26.0

type AutoScaler_Outs struct {
	ActualScale     *OutPort `protobuf:"bytes,1,opt,name=actual_scale,json=actualScale,proto3" json:"actual_scale,omitempty"`
	ConfiguredScale *OutPort `protobuf:"bytes,2,opt,name=configured_scale,json=configuredScale,proto3" json:"configured_scale,omitempty"`
	DesiredScale    *OutPort `protobuf:"bytes,3,opt,name=desired_scale,json=desiredScale,proto3" json:"desired_scale,omitempty"`
	// contains filtered or unexported fields
}

Outputs for _AutoScaler_.

func (*AutoScaler_Outs) DeepCopy added in v0.26.0

func (in *AutoScaler_Outs) DeepCopy() *AutoScaler_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaler_Outs. Required by controller-gen.

func (*AutoScaler_Outs) DeepCopyInterface added in v0.26.0

func (in *AutoScaler_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaler_Outs. Required by controller-gen.

func (*AutoScaler_Outs) DeepCopyInto added in v0.26.0

func (in *AutoScaler_Outs) DeepCopyInto(out *AutoScaler_Outs)

DeepCopyInto supports using AutoScaler_Outs within kubernetes types, where deepcopy-gen is used.

func (*AutoScaler_Outs) Descriptor deprecated added in v0.26.0

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

Deprecated: Use AutoScaler_Outs.ProtoReflect.Descriptor instead.

func (*AutoScaler_Outs) GetActualScale added in v0.26.0

func (x *AutoScaler_Outs) GetActualScale() *OutPort

func (*AutoScaler_Outs) GetConfiguredScale added in v0.26.0

func (x *AutoScaler_Outs) GetConfiguredScale() *OutPort

func (*AutoScaler_Outs) GetDesiredScale added in v0.26.0

func (x *AutoScaler_Outs) GetDesiredScale() *OutPort

func (*AutoScaler_Outs) MarshalJSON added in v0.26.0

func (msg *AutoScaler_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AutoScaler_Outs) ProtoMessage added in v0.26.0

func (*AutoScaler_Outs) ProtoMessage()

func (*AutoScaler_Outs) ProtoReflect added in v0.26.0

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

func (*AutoScaler_Outs) Reset added in v0.26.0

func (x *AutoScaler_Outs) Reset()

func (*AutoScaler_Outs) String added in v0.26.0

func (x *AutoScaler_Outs) String() string

func (*AutoScaler_Outs) UnmarshalJSON added in v0.26.0

func (msg *AutoScaler_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaler_Outs) Validate added in v1.2.0

func (m *AutoScaler_Outs) Validate() error

Validate checks the field values on AutoScaler_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AutoScaler_Outs) ValidateAll added in v1.2.0

func (m *AutoScaler_Outs) ValidateAll() error

ValidateAll checks the field values on AutoScaler_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AutoScaler_OutsMultiError, or nil if none found.

type AutoScaler_OutsMultiError added in v1.2.0

type AutoScaler_OutsMultiError []error

AutoScaler_OutsMultiError is an error wrapping multiple validation errors returned by AutoScaler_Outs.ValidateAll() if the designated constraints aren't met.

func (AutoScaler_OutsMultiError) AllErrors added in v1.2.0

func (m AutoScaler_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AutoScaler_OutsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type AutoScaler_OutsValidationError added in v1.2.0

type AutoScaler_OutsValidationError struct {
	// contains filtered or unexported fields
}

AutoScaler_OutsValidationError is the validation error returned by AutoScaler_Outs.Validate if the designated constraints aren't met.

func (AutoScaler_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (AutoScaler_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (AutoScaler_OutsValidationError) ErrorName added in v1.2.0

func (e AutoScaler_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (AutoScaler_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (AutoScaler_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (AutoScaler_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type AutoScaler_Scaler added in v0.26.0

type AutoScaler_Scaler struct {

	// Types that are assignable to Scaler:
	//
	//	*AutoScaler_Scaler_KubernetesReplicas
	Scaler isAutoScaler_Scaler_Scaler `protobuf_oneof:"scaler"`
	// contains filtered or unexported fields
}

func (*AutoScaler_Scaler) DeepCopy added in v0.26.0

func (in *AutoScaler_Scaler) DeepCopy() *AutoScaler_Scaler

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaler_Scaler. Required by controller-gen.

func (*AutoScaler_Scaler) DeepCopyInterface added in v0.26.0

func (in *AutoScaler_Scaler) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaler_Scaler. Required by controller-gen.

func (*AutoScaler_Scaler) DeepCopyInto added in v0.26.0

func (in *AutoScaler_Scaler) DeepCopyInto(out *AutoScaler_Scaler)

DeepCopyInto supports using AutoScaler_Scaler within kubernetes types, where deepcopy-gen is used.

func (*AutoScaler_Scaler) Descriptor deprecated added in v0.26.0

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

Deprecated: Use AutoScaler_Scaler.ProtoReflect.Descriptor instead.

func (*AutoScaler_Scaler) GetKubernetesReplicas added in v0.26.0

func (x *AutoScaler_Scaler) GetKubernetesReplicas() *KubernetesReplicas

func (*AutoScaler_Scaler) GetScaler added in v0.26.0

func (m *AutoScaler_Scaler) GetScaler() isAutoScaler_Scaler_Scaler

func (*AutoScaler_Scaler) MarshalJSON added in v0.26.0

func (msg *AutoScaler_Scaler) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AutoScaler_Scaler) ProtoMessage added in v0.26.0

func (*AutoScaler_Scaler) ProtoMessage()

func (*AutoScaler_Scaler) ProtoReflect added in v0.26.0

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

func (*AutoScaler_Scaler) Reset added in v0.26.0

func (x *AutoScaler_Scaler) Reset()

func (*AutoScaler_Scaler) String added in v0.26.0

func (x *AutoScaler_Scaler) String() string

func (*AutoScaler_Scaler) UnmarshalJSON added in v0.26.0

func (msg *AutoScaler_Scaler) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaler_Scaler) Validate added in v1.2.0

func (m *AutoScaler_Scaler) Validate() error

Validate checks the field values on AutoScaler_Scaler with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AutoScaler_Scaler) ValidateAll added in v1.2.0

func (m *AutoScaler_Scaler) ValidateAll() error

ValidateAll checks the field values on AutoScaler_Scaler with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AutoScaler_ScalerMultiError, or nil if none found.

type AutoScaler_ScalerMultiError added in v1.2.0

type AutoScaler_ScalerMultiError []error

AutoScaler_ScalerMultiError is an error wrapping multiple validation errors returned by AutoScaler_Scaler.ValidateAll() if the designated constraints aren't met.

func (AutoScaler_ScalerMultiError) AllErrors added in v1.2.0

func (m AutoScaler_ScalerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AutoScaler_ScalerMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type AutoScaler_ScalerValidationError added in v1.2.0

type AutoScaler_ScalerValidationError struct {
	// contains filtered or unexported fields
}

AutoScaler_ScalerValidationError is the validation error returned by AutoScaler_Scaler.Validate if the designated constraints aren't met.

func (AutoScaler_ScalerValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (AutoScaler_ScalerValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (AutoScaler_ScalerValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (AutoScaler_ScalerValidationError) Field added in v1.2.0

Field function returns field value.

func (AutoScaler_ScalerValidationError) Key added in v1.2.0

Key function returns key value.

func (AutoScaler_ScalerValidationError) Reason added in v1.2.0

Reason function returns reason value.

type AutoScaler_Scaler_KubernetesReplicas added in v0.26.0

type AutoScaler_Scaler_KubernetesReplicas struct {
	KubernetesReplicas *KubernetesReplicas `protobuf:"bytes,1,opt,name=kubernetes_replicas,json=kubernetesReplicas,proto3,oneof"`
}

type Circuit

type Circuit struct {

	// Evaluation interval (tick) is the time between consecutive runs of the policy circuit.
	// This interval is typically aligned with how often the corrective action (actuation) needs to be taken.
	EvaluationInterval *durationpb.Duration `` // @gotags: default:"0.5s"
	/* 130-byte string literal not displayed */
	// Defines a signal processing graph as a list of components.
	Components []*Component `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty" validate:"dive"` // @gotags: validate:"dive"
	// contains filtered or unexported fields
}

Circuit is graph of inter-connected signal processing components.

:::info

See also [Circuit overview](/concepts/policy/circuit.md).

:::

Signals flow between components through ports. As signals traverse the circuit, they get processed, stored within components or get acted upon (for example, load-shed, rate-limit, auto-scale and so on). Circuit is evaluated periodically to respond to changes in signal readings.

:::info Signals

Signals are floating point values.

A signal can also have a special **Invalid** value. It's usually used to communicate that signal does not have a meaningful value at the moment, for example, PromQL(#prom-q-l) emits such a value if it cannot execute a query. Components know when their input signals are invalid and can act accordingly. They can either propagate the invalid signal, by making their output itself invalid (for example, ArithmeticCombinator(#arithmetic-combinator)) or use some different logic, for example, Extrapolator(#extrapolator). Refer to a component's docs on how exactly it handles invalid inputs.

:::

func (*Circuit) DeepCopy added in v0.1.2

func (in *Circuit) DeepCopy() *Circuit

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Circuit. Required by controller-gen.

func (*Circuit) DeepCopyInterface added in v0.1.2

func (in *Circuit) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Circuit. Required by controller-gen.

func (*Circuit) DeepCopyInto added in v0.1.2

func (in *Circuit) DeepCopyInto(out *Circuit)

DeepCopyInto supports using Circuit within kubernetes types, where deepcopy-gen is used.

func (*Circuit) Descriptor deprecated

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

Deprecated: Use Circuit.ProtoReflect.Descriptor instead.

func (*Circuit) GetComponents

func (x *Circuit) GetComponents() []*Component

func (*Circuit) GetEvaluationInterval

func (x *Circuit) GetEvaluationInterval() *durationpb.Duration

func (*Circuit) MarshalJSON

func (msg *Circuit) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Circuit) ProtoMessage

func (*Circuit) ProtoMessage()

func (*Circuit) ProtoReflect

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

func (*Circuit) Reset

func (x *Circuit) Reset()

func (*Circuit) String

func (x *Circuit) String() string

func (*Circuit) UnmarshalJSON

func (msg *Circuit) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Circuit) Validate added in v1.2.0

func (m *Circuit) Validate() error

Validate checks the field values on Circuit with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Circuit) ValidateAll added in v1.2.0

func (m *Circuit) ValidateAll() error

ValidateAll checks the field values on Circuit with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CircuitMultiError, or nil if none found.

type CircuitMultiError added in v1.2.0

type CircuitMultiError []error

CircuitMultiError is an error wrapping multiple validation errors returned by Circuit.ValidateAll() if the designated constraints aren't met.

func (CircuitMultiError) AllErrors added in v1.2.0

func (m CircuitMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CircuitMultiError) Error added in v1.2.0

func (m CircuitMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CircuitValidationError added in v1.2.0

type CircuitValidationError struct {
	// contains filtered or unexported fields
}

CircuitValidationError is the validation error returned by Circuit.Validate if the designated constraints aren't met.

func (CircuitValidationError) Cause added in v1.2.0

func (e CircuitValidationError) Cause() error

Cause function returns cause value.

func (CircuitValidationError) Error added in v1.2.0

func (e CircuitValidationError) Error() string

Error satisfies the builtin error interface

func (CircuitValidationError) ErrorName added in v1.2.0

func (e CircuitValidationError) ErrorName() string

ErrorName returns error name.

func (CircuitValidationError) Field added in v1.2.0

func (e CircuitValidationError) Field() string

Field function returns field value.

func (CircuitValidationError) Key added in v1.2.0

func (e CircuitValidationError) Key() bool

Key function returns key value.

func (CircuitValidationError) Reason added in v1.2.0

func (e CircuitValidationError) Reason() string

Reason function returns reason value.

type Classifier

type Classifier struct {

	// Defines where to apply the flow classification rule.
	// Deprecated 1.8.0: Use `selectors` instead.
	FlowSelector *FlowSelector `` // @gotags: validate:"required_without=Selectors"
	/* 135-byte string literal not displayed */
	// A map of {key, value} pairs mapping from
	// [flow label](/concepts/flow-control/flow-label.md) keys to rules that define
	// how to extract and propagate flow labels with that key.
	Rules map[string]*Rule `` // @gotags: validate:"dive,keys,required,endkeys,required"
	/* 198-byte string literal not displayed */
	// Rego based classification
	//
	// Rego is a policy language used to express complex policies in a concise and declarative way.
	// It can be used to define flow classification rules by writing custom queries that extract values from request metadata.
	// For simple cases, such as directly reading a value from header or a field from JSON body, declarative extractors are recommended.
	Rego *Rego `protobuf:"bytes,3,opt,name=rego,proto3" json:"rego,omitempty"`
	// Selectors for flows that will be classified by this _Classifier_.
	Selectors []*Selector `protobuf:"bytes,4,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required_without=FlowSelector,dive"` // @gotags: validate:"required_without=FlowSelector,dive"
	// contains filtered or unexported fields
}

Set of classification rules sharing a common selector

:::info

See also [Classifier overview](/concepts/flow-control/resources/classifier.md).

::: Example ```yaml flow_selector:

service_selector:
   agent_group: demoapp
   service: service1-demo-app.demoapp.svc.cluster.local
flow_matcher:
   control_point: ingress
   label_matcher:
      match_labels:
        user_tier: gold
      match_expressions:
        - key: user_type
          operator: In

rules:

user:
 extractor:
   from: request.http.headers.user-agent
telemetry: false

```

func (*Classifier) DeepCopy added in v0.1.2

func (in *Classifier) DeepCopy() *Classifier

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Classifier. Required by controller-gen.

func (*Classifier) DeepCopyInterface added in v0.1.2

func (in *Classifier) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Classifier. Required by controller-gen.

func (*Classifier) DeepCopyInto added in v0.1.2

func (in *Classifier) DeepCopyInto(out *Classifier)

DeepCopyInto supports using Classifier within kubernetes types, where deepcopy-gen is used.

func (*Classifier) Descriptor deprecated

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

Deprecated: Use Classifier.ProtoReflect.Descriptor instead.

func (*Classifier) GetFlowSelector added in v0.15.0

func (x *Classifier) GetFlowSelector() *FlowSelector

func (*Classifier) GetRego added in v1.2.0

func (x *Classifier) GetRego() *Rego

func (*Classifier) GetRules

func (x *Classifier) GetRules() map[string]*Rule

func (*Classifier) GetSelectors added in v1.6.0

func (x *Classifier) GetSelectors() []*Selector

func (*Classifier) MarshalJSON

func (msg *Classifier) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Classifier) ProtoMessage

func (*Classifier) ProtoMessage()

func (*Classifier) ProtoReflect

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

func (*Classifier) Reset

func (x *Classifier) Reset()

func (*Classifier) String

func (x *Classifier) String() string

func (*Classifier) UnmarshalJSON

func (msg *Classifier) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Classifier) Validate added in v1.2.0

func (m *Classifier) Validate() error

Validate checks the field values on Classifier with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Classifier) ValidateAll added in v1.2.0

func (m *Classifier) ValidateAll() error

ValidateAll checks the field values on Classifier with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClassifierMultiError, or nil if none found.

type ClassifierMultiError added in v1.2.0

type ClassifierMultiError []error

ClassifierMultiError is an error wrapping multiple validation errors returned by Classifier.ValidateAll() if the designated constraints aren't met.

func (ClassifierMultiError) AllErrors added in v1.2.0

func (m ClassifierMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClassifierMultiError) Error added in v1.2.0

func (m ClassifierMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ClassifierValidationError added in v1.2.0

type ClassifierValidationError struct {
	// contains filtered or unexported fields
}

ClassifierValidationError is the validation error returned by Classifier.Validate if the designated constraints aren't met.

func (ClassifierValidationError) Cause added in v1.2.0

func (e ClassifierValidationError) Cause() error

Cause function returns cause value.

func (ClassifierValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (ClassifierValidationError) ErrorName added in v1.2.0

func (e ClassifierValidationError) ErrorName() string

ErrorName returns error name.

func (ClassifierValidationError) Field added in v1.2.0

Field function returns field value.

func (ClassifierValidationError) Key added in v1.2.0

Key function returns key value.

func (ClassifierValidationError) Reason added in v1.2.0

func (e ClassifierValidationError) Reason() string

Reason function returns reason value.

type Component

type Component struct {

	// Types that are assignable to Component:
	//
	//	*Component_GradientController
	//	*Component_Ema
	//	*Component_ArithmeticCombinator
	//	*Component_Decider
	//	*Component_Switcher
	//	*Component_Sma
	//	*Component_Variable
	//	*Component_UnaryOperator
	//	*Component_Extrapolator
	//	*Component_Max
	//	*Component_Min
	//	*Component_FirstValid
	//	*Component_Alerter
	//	*Component_Integrator
	//	*Component_Differentiator
	//	*Component_And
	//	*Component_Or
	//	*Component_Inverter
	//	*Component_PulseGenerator
	//	*Component_Holder
	//	*Component_NestedCircuit
	//	*Component_NestedSignalIngress
	//	*Component_NestedSignalEgress
	//	*Component_SignalGenerator
	//	*Component_Query
	//	*Component_FlowControl
	//	*Component_AutoScale
	Component isComponent_Component `protobuf_oneof:"component"`
	// contains filtered or unexported fields
}

Computational block that forms the circuit

:::info

See also [Components overview](/concepts/policy/circuit.md#components).

:::

Signals flow into the components from input ports and results are emitted on output ports. Components are wired to each other based on signal names forming an execution graph of the circuit.

:::note

Loops are broken by the runtime at the earliest component index that is part of the loop. The looped signals are saved in the tick they're generated and served in the subsequent tick.

:::

There are three categories of components:

  • "source" components: they take some sort of input from "the real world" and output a signal based on this input. Example: PromQL(#prom-q-l). In the UI they're represented by green color.

  • signal processor components: processing components that do not interact with the external systems. Examples: GradientController(#gradient-controller), Max(#max).

    :::note

    Signal processor components' output can depend on their internal state, in addition to the inputs. Eg. see the [Exponential Moving Average filter](#e-m-a).

    :::

  • "sink" components: they affect the real world. [_Concurrency Limiter_](#concurrency-limiter) and [_Rate Limiter_](#rate-limiter). In the UI, represented by orange color. Sink components usually come in pairs with a "sources" component which emits a feedback signal, like `accepted_concurrency` emitted by _Concurrency Limiter_.

See also Policy(#policy) for a higher-level explanation of circuits.

func (*Component) DeepCopy added in v0.1.2

func (in *Component) DeepCopy() *Component

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component. Required by controller-gen.

func (*Component) DeepCopyInterface added in v0.1.2

func (in *Component) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Component. Required by controller-gen.

func (*Component) DeepCopyInto added in v0.1.2

func (in *Component) DeepCopyInto(out *Component)

DeepCopyInto supports using Component within kubernetes types, where deepcopy-gen is used.

func (*Component) Descriptor deprecated

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

Deprecated: Use Component.ProtoReflect.Descriptor instead.

func (*Component) GetAlerter added in v0.11.0

func (x *Component) GetAlerter() *Alerter

func (*Component) GetAnd added in v0.20.0

func (x *Component) GetAnd() *And

func (*Component) GetArithmeticCombinator

func (x *Component) GetArithmeticCombinator() *ArithmeticCombinator

func (*Component) GetAutoScale added in v0.21.0

func (x *Component) GetAutoScale() *AutoScale

func (*Component) GetComponent

func (m *Component) GetComponent() isComponent_Component

func (*Component) GetDecider

func (x *Component) GetDecider() *Decider

func (*Component) GetDifferentiator added in v0.19.0

func (x *Component) GetDifferentiator() *Differentiator

func (*Component) GetEma

func (x *Component) GetEma() *EMA

func (*Component) GetExtrapolator

func (x *Component) GetExtrapolator() *Extrapolator

func (*Component) GetFirstValid added in v0.5.1

func (x *Component) GetFirstValid() *FirstValid

func (*Component) GetFlowControl added in v0.21.0

func (x *Component) GetFlowControl() *FlowControl

func (*Component) GetGradientController

func (x *Component) GetGradientController() *GradientController

func (*Component) GetHolder added in v0.21.0

func (x *Component) GetHolder() *Holder

func (*Component) GetIntegrator added in v0.16.0

func (x *Component) GetIntegrator() *Integrator

func (*Component) GetInverter added in v0.20.0

func (x *Component) GetInverter() *Inverter

func (*Component) GetMax

func (x *Component) GetMax() *Max

func (*Component) GetMin

func (x *Component) GetMin() *Min

func (*Component) GetNestedCircuit added in v0.21.0

func (x *Component) GetNestedCircuit() *NestedCircuit

func (*Component) GetNestedSignalEgress added in v0.21.0

func (x *Component) GetNestedSignalEgress() *NestedSignalEgress

func (*Component) GetNestedSignalIngress added in v0.21.0

func (x *Component) GetNestedSignalIngress() *NestedSignalIngress

func (*Component) GetOr added in v0.20.0

func (x *Component) GetOr() *Or

func (*Component) GetPulseGenerator added in v0.20.0

func (x *Component) GetPulseGenerator() *PulseGenerator

func (*Component) GetQuery added in v0.21.0

func (x *Component) GetQuery() *Query

func (*Component) GetSignalGenerator added in v1.4.0

func (x *Component) GetSignalGenerator() *SignalGenerator

func (*Component) GetSma added in v1.6.0

func (x *Component) GetSma() *SMA

func (*Component) GetSwitcher added in v0.3.0

func (x *Component) GetSwitcher() *Switcher

func (*Component) GetUnaryOperator added in v0.25.0

func (x *Component) GetUnaryOperator() *UnaryOperator

func (*Component) GetVariable added in v0.21.0

func (x *Component) GetVariable() *Variable

func (*Component) MarshalJSON

func (msg *Component) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Component) ProtoMessage

func (*Component) ProtoMessage()

func (*Component) ProtoReflect

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

func (*Component) Reset

func (x *Component) Reset()

func (*Component) String

func (x *Component) String() string

func (*Component) UnmarshalJSON

func (msg *Component) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Component) Validate added in v1.2.0

func (m *Component) Validate() error

Validate checks the field values on Component with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Component) ValidateAll added in v1.2.0

func (m *Component) ValidateAll() error

ValidateAll checks the field values on Component with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ComponentMultiError, or nil if none found.

type ComponentMultiError added in v1.2.0

type ComponentMultiError []error

ComponentMultiError is an error wrapping multiple validation errors returned by Component.ValidateAll() if the designated constraints aren't met.

func (ComponentMultiError) AllErrors added in v1.2.0

func (m ComponentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ComponentMultiError) Error added in v1.2.0

func (m ComponentMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ComponentValidationError added in v1.2.0

type ComponentValidationError struct {
	// contains filtered or unexported fields
}

ComponentValidationError is the validation error returned by Component.Validate if the designated constraints aren't met.

func (ComponentValidationError) Cause added in v1.2.0

func (e ComponentValidationError) Cause() error

Cause function returns cause value.

func (ComponentValidationError) Error added in v1.2.0

func (e ComponentValidationError) Error() string

Error satisfies the builtin error interface

func (ComponentValidationError) ErrorName added in v1.2.0

func (e ComponentValidationError) ErrorName() string

ErrorName returns error name.

func (ComponentValidationError) Field added in v1.2.0

func (e ComponentValidationError) Field() string

Field function returns field value.

func (ComponentValidationError) Key added in v1.2.0

Key function returns key value.

func (ComponentValidationError) Reason added in v1.2.0

func (e ComponentValidationError) Reason() string

Reason function returns reason value.

type Component_Alerter added in v0.11.0

type Component_Alerter struct {
	// Alerter reacts to a signal and generates alert to send to alert manager.
	Alerter *Alerter `protobuf:"bytes,15,opt,name=alerter,proto3,oneof"`
}

type Component_And added in v0.20.0

type Component_And struct {
	// Logical AND.
	And *And `protobuf:"bytes,19,opt,name=and,proto3,oneof"`
}

type Component_ArithmeticCombinator

type Component_ArithmeticCombinator struct {
	// Applies the given operator on input operands (signals) and emits the result.
	ArithmeticCombinator *ArithmeticCombinator `protobuf:"bytes,3,opt,name=arithmetic_combinator,json=arithmeticCombinator,proto3,oneof"`
}

type Component_AutoScale added in v0.21.0

type Component_AutoScale struct {
	// AutoScale components are used to scale the service.
	AutoScale *AutoScale `protobuf:"bytes,102,opt,name=auto_scale,json=autoScale,proto3,oneof"`
}

type Component_Decider

type Component_Decider struct {
	// Decider emits the binary result of comparison operator on two operands.
	Decider *Decider `protobuf:"bytes,4,opt,name=decider,proto3,oneof"`
}

type Component_Differentiator added in v0.19.0

type Component_Differentiator struct {
	// Differentiator calculates rate of change per tick.
	Differentiator *Differentiator `protobuf:"bytes,17,opt,name=differentiator,proto3,oneof"`
}

type Component_Ema

type Component_Ema struct {
	// Exponential Moving Average filter.
	Ema *EMA `protobuf:"bytes,2,opt,name=ema,proto3,oneof"`
}

type Component_Extrapolator

type Component_Extrapolator struct {
	// Takes an input signal and emits the extrapolated value; either mirroring the input value or repeating the last known value up to the maximum extrapolation interval.
	Extrapolator *Extrapolator `protobuf:"bytes,11,opt,name=extrapolator,proto3,oneof"`
}

type Component_FirstValid added in v0.5.1

type Component_FirstValid struct {
	// Picks the first valid input signal and emits it.
	FirstValid *FirstValid `protobuf:"bytes,14,opt,name=first_valid,json=firstValid,proto3,oneof"`
}

type Component_FlowControl added in v0.21.0

type Component_FlowControl struct {
	// FlowControl components are used to regulate requests flow.
	FlowControl *FlowControl `protobuf:"bytes,101,opt,name=flow_control,json=flowControl,proto3,oneof"`
}

type Component_GradientController

type Component_GradientController struct {
	// Gradient controller calculates the ratio between the signal and the setpoint to determine the magnitude of the correction that need to be applied.
	// This controller can be used to build AIMD (Additive Increase, Multiplicative Decrease) or MIMD style response.
	GradientController *GradientController `protobuf:"bytes,1,opt,name=gradient_controller,json=gradientController,proto3,oneof"`
}

type Component_Holder added in v0.21.0

type Component_Holder struct {
	// Holds the last valid signal value for the specified duration then waits for next valid value to hold.
	Holder *Holder `protobuf:"bytes,23,opt,name=holder,proto3,oneof"`
}

type Component_Integrator added in v0.16.0

type Component_Integrator struct {
	// Accumulates sum of signal every tick.
	Integrator *Integrator `protobuf:"bytes,16,opt,name=integrator,proto3,oneof"`
}

type Component_Inverter added in v0.20.0

type Component_Inverter struct {
	// Logical NOT.
	Inverter *Inverter `protobuf:"bytes,21,opt,name=inverter,proto3,oneof"`
}

type Component_Max

type Component_Max struct {
	// Emits the maximum of the input signals.
	Max *Max `protobuf:"bytes,12,opt,name=max,proto3,oneof"`
}

type Component_Min

type Component_Min struct {
	// Emits the minimum of the input signals.
	Min *Min `protobuf:"bytes,13,opt,name=min,proto3,oneof"`
}

type Component_NestedCircuit added in v0.21.0

type Component_NestedCircuit struct {
	// Nested circuit defines a sub-circuit as a high-level component. It consists of a list of components and a map of input and output ports.
	NestedCircuit *NestedCircuit `protobuf:"bytes,24,opt,name=nested_circuit,json=nestedCircuit,proto3,oneof"`
}

type Component_NestedSignalEgress added in v0.21.0

type Component_NestedSignalEgress struct {
	// Nested signal egress is a special type of component that allows to extract a signal from a nested circuit.
	NestedSignalEgress *NestedSignalEgress `protobuf:"bytes,26,opt,name=nested_signal_egress,json=nestedSignalEgress,proto3,oneof"`
}

type Component_NestedSignalIngress added in v0.21.0

type Component_NestedSignalIngress struct {
	// Nested signal ingress is a special type of component that allows to inject a signal into a nested circuit.
	NestedSignalIngress *NestedSignalIngress `protobuf:"bytes,25,opt,name=nested_signal_ingress,json=nestedSignalIngress,proto3,oneof"`
}

type Component_Or added in v0.20.0

type Component_Or struct {
	// Logical OR.
	Or *Or `protobuf:"bytes,20,opt,name=or,proto3,oneof"`
}

type Component_PulseGenerator added in v0.20.0

type Component_PulseGenerator struct {
	// Generates 0 and 1 in turns.
	PulseGenerator *PulseGenerator `protobuf:"bytes,22,opt,name=pulse_generator,json=pulseGenerator,proto3,oneof"`
}

type Component_Query added in v0.21.0

type Component_Query struct {
	// Query components that are query databases such as Prometheus.
	Query *Query `protobuf:"bytes,100,opt,name=query,proto3,oneof"`
}

type Component_SignalGenerator added in v1.4.0

type Component_SignalGenerator struct {
	// Generates the specified signal.
	SignalGenerator *SignalGenerator `protobuf:"bytes,27,opt,name=signal_generator,json=signalGenerator,proto3,oneof"`
}

type Component_Sma added in v1.6.0

type Component_Sma struct {
	// Simple Moving Average filter.
	Sma *SMA `protobuf:"bytes,6,opt,name=sma,proto3,oneof"`
}

type Component_Switcher added in v0.3.0

type Component_Switcher struct {
	// Switcher acts as a switch that emits one of the two signals based on third signal.
	Switcher *Switcher `protobuf:"bytes,5,opt,name=switcher,proto3,oneof"`
}

type Component_UnaryOperator added in v0.25.0

type Component_UnaryOperator struct {
	// Takes an input signal and emits the square root of the input signal.
	UnaryOperator *UnaryOperator `protobuf:"bytes,10,opt,name=unary_operator,json=unaryOperator,proto3,oneof"`
}

type Component_Variable added in v0.21.0

type Component_Variable struct {
	// Emits a variable signal which can be set to invalid.
	Variable *Variable `protobuf:"bytes,9,opt,name=variable,proto3,oneof"`
}

type ConcurrencyLimiter

type ConcurrencyLimiter struct {

	// Flow Selector decides the service and flows at which the concurrency limiter is applied.
	// Deprecated 1.8.0: Use `selectors` instead.
	FlowSelector *FlowSelector `` // @gotags: validate:"required_without=Selectors"
	/* 135-byte string literal not displayed */
	// Configuration of Weighted Fair Queuing-based workload scheduler.
	//
	// Contains configuration of per-agent scheduler, and also defines some
	// output signals.
	Scheduler *Scheduler `protobuf:"bytes,2,opt,name=scheduler,proto3" json:"scheduler,omitempty" validate:"required"` // @gotags: validate:"required"
	// Types that are assignable to ActuationStrategy:
	//
	//	*ConcurrencyLimiter_LoadActuator
	ActuationStrategy isConcurrencyLimiter_ActuationStrategy `protobuf_oneof:"actuation_strategy"`
	// Selectors for the component.
	Selectors []*Selector `protobuf:"bytes,4,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required_without=FlowSelector,dive"` // @gotags: validate:"required_without=FlowSelector,dive"
	// contains filtered or unexported fields
}

_Concurrency Limiter_ is an actuator component that regulates flows to provide active service protection

It's based on the actuation strategy (for example, load actuator) and workload scheduling which is based on Weighted Fair Queuing principles. Concurrency is calculated in terms of total tokens per second, which can translate to (avg. latency \* in-flight requests) (Little's Law) in concurrency limiting use-case.

ConcurrencyLimiter configuration is split into two parts: An actuation strategy and a scheduler. At this time, only `load_actuator` strategy is available.

func (*ConcurrencyLimiter) DeepCopy added in v0.1.2

func (in *ConcurrencyLimiter) DeepCopy() *ConcurrencyLimiter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConcurrencyLimiter. Required by controller-gen.

func (*ConcurrencyLimiter) DeepCopyInterface added in v0.1.2

func (in *ConcurrencyLimiter) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ConcurrencyLimiter. Required by controller-gen.

func (*ConcurrencyLimiter) DeepCopyInto added in v0.1.2

func (in *ConcurrencyLimiter) DeepCopyInto(out *ConcurrencyLimiter)

DeepCopyInto supports using ConcurrencyLimiter within kubernetes types, where deepcopy-gen is used.

func (*ConcurrencyLimiter) Descriptor deprecated

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

Deprecated: Use ConcurrencyLimiter.ProtoReflect.Descriptor instead.

func (*ConcurrencyLimiter) GetActuationStrategy

func (m *ConcurrencyLimiter) GetActuationStrategy() isConcurrencyLimiter_ActuationStrategy

func (*ConcurrencyLimiter) GetFlowSelector added in v0.15.0

func (x *ConcurrencyLimiter) GetFlowSelector() *FlowSelector

func (*ConcurrencyLimiter) GetLoadActuator added in v0.7.0

func (x *ConcurrencyLimiter) GetLoadActuator() *LoadActuator

func (*ConcurrencyLimiter) GetScheduler

func (x *ConcurrencyLimiter) GetScheduler() *Scheduler

func (*ConcurrencyLimiter) GetSelectors added in v1.6.0

func (x *ConcurrencyLimiter) GetSelectors() []*Selector

func (*ConcurrencyLimiter) MarshalJSON

func (msg *ConcurrencyLimiter) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ConcurrencyLimiter) ProtoMessage

func (*ConcurrencyLimiter) ProtoMessage()

func (*ConcurrencyLimiter) ProtoReflect

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

func (*ConcurrencyLimiter) Reset

func (x *ConcurrencyLimiter) Reset()

func (*ConcurrencyLimiter) String

func (x *ConcurrencyLimiter) String() string

func (*ConcurrencyLimiter) UnmarshalJSON

func (msg *ConcurrencyLimiter) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ConcurrencyLimiter) Validate added in v1.2.0

func (m *ConcurrencyLimiter) Validate() error

Validate checks the field values on ConcurrencyLimiter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConcurrencyLimiter) ValidateAll added in v1.2.0

func (m *ConcurrencyLimiter) ValidateAll() error

ValidateAll checks the field values on ConcurrencyLimiter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConcurrencyLimiterMultiError, or nil if none found.

type ConcurrencyLimiterMultiError added in v1.2.0

type ConcurrencyLimiterMultiError []error

ConcurrencyLimiterMultiError is an error wrapping multiple validation errors returned by ConcurrencyLimiter.ValidateAll() if the designated constraints aren't met.

func (ConcurrencyLimiterMultiError) AllErrors added in v1.2.0

func (m ConcurrencyLimiterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConcurrencyLimiterMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type ConcurrencyLimiterValidationError added in v1.2.0

type ConcurrencyLimiterValidationError struct {
	// contains filtered or unexported fields
}

ConcurrencyLimiterValidationError is the validation error returned by ConcurrencyLimiter.Validate if the designated constraints aren't met.

func (ConcurrencyLimiterValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (ConcurrencyLimiterValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (ConcurrencyLimiterValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (ConcurrencyLimiterValidationError) Field added in v1.2.0

Field function returns field value.

func (ConcurrencyLimiterValidationError) Key added in v1.2.0

Key function returns key value.

func (ConcurrencyLimiterValidationError) Reason added in v1.2.0

Reason function returns reason value.

type ConcurrencyLimiter_LoadActuator added in v0.7.0

type ConcurrencyLimiter_LoadActuator struct {
	// Actuator based on limiting the accepted concurrency under incoming concurrency * load multiplier.
	//
	// Actuation strategy defines the input signal that will drive the scheduler.
	LoadActuator *LoadActuator `protobuf:"bytes,3,opt,name=load_actuator,json=loadActuator,proto3,oneof"`
}

type ConstantSignal added in v0.21.0

type ConstantSignal struct {

	// Types that are assignable to Const:
	//
	//	*ConstantSignal_SpecialValue
	//	*ConstantSignal_Value
	Const isConstantSignal_Const `protobuf_oneof:"const"`
	// contains filtered or unexported fields
}

Special constant input for ports and Variable component. Can provide either a constant value or special Nan/+-Inf value.

func (*ConstantSignal) DeepCopy added in v0.21.0

func (in *ConstantSignal) DeepCopy() *ConstantSignal

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConstantSignal. Required by controller-gen.

func (*ConstantSignal) DeepCopyInterface added in v0.21.0

func (in *ConstantSignal) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ConstantSignal. Required by controller-gen.

func (*ConstantSignal) DeepCopyInto added in v0.21.0

func (in *ConstantSignal) DeepCopyInto(out *ConstantSignal)

DeepCopyInto supports using ConstantSignal within kubernetes types, where deepcopy-gen is used.

func (*ConstantSignal) Descriptor deprecated added in v0.21.0

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

Deprecated: Use ConstantSignal.ProtoReflect.Descriptor instead.

func (*ConstantSignal) GetConst added in v0.21.0

func (m *ConstantSignal) GetConst() isConstantSignal_Const

func (*ConstantSignal) GetSpecialValue added in v0.21.0

func (x *ConstantSignal) GetSpecialValue() string

func (*ConstantSignal) GetValue added in v0.21.0

func (x *ConstantSignal) GetValue() float64

func (*ConstantSignal) MarshalJSON added in v0.21.0

func (msg *ConstantSignal) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ConstantSignal) ProtoMessage added in v0.21.0

func (*ConstantSignal) ProtoMessage()

func (*ConstantSignal) ProtoReflect added in v0.21.0

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

func (*ConstantSignal) Reset added in v0.21.0

func (x *ConstantSignal) Reset()

func (*ConstantSignal) String added in v0.21.0

func (x *ConstantSignal) String() string

func (*ConstantSignal) UnmarshalJSON added in v0.21.0

func (msg *ConstantSignal) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ConstantSignal) Validate added in v1.2.0

func (m *ConstantSignal) Validate() error

Validate checks the field values on ConstantSignal with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConstantSignal) ValidateAll added in v1.2.0

func (m *ConstantSignal) ValidateAll() error

ValidateAll checks the field values on ConstantSignal with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConstantSignalMultiError, or nil if none found.

type ConstantSignalMultiError added in v1.2.0

type ConstantSignalMultiError []error

ConstantSignalMultiError is an error wrapping multiple validation errors returned by ConstantSignal.ValidateAll() if the designated constraints aren't met.

func (ConstantSignalMultiError) AllErrors added in v1.2.0

func (m ConstantSignalMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConstantSignalMultiError) Error added in v1.2.0

func (m ConstantSignalMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ConstantSignalValidationError added in v1.2.0

type ConstantSignalValidationError struct {
	// contains filtered or unexported fields
}

ConstantSignalValidationError is the validation error returned by ConstantSignal.Validate if the designated constraints aren't met.

func (ConstantSignalValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (ConstantSignalValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (ConstantSignalValidationError) ErrorName added in v1.2.0

func (e ConstantSignalValidationError) ErrorName() string

ErrorName returns error name.

func (ConstantSignalValidationError) Field added in v1.2.0

Field function returns field value.

func (ConstantSignalValidationError) Key added in v1.2.0

Key function returns key value.

func (ConstantSignalValidationError) Reason added in v1.2.0

Reason function returns reason value.

type ConstantSignal_SpecialValue added in v0.21.0

type ConstantSignal_SpecialValue struct {
	// A special value such as NaN, +Inf, -Inf.
	SpecialValue string `protobuf:"bytes,1,opt,name=special_value,json=specialValue,proto3,oneof" validate:"oneof=NaN +Inf -Inf"` // @gotags: validate:"oneof=NaN +Inf -Inf"
}

type ConstantSignal_Value added in v0.21.0

type ConstantSignal_Value struct {
	// A constant value.
	Value float64 `protobuf:"fixed64,2,opt,name=value,proto3,oneof"`
}

type Decider

type Decider struct {

	// Input ports for the Decider component.
	InPorts *Decider_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the Decider component.
	OutPorts *Decider_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Comparison operator that computes operation on LHS and RHS input signals.
	Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty" validate:"oneof=gt lt gte lte eq neq"` // @gotags: validate:"oneof=gt lt gte lte eq neq"
	// Duration of time to wait before changing to true state.
	// If the duration is zero, the change will happen instantaneously.“`
	TrueFor *durationpb.Duration `protobuf:"bytes,4,opt,name=true_for,json=trueFor,proto3" json:"true_for,omitempty" default:"0s"` // @gotags: default:"0s"
	// Duration of time to wait before changing to false state.
	// If the duration is zero, the change will happen instantaneously.
	FalseFor *durationpb.Duration `protobuf:"bytes,5,opt,name=false_for,json=falseFor,proto3" json:"false_for,omitempty" default:"0s"` // @gotags: default:"0s"
	// contains filtered or unexported fields
}

Type of Combinator that computes the comparison operation on LHS and RHS signals

The comparison operator can be greater-than, less-than, greater-than-or-equal, less-than-or-equal, equal, or not-equal.

This component also supports time-based response (the output) transitions between 1.0 or 0.0 signal if the decider condition is true or false for at least `true_for` or `false_for` duration. If `true_for` and `false_for` durations are zero then the transitions are instantaneous.

func (*Decider) DeepCopy added in v0.1.2

func (in *Decider) DeepCopy() *Decider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Decider. Required by controller-gen.

func (*Decider) DeepCopyInterface added in v0.1.2

func (in *Decider) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Decider. Required by controller-gen.

func (*Decider) DeepCopyInto added in v0.1.2

func (in *Decider) DeepCopyInto(out *Decider)

DeepCopyInto supports using Decider within kubernetes types, where deepcopy-gen is used.

func (*Decider) Descriptor deprecated

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

Deprecated: Use Decider.ProtoReflect.Descriptor instead.

func (*Decider) GetFalseFor

func (x *Decider) GetFalseFor() *durationpb.Duration

func (*Decider) GetInPorts

func (x *Decider) GetInPorts() *Decider_Ins

func (*Decider) GetOperator

func (x *Decider) GetOperator() string

func (*Decider) GetOutPorts

func (x *Decider) GetOutPorts() *Decider_Outs

func (*Decider) GetTrueFor

func (x *Decider) GetTrueFor() *durationpb.Duration

func (*Decider) MarshalJSON

func (msg *Decider) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Decider) ProtoMessage

func (*Decider) ProtoMessage()

func (*Decider) ProtoReflect

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

func (*Decider) Reset

func (x *Decider) Reset()

func (*Decider) String

func (x *Decider) String() string

func (*Decider) UnmarshalJSON

func (msg *Decider) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Decider) Validate added in v1.2.0

func (m *Decider) Validate() error

Validate checks the field values on Decider with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Decider) ValidateAll added in v1.2.0

func (m *Decider) ValidateAll() error

ValidateAll checks the field values on Decider with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeciderMultiError, or nil if none found.

type DeciderMultiError added in v1.2.0

type DeciderMultiError []error

DeciderMultiError is an error wrapping multiple validation errors returned by Decider.ValidateAll() if the designated constraints aren't met.

func (DeciderMultiError) AllErrors added in v1.2.0

func (m DeciderMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeciderMultiError) Error added in v1.2.0

func (m DeciderMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeciderValidationError added in v1.2.0

type DeciderValidationError struct {
	// contains filtered or unexported fields
}

DeciderValidationError is the validation error returned by Decider.Validate if the designated constraints aren't met.

func (DeciderValidationError) Cause added in v1.2.0

func (e DeciderValidationError) Cause() error

Cause function returns cause value.

func (DeciderValidationError) Error added in v1.2.0

func (e DeciderValidationError) Error() string

Error satisfies the builtin error interface

func (DeciderValidationError) ErrorName added in v1.2.0

func (e DeciderValidationError) ErrorName() string

ErrorName returns error name.

func (DeciderValidationError) Field added in v1.2.0

func (e DeciderValidationError) Field() string

Field function returns field value.

func (DeciderValidationError) Key added in v1.2.0

func (e DeciderValidationError) Key() bool

Key function returns key value.

func (DeciderValidationError) Reason added in v1.2.0

func (e DeciderValidationError) Reason() string

Reason function returns reason value.

type Decider_Ins

type Decider_Ins struct {

	// Left hand side input signal for the comparison operation.
	Lhs *InPort `protobuf:"bytes,1,opt,name=lhs,proto3" json:"lhs,omitempty"`
	// Right hand side input signal for the comparison operation.
	Rhs *InPort `protobuf:"bytes,2,opt,name=rhs,proto3" json:"rhs,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the Decider component.

func (*Decider_Ins) DeepCopy added in v0.1.2

func (in *Decider_Ins) DeepCopy() *Decider_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Decider_Ins. Required by controller-gen.

func (*Decider_Ins) DeepCopyInterface added in v0.1.2

func (in *Decider_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Decider_Ins. Required by controller-gen.

func (*Decider_Ins) DeepCopyInto added in v0.1.2

func (in *Decider_Ins) DeepCopyInto(out *Decider_Ins)

DeepCopyInto supports using Decider_Ins within kubernetes types, where deepcopy-gen is used.

func (*Decider_Ins) Descriptor deprecated

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

Deprecated: Use Decider_Ins.ProtoReflect.Descriptor instead.

func (*Decider_Ins) GetLhs

func (x *Decider_Ins) GetLhs() *InPort

func (*Decider_Ins) GetRhs

func (x *Decider_Ins) GetRhs() *InPort

func (*Decider_Ins) MarshalJSON

func (msg *Decider_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Decider_Ins) ProtoMessage

func (*Decider_Ins) ProtoMessage()

func (*Decider_Ins) ProtoReflect

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

func (*Decider_Ins) Reset

func (x *Decider_Ins) Reset()

func (*Decider_Ins) String

func (x *Decider_Ins) String() string

func (*Decider_Ins) UnmarshalJSON

func (msg *Decider_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Decider_Ins) Validate added in v1.2.0

func (m *Decider_Ins) Validate() error

Validate checks the field values on Decider_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Decider_Ins) ValidateAll added in v1.2.0

func (m *Decider_Ins) ValidateAll() error

ValidateAll checks the field values on Decider_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Decider_InsMultiError, or nil if none found.

type Decider_InsMultiError added in v1.2.0

type Decider_InsMultiError []error

Decider_InsMultiError is an error wrapping multiple validation errors returned by Decider_Ins.ValidateAll() if the designated constraints aren't met.

func (Decider_InsMultiError) AllErrors added in v1.2.0

func (m Decider_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Decider_InsMultiError) Error added in v1.2.0

func (m Decider_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Decider_InsValidationError added in v1.2.0

type Decider_InsValidationError struct {
	// contains filtered or unexported fields
}

Decider_InsValidationError is the validation error returned by Decider_Ins.Validate if the designated constraints aren't met.

func (Decider_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Decider_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Decider_InsValidationError) ErrorName added in v1.2.0

func (e Decider_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Decider_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (Decider_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (Decider_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Decider_Outs

type Decider_Outs struct {

	// Selected signal (1.0 or 0.0).
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the Decider component.

func (*Decider_Outs) DeepCopy added in v0.1.2

func (in *Decider_Outs) DeepCopy() *Decider_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Decider_Outs. Required by controller-gen.

func (*Decider_Outs) DeepCopyInterface added in v0.1.2

func (in *Decider_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Decider_Outs. Required by controller-gen.

func (*Decider_Outs) DeepCopyInto added in v0.1.2

func (in *Decider_Outs) DeepCopyInto(out *Decider_Outs)

DeepCopyInto supports using Decider_Outs within kubernetes types, where deepcopy-gen is used.

func (*Decider_Outs) Descriptor deprecated

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

Deprecated: Use Decider_Outs.ProtoReflect.Descriptor instead.

func (*Decider_Outs) GetOutput

func (x *Decider_Outs) GetOutput() *OutPort

func (*Decider_Outs) MarshalJSON

func (msg *Decider_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Decider_Outs) ProtoMessage

func (*Decider_Outs) ProtoMessage()

func (*Decider_Outs) ProtoReflect

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

func (*Decider_Outs) Reset

func (x *Decider_Outs) Reset()

func (*Decider_Outs) String

func (x *Decider_Outs) String() string

func (*Decider_Outs) UnmarshalJSON

func (msg *Decider_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Decider_Outs) Validate added in v1.2.0

func (m *Decider_Outs) Validate() error

Validate checks the field values on Decider_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Decider_Outs) ValidateAll added in v1.2.0

func (m *Decider_Outs) ValidateAll() error

ValidateAll checks the field values on Decider_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Decider_OutsMultiError, or nil if none found.

type Decider_OutsMultiError added in v1.2.0

type Decider_OutsMultiError []error

Decider_OutsMultiError is an error wrapping multiple validation errors returned by Decider_Outs.ValidateAll() if the designated constraints aren't met.

func (Decider_OutsMultiError) AllErrors added in v1.2.0

func (m Decider_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Decider_OutsMultiError) Error added in v1.2.0

func (m Decider_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Decider_OutsValidationError added in v1.2.0

type Decider_OutsValidationError struct {
	// contains filtered or unexported fields
}

Decider_OutsValidationError is the validation error returned by Decider_Outs.Validate if the designated constraints aren't met.

func (Decider_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Decider_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Decider_OutsValidationError) ErrorName added in v1.2.0

func (e Decider_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Decider_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (Decider_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (Decider_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type DecreasingGradient added in v1.3.0

type DecreasingGradient struct {

	// Input ports for the Gradient.
	InPorts *DecreasingGradient_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Gradient parameters for the controller. Defaults and constraints:
	// * `slope` = 1
	// * `min_gradient` = -Inf (must be less than 1)
	// * `max_gradient` = 1 (cannot be changed)
	Parameters *DecreasingGradient_Parameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

Decreasing Gradient defines a controller for scaling in based on Gradient Controller.

func (*DecreasingGradient) DeepCopy added in v1.3.0

func (in *DecreasingGradient) DeepCopy() *DecreasingGradient

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecreasingGradient. Required by controller-gen.

func (*DecreasingGradient) DeepCopyInterface added in v1.3.0

func (in *DecreasingGradient) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DecreasingGradient. Required by controller-gen.

func (*DecreasingGradient) DeepCopyInto added in v1.3.0

func (in *DecreasingGradient) DeepCopyInto(out *DecreasingGradient)

DeepCopyInto supports using DecreasingGradient within kubernetes types, where deepcopy-gen is used.

func (*DecreasingGradient) Descriptor deprecated added in v1.3.0

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

Deprecated: Use DecreasingGradient.ProtoReflect.Descriptor instead.

func (*DecreasingGradient) GetInPorts added in v1.3.0

func (x *DecreasingGradient) GetInPorts() *DecreasingGradient_Ins

func (*DecreasingGradient) GetParameters added in v1.3.0

func (*DecreasingGradient) MarshalJSON added in v1.3.0

func (msg *DecreasingGradient) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*DecreasingGradient) ProtoMessage added in v1.3.0

func (*DecreasingGradient) ProtoMessage()

func (*DecreasingGradient) ProtoReflect added in v1.3.0

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

func (*DecreasingGradient) Reset added in v1.3.0

func (x *DecreasingGradient) Reset()

func (*DecreasingGradient) String added in v1.3.0

func (x *DecreasingGradient) String() string

func (*DecreasingGradient) UnmarshalJSON added in v1.3.0

func (msg *DecreasingGradient) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DecreasingGradient) Validate added in v1.3.0

func (m *DecreasingGradient) Validate() error

Validate checks the field values on DecreasingGradient with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DecreasingGradient) ValidateAll added in v1.3.0

func (m *DecreasingGradient) ValidateAll() error

ValidateAll checks the field values on DecreasingGradient with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DecreasingGradientMultiError, or nil if none found.

type DecreasingGradientMultiError added in v1.3.0

type DecreasingGradientMultiError []error

DecreasingGradientMultiError is an error wrapping multiple validation errors returned by DecreasingGradient.ValidateAll() if the designated constraints aren't met.

func (DecreasingGradientMultiError) AllErrors added in v1.3.0

func (m DecreasingGradientMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DecreasingGradientMultiError) Error added in v1.3.0

Error returns a concatenation of all the error messages it wraps.

type DecreasingGradientValidationError added in v1.3.0

type DecreasingGradientValidationError struct {
	// contains filtered or unexported fields
}

DecreasingGradientValidationError is the validation error returned by DecreasingGradient.Validate if the designated constraints aren't met.

func (DecreasingGradientValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (DecreasingGradientValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (DecreasingGradientValidationError) ErrorName added in v1.3.0

ErrorName returns error name.

func (DecreasingGradientValidationError) Field added in v1.3.0

Field function returns field value.

func (DecreasingGradientValidationError) Key added in v1.3.0

Key function returns key value.

func (DecreasingGradientValidationError) Reason added in v1.3.0

Reason function returns reason value.

type DecreasingGradient_Ins added in v1.3.0

type DecreasingGradient_Ins struct {

	// The signal to use for scale-in.
	Signal *InPort `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"`
	// The setpoint to use for scale-in.
	Setpoint *InPort `protobuf:"bytes,2,opt,name=setpoint,proto3" json:"setpoint,omitempty"`
	// contains filtered or unexported fields
}

Inputs for Gradient.

func (*DecreasingGradient_Ins) DeepCopy added in v1.3.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecreasingGradient_Ins. Required by controller-gen.

func (*DecreasingGradient_Ins) DeepCopyInterface added in v1.3.0

func (in *DecreasingGradient_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DecreasingGradient_Ins. Required by controller-gen.

func (*DecreasingGradient_Ins) DeepCopyInto added in v1.3.0

func (in *DecreasingGradient_Ins) DeepCopyInto(out *DecreasingGradient_Ins)

DeepCopyInto supports using DecreasingGradient_Ins within kubernetes types, where deepcopy-gen is used.

func (*DecreasingGradient_Ins) Descriptor deprecated added in v1.3.0

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

Deprecated: Use DecreasingGradient_Ins.ProtoReflect.Descriptor instead.

func (*DecreasingGradient_Ins) GetSetpoint added in v1.3.0

func (x *DecreasingGradient_Ins) GetSetpoint() *InPort

func (*DecreasingGradient_Ins) GetSignal added in v1.3.0

func (x *DecreasingGradient_Ins) GetSignal() *InPort

func (*DecreasingGradient_Ins) MarshalJSON added in v1.3.0

func (msg *DecreasingGradient_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*DecreasingGradient_Ins) ProtoMessage added in v1.3.0

func (*DecreasingGradient_Ins) ProtoMessage()

func (*DecreasingGradient_Ins) ProtoReflect added in v1.3.0

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

func (*DecreasingGradient_Ins) Reset added in v1.3.0

func (x *DecreasingGradient_Ins) Reset()

func (*DecreasingGradient_Ins) String added in v1.3.0

func (x *DecreasingGradient_Ins) String() string

func (*DecreasingGradient_Ins) UnmarshalJSON added in v1.3.0

func (msg *DecreasingGradient_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DecreasingGradient_Ins) Validate added in v1.3.0

func (m *DecreasingGradient_Ins) Validate() error

Validate checks the field values on DecreasingGradient_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DecreasingGradient_Ins) ValidateAll added in v1.3.0

func (m *DecreasingGradient_Ins) ValidateAll() error

ValidateAll checks the field values on DecreasingGradient_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DecreasingGradient_InsMultiError, or nil if none found.

type DecreasingGradient_InsMultiError added in v1.3.0

type DecreasingGradient_InsMultiError []error

DecreasingGradient_InsMultiError is an error wrapping multiple validation errors returned by DecreasingGradient_Ins.ValidateAll() if the designated constraints aren't met.

func (DecreasingGradient_InsMultiError) AllErrors added in v1.3.0

func (m DecreasingGradient_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DecreasingGradient_InsMultiError) Error added in v1.3.0

Error returns a concatenation of all the error messages it wraps.

type DecreasingGradient_InsValidationError added in v1.3.0

type DecreasingGradient_InsValidationError struct {
	// contains filtered or unexported fields
}

DecreasingGradient_InsValidationError is the validation error returned by DecreasingGradient_Ins.Validate if the designated constraints aren't met.

func (DecreasingGradient_InsValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (DecreasingGradient_InsValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (DecreasingGradient_InsValidationError) ErrorName added in v1.3.0

ErrorName returns error name.

func (DecreasingGradient_InsValidationError) Field added in v1.3.0

Field function returns field value.

func (DecreasingGradient_InsValidationError) Key added in v1.3.0

Key function returns key value.

func (DecreasingGradient_InsValidationError) Reason added in v1.3.0

Reason function returns reason value.

type DecreasingGradient_Parameters added in v1.3.0

type DecreasingGradient_Parameters struct {
	Slope       float64 `protobuf:"fixed64,1,opt,name=slope,proto3" json:"slope,omitempty" default:"1.0"` // @gotags: default:"1.0"
	MinGradient float64 ``                                                                                // @gotags: default:"-1.79769313486231570814527423731704356798070e+308" validate:"lte=1.0"
	/* 175-byte string literal not displayed */
	// contains filtered or unexported fields
}

This allows subset of parameters with constrained values compared to a regular gradient controller. For full documentation of these parameters, refer to the [GradientControllerParameters](#gradient-controller-parameters).

func (*DecreasingGradient_Parameters) DeepCopy added in v1.3.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecreasingGradient_Parameters. Required by controller-gen.

func (*DecreasingGradient_Parameters) DeepCopyInterface added in v1.3.0

func (in *DecreasingGradient_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DecreasingGradient_Parameters. Required by controller-gen.

func (*DecreasingGradient_Parameters) DeepCopyInto added in v1.3.0

DeepCopyInto supports using DecreasingGradient_Parameters within kubernetes types, where deepcopy-gen is used.

func (*DecreasingGradient_Parameters) Descriptor deprecated added in v1.3.0

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

Deprecated: Use DecreasingGradient_Parameters.ProtoReflect.Descriptor instead.

func (*DecreasingGradient_Parameters) GetMinGradient added in v1.3.0

func (x *DecreasingGradient_Parameters) GetMinGradient() float64

func (*DecreasingGradient_Parameters) GetSlope added in v1.3.0

func (x *DecreasingGradient_Parameters) GetSlope() float64

func (*DecreasingGradient_Parameters) MarshalJSON added in v1.3.0

func (msg *DecreasingGradient_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*DecreasingGradient_Parameters) ProtoMessage added in v1.3.0

func (*DecreasingGradient_Parameters) ProtoMessage()

func (*DecreasingGradient_Parameters) ProtoReflect added in v1.3.0

func (*DecreasingGradient_Parameters) Reset added in v1.3.0

func (x *DecreasingGradient_Parameters) Reset()

func (*DecreasingGradient_Parameters) String added in v1.3.0

func (*DecreasingGradient_Parameters) UnmarshalJSON added in v1.3.0

func (msg *DecreasingGradient_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DecreasingGradient_Parameters) Validate added in v1.3.0

func (m *DecreasingGradient_Parameters) Validate() error

Validate checks the field values on DecreasingGradient_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DecreasingGradient_Parameters) ValidateAll added in v1.3.0

func (m *DecreasingGradient_Parameters) ValidateAll() error

ValidateAll checks the field values on DecreasingGradient_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DecreasingGradient_ParametersMultiError, or nil if none found.

type DecreasingGradient_ParametersMultiError added in v1.3.0

type DecreasingGradient_ParametersMultiError []error

DecreasingGradient_ParametersMultiError is an error wrapping multiple validation errors returned by DecreasingGradient_Parameters.ValidateAll() if the designated constraints aren't met.

func (DecreasingGradient_ParametersMultiError) AllErrors added in v1.3.0

AllErrors returns a list of validation violation errors.

func (DecreasingGradient_ParametersMultiError) Error added in v1.3.0

Error returns a concatenation of all the error messages it wraps.

type DecreasingGradient_ParametersValidationError added in v1.3.0

type DecreasingGradient_ParametersValidationError struct {
	// contains filtered or unexported fields
}

DecreasingGradient_ParametersValidationError is the validation error returned by DecreasingGradient_Parameters.Validate if the designated constraints aren't met.

func (DecreasingGradient_ParametersValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (DecreasingGradient_ParametersValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (DecreasingGradient_ParametersValidationError) ErrorName added in v1.3.0

ErrorName returns error name.

func (DecreasingGradient_ParametersValidationError) Field added in v1.3.0

Field function returns field value.

func (DecreasingGradient_ParametersValidationError) Key added in v1.3.0

Key function returns key value.

func (DecreasingGradient_ParametersValidationError) Reason added in v1.3.0

Reason function returns reason value.

type DeletePolicyRequest added in v1.5.0

type DeletePolicyRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeletePolicyRequest is a request to delete a policy with given name.

func (*DeletePolicyRequest) DeepCopy added in v1.5.0

func (in *DeletePolicyRequest) DeepCopy() *DeletePolicyRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeletePolicyRequest. Required by controller-gen.

func (*DeletePolicyRequest) DeepCopyInterface added in v1.5.0

func (in *DeletePolicyRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DeletePolicyRequest. Required by controller-gen.

func (*DeletePolicyRequest) DeepCopyInto added in v1.5.0

func (in *DeletePolicyRequest) DeepCopyInto(out *DeletePolicyRequest)

DeepCopyInto supports using DeletePolicyRequest within kubernetes types, where deepcopy-gen is used.

func (*DeletePolicyRequest) Descriptor deprecated added in v1.5.0

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

Deprecated: Use DeletePolicyRequest.ProtoReflect.Descriptor instead.

func (*DeletePolicyRequest) GetName added in v1.5.0

func (x *DeletePolicyRequest) GetName() string

func (*DeletePolicyRequest) MarshalJSON added in v1.5.0

func (msg *DeletePolicyRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*DeletePolicyRequest) ProtoMessage added in v1.5.0

func (*DeletePolicyRequest) ProtoMessage()

func (*DeletePolicyRequest) ProtoReflect added in v1.5.0

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

func (*DeletePolicyRequest) Reset added in v1.5.0

func (x *DeletePolicyRequest) Reset()

func (*DeletePolicyRequest) String added in v1.5.0

func (x *DeletePolicyRequest) String() string

func (*DeletePolicyRequest) UnmarshalJSON added in v1.5.0

func (msg *DeletePolicyRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DeletePolicyRequest) Validate added in v1.5.0

func (m *DeletePolicyRequest) Validate() error

Validate checks the field values on DeletePolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeletePolicyRequest) ValidateAll added in v1.5.0

func (m *DeletePolicyRequest) ValidateAll() error

ValidateAll checks the field values on DeletePolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePolicyRequestMultiError, or nil if none found.

type DeletePolicyRequestMultiError added in v1.5.0

type DeletePolicyRequestMultiError []error

DeletePolicyRequestMultiError is an error wrapping multiple validation errors returned by DeletePolicyRequest.ValidateAll() if the designated constraints aren't met.

func (DeletePolicyRequestMultiError) AllErrors added in v1.5.0

func (m DeletePolicyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeletePolicyRequestMultiError) Error added in v1.5.0

Error returns a concatenation of all the error messages it wraps.

type DeletePolicyRequestValidationError added in v1.5.0

type DeletePolicyRequestValidationError struct {
	// contains filtered or unexported fields
}

DeletePolicyRequestValidationError is the validation error returned by DeletePolicyRequest.Validate if the designated constraints aren't met.

func (DeletePolicyRequestValidationError) Cause added in v1.5.0

Cause function returns cause value.

func (DeletePolicyRequestValidationError) Error added in v1.5.0

Error satisfies the builtin error interface

func (DeletePolicyRequestValidationError) ErrorName added in v1.5.0

ErrorName returns error name.

func (DeletePolicyRequestValidationError) Field added in v1.5.0

Field function returns field value.

func (DeletePolicyRequestValidationError) Key added in v1.5.0

Key function returns key value.

func (DeletePolicyRequestValidationError) Reason added in v1.5.0

Reason function returns reason value.

type Differentiator added in v0.19.0

type Differentiator struct {

	// Input ports for the Differentiator component.
	InPorts *Differentiator_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the Differentiator component.
	OutPorts *Differentiator_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// The window of time over which differentiator operates.
	Window *durationpb.Duration `protobuf:"bytes,3,opt,name=window,proto3" json:"window,omitempty" default:"5s"` // @gotags: default:"5s"
	// contains filtered or unexported fields
}

Differentiator calculates rate of change per tick.

func (*Differentiator) DeepCopy added in v0.19.0

func (in *Differentiator) DeepCopy() *Differentiator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Differentiator. Required by controller-gen.

func (*Differentiator) DeepCopyInterface added in v0.19.0

func (in *Differentiator) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Differentiator. Required by controller-gen.

func (*Differentiator) DeepCopyInto added in v0.19.0

func (in *Differentiator) DeepCopyInto(out *Differentiator)

DeepCopyInto supports using Differentiator within kubernetes types, where deepcopy-gen is used.

func (*Differentiator) Descriptor deprecated added in v0.19.0

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

Deprecated: Use Differentiator.ProtoReflect.Descriptor instead.

func (*Differentiator) GetInPorts added in v0.19.0

func (x *Differentiator) GetInPorts() *Differentiator_Ins

func (*Differentiator) GetOutPorts added in v0.19.0

func (x *Differentiator) GetOutPorts() *Differentiator_Outs

func (*Differentiator) GetWindow added in v0.19.0

func (x *Differentiator) GetWindow() *durationpb.Duration

func (*Differentiator) MarshalJSON added in v0.19.0

func (msg *Differentiator) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Differentiator) ProtoMessage added in v0.19.0

func (*Differentiator) ProtoMessage()

func (*Differentiator) ProtoReflect added in v0.19.0

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

func (*Differentiator) Reset added in v0.19.0

func (x *Differentiator) Reset()

func (*Differentiator) String added in v0.19.0

func (x *Differentiator) String() string

func (*Differentiator) UnmarshalJSON added in v0.19.0

func (msg *Differentiator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Differentiator) Validate added in v1.2.0

func (m *Differentiator) Validate() error

Validate checks the field values on Differentiator with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Differentiator) ValidateAll added in v1.2.0

func (m *Differentiator) ValidateAll() error

ValidateAll checks the field values on Differentiator with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DifferentiatorMultiError, or nil if none found.

type DifferentiatorMultiError added in v1.2.0

type DifferentiatorMultiError []error

DifferentiatorMultiError is an error wrapping multiple validation errors returned by Differentiator.ValidateAll() if the designated constraints aren't met.

func (DifferentiatorMultiError) AllErrors added in v1.2.0

func (m DifferentiatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DifferentiatorMultiError) Error added in v1.2.0

func (m DifferentiatorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DifferentiatorValidationError added in v1.2.0

type DifferentiatorValidationError struct {
	// contains filtered or unexported fields
}

DifferentiatorValidationError is the validation error returned by Differentiator.Validate if the designated constraints aren't met.

func (DifferentiatorValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (DifferentiatorValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (DifferentiatorValidationError) ErrorName added in v1.2.0

func (e DifferentiatorValidationError) ErrorName() string

ErrorName returns error name.

func (DifferentiatorValidationError) Field added in v1.2.0

Field function returns field value.

func (DifferentiatorValidationError) Key added in v1.2.0

Key function returns key value.

func (DifferentiatorValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Differentiator_Ins added in v0.19.0

type Differentiator_Ins struct {
	Input *InPort `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the Differentiator component.

func (*Differentiator_Ins) DeepCopy added in v0.19.0

func (in *Differentiator_Ins) DeepCopy() *Differentiator_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Differentiator_Ins. Required by controller-gen.

func (*Differentiator_Ins) DeepCopyInterface added in v0.19.0

func (in *Differentiator_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Differentiator_Ins. Required by controller-gen.

func (*Differentiator_Ins) DeepCopyInto added in v0.19.0

func (in *Differentiator_Ins) DeepCopyInto(out *Differentiator_Ins)

DeepCopyInto supports using Differentiator_Ins within kubernetes types, where deepcopy-gen is used.

func (*Differentiator_Ins) Descriptor deprecated added in v0.19.0

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

Deprecated: Use Differentiator_Ins.ProtoReflect.Descriptor instead.

func (*Differentiator_Ins) GetInput added in v0.19.0

func (x *Differentiator_Ins) GetInput() *InPort

func (*Differentiator_Ins) MarshalJSON added in v0.19.0

func (msg *Differentiator_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Differentiator_Ins) ProtoMessage added in v0.19.0

func (*Differentiator_Ins) ProtoMessage()

func (*Differentiator_Ins) ProtoReflect added in v0.19.0

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

func (*Differentiator_Ins) Reset added in v0.19.0

func (x *Differentiator_Ins) Reset()

func (*Differentiator_Ins) String added in v0.19.0

func (x *Differentiator_Ins) String() string

func (*Differentiator_Ins) UnmarshalJSON added in v0.19.0

func (msg *Differentiator_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Differentiator_Ins) Validate added in v1.2.0

func (m *Differentiator_Ins) Validate() error

Validate checks the field values on Differentiator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Differentiator_Ins) ValidateAll added in v1.2.0

func (m *Differentiator_Ins) ValidateAll() error

ValidateAll checks the field values on Differentiator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Differentiator_InsMultiError, or nil if none found.

type Differentiator_InsMultiError added in v1.2.0

type Differentiator_InsMultiError []error

Differentiator_InsMultiError is an error wrapping multiple validation errors returned by Differentiator_Ins.ValidateAll() if the designated constraints aren't met.

func (Differentiator_InsMultiError) AllErrors added in v1.2.0

func (m Differentiator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Differentiator_InsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type Differentiator_InsValidationError added in v1.2.0

type Differentiator_InsValidationError struct {
	// contains filtered or unexported fields
}

Differentiator_InsValidationError is the validation error returned by Differentiator_Ins.Validate if the designated constraints aren't met.

func (Differentiator_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Differentiator_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Differentiator_InsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (Differentiator_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (Differentiator_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (Differentiator_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Differentiator_Outs added in v0.19.0

type Differentiator_Outs struct {
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the Differentiator component.

func (*Differentiator_Outs) DeepCopy added in v0.19.0

func (in *Differentiator_Outs) DeepCopy() *Differentiator_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Differentiator_Outs. Required by controller-gen.

func (*Differentiator_Outs) DeepCopyInterface added in v0.19.0

func (in *Differentiator_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Differentiator_Outs. Required by controller-gen.

func (*Differentiator_Outs) DeepCopyInto added in v0.19.0

func (in *Differentiator_Outs) DeepCopyInto(out *Differentiator_Outs)

DeepCopyInto supports using Differentiator_Outs within kubernetes types, where deepcopy-gen is used.

func (*Differentiator_Outs) Descriptor deprecated added in v0.19.0

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

Deprecated: Use Differentiator_Outs.ProtoReflect.Descriptor instead.

func (*Differentiator_Outs) GetOutput added in v0.19.0

func (x *Differentiator_Outs) GetOutput() *OutPort

func (*Differentiator_Outs) MarshalJSON added in v0.19.0

func (msg *Differentiator_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Differentiator_Outs) ProtoMessage added in v0.19.0

func (*Differentiator_Outs) ProtoMessage()

func (*Differentiator_Outs) ProtoReflect added in v0.19.0

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

func (*Differentiator_Outs) Reset added in v0.19.0

func (x *Differentiator_Outs) Reset()

func (*Differentiator_Outs) String added in v0.19.0

func (x *Differentiator_Outs) String() string

func (*Differentiator_Outs) UnmarshalJSON added in v0.19.0

func (msg *Differentiator_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Differentiator_Outs) Validate added in v1.2.0

func (m *Differentiator_Outs) Validate() error

Validate checks the field values on Differentiator_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Differentiator_Outs) ValidateAll added in v1.2.0

func (m *Differentiator_Outs) ValidateAll() error

ValidateAll checks the field values on Differentiator_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Differentiator_OutsMultiError, or nil if none found.

type Differentiator_OutsMultiError added in v1.2.0

type Differentiator_OutsMultiError []error

Differentiator_OutsMultiError is an error wrapping multiple validation errors returned by Differentiator_Outs.ValidateAll() if the designated constraints aren't met.

func (Differentiator_OutsMultiError) AllErrors added in v1.2.0

func (m Differentiator_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Differentiator_OutsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type Differentiator_OutsValidationError added in v1.2.0

type Differentiator_OutsValidationError struct {
	// contains filtered or unexported fields
}

Differentiator_OutsValidationError is the validation error returned by Differentiator_Outs.Validate if the designated constraints aren't met.

func (Differentiator_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Differentiator_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Differentiator_OutsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (Differentiator_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (Differentiator_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (Differentiator_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type EMA

type EMA struct {

	// Input ports for the EMA component.
	InPorts *EMA_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the EMA component.
	OutPorts *EMA_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Parameters for the EMA component.
	Parameters *EMA_Parameters `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Exponential Moving Average (EMA) is a type of moving average that applies exponentially more weight to recent signal readings

At any time EMA component operates in one of the following states:

  1. Warm up state: The first `warmup_window` samples are used to compute the initial EMA. If an invalid reading is received during the `warmup_window`, the last good average is emitted and the state gets reset back to beginning of warm up state.
  2. Normal state: The EMA is computed using following formula.

The EMA for a series $Y$ is calculated recursively as: <!-- vale off --> $$ \text{EMA} _t = \begin{cases}

Y_0, &\text{for } t = 0 \\
\alpha Y_t + (1 - \alpha) \text{EMA}_{t-1}, &\text{for }t > 0

\end{cases} $$

The coefficient $\alpha$ represents the degree of weighting decrease, a constant smoothing factor between 0 and 1. A higher $\alpha$ discounts older observations faster. The $\alpha$ is computed using ema\_window:

$$ \alpha = \frac{2}{N + 1} \quad\text{where } N = \frac{\text{ema\_window}}{\text{evaluation\_period}} $$ <!-- vale on -->

func (*EMA) DeepCopy added in v0.1.2

func (in *EMA) DeepCopy() *EMA

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EMA. Required by controller-gen.

func (*EMA) DeepCopyInterface added in v0.1.2

func (in *EMA) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new EMA. Required by controller-gen.

func (*EMA) DeepCopyInto added in v0.1.2

func (in *EMA) DeepCopyInto(out *EMA)

DeepCopyInto supports using EMA within kubernetes types, where deepcopy-gen is used.

func (*EMA) Descriptor deprecated

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

Deprecated: Use EMA.ProtoReflect.Descriptor instead.

func (*EMA) GetInPorts

func (x *EMA) GetInPorts() *EMA_Ins

func (*EMA) GetOutPorts

func (x *EMA) GetOutPorts() *EMA_Outs

func (*EMA) GetParameters added in v0.21.0

func (x *EMA) GetParameters() *EMA_Parameters

func (*EMA) MarshalJSON

func (msg *EMA) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*EMA) ProtoMessage

func (*EMA) ProtoMessage()

func (*EMA) ProtoReflect

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

func (*EMA) Reset

func (x *EMA) Reset()

func (*EMA) String

func (x *EMA) String() string

func (*EMA) UnmarshalJSON

func (msg *EMA) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*EMA) Validate added in v1.2.0

func (m *EMA) Validate() error

Validate checks the field values on EMA with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EMA) ValidateAll added in v1.2.0

func (m *EMA) ValidateAll() error

ValidateAll checks the field values on EMA with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EMAMultiError, or nil if none found.

type EMAMultiError added in v1.2.0

type EMAMultiError []error

EMAMultiError is an error wrapping multiple validation errors returned by EMA.ValidateAll() if the designated constraints aren't met.

func (EMAMultiError) AllErrors added in v1.2.0

func (m EMAMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EMAMultiError) Error added in v1.2.0

func (m EMAMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type EMAValidationError added in v1.2.0

type EMAValidationError struct {
	// contains filtered or unexported fields
}

EMAValidationError is the validation error returned by EMA.Validate if the designated constraints aren't met.

func (EMAValidationError) Cause added in v1.2.0

func (e EMAValidationError) Cause() error

Cause function returns cause value.

func (EMAValidationError) Error added in v1.2.0

func (e EMAValidationError) Error() string

Error satisfies the builtin error interface

func (EMAValidationError) ErrorName added in v1.2.0

func (e EMAValidationError) ErrorName() string

ErrorName returns error name.

func (EMAValidationError) Field added in v1.2.0

func (e EMAValidationError) Field() string

Field function returns field value.

func (EMAValidationError) Key added in v1.2.0

func (e EMAValidationError) Key() bool

Key function returns key value.

func (EMAValidationError) Reason added in v1.2.0

func (e EMAValidationError) Reason() string

Reason function returns reason value.

type EMA_Ins

type EMA_Ins struct {

	// Input signal to be used for the EMA computation.
	Input *InPort `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// Upper bound of the moving average.
	//
	// When the signal exceeds `max_envelope` it is multiplied by
	// `correction_factor_on_max_envelope_violation` **once per tick**.
	//
	// :::note
	//
	// If the signal deviates from `max_envelope` faster than the correction
	// faster, it might end up exceeding the envelope.
	//
	// :::
	MaxEnvelope *InPort `protobuf:"bytes,2,opt,name=max_envelope,json=maxEnvelope,proto3" json:"max_envelope,omitempty"`
	// Lower bound of the moving average.
	//
	// Behavior is similar to `max_envelope`.
	MinEnvelope *InPort `protobuf:"bytes,3,opt,name=min_envelope,json=minEnvelope,proto3" json:"min_envelope,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the EMA component.

func (*EMA_Ins) DeepCopy added in v0.1.2

func (in *EMA_Ins) DeepCopy() *EMA_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EMA_Ins. Required by controller-gen.

func (*EMA_Ins) DeepCopyInterface added in v0.1.2

func (in *EMA_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new EMA_Ins. Required by controller-gen.

func (*EMA_Ins) DeepCopyInto added in v0.1.2

func (in *EMA_Ins) DeepCopyInto(out *EMA_Ins)

DeepCopyInto supports using EMA_Ins within kubernetes types, where deepcopy-gen is used.

func (*EMA_Ins) Descriptor deprecated

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

Deprecated: Use EMA_Ins.ProtoReflect.Descriptor instead.

func (*EMA_Ins) GetInput

func (x *EMA_Ins) GetInput() *InPort

func (*EMA_Ins) GetMaxEnvelope

func (x *EMA_Ins) GetMaxEnvelope() *InPort

func (*EMA_Ins) GetMinEnvelope

func (x *EMA_Ins) GetMinEnvelope() *InPort

func (*EMA_Ins) MarshalJSON

func (msg *EMA_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*EMA_Ins) ProtoMessage

func (*EMA_Ins) ProtoMessage()

func (*EMA_Ins) ProtoReflect

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

func (*EMA_Ins) Reset

func (x *EMA_Ins) Reset()

func (*EMA_Ins) String

func (x *EMA_Ins) String() string

func (*EMA_Ins) UnmarshalJSON

func (msg *EMA_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*EMA_Ins) Validate added in v1.2.0

func (m *EMA_Ins) Validate() error

Validate checks the field values on EMA_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EMA_Ins) ValidateAll added in v1.2.0

func (m *EMA_Ins) ValidateAll() error

ValidateAll checks the field values on EMA_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EMA_InsMultiError, or nil if none found.

type EMA_InsMultiError added in v1.2.0

type EMA_InsMultiError []error

EMA_InsMultiError is an error wrapping multiple validation errors returned by EMA_Ins.ValidateAll() if the designated constraints aren't met.

func (EMA_InsMultiError) AllErrors added in v1.2.0

func (m EMA_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EMA_InsMultiError) Error added in v1.2.0

func (m EMA_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type EMA_InsValidationError added in v1.2.0

type EMA_InsValidationError struct {
	// contains filtered or unexported fields
}

EMA_InsValidationError is the validation error returned by EMA_Ins.Validate if the designated constraints aren't met.

func (EMA_InsValidationError) Cause added in v1.2.0

func (e EMA_InsValidationError) Cause() error

Cause function returns cause value.

func (EMA_InsValidationError) Error added in v1.2.0

func (e EMA_InsValidationError) Error() string

Error satisfies the builtin error interface

func (EMA_InsValidationError) ErrorName added in v1.2.0

func (e EMA_InsValidationError) ErrorName() string

ErrorName returns error name.

func (EMA_InsValidationError) Field added in v1.2.0

func (e EMA_InsValidationError) Field() string

Field function returns field value.

func (EMA_InsValidationError) Key added in v1.2.0

func (e EMA_InsValidationError) Key() bool

Key function returns key value.

func (EMA_InsValidationError) Reason added in v1.2.0

func (e EMA_InsValidationError) Reason() string

Reason function returns reason value.

type EMA_Outs

type EMA_Outs struct {

	// Exponential moving average of the series of reading as an output signal.
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the EMA component.

func (*EMA_Outs) DeepCopy added in v0.1.2

func (in *EMA_Outs) DeepCopy() *EMA_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EMA_Outs. Required by controller-gen.

func (*EMA_Outs) DeepCopyInterface added in v0.1.2

func (in *EMA_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new EMA_Outs. Required by controller-gen.

func (*EMA_Outs) DeepCopyInto added in v0.1.2

func (in *EMA_Outs) DeepCopyInto(out *EMA_Outs)

DeepCopyInto supports using EMA_Outs within kubernetes types, where deepcopy-gen is used.

func (*EMA_Outs) Descriptor deprecated

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

Deprecated: Use EMA_Outs.ProtoReflect.Descriptor instead.

func (*EMA_Outs) GetOutput

func (x *EMA_Outs) GetOutput() *OutPort

func (*EMA_Outs) MarshalJSON

func (msg *EMA_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*EMA_Outs) ProtoMessage

func (*EMA_Outs) ProtoMessage()

func (*EMA_Outs) ProtoReflect

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

func (*EMA_Outs) Reset

func (x *EMA_Outs) Reset()

func (*EMA_Outs) String

func (x *EMA_Outs) String() string

func (*EMA_Outs) UnmarshalJSON

func (msg *EMA_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*EMA_Outs) Validate added in v1.2.0

func (m *EMA_Outs) Validate() error

Validate checks the field values on EMA_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EMA_Outs) ValidateAll added in v1.2.0

func (m *EMA_Outs) ValidateAll() error

ValidateAll checks the field values on EMA_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EMA_OutsMultiError, or nil if none found.

type EMA_OutsMultiError added in v1.2.0

type EMA_OutsMultiError []error

EMA_OutsMultiError is an error wrapping multiple validation errors returned by EMA_Outs.ValidateAll() if the designated constraints aren't met.

func (EMA_OutsMultiError) AllErrors added in v1.2.0

func (m EMA_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EMA_OutsMultiError) Error added in v1.2.0

func (m EMA_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type EMA_OutsValidationError added in v1.2.0

type EMA_OutsValidationError struct {
	// contains filtered or unexported fields
}

EMA_OutsValidationError is the validation error returned by EMA_Outs.Validate if the designated constraints aren't met.

func (EMA_OutsValidationError) Cause added in v1.2.0

func (e EMA_OutsValidationError) Cause() error

Cause function returns cause value.

func (EMA_OutsValidationError) Error added in v1.2.0

func (e EMA_OutsValidationError) Error() string

Error satisfies the builtin error interface

func (EMA_OutsValidationError) ErrorName added in v1.2.0

func (e EMA_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (EMA_OutsValidationError) Field added in v1.2.0

func (e EMA_OutsValidationError) Field() string

Field function returns field value.

func (EMA_OutsValidationError) Key added in v1.2.0

func (e EMA_OutsValidationError) Key() bool

Key function returns key value.

func (EMA_OutsValidationError) Reason added in v1.2.0

func (e EMA_OutsValidationError) Reason() string

Reason function returns reason value.

type EMA_Parameters added in v0.21.0

type EMA_Parameters struct {

	// Duration of EMA sampling window.
	EmaWindow *durationpb.Duration `protobuf:"bytes,1,opt,name=ema_window,json=emaWindow,proto3" json:"ema_window,omitempty" validate:"required"` // @gotags: validate:"required"
	// Duration of EMA warming up window.
	//
	// The initial value of the EMA is the average of signal readings received during the warm up window.
	WarmupWindow *durationpb.Duration `protobuf:"bytes,2,opt,name=warmup_window,json=warmupWindow,proto3" json:"warmup_window,omitempty" validate:"required"` // @gotags: validate:"required"
	// Correction factor to apply on the output value if its in violation of the min envelope.
	CorrectionFactorOnMinEnvelopeViolation float64 `` // @gotags: validate:"gte=1.0" default:"1.0"
	/* 218-byte string literal not displayed */
	// Correction factor to apply on the output value if its in violation of the max envelope.
	CorrectionFactorOnMaxEnvelopeViolation float64 `` // @gotags: validate:"gte=0,lte=1.0" default:"1.0"
	/* 224-byte string literal not displayed */
	// Whether the output is valid during the warm-up stage.
	ValidDuringWarmup bool `` // @gotags: default:"false"
	/* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Parameters for the EMA component.

func (*EMA_Parameters) DeepCopy added in v0.21.0

func (in *EMA_Parameters) DeepCopy() *EMA_Parameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EMA_Parameters. Required by controller-gen.

func (*EMA_Parameters) DeepCopyInterface added in v0.21.0

func (in *EMA_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new EMA_Parameters. Required by controller-gen.

func (*EMA_Parameters) DeepCopyInto added in v0.21.0

func (in *EMA_Parameters) DeepCopyInto(out *EMA_Parameters)

DeepCopyInto supports using EMA_Parameters within kubernetes types, where deepcopy-gen is used.

func (*EMA_Parameters) Descriptor deprecated added in v0.21.0

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

Deprecated: Use EMA_Parameters.ProtoReflect.Descriptor instead.

func (*EMA_Parameters) GetCorrectionFactorOnMaxEnvelopeViolation added in v0.21.0

func (x *EMA_Parameters) GetCorrectionFactorOnMaxEnvelopeViolation() float64

func (*EMA_Parameters) GetCorrectionFactorOnMinEnvelopeViolation added in v0.21.0

func (x *EMA_Parameters) GetCorrectionFactorOnMinEnvelopeViolation() float64

func (*EMA_Parameters) GetEmaWindow added in v0.21.0

func (x *EMA_Parameters) GetEmaWindow() *durationpb.Duration

func (*EMA_Parameters) GetValidDuringWarmup added in v0.21.0

func (x *EMA_Parameters) GetValidDuringWarmup() bool

func (*EMA_Parameters) GetWarmupWindow added in v0.21.0

func (x *EMA_Parameters) GetWarmupWindow() *durationpb.Duration

func (*EMA_Parameters) MarshalJSON added in v0.21.0

func (msg *EMA_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*EMA_Parameters) ProtoMessage added in v0.21.0

func (*EMA_Parameters) ProtoMessage()

func (*EMA_Parameters) ProtoReflect added in v0.21.0

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

func (*EMA_Parameters) Reset added in v0.21.0

func (x *EMA_Parameters) Reset()

func (*EMA_Parameters) String added in v0.21.0

func (x *EMA_Parameters) String() string

func (*EMA_Parameters) UnmarshalJSON added in v0.21.0

func (msg *EMA_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*EMA_Parameters) Validate added in v1.2.0

func (m *EMA_Parameters) Validate() error

Validate checks the field values on EMA_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EMA_Parameters) ValidateAll added in v1.2.0

func (m *EMA_Parameters) ValidateAll() error

ValidateAll checks the field values on EMA_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EMA_ParametersMultiError, or nil if none found.

type EMA_ParametersMultiError added in v1.2.0

type EMA_ParametersMultiError []error

EMA_ParametersMultiError is an error wrapping multiple validation errors returned by EMA_Parameters.ValidateAll() if the designated constraints aren't met.

func (EMA_ParametersMultiError) AllErrors added in v1.2.0

func (m EMA_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EMA_ParametersMultiError) Error added in v1.2.0

func (m EMA_ParametersMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type EMA_ParametersValidationError added in v1.2.0

type EMA_ParametersValidationError struct {
	// contains filtered or unexported fields
}

EMA_ParametersValidationError is the validation error returned by EMA_Parameters.Validate if the designated constraints aren't met.

func (EMA_ParametersValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (EMA_ParametersValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (EMA_ParametersValidationError) ErrorName added in v1.2.0

func (e EMA_ParametersValidationError) ErrorName() string

ErrorName returns error name.

func (EMA_ParametersValidationError) Field added in v1.2.0

Field function returns field value.

func (EMA_ParametersValidationError) Key added in v1.2.0

Key function returns key value.

func (EMA_ParametersValidationError) Reason added in v1.2.0

Reason function returns reason value.

type EqualsMatchExpression added in v0.8.0

type EqualsMatchExpression struct {

	// Name of the label to equal match the value.
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty" validate:"required"` // @gotags: validate:"required"
	// Exact value that the label should be equal to.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Label selector expression of the equal form `label == value`.

func (*EqualsMatchExpression) DeepCopy added in v0.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EqualsMatchExpression. Required by controller-gen.

func (*EqualsMatchExpression) DeepCopyInterface added in v0.8.0

func (in *EqualsMatchExpression) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new EqualsMatchExpression. Required by controller-gen.

func (*EqualsMatchExpression) DeepCopyInto added in v0.8.0

func (in *EqualsMatchExpression) DeepCopyInto(out *EqualsMatchExpression)

DeepCopyInto supports using EqualsMatchExpression within kubernetes types, where deepcopy-gen is used.

func (*EqualsMatchExpression) Descriptor deprecated added in v0.8.0

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

Deprecated: Use EqualsMatchExpression.ProtoReflect.Descriptor instead.

func (*EqualsMatchExpression) GetLabel added in v0.8.0

func (x *EqualsMatchExpression) GetLabel() string

func (*EqualsMatchExpression) GetValue added in v0.8.0

func (x *EqualsMatchExpression) GetValue() string

func (*EqualsMatchExpression) MarshalJSON added in v0.8.0

func (msg *EqualsMatchExpression) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*EqualsMatchExpression) ProtoMessage added in v0.8.0

func (*EqualsMatchExpression) ProtoMessage()

func (*EqualsMatchExpression) ProtoReflect added in v0.8.0

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

func (*EqualsMatchExpression) Reset added in v0.8.0

func (x *EqualsMatchExpression) Reset()

func (*EqualsMatchExpression) String added in v0.8.0

func (x *EqualsMatchExpression) String() string

func (*EqualsMatchExpression) UnmarshalJSON added in v0.8.0

func (msg *EqualsMatchExpression) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*EqualsMatchExpression) Validate added in v1.2.0

func (m *EqualsMatchExpression) Validate() error

Validate checks the field values on EqualsMatchExpression with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EqualsMatchExpression) ValidateAll added in v1.2.0

func (m *EqualsMatchExpression) ValidateAll() error

ValidateAll checks the field values on EqualsMatchExpression with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EqualsMatchExpressionMultiError, or nil if none found.

type EqualsMatchExpressionMultiError added in v1.2.0

type EqualsMatchExpressionMultiError []error

EqualsMatchExpressionMultiError is an error wrapping multiple validation errors returned by EqualsMatchExpression.ValidateAll() if the designated constraints aren't met.

func (EqualsMatchExpressionMultiError) AllErrors added in v1.2.0

func (m EqualsMatchExpressionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EqualsMatchExpressionMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type EqualsMatchExpressionValidationError added in v1.2.0

type EqualsMatchExpressionValidationError struct {
	// contains filtered or unexported fields
}

EqualsMatchExpressionValidationError is the validation error returned by EqualsMatchExpression.Validate if the designated constraints aren't met.

func (EqualsMatchExpressionValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (EqualsMatchExpressionValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (EqualsMatchExpressionValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (EqualsMatchExpressionValidationError) Field added in v1.2.0

Field function returns field value.

func (EqualsMatchExpressionValidationError) Key added in v1.2.0

Key function returns key value.

func (EqualsMatchExpressionValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Extractor

type Extractor struct {

	// Types that are assignable to Variant:
	//
	//	*Extractor_From
	//	*Extractor_Json
	//	*Extractor_Address
	//	*Extractor_Jwt
	//	*Extractor_PathTemplates
	Variant isExtractor_Variant `protobuf_oneof:"variant"`
	// contains filtered or unexported fields
}

Defines a high-level way to specify how to extract a flow label value given HTTP request metadata, without a need to write Rego code

There are multiple variants of extractor, specify exactly one.

func (*Extractor) DeepCopy added in v0.1.2

func (in *Extractor) DeepCopy() *Extractor

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extractor. Required by controller-gen.

func (*Extractor) DeepCopyInterface added in v0.1.2

func (in *Extractor) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Extractor. Required by controller-gen.

func (*Extractor) DeepCopyInto added in v0.1.2

func (in *Extractor) DeepCopyInto(out *Extractor)

DeepCopyInto supports using Extractor within kubernetes types, where deepcopy-gen is used.

func (*Extractor) Descriptor deprecated

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

Deprecated: Use Extractor.ProtoReflect.Descriptor instead.

func (*Extractor) GetAddress

func (x *Extractor) GetAddress() *AddressExtractor

func (*Extractor) GetFrom

func (x *Extractor) GetFrom() string

func (*Extractor) GetJson

func (x *Extractor) GetJson() *JSONExtractor

func (*Extractor) GetJwt

func (x *Extractor) GetJwt() *JWTExtractor

func (*Extractor) GetPathTemplates

func (x *Extractor) GetPathTemplates() *PathTemplateMatcher

func (*Extractor) GetVariant

func (m *Extractor) GetVariant() isExtractor_Variant

func (*Extractor) MarshalJSON

func (msg *Extractor) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Extractor) ProtoMessage

func (*Extractor) ProtoMessage()

func (*Extractor) ProtoReflect

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

func (*Extractor) Reset

func (x *Extractor) Reset()

func (*Extractor) String

func (x *Extractor) String() string

func (*Extractor) UnmarshalJSON

func (msg *Extractor) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Extractor) Validate added in v1.2.0

func (m *Extractor) Validate() error

Validate checks the field values on Extractor with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Extractor) ValidateAll added in v1.2.0

func (m *Extractor) ValidateAll() error

ValidateAll checks the field values on Extractor with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExtractorMultiError, or nil if none found.

type ExtractorMultiError added in v1.2.0

type ExtractorMultiError []error

ExtractorMultiError is an error wrapping multiple validation errors returned by Extractor.ValidateAll() if the designated constraints aren't met.

func (ExtractorMultiError) AllErrors added in v1.2.0

func (m ExtractorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExtractorMultiError) Error added in v1.2.0

func (m ExtractorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ExtractorValidationError added in v1.2.0

type ExtractorValidationError struct {
	// contains filtered or unexported fields
}

ExtractorValidationError is the validation error returned by Extractor.Validate if the designated constraints aren't met.

func (ExtractorValidationError) Cause added in v1.2.0

func (e ExtractorValidationError) Cause() error

Cause function returns cause value.

func (ExtractorValidationError) Error added in v1.2.0

func (e ExtractorValidationError) Error() string

Error satisfies the builtin error interface

func (ExtractorValidationError) ErrorName added in v1.2.0

func (e ExtractorValidationError) ErrorName() string

ErrorName returns error name.

func (ExtractorValidationError) Field added in v1.2.0

func (e ExtractorValidationError) Field() string

Field function returns field value.

func (ExtractorValidationError) Key added in v1.2.0

Key function returns key value.

func (ExtractorValidationError) Reason added in v1.2.0

func (e ExtractorValidationError) Reason() string

Reason function returns reason value.

type Extractor_Address

type Extractor_Address struct {
	// Display an address as a single string - `<ip>:<port>`.
	Address *AddressExtractor `protobuf:"bytes,3,opt,name=address,proto3,oneof"`
}

type Extractor_From

type Extractor_From struct {
	// Use an attribute with no conversion
	//
	// Attribute path is a dot-separated path to attribute.
	//
	// Should be either:
	// * one of the fields of [Attribute Context](https://www.envoyproxy.io/docs/envoy/latest/api-v3/service/auth/v3/attribute_context.proto), or
	// * a special `request.http.bearer` pseudo-attribute.
	// For example, `request.http.method` or `request.http.header.user-agent`
	//
	// Note: The same attribute path syntax is shared by other extractor variants,
	// wherever attribute path is needed in their "from" syntax.
	//
	// Example:
	// “`yaml
	// from: request.http.headers.user-agent
	// “`
	From string `protobuf:"bytes,1,opt,name=from,proto3,oneof"`
}

type Extractor_Json

type Extractor_Json struct {
	// Parse JSON, and extract one of the fields.
	Json *JSONExtractor `protobuf:"bytes,2,opt,name=json,proto3,oneof"`
}

type Extractor_Jwt

type Extractor_Jwt struct {
	// Parse the attribute as JWT and read the payload.
	Jwt *JWTExtractor `protobuf:"bytes,4,opt,name=jwt,proto3,oneof"`
}

type Extractor_PathTemplates

type Extractor_PathTemplates struct {
	// Match HTTP Path to given path templates.
	PathTemplates *PathTemplateMatcher `protobuf:"bytes,5,opt,name=path_templates,json=pathTemplates,proto3,oneof"`
}

type Extrapolator

type Extrapolator struct {

	// Input ports for the Extrapolator component.
	InPorts *Extrapolator_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the Extrapolator component.
	OutPorts *Extrapolator_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Parameters for the Extrapolator component.
	Parameters *Extrapolator_Parameters `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Extrapolates the input signal by repeating the last valid value during the period in which it is invalid

It does so until `maximum_extrapolation_interval` is reached, beyond which it emits invalid signal unless input signal becomes valid again.

func (*Extrapolator) DeepCopy added in v0.1.2

func (in *Extrapolator) DeepCopy() *Extrapolator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extrapolator. Required by controller-gen.

func (*Extrapolator) DeepCopyInterface added in v0.1.2

func (in *Extrapolator) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Extrapolator. Required by controller-gen.

func (*Extrapolator) DeepCopyInto added in v0.1.2

func (in *Extrapolator) DeepCopyInto(out *Extrapolator)

DeepCopyInto supports using Extrapolator within kubernetes types, where deepcopy-gen is used.

func (*Extrapolator) Descriptor deprecated

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

Deprecated: Use Extrapolator.ProtoReflect.Descriptor instead.

func (*Extrapolator) GetInPorts

func (x *Extrapolator) GetInPorts() *Extrapolator_Ins

func (*Extrapolator) GetOutPorts

func (x *Extrapolator) GetOutPorts() *Extrapolator_Outs

func (*Extrapolator) GetParameters added in v0.21.0

func (x *Extrapolator) GetParameters() *Extrapolator_Parameters

func (*Extrapolator) MarshalJSON

func (msg *Extrapolator) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Extrapolator) ProtoMessage

func (*Extrapolator) ProtoMessage()

func (*Extrapolator) ProtoReflect

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

func (*Extrapolator) Reset

func (x *Extrapolator) Reset()

func (*Extrapolator) String

func (x *Extrapolator) String() string

func (*Extrapolator) UnmarshalJSON

func (msg *Extrapolator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Extrapolator) Validate added in v1.2.0

func (m *Extrapolator) Validate() error

Validate checks the field values on Extrapolator with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Extrapolator) ValidateAll added in v1.2.0

func (m *Extrapolator) ValidateAll() error

ValidateAll checks the field values on Extrapolator with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExtrapolatorMultiError, or nil if none found.

type ExtrapolatorMultiError added in v1.2.0

type ExtrapolatorMultiError []error

ExtrapolatorMultiError is an error wrapping multiple validation errors returned by Extrapolator.ValidateAll() if the designated constraints aren't met.

func (ExtrapolatorMultiError) AllErrors added in v1.2.0

func (m ExtrapolatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExtrapolatorMultiError) Error added in v1.2.0

func (m ExtrapolatorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ExtrapolatorValidationError added in v1.2.0

type ExtrapolatorValidationError struct {
	// contains filtered or unexported fields
}

ExtrapolatorValidationError is the validation error returned by Extrapolator.Validate if the designated constraints aren't met.

func (ExtrapolatorValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (ExtrapolatorValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (ExtrapolatorValidationError) ErrorName added in v1.2.0

func (e ExtrapolatorValidationError) ErrorName() string

ErrorName returns error name.

func (ExtrapolatorValidationError) Field added in v1.2.0

Field function returns field value.

func (ExtrapolatorValidationError) Key added in v1.2.0

Key function returns key value.

func (ExtrapolatorValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Extrapolator_Ins

type Extrapolator_Ins struct {

	// Input signal for the Extrapolator component.
	Input *InPort `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the Extrapolator component.

func (*Extrapolator_Ins) DeepCopy added in v0.1.2

func (in *Extrapolator_Ins) DeepCopy() *Extrapolator_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extrapolator_Ins. Required by controller-gen.

func (*Extrapolator_Ins) DeepCopyInterface added in v0.1.2

func (in *Extrapolator_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Extrapolator_Ins. Required by controller-gen.

func (*Extrapolator_Ins) DeepCopyInto added in v0.1.2

func (in *Extrapolator_Ins) DeepCopyInto(out *Extrapolator_Ins)

DeepCopyInto supports using Extrapolator_Ins within kubernetes types, where deepcopy-gen is used.

func (*Extrapolator_Ins) Descriptor deprecated

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

Deprecated: Use Extrapolator_Ins.ProtoReflect.Descriptor instead.

func (*Extrapolator_Ins) GetInput

func (x *Extrapolator_Ins) GetInput() *InPort

func (*Extrapolator_Ins) MarshalJSON

func (msg *Extrapolator_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Extrapolator_Ins) ProtoMessage

func (*Extrapolator_Ins) ProtoMessage()

func (*Extrapolator_Ins) ProtoReflect

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

func (*Extrapolator_Ins) Reset

func (x *Extrapolator_Ins) Reset()

func (*Extrapolator_Ins) String

func (x *Extrapolator_Ins) String() string

func (*Extrapolator_Ins) UnmarshalJSON

func (msg *Extrapolator_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Extrapolator_Ins) Validate added in v1.2.0

func (m *Extrapolator_Ins) Validate() error

Validate checks the field values on Extrapolator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Extrapolator_Ins) ValidateAll added in v1.2.0

func (m *Extrapolator_Ins) ValidateAll() error

ValidateAll checks the field values on Extrapolator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Extrapolator_InsMultiError, or nil if none found.

type Extrapolator_InsMultiError added in v1.2.0

type Extrapolator_InsMultiError []error

Extrapolator_InsMultiError is an error wrapping multiple validation errors returned by Extrapolator_Ins.ValidateAll() if the designated constraints aren't met.

func (Extrapolator_InsMultiError) AllErrors added in v1.2.0

func (m Extrapolator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Extrapolator_InsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type Extrapolator_InsValidationError added in v1.2.0

type Extrapolator_InsValidationError struct {
	// contains filtered or unexported fields
}

Extrapolator_InsValidationError is the validation error returned by Extrapolator_Ins.Validate if the designated constraints aren't met.

func (Extrapolator_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Extrapolator_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Extrapolator_InsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (Extrapolator_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (Extrapolator_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (Extrapolator_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Extrapolator_Outs

type Extrapolator_Outs struct {

	// Extrapolated signal.
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the Extrapolator component.

func (*Extrapolator_Outs) DeepCopy added in v0.1.2

func (in *Extrapolator_Outs) DeepCopy() *Extrapolator_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extrapolator_Outs. Required by controller-gen.

func (*Extrapolator_Outs) DeepCopyInterface added in v0.1.2

func (in *Extrapolator_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Extrapolator_Outs. Required by controller-gen.

func (*Extrapolator_Outs) DeepCopyInto added in v0.1.2

func (in *Extrapolator_Outs) DeepCopyInto(out *Extrapolator_Outs)

DeepCopyInto supports using Extrapolator_Outs within kubernetes types, where deepcopy-gen is used.

func (*Extrapolator_Outs) Descriptor deprecated

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

Deprecated: Use Extrapolator_Outs.ProtoReflect.Descriptor instead.

func (*Extrapolator_Outs) GetOutput

func (x *Extrapolator_Outs) GetOutput() *OutPort

func (*Extrapolator_Outs) MarshalJSON

func (msg *Extrapolator_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Extrapolator_Outs) ProtoMessage

func (*Extrapolator_Outs) ProtoMessage()

func (*Extrapolator_Outs) ProtoReflect

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

func (*Extrapolator_Outs) Reset

func (x *Extrapolator_Outs) Reset()

func (*Extrapolator_Outs) String

func (x *Extrapolator_Outs) String() string

func (*Extrapolator_Outs) UnmarshalJSON

func (msg *Extrapolator_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Extrapolator_Outs) Validate added in v1.2.0

func (m *Extrapolator_Outs) Validate() error

Validate checks the field values on Extrapolator_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Extrapolator_Outs) ValidateAll added in v1.2.0

func (m *Extrapolator_Outs) ValidateAll() error

ValidateAll checks the field values on Extrapolator_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Extrapolator_OutsMultiError, or nil if none found.

type Extrapolator_OutsMultiError added in v1.2.0

type Extrapolator_OutsMultiError []error

Extrapolator_OutsMultiError is an error wrapping multiple validation errors returned by Extrapolator_Outs.ValidateAll() if the designated constraints aren't met.

func (Extrapolator_OutsMultiError) AllErrors added in v1.2.0

func (m Extrapolator_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Extrapolator_OutsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type Extrapolator_OutsValidationError added in v1.2.0

type Extrapolator_OutsValidationError struct {
	// contains filtered or unexported fields
}

Extrapolator_OutsValidationError is the validation error returned by Extrapolator_Outs.Validate if the designated constraints aren't met.

func (Extrapolator_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Extrapolator_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Extrapolator_OutsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (Extrapolator_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (Extrapolator_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (Extrapolator_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Extrapolator_Parameters added in v0.21.0

type Extrapolator_Parameters struct {

	// Maximum time interval to repeat the last valid value of input signal.
	MaxExtrapolationInterval *durationpb.Duration `` // @gotags: validate:"required"
	/* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Parameters for the Extrapolator component.

func (*Extrapolator_Parameters) DeepCopy added in v0.21.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extrapolator_Parameters. Required by controller-gen.

func (*Extrapolator_Parameters) DeepCopyInterface added in v0.21.0

func (in *Extrapolator_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Extrapolator_Parameters. Required by controller-gen.

func (*Extrapolator_Parameters) DeepCopyInto added in v0.21.0

func (in *Extrapolator_Parameters) DeepCopyInto(out *Extrapolator_Parameters)

DeepCopyInto supports using Extrapolator_Parameters within kubernetes types, where deepcopy-gen is used.

func (*Extrapolator_Parameters) Descriptor deprecated added in v0.21.0

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

Deprecated: Use Extrapolator_Parameters.ProtoReflect.Descriptor instead.

func (*Extrapolator_Parameters) GetMaxExtrapolationInterval added in v0.21.0

func (x *Extrapolator_Parameters) GetMaxExtrapolationInterval() *durationpb.Duration

func (*Extrapolator_Parameters) MarshalJSON added in v0.21.0

func (msg *Extrapolator_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Extrapolator_Parameters) ProtoMessage added in v0.21.0

func (*Extrapolator_Parameters) ProtoMessage()

func (*Extrapolator_Parameters) ProtoReflect added in v0.21.0

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

func (*Extrapolator_Parameters) Reset added in v0.21.0

func (x *Extrapolator_Parameters) Reset()

func (*Extrapolator_Parameters) String added in v0.21.0

func (x *Extrapolator_Parameters) String() string

func (*Extrapolator_Parameters) UnmarshalJSON added in v0.21.0

func (msg *Extrapolator_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Extrapolator_Parameters) Validate added in v1.2.0

func (m *Extrapolator_Parameters) Validate() error

Validate checks the field values on Extrapolator_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Extrapolator_Parameters) ValidateAll added in v1.2.0

func (m *Extrapolator_Parameters) ValidateAll() error

ValidateAll checks the field values on Extrapolator_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Extrapolator_ParametersMultiError, or nil if none found.

type Extrapolator_ParametersMultiError added in v1.2.0

type Extrapolator_ParametersMultiError []error

Extrapolator_ParametersMultiError is an error wrapping multiple validation errors returned by Extrapolator_Parameters.ValidateAll() if the designated constraints aren't met.

func (Extrapolator_ParametersMultiError) AllErrors added in v1.2.0

func (m Extrapolator_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Extrapolator_ParametersMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type Extrapolator_ParametersValidationError added in v1.2.0

type Extrapolator_ParametersValidationError struct {
	// contains filtered or unexported fields
}

Extrapolator_ParametersValidationError is the validation error returned by Extrapolator_Parameters.Validate if the designated constraints aren't met.

func (Extrapolator_ParametersValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Extrapolator_ParametersValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Extrapolator_ParametersValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (Extrapolator_ParametersValidationError) Field added in v1.2.0

Field function returns field value.

func (Extrapolator_ParametersValidationError) Key added in v1.2.0

Key function returns key value.

func (Extrapolator_ParametersValidationError) Reason added in v1.2.0

Reason function returns reason value.

type FirstValid added in v0.5.1

type FirstValid struct {

	// Input ports for the FirstValid component.
	InPorts *FirstValid_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the FirstValid component.
	OutPorts *FirstValid_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

Picks the first valid input signal from the array of input signals and emits it as an output signal

func (*FirstValid) DeepCopy added in v0.5.1

func (in *FirstValid) DeepCopy() *FirstValid

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirstValid. Required by controller-gen.

func (*FirstValid) DeepCopyInterface added in v0.5.1

func (in *FirstValid) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FirstValid. Required by controller-gen.

func (*FirstValid) DeepCopyInto added in v0.5.1

func (in *FirstValid) DeepCopyInto(out *FirstValid)

DeepCopyInto supports using FirstValid within kubernetes types, where deepcopy-gen is used.

func (*FirstValid) Descriptor deprecated added in v0.5.1

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

Deprecated: Use FirstValid.ProtoReflect.Descriptor instead.

func (*FirstValid) GetInPorts added in v0.5.1

func (x *FirstValid) GetInPorts() *FirstValid_Ins

func (*FirstValid) GetOutPorts added in v0.5.1

func (x *FirstValid) GetOutPorts() *FirstValid_Outs

func (*FirstValid) MarshalJSON added in v0.5.1

func (msg *FirstValid) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FirstValid) ProtoMessage added in v0.5.1

func (*FirstValid) ProtoMessage()

func (*FirstValid) ProtoReflect added in v0.5.1

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

func (*FirstValid) Reset added in v0.5.1

func (x *FirstValid) Reset()

func (*FirstValid) String added in v0.5.1

func (x *FirstValid) String() string

func (*FirstValid) UnmarshalJSON added in v0.5.1

func (msg *FirstValid) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FirstValid) Validate added in v1.2.0

func (m *FirstValid) Validate() error

Validate checks the field values on FirstValid with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FirstValid) ValidateAll added in v1.2.0

func (m *FirstValid) ValidateAll() error

ValidateAll checks the field values on FirstValid with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FirstValidMultiError, or nil if none found.

type FirstValidMultiError added in v1.2.0

type FirstValidMultiError []error

FirstValidMultiError is an error wrapping multiple validation errors returned by FirstValid.ValidateAll() if the designated constraints aren't met.

func (FirstValidMultiError) AllErrors added in v1.2.0

func (m FirstValidMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FirstValidMultiError) Error added in v1.2.0

func (m FirstValidMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FirstValidValidationError added in v1.2.0

type FirstValidValidationError struct {
	// contains filtered or unexported fields
}

FirstValidValidationError is the validation error returned by FirstValid.Validate if the designated constraints aren't met.

func (FirstValidValidationError) Cause added in v1.2.0

func (e FirstValidValidationError) Cause() error

Cause function returns cause value.

func (FirstValidValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (FirstValidValidationError) ErrorName added in v1.2.0

func (e FirstValidValidationError) ErrorName() string

ErrorName returns error name.

func (FirstValidValidationError) Field added in v1.2.0

Field function returns field value.

func (FirstValidValidationError) Key added in v1.2.0

Key function returns key value.

func (FirstValidValidationError) Reason added in v1.2.0

func (e FirstValidValidationError) Reason() string

Reason function returns reason value.

type FirstValid_Ins added in v0.5.1

type FirstValid_Ins struct {

	// Array of input signals.
	Inputs []*InPort `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty" validate:"dive"` // @gotags: validate:"dive"
	// contains filtered or unexported fields
}

Inputs for the FirstValid component.

func (*FirstValid_Ins) DeepCopy added in v0.5.1

func (in *FirstValid_Ins) DeepCopy() *FirstValid_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirstValid_Ins. Required by controller-gen.

func (*FirstValid_Ins) DeepCopyInterface added in v0.5.1

func (in *FirstValid_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FirstValid_Ins. Required by controller-gen.

func (*FirstValid_Ins) DeepCopyInto added in v0.5.1

func (in *FirstValid_Ins) DeepCopyInto(out *FirstValid_Ins)

DeepCopyInto supports using FirstValid_Ins within kubernetes types, where deepcopy-gen is used.

func (*FirstValid_Ins) Descriptor deprecated added in v0.5.1

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

Deprecated: Use FirstValid_Ins.ProtoReflect.Descriptor instead.

func (*FirstValid_Ins) GetInputs added in v0.5.1

func (x *FirstValid_Ins) GetInputs() []*InPort

func (*FirstValid_Ins) MarshalJSON added in v0.5.1

func (msg *FirstValid_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FirstValid_Ins) ProtoMessage added in v0.5.1

func (*FirstValid_Ins) ProtoMessage()

func (*FirstValid_Ins) ProtoReflect added in v0.5.1

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

func (*FirstValid_Ins) Reset added in v0.5.1

func (x *FirstValid_Ins) Reset()

func (*FirstValid_Ins) String added in v0.5.1

func (x *FirstValid_Ins) String() string

func (*FirstValid_Ins) UnmarshalJSON added in v0.5.1

func (msg *FirstValid_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FirstValid_Ins) Validate added in v1.2.0

func (m *FirstValid_Ins) Validate() error

Validate checks the field values on FirstValid_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FirstValid_Ins) ValidateAll added in v1.2.0

func (m *FirstValid_Ins) ValidateAll() error

ValidateAll checks the field values on FirstValid_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FirstValid_InsMultiError, or nil if none found.

type FirstValid_InsMultiError added in v1.2.0

type FirstValid_InsMultiError []error

FirstValid_InsMultiError is an error wrapping multiple validation errors returned by FirstValid_Ins.ValidateAll() if the designated constraints aren't met.

func (FirstValid_InsMultiError) AllErrors added in v1.2.0

func (m FirstValid_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FirstValid_InsMultiError) Error added in v1.2.0

func (m FirstValid_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FirstValid_InsValidationError added in v1.2.0

type FirstValid_InsValidationError struct {
	// contains filtered or unexported fields
}

FirstValid_InsValidationError is the validation error returned by FirstValid_Ins.Validate if the designated constraints aren't met.

func (FirstValid_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (FirstValid_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (FirstValid_InsValidationError) ErrorName added in v1.2.0

func (e FirstValid_InsValidationError) ErrorName() string

ErrorName returns error name.

func (FirstValid_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (FirstValid_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (FirstValid_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type FirstValid_Outs added in v0.5.1

type FirstValid_Outs struct {

	// First valid input signal as an output signal.
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the FirstValid component.

func (*FirstValid_Outs) DeepCopy added in v0.5.1

func (in *FirstValid_Outs) DeepCopy() *FirstValid_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirstValid_Outs. Required by controller-gen.

func (*FirstValid_Outs) DeepCopyInterface added in v0.5.1

func (in *FirstValid_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FirstValid_Outs. Required by controller-gen.

func (*FirstValid_Outs) DeepCopyInto added in v0.5.1

func (in *FirstValid_Outs) DeepCopyInto(out *FirstValid_Outs)

DeepCopyInto supports using FirstValid_Outs within kubernetes types, where deepcopy-gen is used.

func (*FirstValid_Outs) Descriptor deprecated added in v0.5.1

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

Deprecated: Use FirstValid_Outs.ProtoReflect.Descriptor instead.

func (*FirstValid_Outs) GetOutput added in v0.5.1

func (x *FirstValid_Outs) GetOutput() *OutPort

func (*FirstValid_Outs) MarshalJSON added in v0.5.1

func (msg *FirstValid_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FirstValid_Outs) ProtoMessage added in v0.5.1

func (*FirstValid_Outs) ProtoMessage()

func (*FirstValid_Outs) ProtoReflect added in v0.5.1

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

func (*FirstValid_Outs) Reset added in v0.5.1

func (x *FirstValid_Outs) Reset()

func (*FirstValid_Outs) String added in v0.5.1

func (x *FirstValid_Outs) String() string

func (*FirstValid_Outs) UnmarshalJSON added in v0.5.1

func (msg *FirstValid_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FirstValid_Outs) Validate added in v1.2.0

func (m *FirstValid_Outs) Validate() error

Validate checks the field values on FirstValid_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FirstValid_Outs) ValidateAll added in v1.2.0

func (m *FirstValid_Outs) ValidateAll() error

ValidateAll checks the field values on FirstValid_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FirstValid_OutsMultiError, or nil if none found.

type FirstValid_OutsMultiError added in v1.2.0

type FirstValid_OutsMultiError []error

FirstValid_OutsMultiError is an error wrapping multiple validation errors returned by FirstValid_Outs.ValidateAll() if the designated constraints aren't met.

func (FirstValid_OutsMultiError) AllErrors added in v1.2.0

func (m FirstValid_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FirstValid_OutsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type FirstValid_OutsValidationError added in v1.2.0

type FirstValid_OutsValidationError struct {
	// contains filtered or unexported fields
}

FirstValid_OutsValidationError is the validation error returned by FirstValid_Outs.Validate if the designated constraints aren't met.

func (FirstValid_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (FirstValid_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (FirstValid_OutsValidationError) ErrorName added in v1.2.0

func (e FirstValid_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (FirstValid_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (FirstValid_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (FirstValid_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type FlowControl added in v0.21.0

type FlowControl struct {

	// Types that are assignable to Component:
	//
	//	*FlowControl_RateLimiter
	//	*FlowControl_ConcurrencyLimiter
	//	*FlowControl_AimdConcurrencyController
	//	*FlowControl_FlowRegulator
	//	*FlowControl_LoadShaper
	//	*FlowControl_LoadShaperSeries
	//	*FlowControl_LoadScheduler
	//	*FlowControl_AdaptiveLoadScheduler
	//	*FlowControl_Regulator
	//	*FlowControl_LoadRamp
	//	*FlowControl_LoadRampSeries
	Component isFlowControl_Component `protobuf_oneof:"component"`
	// contains filtered or unexported fields
}

_Flow Control_ encompasses components that manage the flow of requests or access to features within a service.

func (*FlowControl) DeepCopy added in v0.21.0

func (in *FlowControl) DeepCopy() *FlowControl

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowControl. Required by controller-gen.

func (*FlowControl) DeepCopyInterface added in v0.21.0

func (in *FlowControl) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FlowControl. Required by controller-gen.

func (*FlowControl) DeepCopyInto added in v0.21.0

func (in *FlowControl) DeepCopyInto(out *FlowControl)

DeepCopyInto supports using FlowControl within kubernetes types, where deepcopy-gen is used.

func (*FlowControl) Descriptor deprecated added in v0.21.0

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

Deprecated: Use FlowControl.ProtoReflect.Descriptor instead.

func (*FlowControl) GetAdaptiveLoadScheduler added in v1.6.0

func (x *FlowControl) GetAdaptiveLoadScheduler() *AdaptiveLoadScheduler

func (*FlowControl) GetAimdConcurrencyController added in v0.21.0

func (x *FlowControl) GetAimdConcurrencyController() *AIMDConcurrencyController

func (*FlowControl) GetComponent added in v0.21.0

func (m *FlowControl) GetComponent() isFlowControl_Component

func (*FlowControl) GetConcurrencyLimiter added in v0.21.0

func (x *FlowControl) GetConcurrencyLimiter() *ConcurrencyLimiter

func (*FlowControl) GetFlowRegulator added in v1.4.0

func (x *FlowControl) GetFlowRegulator() *FlowRegulator

func (*FlowControl) GetLoadRamp added in v1.6.0

func (x *FlowControl) GetLoadRamp() *LoadRamp

func (*FlowControl) GetLoadRampSeries added in v1.6.0

func (x *FlowControl) GetLoadRampSeries() *LoadRampSeries

func (*FlowControl) GetLoadScheduler added in v1.6.0

func (x *FlowControl) GetLoadScheduler() *LoadScheduler

func (*FlowControl) GetLoadShaper added in v1.4.0

func (x *FlowControl) GetLoadShaper() *LoadShaper

func (*FlowControl) GetLoadShaperSeries added in v1.4.0

func (x *FlowControl) GetLoadShaperSeries() *LoadShaperSeries

func (*FlowControl) GetRateLimiter added in v0.21.0

func (x *FlowControl) GetRateLimiter() *RateLimiter

func (*FlowControl) GetRegulator added in v1.6.0

func (x *FlowControl) GetRegulator() *Regulator

func (*FlowControl) MarshalJSON added in v0.21.0

func (msg *FlowControl) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FlowControl) ProtoMessage added in v0.21.0

func (*FlowControl) ProtoMessage()

func (*FlowControl) ProtoReflect added in v0.21.0

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

func (*FlowControl) Reset added in v0.21.0

func (x *FlowControl) Reset()

func (*FlowControl) String added in v0.21.0

func (x *FlowControl) String() string

func (*FlowControl) UnmarshalJSON added in v0.21.0

func (msg *FlowControl) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FlowControl) Validate added in v1.2.0

func (m *FlowControl) Validate() error

Validate checks the field values on FlowControl with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FlowControl) ValidateAll added in v1.2.0

func (m *FlowControl) ValidateAll() error

ValidateAll checks the field values on FlowControl with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FlowControlMultiError, or nil if none found.

type FlowControlMultiError added in v1.2.0

type FlowControlMultiError []error

FlowControlMultiError is an error wrapping multiple validation errors returned by FlowControl.ValidateAll() if the designated constraints aren't met.

func (FlowControlMultiError) AllErrors added in v1.2.0

func (m FlowControlMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FlowControlMultiError) Error added in v1.2.0

func (m FlowControlMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FlowControlResources added in v1.2.0

type FlowControlResources struct {

	// Flux Meters are installed in the data-plane and form the observability leg of the feedback loop.
	//
	// Flux Meter created metrics can be consumed as input to the circuit through the PromQL component.
	FluxMeters map[string]*FluxMeter `` // @gotags: validate:"dive"
	/* 195-byte string literal not displayed */
	// Classifiers are installed in the data-plane and are used to label the requests based on payload content.
	//
	// The flow labels created by Classifiers can be matched by Flux Meters to create metrics for control purposes.
	Classifiers []*Classifier `protobuf:"bytes,2,rep,name=classifiers,proto3" json:"classifiers,omitempty" validate:"dive"` // @gotags: validate:"dive"
	// contains filtered or unexported fields
}

FlowControl Resources

func (*FlowControlResources) DeepCopy added in v1.2.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowControlResources. Required by controller-gen.

func (*FlowControlResources) DeepCopyInterface added in v1.2.0

func (in *FlowControlResources) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FlowControlResources. Required by controller-gen.

func (*FlowControlResources) DeepCopyInto added in v1.2.0

func (in *FlowControlResources) DeepCopyInto(out *FlowControlResources)

DeepCopyInto supports using FlowControlResources within kubernetes types, where deepcopy-gen is used.

func (*FlowControlResources) Descriptor deprecated added in v1.2.0

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

Deprecated: Use FlowControlResources.ProtoReflect.Descriptor instead.

func (*FlowControlResources) GetClassifiers added in v1.2.0

func (x *FlowControlResources) GetClassifiers() []*Classifier

func (*FlowControlResources) GetFluxMeters added in v1.2.0

func (x *FlowControlResources) GetFluxMeters() map[string]*FluxMeter

func (*FlowControlResources) MarshalJSON added in v1.2.0

func (msg *FlowControlResources) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FlowControlResources) ProtoMessage added in v1.2.0

func (*FlowControlResources) ProtoMessage()

func (*FlowControlResources) ProtoReflect added in v1.2.0

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

func (*FlowControlResources) Reset added in v1.2.0

func (x *FlowControlResources) Reset()

func (*FlowControlResources) String added in v1.2.0

func (x *FlowControlResources) String() string

func (*FlowControlResources) UnmarshalJSON added in v1.2.0

func (msg *FlowControlResources) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FlowControlResources) Validate added in v1.2.0

func (m *FlowControlResources) Validate() error

Validate checks the field values on FlowControlResources with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FlowControlResources) ValidateAll added in v1.2.0

func (m *FlowControlResources) ValidateAll() error

ValidateAll checks the field values on FlowControlResources with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FlowControlResourcesMultiError, or nil if none found.

type FlowControlResourcesMultiError added in v1.2.0

type FlowControlResourcesMultiError []error

FlowControlResourcesMultiError is an error wrapping multiple validation errors returned by FlowControlResources.ValidateAll() if the designated constraints aren't met.

func (FlowControlResourcesMultiError) AllErrors added in v1.2.0

func (m FlowControlResourcesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FlowControlResourcesMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type FlowControlResourcesValidationError added in v1.2.0

type FlowControlResourcesValidationError struct {
	// contains filtered or unexported fields
}

FlowControlResourcesValidationError is the validation error returned by FlowControlResources.Validate if the designated constraints aren't met.

func (FlowControlResourcesValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (FlowControlResourcesValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (FlowControlResourcesValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (FlowControlResourcesValidationError) Field added in v1.2.0

Field function returns field value.

func (FlowControlResourcesValidationError) Key added in v1.2.0

Key function returns key value.

func (FlowControlResourcesValidationError) Reason added in v1.2.0

Reason function returns reason value.

type FlowControlValidationError added in v1.2.0

type FlowControlValidationError struct {
	// contains filtered or unexported fields
}

FlowControlValidationError is the validation error returned by FlowControl.Validate if the designated constraints aren't met.

func (FlowControlValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (FlowControlValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (FlowControlValidationError) ErrorName added in v1.2.0

func (e FlowControlValidationError) ErrorName() string

ErrorName returns error name.

func (FlowControlValidationError) Field added in v1.2.0

Field function returns field value.

func (FlowControlValidationError) Key added in v1.2.0

Key function returns key value.

func (FlowControlValidationError) Reason added in v1.2.0

Reason function returns reason value.

type FlowControl_AdaptiveLoadScheduler added in v1.6.0

type FlowControl_AdaptiveLoadScheduler struct {
	// _Adaptive Load Scheduler_ component is based on additive increase and multiplicative decrease of token rate. It takes a signal and setpoint as inputs and reduces token rate proportionally (or any arbitrary power) based on deviation of the signal from setpoint.
	AdaptiveLoadScheduler *AdaptiveLoadScheduler `protobuf:"bytes,8,opt,name=adaptive_load_scheduler,json=adaptiveLoadScheduler,proto3,oneof"`
}

type FlowControl_AimdConcurrencyController added in v0.21.0

type FlowControl_AimdConcurrencyController struct {
	// AIMD Concurrency control component is based on Additive Increase and Multiplicative Decrease of Concurrency. It takes a signal and setpoint as inputs and reduces concurrency limits proportionally (or any arbitrary power) based on deviation of the signal from setpoint. Internally implemented as a nested circuit.
	// Deprecated: 1.6.0
	AimdConcurrencyController *AIMDConcurrencyController `protobuf:"bytes,3,opt,name=aimd_concurrency_controller,json=aimdConcurrencyController,proto3,oneof"`
}

type FlowControl_ConcurrencyLimiter added in v0.21.0

type FlowControl_ConcurrencyLimiter struct {
	// _Concurrency Limiter_ provides service protection by applying prioritized load shedding of flows using a network scheduler (for example, Weighted Fair Queuing).
	// Deprecated: 1.6.0
	ConcurrencyLimiter *ConcurrencyLimiter `protobuf:"bytes,2,opt,name=concurrency_limiter,json=concurrencyLimiter,proto3,oneof"`
}

type FlowControl_FlowRegulator added in v1.4.0

type FlowControl_FlowRegulator struct {
	// Flow Regulator is a component that regulates the flow of requests to the service by allowing only the specified percentage of requests or sticky sessions.
	// Deprecated: 1.6.0
	FlowRegulator *FlowRegulator `protobuf:"bytes,4,opt,name=flow_regulator,json=flowRegulator,proto3,oneof"`
}

type FlowControl_LoadRamp added in v1.6.0

type FlowControl_LoadRamp struct {
	// _Load Ramp_ smoothly regulates the flow of requests over specified steps.
	LoadRamp *LoadRamp `protobuf:"bytes,10,opt,name=load_ramp,json=loadRamp,proto3,oneof"`
}

type FlowControl_LoadRampSeries added in v1.6.0

type FlowControl_LoadRampSeries struct {
	// _Load Ramp Series_ is a series of _Load Ramp_ components that can shape load one after another at same or different _Control Points_.
	LoadRampSeries *LoadRampSeries `protobuf:"bytes,11,opt,name=load_ramp_series,json=loadRampSeries,proto3,oneof"`
}

type FlowControl_LoadScheduler added in v1.6.0

type FlowControl_LoadScheduler struct {
	// _Load Scheduler_ provides service protection by applying prioritized load shedding of flows using a network scheduler (for example, Weighted Fair Queuing).
	LoadScheduler *LoadScheduler `protobuf:"bytes,7,opt,name=load_scheduler,json=loadScheduler,proto3,oneof"`
}

type FlowControl_LoadShaper added in v1.4.0

type FlowControl_LoadShaper struct {
	// _Load Shaper_ is a component that shapes the load at a _Control Point_.
	// Deprecated: 1.6.0
	LoadShaper *LoadShaper `protobuf:"bytes,5,opt,name=load_shaper,json=loadShaper,proto3,oneof"`
}

type FlowControl_LoadShaperSeries added in v1.4.0

type FlowControl_LoadShaperSeries struct {
	// _Load Shaper Series_ is a series of _Load Shaper_ components that can shape load one after another at same or different _Control Points_.
	// Deprecated: 1.6.0
	LoadShaperSeries *LoadShaperSeries `protobuf:"bytes,6,opt,name=load_shaper_series,json=loadShaperSeries,proto3,oneof"`
}

type FlowControl_RateLimiter added in v0.21.0

type FlowControl_RateLimiter struct {
	// _Rate Limiter_ provides service protection by applying rate limits.
	RateLimiter *RateLimiter `protobuf:"bytes,1,opt,name=rate_limiter,json=rateLimiter,proto3,oneof"`
}

type FlowControl_Regulator added in v1.6.0

type FlowControl_Regulator struct {
	// Regulator is a component that regulates the flow of requests to the service by allowing only the specified percentage of requests or sticky sessions.
	Regulator *Regulator `protobuf:"bytes,9,opt,name=regulator,proto3,oneof"`
}

type FlowMatcher added in v0.15.0

type FlowMatcher struct {

	// [Control Point](/concepts/flow-control/selector.md#control-point)
	// identifies the location of a Flow within a Service. For an SDK based insertion, a Control Point can represent a particular feature or execution
	// block within a Service. In case of Service Mesh or Middleware insertion, a Control Point can identify ingress or egress calls or distinct listeners
	// or filter chains.
	ControlPoint string `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](#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 does not apply to selectors of other entities, like
	// Flux Meters 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 *LabelMatcher `protobuf:"bytes,2,opt,name=label_matcher,json=labelMatcher,proto3" json:"label_matcher,omitempty"`
	// contains filtered or unexported fields
}

Describes which flows a [flow control component](/concepts/flow-control/flow-control.md#components) should apply to

:::info

See also [FlowSelector overview](/concepts/flow-control/selector.md).

::: Example: ```yaml control_point: ingress label_matcher:

match_labels:
  user_tier: gold
match_expressions:
  - key: query
    operator: In
    values:
      - insert
      - delete
expression:
  label_matches:
      - label: user_agent
        regex: ^(?!.*Chrome).*Safari

```

Deprecated 1.8.0: Use `selectors` instead.

func (*FlowMatcher) DeepCopy added in v0.15.0

func (in *FlowMatcher) DeepCopy() *FlowMatcher

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowMatcher. Required by controller-gen.

func (*FlowMatcher) DeepCopyInterface added in v0.15.0

func (in *FlowMatcher) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FlowMatcher. Required by controller-gen.

func (*FlowMatcher) DeepCopyInto added in v0.15.0

func (in *FlowMatcher) DeepCopyInto(out *FlowMatcher)

DeepCopyInto supports using FlowMatcher within kubernetes types, where deepcopy-gen is used.

func (*FlowMatcher) Descriptor deprecated added in v0.15.0

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

Deprecated: Use FlowMatcher.ProtoReflect.Descriptor instead.

func (*FlowMatcher) GetControlPoint added in v0.15.0

func (x *FlowMatcher) GetControlPoint() string

func (*FlowMatcher) GetLabelMatcher added in v0.15.0

func (x *FlowMatcher) GetLabelMatcher() *LabelMatcher

func (*FlowMatcher) MarshalJSON added in v0.15.0

func (msg *FlowMatcher) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FlowMatcher) ProtoMessage added in v0.15.0

func (*FlowMatcher) ProtoMessage()

func (*FlowMatcher) ProtoReflect added in v0.15.0

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

func (*FlowMatcher) Reset added in v0.15.0

func (x *FlowMatcher) Reset()

func (*FlowMatcher) String added in v0.15.0

func (x *FlowMatcher) String() string

func (*FlowMatcher) UnmarshalJSON added in v0.15.0

func (msg *FlowMatcher) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FlowMatcher) Validate added in v1.2.0

func (m *FlowMatcher) Validate() error

Validate checks the field values on FlowMatcher with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FlowMatcher) ValidateAll added in v1.2.0

func (m *FlowMatcher) ValidateAll() error

ValidateAll checks the field values on FlowMatcher with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FlowMatcherMultiError, or nil if none found.

type FlowMatcherMultiError added in v1.2.0

type FlowMatcherMultiError []error

FlowMatcherMultiError is an error wrapping multiple validation errors returned by FlowMatcher.ValidateAll() if the designated constraints aren't met.

func (FlowMatcherMultiError) AllErrors added in v1.2.0

func (m FlowMatcherMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FlowMatcherMultiError) Error added in v1.2.0

func (m FlowMatcherMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FlowMatcherValidationError added in v1.2.0

type FlowMatcherValidationError struct {
	// contains filtered or unexported fields
}

FlowMatcherValidationError is the validation error returned by FlowMatcher.Validate if the designated constraints aren't met.

func (FlowMatcherValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (FlowMatcherValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (FlowMatcherValidationError) ErrorName added in v1.2.0

func (e FlowMatcherValidationError) ErrorName() string

ErrorName returns error name.

func (FlowMatcherValidationError) Field added in v1.2.0

Field function returns field value.

func (FlowMatcherValidationError) Key added in v1.2.0

Key function returns key value.

func (FlowMatcherValidationError) Reason added in v1.2.0

Reason function returns reason value.

type FlowRegulator added in v1.4.0

type FlowRegulator struct {

	// Input ports for the _Flow Regulator_.
	InPorts *FlowRegulator_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Parameters for the _Flow Regulator_.
	Parameters *FlowRegulator_Parameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// Configuration key for DynamicConfig.
	DynamicConfigKey string `protobuf:"bytes,3,opt,name=dynamic_config_key,json=dynamicConfigKey,proto3" json:"dynamic_config_key,omitempty"`
	// Default configuration.
	DefaultConfig *FlowRegulator_DynamicConfig `protobuf:"bytes,4,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// contains filtered or unexported fields
}

_Flow Regulator_ is a component that regulates the flow of requests to the service by allowing only the specified percentage of requests or sticky sessions.

func (*FlowRegulator) DeepCopy added in v1.4.0

func (in *FlowRegulator) DeepCopy() *FlowRegulator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowRegulator. Required by controller-gen.

func (*FlowRegulator) DeepCopyInterface added in v1.4.0

func (in *FlowRegulator) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FlowRegulator. Required by controller-gen.

func (*FlowRegulator) DeepCopyInto added in v1.4.0

func (in *FlowRegulator) DeepCopyInto(out *FlowRegulator)

DeepCopyInto supports using FlowRegulator within kubernetes types, where deepcopy-gen is used.

func (*FlowRegulator) Descriptor deprecated added in v1.4.0

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

Deprecated: Use FlowRegulator.ProtoReflect.Descriptor instead.

func (*FlowRegulator) GetDefaultConfig added in v1.4.0

func (x *FlowRegulator) GetDefaultConfig() *FlowRegulator_DynamicConfig

func (*FlowRegulator) GetDynamicConfigKey added in v1.4.0

func (x *FlowRegulator) GetDynamicConfigKey() string

func (*FlowRegulator) GetInPorts added in v1.4.0

func (x *FlowRegulator) GetInPorts() *FlowRegulator_Ins

func (*FlowRegulator) GetParameters added in v1.4.0

func (x *FlowRegulator) GetParameters() *FlowRegulator_Parameters

func (*FlowRegulator) MarshalJSON added in v1.4.0

func (msg *FlowRegulator) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FlowRegulator) ProtoMessage added in v1.4.0

func (*FlowRegulator) ProtoMessage()

func (*FlowRegulator) ProtoReflect added in v1.4.0

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

func (*FlowRegulator) Reset added in v1.4.0

func (x *FlowRegulator) Reset()

func (*FlowRegulator) String added in v1.4.0

func (x *FlowRegulator) String() string

func (*FlowRegulator) UnmarshalJSON added in v1.4.0

func (msg *FlowRegulator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FlowRegulator) Validate added in v1.4.0

func (m *FlowRegulator) Validate() error

Validate checks the field values on FlowRegulator with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FlowRegulator) ValidateAll added in v1.4.0

func (m *FlowRegulator) ValidateAll() error

ValidateAll checks the field values on FlowRegulator with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FlowRegulatorMultiError, or nil if none found.

type FlowRegulatorMultiError added in v1.4.0

type FlowRegulatorMultiError []error

FlowRegulatorMultiError is an error wrapping multiple validation errors returned by FlowRegulator.ValidateAll() if the designated constraints aren't met.

func (FlowRegulatorMultiError) AllErrors added in v1.4.0

func (m FlowRegulatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FlowRegulatorMultiError) Error added in v1.4.0

func (m FlowRegulatorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FlowRegulatorValidationError added in v1.4.0

type FlowRegulatorValidationError struct {
	// contains filtered or unexported fields
}

FlowRegulatorValidationError is the validation error returned by FlowRegulator.Validate if the designated constraints aren't met.

func (FlowRegulatorValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (FlowRegulatorValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (FlowRegulatorValidationError) ErrorName added in v1.4.0

func (e FlowRegulatorValidationError) ErrorName() string

ErrorName returns error name.

func (FlowRegulatorValidationError) Field added in v1.4.0

Field function returns field value.

func (FlowRegulatorValidationError) Key added in v1.4.0

Key function returns key value.

func (FlowRegulatorValidationError) Reason added in v1.4.0

Reason function returns reason value.

type FlowRegulator_DynamicConfig added in v1.4.0

type FlowRegulator_DynamicConfig struct {

	// Specify certain label values to be accepted by this flow filter regardless of accept percentage.
	EnableLabelValues []string `protobuf:"bytes,1,rep,name=enable_label_values,json=enableLabelValues,proto3" json:"enable_label_values,omitempty"`
	// contains filtered or unexported fields
}

Dynamic Configuration for _Flow Regulator_

func (*FlowRegulator_DynamicConfig) DeepCopy added in v1.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowRegulator_DynamicConfig. Required by controller-gen.

func (*FlowRegulator_DynamicConfig) DeepCopyInterface added in v1.4.0

func (in *FlowRegulator_DynamicConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FlowRegulator_DynamicConfig. Required by controller-gen.

func (*FlowRegulator_DynamicConfig) DeepCopyInto added in v1.4.0

DeepCopyInto supports using FlowRegulator_DynamicConfig within kubernetes types, where deepcopy-gen is used.

func (*FlowRegulator_DynamicConfig) Descriptor deprecated added in v1.4.0

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

Deprecated: Use FlowRegulator_DynamicConfig.ProtoReflect.Descriptor instead.

func (*FlowRegulator_DynamicConfig) GetEnableLabelValues added in v1.4.0

func (x *FlowRegulator_DynamicConfig) GetEnableLabelValues() []string

func (*FlowRegulator_DynamicConfig) MarshalJSON added in v1.4.0

func (msg *FlowRegulator_DynamicConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FlowRegulator_DynamicConfig) ProtoMessage added in v1.4.0

func (*FlowRegulator_DynamicConfig) ProtoMessage()

func (*FlowRegulator_DynamicConfig) ProtoReflect added in v1.4.0

func (*FlowRegulator_DynamicConfig) Reset added in v1.4.0

func (x *FlowRegulator_DynamicConfig) Reset()

func (*FlowRegulator_DynamicConfig) String added in v1.4.0

func (x *FlowRegulator_DynamicConfig) String() string

func (*FlowRegulator_DynamicConfig) UnmarshalJSON added in v1.4.0

func (msg *FlowRegulator_DynamicConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FlowRegulator_DynamicConfig) Validate added in v1.4.0

func (m *FlowRegulator_DynamicConfig) Validate() error

Validate checks the field values on FlowRegulator_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FlowRegulator_DynamicConfig) ValidateAll added in v1.4.0

func (m *FlowRegulator_DynamicConfig) ValidateAll() error

ValidateAll checks the field values on FlowRegulator_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FlowRegulator_DynamicConfigMultiError, or nil if none found.

type FlowRegulator_DynamicConfigMultiError added in v1.4.0

type FlowRegulator_DynamicConfigMultiError []error

FlowRegulator_DynamicConfigMultiError is an error wrapping multiple validation errors returned by FlowRegulator_DynamicConfig.ValidateAll() if the designated constraints aren't met.

func (FlowRegulator_DynamicConfigMultiError) AllErrors added in v1.4.0

AllErrors returns a list of validation violation errors.

func (FlowRegulator_DynamicConfigMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type FlowRegulator_DynamicConfigValidationError added in v1.4.0

type FlowRegulator_DynamicConfigValidationError struct {
	// contains filtered or unexported fields
}

FlowRegulator_DynamicConfigValidationError is the validation error returned by FlowRegulator_DynamicConfig.Validate if the designated constraints aren't met.

func (FlowRegulator_DynamicConfigValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (FlowRegulator_DynamicConfigValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (FlowRegulator_DynamicConfigValidationError) ErrorName added in v1.4.0

ErrorName returns error name.

func (FlowRegulator_DynamicConfigValidationError) Field added in v1.4.0

Field function returns field value.

func (FlowRegulator_DynamicConfigValidationError) Key added in v1.4.0

Key function returns key value.

func (FlowRegulator_DynamicConfigValidationError) Reason added in v1.4.0

Reason function returns reason value.

type FlowRegulator_Ins added in v1.4.0

type FlowRegulator_Ins struct {

	// The percentage of requests to accept.
	AcceptPercentage *InPort `protobuf:"bytes,1,opt,name=accept_percentage,json=acceptPercentage,proto3" json:"accept_percentage,omitempty"`
	// contains filtered or unexported fields
}

func (*FlowRegulator_Ins) DeepCopy added in v1.4.0

func (in *FlowRegulator_Ins) DeepCopy() *FlowRegulator_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowRegulator_Ins. Required by controller-gen.

func (*FlowRegulator_Ins) DeepCopyInterface added in v1.4.0

func (in *FlowRegulator_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FlowRegulator_Ins. Required by controller-gen.

func (*FlowRegulator_Ins) DeepCopyInto added in v1.4.0

func (in *FlowRegulator_Ins) DeepCopyInto(out *FlowRegulator_Ins)

DeepCopyInto supports using FlowRegulator_Ins within kubernetes types, where deepcopy-gen is used.

func (*FlowRegulator_Ins) Descriptor deprecated added in v1.4.0

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

Deprecated: Use FlowRegulator_Ins.ProtoReflect.Descriptor instead.

func (*FlowRegulator_Ins) GetAcceptPercentage added in v1.4.0

func (x *FlowRegulator_Ins) GetAcceptPercentage() *InPort

func (*FlowRegulator_Ins) MarshalJSON added in v1.4.0

func (msg *FlowRegulator_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FlowRegulator_Ins) ProtoMessage added in v1.4.0

func (*FlowRegulator_Ins) ProtoMessage()

func (*FlowRegulator_Ins) ProtoReflect added in v1.4.0

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

func (*FlowRegulator_Ins) Reset added in v1.4.0

func (x *FlowRegulator_Ins) Reset()

func (*FlowRegulator_Ins) String added in v1.4.0

func (x *FlowRegulator_Ins) String() string

func (*FlowRegulator_Ins) UnmarshalJSON added in v1.4.0

func (msg *FlowRegulator_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FlowRegulator_Ins) Validate added in v1.4.0

func (m *FlowRegulator_Ins) Validate() error

Validate checks the field values on FlowRegulator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FlowRegulator_Ins) ValidateAll added in v1.4.0

func (m *FlowRegulator_Ins) ValidateAll() error

ValidateAll checks the field values on FlowRegulator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FlowRegulator_InsMultiError, or nil if none found.

type FlowRegulator_InsMultiError added in v1.4.0

type FlowRegulator_InsMultiError []error

FlowRegulator_InsMultiError is an error wrapping multiple validation errors returned by FlowRegulator_Ins.ValidateAll() if the designated constraints aren't met.

func (FlowRegulator_InsMultiError) AllErrors added in v1.4.0

func (m FlowRegulator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FlowRegulator_InsMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type FlowRegulator_InsValidationError added in v1.4.0

type FlowRegulator_InsValidationError struct {
	// contains filtered or unexported fields
}

FlowRegulator_InsValidationError is the validation error returned by FlowRegulator_Ins.Validate if the designated constraints aren't met.

func (FlowRegulator_InsValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (FlowRegulator_InsValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (FlowRegulator_InsValidationError) ErrorName added in v1.4.0

ErrorName returns error name.

func (FlowRegulator_InsValidationError) Field added in v1.4.0

Field function returns field value.

func (FlowRegulator_InsValidationError) Key added in v1.4.0

Key function returns key value.

func (FlowRegulator_InsValidationError) Reason added in v1.4.0

Reason function returns reason value.

type FlowRegulator_Parameters added in v1.4.0

type FlowRegulator_Parameters struct {

	// _Flow Selector_ selects the _Flows_ at which the _Flow Regulator_ is applied.
	// Deprecated 1.8.0: Use `selectors` instead.
	FlowSelector *FlowSelector `` // @gotags: validate:"required_without=Selectors"
	/* 135-byte string literal not displayed */
	// The flow label key for identifying sessions.
	//   - When label key is specified, _Flow Regulator_ acts as a sticky filter.
	//     The series of flows with the same value of label key get the same
	//     decision provided that the `accept_percentage` is same or higher.
	//   - When label key is not specified, _Flow Regulator_ acts as a stateless filter.
	//     Percentage of flows are selected randomly for rejection.
	LabelKey string `protobuf:"bytes,2,opt,name=label_key,json=labelKey,proto3" json:"label_key,omitempty"`
	// Selectors for the component.
	Selectors []*Selector `protobuf:"bytes,3,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required_without=FlowSelector,dive"` // @gotags: validate:"required_without=FlowSelector,dive"
	// contains filtered or unexported fields
}

func (*FlowRegulator_Parameters) DeepCopy added in v1.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowRegulator_Parameters. Required by controller-gen.

func (*FlowRegulator_Parameters) DeepCopyInterface added in v1.4.0

func (in *FlowRegulator_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FlowRegulator_Parameters. Required by controller-gen.

func (*FlowRegulator_Parameters) DeepCopyInto added in v1.4.0

func (in *FlowRegulator_Parameters) DeepCopyInto(out *FlowRegulator_Parameters)

DeepCopyInto supports using FlowRegulator_Parameters within kubernetes types, where deepcopy-gen is used.

func (*FlowRegulator_Parameters) Descriptor deprecated added in v1.4.0

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

Deprecated: Use FlowRegulator_Parameters.ProtoReflect.Descriptor instead.

func (*FlowRegulator_Parameters) GetFlowSelector added in v1.4.0

func (x *FlowRegulator_Parameters) GetFlowSelector() *FlowSelector

func (*FlowRegulator_Parameters) GetLabelKey added in v1.4.0

func (x *FlowRegulator_Parameters) GetLabelKey() string

func (*FlowRegulator_Parameters) GetSelectors added in v1.6.0

func (x *FlowRegulator_Parameters) GetSelectors() []*Selector

func (*FlowRegulator_Parameters) MarshalJSON added in v1.4.0

func (msg *FlowRegulator_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FlowRegulator_Parameters) ProtoMessage added in v1.4.0

func (*FlowRegulator_Parameters) ProtoMessage()

func (*FlowRegulator_Parameters) ProtoReflect added in v1.4.0

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

func (*FlowRegulator_Parameters) Reset added in v1.4.0

func (x *FlowRegulator_Parameters) Reset()

func (*FlowRegulator_Parameters) String added in v1.4.0

func (x *FlowRegulator_Parameters) String() string

func (*FlowRegulator_Parameters) UnmarshalJSON added in v1.4.0

func (msg *FlowRegulator_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FlowRegulator_Parameters) Validate added in v1.4.0

func (m *FlowRegulator_Parameters) Validate() error

Validate checks the field values on FlowRegulator_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FlowRegulator_Parameters) ValidateAll added in v1.4.0

func (m *FlowRegulator_Parameters) ValidateAll() error

ValidateAll checks the field values on FlowRegulator_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FlowRegulator_ParametersMultiError, or nil if none found.

type FlowRegulator_ParametersMultiError added in v1.4.0

type FlowRegulator_ParametersMultiError []error

FlowRegulator_ParametersMultiError is an error wrapping multiple validation errors returned by FlowRegulator_Parameters.ValidateAll() if the designated constraints aren't met.

func (FlowRegulator_ParametersMultiError) AllErrors added in v1.4.0

func (m FlowRegulator_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FlowRegulator_ParametersMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type FlowRegulator_ParametersValidationError added in v1.4.0

type FlowRegulator_ParametersValidationError struct {
	// contains filtered or unexported fields
}

FlowRegulator_ParametersValidationError is the validation error returned by FlowRegulator_Parameters.Validate if the designated constraints aren't met.

func (FlowRegulator_ParametersValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (FlowRegulator_ParametersValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (FlowRegulator_ParametersValidationError) ErrorName added in v1.4.0

ErrorName returns error name.

func (FlowRegulator_ParametersValidationError) Field added in v1.4.0

Field function returns field value.

func (FlowRegulator_ParametersValidationError) Key added in v1.4.0

Key function returns key value.

func (FlowRegulator_ParametersValidationError) Reason added in v1.4.0

Reason function returns reason value.

type FlowSelector added in v0.8.0

type FlowSelector struct {

	// Match agent group and service
	ServiceSelector *ServiceSelector `` // @gotags: validate:"required"
	/* 126-byte string literal not displayed */
	// Match control points and labels
	FlowMatcher *FlowMatcher `protobuf:"bytes,2,opt,name=flow_matcher,json=flowMatcher,proto3" json:"flow_matcher,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Selects flows based on _Control Point_, flow labels, agent group and service that the [flow control component](/concepts/flow-control/flow-control.md#components) operates on.

:::info

See also [FlowSelector overview](/concepts/flow-control/selector.md).

:::

Deprecated 1.8.0: Use `selectors` instead.

func (*FlowSelector) DeepCopy added in v0.8.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.8.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.8.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.8.0

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

Deprecated: Use FlowSelector.ProtoReflect.Descriptor instead.

func (*FlowSelector) GetFlowMatcher added in v0.15.0

func (x *FlowSelector) GetFlowMatcher() *FlowMatcher

func (*FlowSelector) GetServiceSelector added in v0.15.0

func (x *FlowSelector) GetServiceSelector() *ServiceSelector

func (*FlowSelector) MarshalJSON added in v0.8.0

func (msg *FlowSelector) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FlowSelector) ProtoMessage added in v0.8.0

func (*FlowSelector) ProtoMessage()

func (*FlowSelector) ProtoReflect added in v0.8.0

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

func (*FlowSelector) Reset added in v0.8.0

func (x *FlowSelector) Reset()

func (*FlowSelector) String added in v0.8.0

func (x *FlowSelector) String() string

func (*FlowSelector) UnmarshalJSON added in v0.8.0

func (msg *FlowSelector) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FlowSelector) Validate added in v1.2.0

func (m *FlowSelector) Validate() error

Validate checks the field values on FlowSelector with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FlowSelector) ValidateAll added in v1.2.0

func (m *FlowSelector) ValidateAll() error

ValidateAll checks the field values on FlowSelector with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FlowSelectorMultiError, or nil if none found.

type FlowSelectorMultiError added in v1.2.0

type FlowSelectorMultiError []error

FlowSelectorMultiError is an error wrapping multiple validation errors returned by FlowSelector.ValidateAll() if the designated constraints aren't met.

func (FlowSelectorMultiError) AllErrors added in v1.2.0

func (m FlowSelectorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FlowSelectorMultiError) Error added in v1.2.0

func (m FlowSelectorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FlowSelectorValidationError added in v1.2.0

type FlowSelectorValidationError struct {
	// contains filtered or unexported fields
}

FlowSelectorValidationError is the validation error returned by FlowSelector.Validate if the designated constraints aren't met.

func (FlowSelectorValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (FlowSelectorValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (FlowSelectorValidationError) ErrorName added in v1.2.0

func (e FlowSelectorValidationError) ErrorName() string

ErrorName returns error name.

func (FlowSelectorValidationError) Field added in v1.2.0

Field function returns field value.

func (FlowSelectorValidationError) Key added in v1.2.0

Key function returns key value.

func (FlowSelectorValidationError) Reason added in v1.2.0

Reason function returns reason value.

type FluxMeter

type FluxMeter struct {

	// The selection criteria for the traffic that will be measured.
	// Deprecated 1.8.0: Use `selectors` instead.
	FlowSelector *FlowSelector `` // @gotags: validate:"required_without=Selectors"
	/* 135-byte string literal not displayed */
	// Latency histogram buckets (in ms) for this Flux Meter.
	//
	// Types that are assignable to HistogramBuckets:
	//
	//	*FluxMeter_StaticBuckets_
	//	*FluxMeter_LinearBuckets_
	//	*FluxMeter_ExponentialBuckets_
	//	*FluxMeter_ExponentialBucketsRange_
	HistogramBuckets isFluxMeter_HistogramBuckets `protobuf_oneof:"histogram_buckets"`
	// Key of the attribute in access log or span from which the metric for this flux meter is read.
	//
	// :::info
	//
	// For list of available attributes in Envoy access logs, refer
	// [Envoy Filter](/get-started/integrations/flow-control/envoy/istio.md#envoy-filter)
	//
	// :::
	AttributeKey string `` // @gotags: default:"workload_duration_ms"
	/* 128-byte string literal not displayed */
	// Selectors for the component.
	Selectors []*Selector `protobuf:"bytes,7,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required_without=FlowSelector,dive"` // @gotags: validate:"required_without=FlowSelector,dive"
	// contains filtered or unexported fields
}

Flux Meter gathers metrics for the traffic that matches its selector. The histogram created by Flux Meter measures the workload latency by default.

:::info

See also [Flux Meter overview](/concepts/flow-control/resources/flux-meter.md).

::: Example: ```yaml static_buckets:

buckets: [5.0,10.0,25.0,50.0,100.0,250.0,500.0,1000.0,2500.0,5000.0,10000.0]

flow_selector:

service_selector:
   agent_group: demoapp
   service: service1-demo-app.demoapp.svc.cluster.local
flow_matcher:
   control_point: ingress

attribute_key: response_duration_ms ```

func (*FluxMeter) DeepCopy added in v0.1.2

func (in *FluxMeter) DeepCopy() *FluxMeter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluxMeter. Required by controller-gen.

func (*FluxMeter) DeepCopyInterface added in v0.1.2

func (in *FluxMeter) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FluxMeter. Required by controller-gen.

func (*FluxMeter) DeepCopyInto added in v0.1.2

func (in *FluxMeter) DeepCopyInto(out *FluxMeter)

DeepCopyInto supports using FluxMeter within kubernetes types, where deepcopy-gen is used.

func (*FluxMeter) Descriptor deprecated

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

Deprecated: Use FluxMeter.ProtoReflect.Descriptor instead.

func (*FluxMeter) GetAttributeKey added in v0.1.3

func (x *FluxMeter) GetAttributeKey() string

func (*FluxMeter) GetExponentialBuckets added in v0.3.0

func (x *FluxMeter) GetExponentialBuckets() *FluxMeter_ExponentialBuckets

func (*FluxMeter) GetExponentialBucketsRange added in v0.3.0

func (x *FluxMeter) GetExponentialBucketsRange() *FluxMeter_ExponentialBucketsRange

func (*FluxMeter) GetFlowSelector added in v0.15.0

func (x *FluxMeter) GetFlowSelector() *FlowSelector

func (*FluxMeter) GetHistogramBuckets

func (m *FluxMeter) GetHistogramBuckets() isFluxMeter_HistogramBuckets

func (*FluxMeter) GetLinearBuckets added in v0.3.0

func (x *FluxMeter) GetLinearBuckets() *FluxMeter_LinearBuckets

func (*FluxMeter) GetSelectors added in v1.6.0

func (x *FluxMeter) GetSelectors() []*Selector

func (*FluxMeter) GetStaticBuckets added in v0.3.0

func (x *FluxMeter) GetStaticBuckets() *FluxMeter_StaticBuckets

func (*FluxMeter) MarshalJSON

func (msg *FluxMeter) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FluxMeter) ProtoMessage

func (*FluxMeter) ProtoMessage()

func (*FluxMeter) ProtoReflect

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

func (*FluxMeter) Reset

func (x *FluxMeter) Reset()

func (*FluxMeter) String

func (x *FluxMeter) String() string

func (*FluxMeter) UnmarshalJSON

func (msg *FluxMeter) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FluxMeter) Validate added in v1.2.0

func (m *FluxMeter) Validate() error

Validate checks the field values on FluxMeter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FluxMeter) ValidateAll added in v1.2.0

func (m *FluxMeter) ValidateAll() error

ValidateAll checks the field values on FluxMeter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FluxMeterMultiError, or nil if none found.

type FluxMeterMultiError added in v1.2.0

type FluxMeterMultiError []error

FluxMeterMultiError is an error wrapping multiple validation errors returned by FluxMeter.ValidateAll() if the designated constraints aren't met.

func (FluxMeterMultiError) AllErrors added in v1.2.0

func (m FluxMeterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FluxMeterMultiError) Error added in v1.2.0

func (m FluxMeterMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FluxMeterValidationError added in v1.2.0

type FluxMeterValidationError struct {
	// contains filtered or unexported fields
}

FluxMeterValidationError is the validation error returned by FluxMeter.Validate if the designated constraints aren't met.

func (FluxMeterValidationError) Cause added in v1.2.0

func (e FluxMeterValidationError) Cause() error

Cause function returns cause value.

func (FluxMeterValidationError) Error added in v1.2.0

func (e FluxMeterValidationError) Error() string

Error satisfies the builtin error interface

func (FluxMeterValidationError) ErrorName added in v1.2.0

func (e FluxMeterValidationError) ErrorName() string

ErrorName returns error name.

func (FluxMeterValidationError) Field added in v1.2.0

func (e FluxMeterValidationError) Field() string

Field function returns field value.

func (FluxMeterValidationError) Key added in v1.2.0

Key function returns key value.

func (FluxMeterValidationError) Reason added in v1.2.0

func (e FluxMeterValidationError) Reason() string

Reason function returns reason value.

type FluxMeter_ExponentialBuckets added in v0.3.0

type FluxMeter_ExponentialBuckets struct {

	// Upper bound of the lowest bucket.
	Start float64 `protobuf:"fixed64,1,opt,name=start,proto3" json:"start,omitempty" validate:"gt=0.0"` // @gotags: validate:"gt=0.0"
	// Factor to be multiplied to the previous bucket's upper bound to calculate the following bucket's upper bound.
	Factor float64 `protobuf:"fixed64,2,opt,name=factor,proto3" json:"factor,omitempty" validate:"gt=1.0"` // @gotags: validate:"gt=1.0"
	// Number of buckets.
	Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty" validate:"gt=0"` // @gotags: validate:"gt=0"
	// contains filtered or unexported fields
}

ExponentialBuckets creates `count` number of buckets where the lowest bucket has an upper bound of `start` and each following bucket's upper bound is `factor` times the previous bucket's upper bound. The final +inf bucket is not counted.

func (*FluxMeter_ExponentialBuckets) DeepCopy added in v0.3.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluxMeter_ExponentialBuckets. Required by controller-gen.

func (*FluxMeter_ExponentialBuckets) DeepCopyInterface added in v0.3.0

func (in *FluxMeter_ExponentialBuckets) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FluxMeter_ExponentialBuckets. Required by controller-gen.

func (*FluxMeter_ExponentialBuckets) DeepCopyInto added in v0.3.0

DeepCopyInto supports using FluxMeter_ExponentialBuckets within kubernetes types, where deepcopy-gen is used.

func (*FluxMeter_ExponentialBuckets) Descriptor deprecated added in v0.3.0

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

Deprecated: Use FluxMeter_ExponentialBuckets.ProtoReflect.Descriptor instead.

func (*FluxMeter_ExponentialBuckets) GetCount added in v0.3.0

func (x *FluxMeter_ExponentialBuckets) GetCount() int32

func (*FluxMeter_ExponentialBuckets) GetFactor added in v0.3.0

func (x *FluxMeter_ExponentialBuckets) GetFactor() float64

func (*FluxMeter_ExponentialBuckets) GetStart added in v0.3.0

func (x *FluxMeter_ExponentialBuckets) GetStart() float64

func (*FluxMeter_ExponentialBuckets) MarshalJSON added in v0.3.0

func (msg *FluxMeter_ExponentialBuckets) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FluxMeter_ExponentialBuckets) ProtoMessage added in v0.3.0

func (*FluxMeter_ExponentialBuckets) ProtoMessage()

func (*FluxMeter_ExponentialBuckets) ProtoReflect added in v0.3.0

func (*FluxMeter_ExponentialBuckets) Reset added in v0.3.0

func (x *FluxMeter_ExponentialBuckets) Reset()

func (*FluxMeter_ExponentialBuckets) String added in v0.3.0

func (*FluxMeter_ExponentialBuckets) UnmarshalJSON added in v0.3.0

func (msg *FluxMeter_ExponentialBuckets) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FluxMeter_ExponentialBuckets) Validate added in v1.2.0

func (m *FluxMeter_ExponentialBuckets) Validate() error

Validate checks the field values on FluxMeter_ExponentialBuckets with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FluxMeter_ExponentialBuckets) ValidateAll added in v1.2.0

func (m *FluxMeter_ExponentialBuckets) ValidateAll() error

ValidateAll checks the field values on FluxMeter_ExponentialBuckets with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FluxMeter_ExponentialBucketsMultiError, or nil if none found.

type FluxMeter_ExponentialBucketsMultiError added in v1.2.0

type FluxMeter_ExponentialBucketsMultiError []error

FluxMeter_ExponentialBucketsMultiError is an error wrapping multiple validation errors returned by FluxMeter_ExponentialBuckets.ValidateAll() if the designated constraints aren't met.

func (FluxMeter_ExponentialBucketsMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (FluxMeter_ExponentialBucketsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type FluxMeter_ExponentialBucketsRange added in v0.3.0

type FluxMeter_ExponentialBucketsRange struct {

	// Lowest bucket.
	Min float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty" validate:"gt=0.0"` // @gotags: validate:"gt=0.0"
	// Highest bucket.
	Max float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"`
	// Number of buckets.
	Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty" validate:"gt=0"` // @gotags: validate:"gt=0"
	// contains filtered or unexported fields
}

ExponentialBucketsRange creates `count` number of buckets where the lowest bucket is `min` and the highest bucket is `max`. The final +inf bucket is not counted.

func (*FluxMeter_ExponentialBucketsRange) DeepCopy added in v0.3.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluxMeter_ExponentialBucketsRange. Required by controller-gen.

func (*FluxMeter_ExponentialBucketsRange) DeepCopyInterface added in v0.3.0

func (in *FluxMeter_ExponentialBucketsRange) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FluxMeter_ExponentialBucketsRange. Required by controller-gen.

func (*FluxMeter_ExponentialBucketsRange) DeepCopyInto added in v0.3.0

DeepCopyInto supports using FluxMeter_ExponentialBucketsRange within kubernetes types, where deepcopy-gen is used.

func (*FluxMeter_ExponentialBucketsRange) Descriptor deprecated added in v0.3.0

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

Deprecated: Use FluxMeter_ExponentialBucketsRange.ProtoReflect.Descriptor instead.

func (*FluxMeter_ExponentialBucketsRange) GetCount added in v0.3.0

func (*FluxMeter_ExponentialBucketsRange) GetMax added in v0.3.0

func (*FluxMeter_ExponentialBucketsRange) GetMin added in v0.3.0

func (*FluxMeter_ExponentialBucketsRange) MarshalJSON added in v0.3.0

func (msg *FluxMeter_ExponentialBucketsRange) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FluxMeter_ExponentialBucketsRange) ProtoMessage added in v0.3.0

func (*FluxMeter_ExponentialBucketsRange) ProtoMessage()

func (*FluxMeter_ExponentialBucketsRange) ProtoReflect added in v0.3.0

func (*FluxMeter_ExponentialBucketsRange) Reset added in v0.3.0

func (*FluxMeter_ExponentialBucketsRange) String added in v0.3.0

func (*FluxMeter_ExponentialBucketsRange) UnmarshalJSON added in v0.3.0

func (msg *FluxMeter_ExponentialBucketsRange) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FluxMeter_ExponentialBucketsRange) Validate added in v1.2.0

Validate checks the field values on FluxMeter_ExponentialBucketsRange with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FluxMeter_ExponentialBucketsRange) ValidateAll added in v1.2.0

func (m *FluxMeter_ExponentialBucketsRange) ValidateAll() error

ValidateAll checks the field values on FluxMeter_ExponentialBucketsRange with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FluxMeter_ExponentialBucketsRangeMultiError, or nil if none found.

type FluxMeter_ExponentialBucketsRangeMultiError added in v1.2.0

type FluxMeter_ExponentialBucketsRangeMultiError []error

FluxMeter_ExponentialBucketsRangeMultiError is an error wrapping multiple validation errors returned by FluxMeter_ExponentialBucketsRange.ValidateAll() if the designated constraints aren't met.

func (FluxMeter_ExponentialBucketsRangeMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (FluxMeter_ExponentialBucketsRangeMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type FluxMeter_ExponentialBucketsRangeValidationError added in v1.2.0

type FluxMeter_ExponentialBucketsRangeValidationError struct {
	// contains filtered or unexported fields
}

FluxMeter_ExponentialBucketsRangeValidationError is the validation error returned by FluxMeter_ExponentialBucketsRange.Validate if the designated constraints aren't met.

func (FluxMeter_ExponentialBucketsRangeValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (FluxMeter_ExponentialBucketsRangeValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (FluxMeter_ExponentialBucketsRangeValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (FluxMeter_ExponentialBucketsRangeValidationError) Field added in v1.2.0

Field function returns field value.

func (FluxMeter_ExponentialBucketsRangeValidationError) Key added in v1.2.0

Key function returns key value.

func (FluxMeter_ExponentialBucketsRangeValidationError) Reason added in v1.2.0

Reason function returns reason value.

type FluxMeter_ExponentialBucketsRange_ added in v0.3.0

type FluxMeter_ExponentialBucketsRange_ struct {
	ExponentialBucketsRange *FluxMeter_ExponentialBucketsRange `protobuf:"bytes,5,opt,name=exponential_buckets_range,json=exponentialBucketsRange,proto3,oneof"`
}

type FluxMeter_ExponentialBucketsValidationError added in v1.2.0

type FluxMeter_ExponentialBucketsValidationError struct {
	// contains filtered or unexported fields
}

FluxMeter_ExponentialBucketsValidationError is the validation error returned by FluxMeter_ExponentialBuckets.Validate if the designated constraints aren't met.

func (FluxMeter_ExponentialBucketsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (FluxMeter_ExponentialBucketsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (FluxMeter_ExponentialBucketsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (FluxMeter_ExponentialBucketsValidationError) Field added in v1.2.0

Field function returns field value.

func (FluxMeter_ExponentialBucketsValidationError) Key added in v1.2.0

Key function returns key value.

func (FluxMeter_ExponentialBucketsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type FluxMeter_ExponentialBuckets_ added in v0.3.0

type FluxMeter_ExponentialBuckets_ struct {
	ExponentialBuckets *FluxMeter_ExponentialBuckets `protobuf:"bytes,4,opt,name=exponential_buckets,json=exponentialBuckets,proto3,oneof"`
}

type FluxMeter_LinearBuckets added in v0.3.0

type FluxMeter_LinearBuckets struct {

	// Upper bound of the lowest bucket.
	Start float64 `protobuf:"fixed64,1,opt,name=start,proto3" json:"start,omitempty"`
	// Width of each bucket.
	Width float64 `protobuf:"fixed64,2,opt,name=width,proto3" json:"width,omitempty"`
	// Number of buckets.
	Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty" validate:"gt=0"` // @gotags: validate:"gt=0"
	// contains filtered or unexported fields
}

LinearBuckets creates `count` number of buckets, each `width` wide, where the lowest bucket has an upper bound of `start`. The final +inf bucket is not counted.

func (*FluxMeter_LinearBuckets) DeepCopy added in v0.3.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluxMeter_LinearBuckets. Required by controller-gen.

func (*FluxMeter_LinearBuckets) DeepCopyInterface added in v0.3.0

func (in *FluxMeter_LinearBuckets) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FluxMeter_LinearBuckets. Required by controller-gen.

func (*FluxMeter_LinearBuckets) DeepCopyInto added in v0.3.0

func (in *FluxMeter_LinearBuckets) DeepCopyInto(out *FluxMeter_LinearBuckets)

DeepCopyInto supports using FluxMeter_LinearBuckets within kubernetes types, where deepcopy-gen is used.

func (*FluxMeter_LinearBuckets) Descriptor deprecated added in v0.3.0

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

Deprecated: Use FluxMeter_LinearBuckets.ProtoReflect.Descriptor instead.

func (*FluxMeter_LinearBuckets) GetCount added in v0.3.0

func (x *FluxMeter_LinearBuckets) GetCount() int32

func (*FluxMeter_LinearBuckets) GetStart added in v0.3.0

func (x *FluxMeter_LinearBuckets) GetStart() float64

func (*FluxMeter_LinearBuckets) GetWidth added in v0.3.0

func (x *FluxMeter_LinearBuckets) GetWidth() float64

func (*FluxMeter_LinearBuckets) MarshalJSON added in v0.3.0

func (msg *FluxMeter_LinearBuckets) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FluxMeter_LinearBuckets) ProtoMessage added in v0.3.0

func (*FluxMeter_LinearBuckets) ProtoMessage()

func (*FluxMeter_LinearBuckets) ProtoReflect added in v0.3.0

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

func (*FluxMeter_LinearBuckets) Reset added in v0.3.0

func (x *FluxMeter_LinearBuckets) Reset()

func (*FluxMeter_LinearBuckets) String added in v0.3.0

func (x *FluxMeter_LinearBuckets) String() string

func (*FluxMeter_LinearBuckets) UnmarshalJSON added in v0.3.0

func (msg *FluxMeter_LinearBuckets) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FluxMeter_LinearBuckets) Validate added in v1.2.0

func (m *FluxMeter_LinearBuckets) Validate() error

Validate checks the field values on FluxMeter_LinearBuckets with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FluxMeter_LinearBuckets) ValidateAll added in v1.2.0

func (m *FluxMeter_LinearBuckets) ValidateAll() error

ValidateAll checks the field values on FluxMeter_LinearBuckets with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FluxMeter_LinearBucketsMultiError, or nil if none found.

type FluxMeter_LinearBucketsMultiError added in v1.2.0

type FluxMeter_LinearBucketsMultiError []error

FluxMeter_LinearBucketsMultiError is an error wrapping multiple validation errors returned by FluxMeter_LinearBuckets.ValidateAll() if the designated constraints aren't met.

func (FluxMeter_LinearBucketsMultiError) AllErrors added in v1.2.0

func (m FluxMeter_LinearBucketsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FluxMeter_LinearBucketsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type FluxMeter_LinearBucketsValidationError added in v1.2.0

type FluxMeter_LinearBucketsValidationError struct {
	// contains filtered or unexported fields
}

FluxMeter_LinearBucketsValidationError is the validation error returned by FluxMeter_LinearBuckets.Validate if the designated constraints aren't met.

func (FluxMeter_LinearBucketsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (FluxMeter_LinearBucketsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (FluxMeter_LinearBucketsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (FluxMeter_LinearBucketsValidationError) Field added in v1.2.0

Field function returns field value.

func (FluxMeter_LinearBucketsValidationError) Key added in v1.2.0

Key function returns key value.

func (FluxMeter_LinearBucketsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type FluxMeter_LinearBuckets_ added in v0.3.0

type FluxMeter_LinearBuckets_ struct {
	LinearBuckets *FluxMeter_LinearBuckets `protobuf:"bytes,3,opt,name=linear_buckets,json=linearBuckets,proto3,oneof"`
}

type FluxMeter_StaticBuckets added in v0.3.0

type FluxMeter_StaticBuckets struct {

	// The buckets in which latency histogram will be stored.
	Buckets []float64 `` // @gotags: default:"[5.0,10.0,25.0,50.0,100.0,250.0,500.0,1000.0,2500.0,5000.0,10000.0]"
	/* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

StaticBuckets holds the static value of the buckets where latency histogram will be stored.

func (*FluxMeter_StaticBuckets) DeepCopy added in v0.3.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluxMeter_StaticBuckets. Required by controller-gen.

func (*FluxMeter_StaticBuckets) DeepCopyInterface added in v0.3.0

func (in *FluxMeter_StaticBuckets) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FluxMeter_StaticBuckets. Required by controller-gen.

func (*FluxMeter_StaticBuckets) DeepCopyInto added in v0.3.0

func (in *FluxMeter_StaticBuckets) DeepCopyInto(out *FluxMeter_StaticBuckets)

DeepCopyInto supports using FluxMeter_StaticBuckets within kubernetes types, where deepcopy-gen is used.

func (*FluxMeter_StaticBuckets) Descriptor deprecated added in v0.3.0

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

Deprecated: Use FluxMeter_StaticBuckets.ProtoReflect.Descriptor instead.

func (*FluxMeter_StaticBuckets) GetBuckets added in v0.3.0

func (x *FluxMeter_StaticBuckets) GetBuckets() []float64

func (*FluxMeter_StaticBuckets) MarshalJSON added in v0.3.0

func (msg *FluxMeter_StaticBuckets) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*FluxMeter_StaticBuckets) ProtoMessage added in v0.3.0

func (*FluxMeter_StaticBuckets) ProtoMessage()

func (*FluxMeter_StaticBuckets) ProtoReflect added in v0.3.0

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

func (*FluxMeter_StaticBuckets) Reset added in v0.3.0

func (x *FluxMeter_StaticBuckets) Reset()

func (*FluxMeter_StaticBuckets) String added in v0.3.0

func (x *FluxMeter_StaticBuckets) String() string

func (*FluxMeter_StaticBuckets) UnmarshalJSON added in v0.3.0

func (msg *FluxMeter_StaticBuckets) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*FluxMeter_StaticBuckets) Validate added in v1.2.0

func (m *FluxMeter_StaticBuckets) Validate() error

Validate checks the field values on FluxMeter_StaticBuckets with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FluxMeter_StaticBuckets) ValidateAll added in v1.2.0

func (m *FluxMeter_StaticBuckets) ValidateAll() error

ValidateAll checks the field values on FluxMeter_StaticBuckets with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FluxMeter_StaticBucketsMultiError, or nil if none found.

type FluxMeter_StaticBucketsMultiError added in v1.2.0

type FluxMeter_StaticBucketsMultiError []error

FluxMeter_StaticBucketsMultiError is an error wrapping multiple validation errors returned by FluxMeter_StaticBuckets.ValidateAll() if the designated constraints aren't met.

func (FluxMeter_StaticBucketsMultiError) AllErrors added in v1.2.0

func (m FluxMeter_StaticBucketsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FluxMeter_StaticBucketsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type FluxMeter_StaticBucketsValidationError added in v1.2.0

type FluxMeter_StaticBucketsValidationError struct {
	// contains filtered or unexported fields
}

FluxMeter_StaticBucketsValidationError is the validation error returned by FluxMeter_StaticBuckets.Validate if the designated constraints aren't met.

func (FluxMeter_StaticBucketsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (FluxMeter_StaticBucketsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (FluxMeter_StaticBucketsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (FluxMeter_StaticBucketsValidationError) Field added in v1.2.0

Field function returns field value.

func (FluxMeter_StaticBucketsValidationError) Key added in v1.2.0

Key function returns key value.

func (FluxMeter_StaticBucketsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type FluxMeter_StaticBuckets_ added in v0.3.0

type FluxMeter_StaticBuckets_ struct {
	StaticBuckets *FluxMeter_StaticBuckets `protobuf:"bytes,2,opt,name=static_buckets,json=staticBuckets,proto3,oneof"`
}

type GetPoliciesResponse added in v0.5.0

type GetPoliciesResponse struct {
	Policies *Policies `protobuf:"bytes,1,opt,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

GetPoliciesResponse is a response containing all Policies.

func (*GetPoliciesResponse) DeepCopy added in v0.5.0

func (in *GetPoliciesResponse) DeepCopy() *GetPoliciesResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetPoliciesResponse. Required by controller-gen.

func (*GetPoliciesResponse) DeepCopyInterface added in v0.5.0

func (in *GetPoliciesResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetPoliciesResponse. Required by controller-gen.

func (*GetPoliciesResponse) DeepCopyInto added in v0.5.0

func (in *GetPoliciesResponse) DeepCopyInto(out *GetPoliciesResponse)

DeepCopyInto supports using GetPoliciesResponse within kubernetes types, where deepcopy-gen is used.

func (*GetPoliciesResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use GetPoliciesResponse.ProtoReflect.Descriptor instead.

func (*GetPoliciesResponse) GetPolicies added in v0.5.0

func (x *GetPoliciesResponse) GetPolicies() *Policies

func (*GetPoliciesResponse) MarshalJSON added in v0.5.0

func (msg *GetPoliciesResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetPoliciesResponse) ProtoMessage added in v0.5.0

func (*GetPoliciesResponse) ProtoMessage()

func (*GetPoliciesResponse) ProtoReflect added in v0.5.0

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

func (*GetPoliciesResponse) Reset added in v0.5.0

func (x *GetPoliciesResponse) Reset()

func (*GetPoliciesResponse) String added in v0.5.0

func (x *GetPoliciesResponse) String() string

func (*GetPoliciesResponse) UnmarshalJSON added in v0.5.0

func (msg *GetPoliciesResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetPoliciesResponse) Validate added in v1.2.0

func (m *GetPoliciesResponse) Validate() error

Validate checks the field values on GetPoliciesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetPoliciesResponse) ValidateAll added in v1.2.0

func (m *GetPoliciesResponse) ValidateAll() error

ValidateAll checks the field values on GetPoliciesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPoliciesResponseMultiError, or nil if none found.

type GetPoliciesResponseMultiError added in v1.2.0

type GetPoliciesResponseMultiError []error

GetPoliciesResponseMultiError is an error wrapping multiple validation errors returned by GetPoliciesResponse.ValidateAll() if the designated constraints aren't met.

func (GetPoliciesResponseMultiError) AllErrors added in v1.2.0

func (m GetPoliciesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPoliciesResponseMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type GetPoliciesResponseValidationError added in v1.2.0

type GetPoliciesResponseValidationError struct {
	// contains filtered or unexported fields
}

GetPoliciesResponseValidationError is the validation error returned by GetPoliciesResponse.Validate if the designated constraints aren't met.

func (GetPoliciesResponseValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (GetPoliciesResponseValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (GetPoliciesResponseValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (GetPoliciesResponseValidationError) Field added in v1.2.0

Field function returns field value.

func (GetPoliciesResponseValidationError) Key added in v1.2.0

Key function returns key value.

func (GetPoliciesResponseValidationError) Reason added in v1.2.0

Reason function returns reason value.

type GetPolicyRequest added in v1.5.0

type GetPolicyRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetPolicyRequest is a request to get a policy with given name.

func (*GetPolicyRequest) DeepCopy added in v1.5.0

func (in *GetPolicyRequest) DeepCopy() *GetPolicyRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetPolicyRequest. Required by controller-gen.

func (*GetPolicyRequest) DeepCopyInterface added in v1.5.0

func (in *GetPolicyRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetPolicyRequest. Required by controller-gen.

func (*GetPolicyRequest) DeepCopyInto added in v1.5.0

func (in *GetPolicyRequest) DeepCopyInto(out *GetPolicyRequest)

DeepCopyInto supports using GetPolicyRequest within kubernetes types, where deepcopy-gen is used.

func (*GetPolicyRequest) Descriptor deprecated added in v1.5.0

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

Deprecated: Use GetPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetPolicyRequest) GetName added in v1.5.0

func (x *GetPolicyRequest) GetName() string

func (*GetPolicyRequest) MarshalJSON added in v1.5.0

func (msg *GetPolicyRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetPolicyRequest) ProtoMessage added in v1.5.0

func (*GetPolicyRequest) ProtoMessage()

func (*GetPolicyRequest) ProtoReflect added in v1.5.0

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

func (*GetPolicyRequest) Reset added in v1.5.0

func (x *GetPolicyRequest) Reset()

func (*GetPolicyRequest) String added in v1.5.0

func (x *GetPolicyRequest) String() string

func (*GetPolicyRequest) UnmarshalJSON added in v1.5.0

func (msg *GetPolicyRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetPolicyRequest) Validate added in v1.5.0

func (m *GetPolicyRequest) Validate() error

Validate checks the field values on GetPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetPolicyRequest) ValidateAll added in v1.5.0

func (m *GetPolicyRequest) ValidateAll() error

ValidateAll checks the field values on GetPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPolicyRequestMultiError, or nil if none found.

type GetPolicyRequestMultiError added in v1.5.0

type GetPolicyRequestMultiError []error

GetPolicyRequestMultiError is an error wrapping multiple validation errors returned by GetPolicyRequest.ValidateAll() if the designated constraints aren't met.

func (GetPolicyRequestMultiError) AllErrors added in v1.5.0

func (m GetPolicyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPolicyRequestMultiError) Error added in v1.5.0

Error returns a concatenation of all the error messages it wraps.

type GetPolicyRequestValidationError added in v1.5.0

type GetPolicyRequestValidationError struct {
	// contains filtered or unexported fields
}

GetPolicyRequestValidationError is the validation error returned by GetPolicyRequest.Validate if the designated constraints aren't met.

func (GetPolicyRequestValidationError) Cause added in v1.5.0

Cause function returns cause value.

func (GetPolicyRequestValidationError) Error added in v1.5.0

Error satisfies the builtin error interface

func (GetPolicyRequestValidationError) ErrorName added in v1.5.0

ErrorName returns error name.

func (GetPolicyRequestValidationError) Field added in v1.5.0

Field function returns field value.

func (GetPolicyRequestValidationError) Key added in v1.5.0

Key function returns key value.

func (GetPolicyRequestValidationError) Reason added in v1.5.0

Reason function returns reason value.

type GetPolicyResponse added in v1.5.0

type GetPolicyResponse struct {
	Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	// contains filtered or unexported fields
}

GetPolicyResponse is a response containing the requested Policy.

func (*GetPolicyResponse) DeepCopy added in v1.5.0

func (in *GetPolicyResponse) DeepCopy() *GetPolicyResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetPolicyResponse. Required by controller-gen.

func (*GetPolicyResponse) DeepCopyInterface added in v1.5.0

func (in *GetPolicyResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetPolicyResponse. Required by controller-gen.

func (*GetPolicyResponse) DeepCopyInto added in v1.5.0

func (in *GetPolicyResponse) DeepCopyInto(out *GetPolicyResponse)

DeepCopyInto supports using GetPolicyResponse within kubernetes types, where deepcopy-gen is used.

func (*GetPolicyResponse) Descriptor deprecated added in v1.5.0

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

Deprecated: Use GetPolicyResponse.ProtoReflect.Descriptor instead.

func (*GetPolicyResponse) GetPolicy added in v1.5.0

func (x *GetPolicyResponse) GetPolicy() *Policy

func (*GetPolicyResponse) MarshalJSON added in v1.5.0

func (msg *GetPolicyResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetPolicyResponse) ProtoMessage added in v1.5.0

func (*GetPolicyResponse) ProtoMessage()

func (*GetPolicyResponse) ProtoReflect added in v1.5.0

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

func (*GetPolicyResponse) Reset added in v1.5.0

func (x *GetPolicyResponse) Reset()

func (*GetPolicyResponse) String added in v1.5.0

func (x *GetPolicyResponse) String() string

func (*GetPolicyResponse) UnmarshalJSON added in v1.5.0

func (msg *GetPolicyResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetPolicyResponse) Validate added in v1.5.0

func (m *GetPolicyResponse) Validate() error

Validate checks the field values on GetPolicyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetPolicyResponse) ValidateAll added in v1.5.0

func (m *GetPolicyResponse) ValidateAll() error

ValidateAll checks the field values on GetPolicyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPolicyResponseMultiError, or nil if none found.

type GetPolicyResponseMultiError added in v1.5.0

type GetPolicyResponseMultiError []error

GetPolicyResponseMultiError is an error wrapping multiple validation errors returned by GetPolicyResponse.ValidateAll() if the designated constraints aren't met.

func (GetPolicyResponseMultiError) AllErrors added in v1.5.0

func (m GetPolicyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPolicyResponseMultiError) Error added in v1.5.0

Error returns a concatenation of all the error messages it wraps.

type GetPolicyResponseValidationError added in v1.5.0

type GetPolicyResponseValidationError struct {
	// contains filtered or unexported fields
}

GetPolicyResponseValidationError is the validation error returned by GetPolicyResponse.Validate if the designated constraints aren't met.

func (GetPolicyResponseValidationError) Cause added in v1.5.0

Cause function returns cause value.

func (GetPolicyResponseValidationError) Error added in v1.5.0

Error satisfies the builtin error interface

func (GetPolicyResponseValidationError) ErrorName added in v1.5.0

ErrorName returns error name.

func (GetPolicyResponseValidationError) Field added in v1.5.0

Field function returns field value.

func (GetPolicyResponseValidationError) Key added in v1.5.0

Key function returns key value.

func (GetPolicyResponseValidationError) Reason added in v1.5.0

Reason function returns reason value.

type GradientController

type GradientController struct {

	// Input ports of the Gradient Controller.
	InPorts *GradientController_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports of the Gradient Controller.
	OutPorts *GradientController_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Gradient Parameters.
	Parameters *GradientController_Parameters `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// Configuration key for DynamicConfig
	DynamicConfigKey string `protobuf:"bytes,4,opt,name=dynamic_config_key,json=dynamicConfigKey,proto3" json:"dynamic_config_key,omitempty"`
	// Default configuration.
	DefaultConfig *GradientController_DynamicConfig `protobuf:"bytes,5,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// contains filtered or unexported fields
}

Gradient controller is a type of controller which tries to adjust the control variable proportionally to the relative difference between setpoint and actual value of the signal

The `gradient` describes a corrective factor that should be applied to the control variable to get the signal closer to the setpoint. It's computed as follows:

$$ \text{gradient} = \left(\frac{\text{signal}}{\text{setpoint}}\right)^{\text{slope}} $$

`gradient` is then clamped to `[min_gradient, max_gradient]` range.

The output of gradient controller is computed as follows: $$ \text{output} = \text{gradient}_{\text{clamped}} \cdot \text{control\_variable} + \text{optimize}. $$

Note the additional `optimize` signal, that can be used to "nudge" the controller into desired idle state.

The output can be _optionally_ clamped to desired range using `max` and `min` input.

func (*GradientController) DeepCopy added in v0.1.2

func (in *GradientController) DeepCopy() *GradientController

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GradientController. Required by controller-gen.

func (*GradientController) DeepCopyInterface added in v0.1.2

func (in *GradientController) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GradientController. Required by controller-gen.

func (*GradientController) DeepCopyInto added in v0.1.2

func (in *GradientController) DeepCopyInto(out *GradientController)

DeepCopyInto supports using GradientController within kubernetes types, where deepcopy-gen is used.

func (*GradientController) Descriptor deprecated

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

Deprecated: Use GradientController.ProtoReflect.Descriptor instead.

func (*GradientController) GetDefaultConfig added in v0.8.0

func (*GradientController) GetDynamicConfigKey added in v0.5.0

func (x *GradientController) GetDynamicConfigKey() string

func (*GradientController) GetInPorts

func (x *GradientController) GetInPorts() *GradientController_Ins

func (*GradientController) GetOutPorts

func (x *GradientController) GetOutPorts() *GradientController_Outs

func (*GradientController) GetParameters added in v0.21.0

func (*GradientController) MarshalJSON

func (msg *GradientController) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GradientController) ProtoMessage

func (*GradientController) ProtoMessage()

func (*GradientController) ProtoReflect

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

func (*GradientController) Reset

func (x *GradientController) Reset()

func (*GradientController) String

func (x *GradientController) String() string

func (*GradientController) UnmarshalJSON

func (msg *GradientController) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GradientController) Validate added in v1.2.0

func (m *GradientController) Validate() error

Validate checks the field values on GradientController with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GradientController) ValidateAll added in v1.2.0

func (m *GradientController) ValidateAll() error

ValidateAll checks the field values on GradientController with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GradientControllerMultiError, or nil if none found.

type GradientControllerMultiError added in v1.2.0

type GradientControllerMultiError []error

GradientControllerMultiError is an error wrapping multiple validation errors returned by GradientController.ValidateAll() if the designated constraints aren't met.

func (GradientControllerMultiError) AllErrors added in v1.2.0

func (m GradientControllerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GradientControllerMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type GradientControllerValidationError added in v1.2.0

type GradientControllerValidationError struct {
	// contains filtered or unexported fields
}

GradientControllerValidationError is the validation error returned by GradientController.Validate if the designated constraints aren't met.

func (GradientControllerValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (GradientControllerValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (GradientControllerValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (GradientControllerValidationError) Field added in v1.2.0

Field function returns field value.

func (GradientControllerValidationError) Key added in v1.2.0

Key function returns key value.

func (GradientControllerValidationError) Reason added in v1.2.0

Reason function returns reason value.

type GradientController_DynamicConfig added in v0.21.0

type GradientController_DynamicConfig struct {

	// Decides whether the controller runs in `manual_mode`.
	// In manual mode, the controller does not adjust the control variable It emits the same output as the control variable input.
	ManualMode bool `protobuf:"varint,1,opt,name=manual_mode,json=manualMode,proto3" json:"manual_mode,omitempty" default:"false"` // @gotags: default:"false"
	// contains filtered or unexported fields
}

Dynamic Configuration for a Controller

func (*GradientController_DynamicConfig) DeepCopy added in v0.21.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GradientController_DynamicConfig. Required by controller-gen.

func (*GradientController_DynamicConfig) DeepCopyInterface added in v0.21.0

func (in *GradientController_DynamicConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GradientController_DynamicConfig. Required by controller-gen.

func (*GradientController_DynamicConfig) DeepCopyInto added in v0.21.0

DeepCopyInto supports using GradientController_DynamicConfig within kubernetes types, where deepcopy-gen is used.

func (*GradientController_DynamicConfig) Descriptor deprecated added in v0.21.0

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

Deprecated: Use GradientController_DynamicConfig.ProtoReflect.Descriptor instead.

func (*GradientController_DynamicConfig) GetManualMode added in v0.21.0

func (x *GradientController_DynamicConfig) GetManualMode() bool

func (*GradientController_DynamicConfig) MarshalJSON added in v0.21.0

func (msg *GradientController_DynamicConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GradientController_DynamicConfig) ProtoMessage added in v0.21.0

func (*GradientController_DynamicConfig) ProtoMessage()

func (*GradientController_DynamicConfig) ProtoReflect added in v0.21.0

func (*GradientController_DynamicConfig) Reset added in v0.21.0

func (*GradientController_DynamicConfig) String added in v0.21.0

func (*GradientController_DynamicConfig) UnmarshalJSON added in v0.21.0

func (msg *GradientController_DynamicConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GradientController_DynamicConfig) Validate added in v1.2.0

Validate checks the field values on GradientController_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GradientController_DynamicConfig) ValidateAll added in v1.2.0

func (m *GradientController_DynamicConfig) ValidateAll() error

ValidateAll checks the field values on GradientController_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GradientController_DynamicConfigMultiError, or nil if none found.

type GradientController_DynamicConfigMultiError added in v1.2.0

type GradientController_DynamicConfigMultiError []error

GradientController_DynamicConfigMultiError is an error wrapping multiple validation errors returned by GradientController_DynamicConfig.ValidateAll() if the designated constraints aren't met.

func (GradientController_DynamicConfigMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (GradientController_DynamicConfigMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type GradientController_DynamicConfigValidationError added in v1.2.0

type GradientController_DynamicConfigValidationError struct {
	// contains filtered or unexported fields
}

GradientController_DynamicConfigValidationError is the validation error returned by GradientController_DynamicConfig.Validate if the designated constraints aren't met.

func (GradientController_DynamicConfigValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (GradientController_DynamicConfigValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (GradientController_DynamicConfigValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (GradientController_DynamicConfigValidationError) Field added in v1.2.0

Field function returns field value.

func (GradientController_DynamicConfigValidationError) Key added in v1.2.0

Key function returns key value.

func (GradientController_DynamicConfigValidationError) Reason added in v1.2.0

Reason function returns reason value.

type GradientController_Ins

type GradientController_Ins struct {

	// Signal to be used for the gradient computation.
	Signal *InPort `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"`
	// Setpoint to be used for the gradient computation.
	Setpoint *InPort `protobuf:"bytes,2,opt,name=setpoint,proto3" json:"setpoint,omitempty"`
	// Optimize signal is added to the output of the gradient calculation.
	Optimize *InPort `protobuf:"bytes,3,opt,name=optimize,proto3" json:"optimize,omitempty"`
	// Maximum value to limit the output signal.
	Max *InPort `protobuf:"bytes,4,opt,name=max,proto3" json:"max,omitempty"`
	// Minimum value to limit the output signal.
	Min *InPort `protobuf:"bytes,5,opt,name=min,proto3" json:"min,omitempty"`
	// Actual current value of the control variable.
	//
	// This signal is multiplied by the gradient to produce the output.
	ControlVariable *InPort `protobuf:"bytes,6,opt,name=control_variable,json=controlVariable,proto3" json:"control_variable,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the Gradient Controller component.

func (*GradientController_Ins) DeepCopy added in v0.1.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GradientController_Ins. Required by controller-gen.

func (*GradientController_Ins) DeepCopyInterface added in v0.1.2

func (in *GradientController_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GradientController_Ins. Required by controller-gen.

func (*GradientController_Ins) DeepCopyInto added in v0.1.2

func (in *GradientController_Ins) DeepCopyInto(out *GradientController_Ins)

DeepCopyInto supports using GradientController_Ins within kubernetes types, where deepcopy-gen is used.

func (*GradientController_Ins) Descriptor deprecated

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

Deprecated: Use GradientController_Ins.ProtoReflect.Descriptor instead.

func (*GradientController_Ins) GetControlVariable

func (x *GradientController_Ins) GetControlVariable() *InPort

func (*GradientController_Ins) GetMax

func (x *GradientController_Ins) GetMax() *InPort

func (*GradientController_Ins) GetMin

func (x *GradientController_Ins) GetMin() *InPort

func (*GradientController_Ins) GetOptimize

func (x *GradientController_Ins) GetOptimize() *InPort

func (*GradientController_Ins) GetSetpoint

func (x *GradientController_Ins) GetSetpoint() *InPort

func (*GradientController_Ins) GetSignal

func (x *GradientController_Ins) GetSignal() *InPort

func (*GradientController_Ins) MarshalJSON

func (msg *GradientController_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GradientController_Ins) ProtoMessage

func (*GradientController_Ins) ProtoMessage()

func (*GradientController_Ins) ProtoReflect

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

func (*GradientController_Ins) Reset

func (x *GradientController_Ins) Reset()

func (*GradientController_Ins) String

func (x *GradientController_Ins) String() string

func (*GradientController_Ins) UnmarshalJSON

func (msg *GradientController_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GradientController_Ins) Validate added in v1.2.0

func (m *GradientController_Ins) Validate() error

Validate checks the field values on GradientController_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GradientController_Ins) ValidateAll added in v1.2.0

func (m *GradientController_Ins) ValidateAll() error

ValidateAll checks the field values on GradientController_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GradientController_InsMultiError, or nil if none found.

type GradientController_InsMultiError added in v1.2.0

type GradientController_InsMultiError []error

GradientController_InsMultiError is an error wrapping multiple validation errors returned by GradientController_Ins.ValidateAll() if the designated constraints aren't met.

func (GradientController_InsMultiError) AllErrors added in v1.2.0

func (m GradientController_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GradientController_InsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type GradientController_InsValidationError added in v1.2.0

type GradientController_InsValidationError struct {
	// contains filtered or unexported fields
}

GradientController_InsValidationError is the validation error returned by GradientController_Ins.Validate if the designated constraints aren't met.

func (GradientController_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (GradientController_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (GradientController_InsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (GradientController_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (GradientController_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (GradientController_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type GradientController_Outs

type GradientController_Outs struct {

	// Computed desired value of the control variable.
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the Gradient Controller component.

func (*GradientController_Outs) DeepCopy added in v0.1.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GradientController_Outs. Required by controller-gen.

func (*GradientController_Outs) DeepCopyInterface added in v0.1.2

func (in *GradientController_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GradientController_Outs. Required by controller-gen.

func (*GradientController_Outs) DeepCopyInto added in v0.1.2

func (in *GradientController_Outs) DeepCopyInto(out *GradientController_Outs)

DeepCopyInto supports using GradientController_Outs within kubernetes types, where deepcopy-gen is used.

func (*GradientController_Outs) Descriptor deprecated

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

Deprecated: Use GradientController_Outs.ProtoReflect.Descriptor instead.

func (*GradientController_Outs) GetOutput

func (x *GradientController_Outs) GetOutput() *OutPort

func (*GradientController_Outs) MarshalJSON

func (msg *GradientController_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GradientController_Outs) ProtoMessage

func (*GradientController_Outs) ProtoMessage()

func (*GradientController_Outs) ProtoReflect

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

func (*GradientController_Outs) Reset

func (x *GradientController_Outs) Reset()

func (*GradientController_Outs) String

func (x *GradientController_Outs) String() string

func (*GradientController_Outs) UnmarshalJSON

func (msg *GradientController_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GradientController_Outs) Validate added in v1.2.0

func (m *GradientController_Outs) Validate() error

Validate checks the field values on GradientController_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GradientController_Outs) ValidateAll added in v1.2.0

func (m *GradientController_Outs) ValidateAll() error

ValidateAll checks the field values on GradientController_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GradientController_OutsMultiError, or nil if none found.

type GradientController_OutsMultiError added in v1.2.0

type GradientController_OutsMultiError []error

GradientController_OutsMultiError is an error wrapping multiple validation errors returned by GradientController_Outs.ValidateAll() if the designated constraints aren't met.

func (GradientController_OutsMultiError) AllErrors added in v1.2.0

func (m GradientController_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GradientController_OutsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type GradientController_OutsValidationError added in v1.2.0

type GradientController_OutsValidationError struct {
	// contains filtered or unexported fields
}

GradientController_OutsValidationError is the validation error returned by GradientController_Outs.Validate if the designated constraints aren't met.

func (GradientController_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (GradientController_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (GradientController_OutsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (GradientController_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (GradientController_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (GradientController_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type GradientController_Parameters added in v0.21.0

type GradientController_Parameters struct {

	// Slope controls the aggressiveness and direction of the Gradient Controller.
	//
	// Slope is used as exponent on the signal to setpoint ratio in computation
	// of the gradient (see the [main description](#gradient-controller) for
	// exact equation). This parameter decides how aggressive the controller
	// responds to the deviation of signal from the setpoint.
	// for example:
	// * $\text{slope} = 1$: when signal is too high, increase control variable,
	// * $\text{slope} = -1$: when signal is too high, decrease control variable,
	// * $\text{slope} = -0.5$: when signal is too high, decrease control variable gradually.
	//
	// The sign of slope depends on correlation between the signal and control variable:
	// * Use $\text{slope} < 0$ if there is a _positive_ correlation between the signal and
	// the control variable (for example, Per-pod CPU usage and total concurrency).
	// * Use $\text{slope} > 0$ if there is a _negative_ correlation between the signal and
	// the control variable (for example, Per-pod CPU usage and number of pods).
	//
	// :::note
	//
	// You need to set _negative_ slope for a _positive_ correlation, as you're
	// describing the _action_ which controller should make when the signal
	// increases.
	//
	// :::
	//
	// The magnitude of slope describes how aggressively should the controller
	// react to a deviation of signal.
	// With $|\text{slope}| = 1$, the controller will aim to bring the signal to
	// the setpoint in one tick (assuming linear correlation with signal and setpoint).
	// Smaller magnitudes of slope will make the controller adjust the control
	// variable gradually.
	//
	// Setting $|\text{slope}| < 1$ (for example, $\pm0.8$) is recommended.
	// If you experience overshooting, consider lowering the magnitude even more.
	// Values of $|\text{slope}| > 1$ aren't recommended.
	//
	// :::note
	//
	// Remember that the gradient and output signal can be (optionally) clamped,
	// so the _slope_ might not fully describe aggressiveness of the controller.
	//
	// :::
	Slope float64 `protobuf:"fixed64,1,opt,name=slope,proto3" json:"slope,omitempty" validate:"required"` // @gotags: validate:"required"
	// Minimum gradient which clamps the computed gradient value to the range, `[min_gradient, max_gradient]`.
	MinGradient float64 `` // @gotags: default:"-1.79769313486231570814527423731704356798070e+308"
	/* 156-byte string literal not displayed */
	// Maximum gradient which clamps the computed gradient value to the range, `[min_gradient, max_gradient]`.
	MaxGradient float64 `` // @gotags: default:"1.79769313486231570814527423731704356798070e+308"
	/* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Gradient Parameters.

func (*GradientController_Parameters) DeepCopy added in v0.21.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GradientController_Parameters. Required by controller-gen.

func (*GradientController_Parameters) DeepCopyInterface added in v0.21.0

func (in *GradientController_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GradientController_Parameters. Required by controller-gen.

func (*GradientController_Parameters) DeepCopyInto added in v0.21.0

DeepCopyInto supports using GradientController_Parameters within kubernetes types, where deepcopy-gen is used.

func (*GradientController_Parameters) Descriptor deprecated added in v0.21.0

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

Deprecated: Use GradientController_Parameters.ProtoReflect.Descriptor instead.

func (*GradientController_Parameters) GetMaxGradient added in v0.21.0

func (x *GradientController_Parameters) GetMaxGradient() float64

func (*GradientController_Parameters) GetMinGradient added in v0.21.0

func (x *GradientController_Parameters) GetMinGradient() float64

func (*GradientController_Parameters) GetSlope added in v0.21.0

func (x *GradientController_Parameters) GetSlope() float64

func (*GradientController_Parameters) MarshalJSON added in v0.21.0

func (msg *GradientController_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GradientController_Parameters) ProtoMessage added in v0.21.0

func (*GradientController_Parameters) ProtoMessage()

func (*GradientController_Parameters) ProtoReflect added in v0.21.0

func (*GradientController_Parameters) Reset added in v0.21.0

func (x *GradientController_Parameters) Reset()

func (*GradientController_Parameters) String added in v0.21.0

func (*GradientController_Parameters) UnmarshalJSON added in v0.21.0

func (msg *GradientController_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GradientController_Parameters) Validate added in v1.2.0

func (m *GradientController_Parameters) Validate() error

Validate checks the field values on GradientController_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GradientController_Parameters) ValidateAll added in v1.2.0

func (m *GradientController_Parameters) ValidateAll() error

ValidateAll checks the field values on GradientController_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GradientController_ParametersMultiError, or nil if none found.

type GradientController_ParametersMultiError added in v1.2.0

type GradientController_ParametersMultiError []error

GradientController_ParametersMultiError is an error wrapping multiple validation errors returned by GradientController_Parameters.ValidateAll() if the designated constraints aren't met.

func (GradientController_ParametersMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (GradientController_ParametersMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type GradientController_ParametersValidationError added in v1.2.0

type GradientController_ParametersValidationError struct {
	// contains filtered or unexported fields
}

GradientController_ParametersValidationError is the validation error returned by GradientController_Parameters.Validate if the designated constraints aren't met.

func (GradientController_ParametersValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (GradientController_ParametersValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (GradientController_ParametersValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (GradientController_ParametersValidationError) Field added in v1.2.0

Field function returns field value.

func (GradientController_ParametersValidationError) Key added in v1.2.0

Key function returns key value.

func (GradientController_ParametersValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Holder added in v0.21.0

type Holder struct {

	// Input ports for the Holder component.
	InPorts *Holder_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the Holder component.
	OutPorts *Holder_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Holding the last valid signal value for the `hold_for` duration.
	HoldFor *durationpb.Duration `protobuf:"bytes,3,opt,name=hold_for,json=holdFor,proto3" json:"hold_for,omitempty" default:"5s"` // @gotags: default:"5s"
	// contains filtered or unexported fields
}

Holds the last valid signal value for the specified duration then waits for next valid value to hold. If it is holding a value that means it ignores both valid and invalid new signals until the `hold_for` duration is finished.

func (*Holder) DeepCopy added in v0.21.0

func (in *Holder) DeepCopy() *Holder

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Holder. Required by controller-gen.

func (*Holder) DeepCopyInterface added in v0.21.0

func (in *Holder) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Holder. Required by controller-gen.

func (*Holder) DeepCopyInto added in v0.21.0

func (in *Holder) DeepCopyInto(out *Holder)

DeepCopyInto supports using Holder within kubernetes types, where deepcopy-gen is used.

func (*Holder) Descriptor deprecated added in v0.21.0

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

Deprecated: Use Holder.ProtoReflect.Descriptor instead.

func (*Holder) GetHoldFor added in v0.21.0

func (x *Holder) GetHoldFor() *durationpb.Duration

func (*Holder) GetInPorts added in v0.21.0

func (x *Holder) GetInPorts() *Holder_Ins

func (*Holder) GetOutPorts added in v0.21.0

func (x *Holder) GetOutPorts() *Holder_Outs

func (*Holder) MarshalJSON added in v0.21.0

func (msg *Holder) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Holder) ProtoMessage added in v0.21.0

func (*Holder) ProtoMessage()

func (*Holder) ProtoReflect added in v0.21.0

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

func (*Holder) Reset added in v0.21.0

func (x *Holder) Reset()

func (*Holder) String added in v0.21.0

func (x *Holder) String() string

func (*Holder) UnmarshalJSON added in v0.21.0

func (msg *Holder) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Holder) Validate added in v1.2.0

func (m *Holder) Validate() error

Validate checks the field values on Holder with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Holder) ValidateAll added in v1.2.0

func (m *Holder) ValidateAll() error

ValidateAll checks the field values on Holder with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HolderMultiError, or nil if none found.

type HolderMultiError added in v1.2.0

type HolderMultiError []error

HolderMultiError is an error wrapping multiple validation errors returned by Holder.ValidateAll() if the designated constraints aren't met.

func (HolderMultiError) AllErrors added in v1.2.0

func (m HolderMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HolderMultiError) Error added in v1.2.0

func (m HolderMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HolderValidationError added in v1.2.0

type HolderValidationError struct {
	// contains filtered or unexported fields
}

HolderValidationError is the validation error returned by Holder.Validate if the designated constraints aren't met.

func (HolderValidationError) Cause added in v1.2.0

func (e HolderValidationError) Cause() error

Cause function returns cause value.

func (HolderValidationError) Error added in v1.2.0

func (e HolderValidationError) Error() string

Error satisfies the builtin error interface

func (HolderValidationError) ErrorName added in v1.2.0

func (e HolderValidationError) ErrorName() string

ErrorName returns error name.

func (HolderValidationError) Field added in v1.2.0

func (e HolderValidationError) Field() string

Field function returns field value.

func (HolderValidationError) Key added in v1.2.0

func (e HolderValidationError) Key() bool

Key function returns key value.

func (HolderValidationError) Reason added in v1.2.0

func (e HolderValidationError) Reason() string

Reason function returns reason value.

type Holder_Ins added in v0.21.0

type Holder_Ins struct {

	// The input signal.
	Input *InPort `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// Resets the holder output to the current input signal when reset signal is valid and non-zero.
	Reset_ *InPort `protobuf:"bytes,2,opt,name=reset,proto3" json:"reset,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the Holder component.

func (*Holder_Ins) DeepCopy added in v0.21.0

func (in *Holder_Ins) DeepCopy() *Holder_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Holder_Ins. Required by controller-gen.

func (*Holder_Ins) DeepCopyInterface added in v0.21.0

func (in *Holder_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Holder_Ins. Required by controller-gen.

func (*Holder_Ins) DeepCopyInto added in v0.21.0

func (in *Holder_Ins) DeepCopyInto(out *Holder_Ins)

DeepCopyInto supports using Holder_Ins within kubernetes types, where deepcopy-gen is used.

func (*Holder_Ins) Descriptor deprecated added in v0.21.0

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

Deprecated: Use Holder_Ins.ProtoReflect.Descriptor instead.

func (*Holder_Ins) GetInput added in v0.21.0

func (x *Holder_Ins) GetInput() *InPort

func (*Holder_Ins) GetReset_ added in v0.25.0

func (x *Holder_Ins) GetReset_() *InPort

func (*Holder_Ins) MarshalJSON added in v0.21.0

func (msg *Holder_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Holder_Ins) ProtoMessage added in v0.21.0

func (*Holder_Ins) ProtoMessage()

func (*Holder_Ins) ProtoReflect added in v0.21.0

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

func (*Holder_Ins) Reset added in v0.21.0

func (x *Holder_Ins) Reset()

func (*Holder_Ins) String added in v0.21.0

func (x *Holder_Ins) String() string

func (*Holder_Ins) UnmarshalJSON added in v0.21.0

func (msg *Holder_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Holder_Ins) Validate added in v1.2.0

func (m *Holder_Ins) Validate() error

Validate checks the field values on Holder_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Holder_Ins) ValidateAll added in v1.2.0

func (m *Holder_Ins) ValidateAll() error

ValidateAll checks the field values on Holder_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Holder_InsMultiError, or nil if none found.

type Holder_InsMultiError added in v1.2.0

type Holder_InsMultiError []error

Holder_InsMultiError is an error wrapping multiple validation errors returned by Holder_Ins.ValidateAll() if the designated constraints aren't met.

func (Holder_InsMultiError) AllErrors added in v1.2.0

func (m Holder_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Holder_InsMultiError) Error added in v1.2.0

func (m Holder_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Holder_InsValidationError added in v1.2.0

type Holder_InsValidationError struct {
	// contains filtered or unexported fields
}

Holder_InsValidationError is the validation error returned by Holder_Ins.Validate if the designated constraints aren't met.

func (Holder_InsValidationError) Cause added in v1.2.0

func (e Holder_InsValidationError) Cause() error

Cause function returns cause value.

func (Holder_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Holder_InsValidationError) ErrorName added in v1.2.0

func (e Holder_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Holder_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (Holder_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (Holder_InsValidationError) Reason added in v1.2.0

func (e Holder_InsValidationError) Reason() string

Reason function returns reason value.

type Holder_Outs added in v0.21.0

type Holder_Outs struct {

	// The output signal.
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the Holder component.

func (*Holder_Outs) DeepCopy added in v0.21.0

func (in *Holder_Outs) DeepCopy() *Holder_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Holder_Outs. Required by controller-gen.

func (*Holder_Outs) DeepCopyInterface added in v0.21.0

func (in *Holder_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Holder_Outs. Required by controller-gen.

func (*Holder_Outs) DeepCopyInto added in v0.21.0

func (in *Holder_Outs) DeepCopyInto(out *Holder_Outs)

DeepCopyInto supports using Holder_Outs within kubernetes types, where deepcopy-gen is used.

func (*Holder_Outs) Descriptor deprecated added in v0.21.0

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

Deprecated: Use Holder_Outs.ProtoReflect.Descriptor instead.

func (*Holder_Outs) GetOutput added in v0.21.0

func (x *Holder_Outs) GetOutput() *OutPort

func (*Holder_Outs) MarshalJSON added in v0.21.0

func (msg *Holder_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Holder_Outs) ProtoMessage added in v0.21.0

func (*Holder_Outs) ProtoMessage()

func (*Holder_Outs) ProtoReflect added in v0.21.0

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

func (*Holder_Outs) Reset added in v0.21.0

func (x *Holder_Outs) Reset()

func (*Holder_Outs) String added in v0.21.0

func (x *Holder_Outs) String() string

func (*Holder_Outs) UnmarshalJSON added in v0.21.0

func (msg *Holder_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Holder_Outs) Validate added in v1.2.0

func (m *Holder_Outs) Validate() error

Validate checks the field values on Holder_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Holder_Outs) ValidateAll added in v1.2.0

func (m *Holder_Outs) ValidateAll() error

ValidateAll checks the field values on Holder_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Holder_OutsMultiError, or nil if none found.

type Holder_OutsMultiError added in v1.2.0

type Holder_OutsMultiError []error

Holder_OutsMultiError is an error wrapping multiple validation errors returned by Holder_Outs.ValidateAll() if the designated constraints aren't met.

func (Holder_OutsMultiError) AllErrors added in v1.2.0

func (m Holder_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Holder_OutsMultiError) Error added in v1.2.0

func (m Holder_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Holder_OutsValidationError added in v1.2.0

type Holder_OutsValidationError struct {
	// contains filtered or unexported fields
}

Holder_OutsValidationError is the validation error returned by Holder_Outs.Validate if the designated constraints aren't met.

func (Holder_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Holder_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Holder_OutsValidationError) ErrorName added in v1.2.0

func (e Holder_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Holder_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (Holder_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (Holder_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type InPort added in v0.5.0

type InPort struct {

	// Types that are assignable to Value:
	//
	//	*InPort_SignalName
	//	*InPort_ConstantSignal
	Value isInPort_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

Components receive input from other components through InPorts

func (*InPort) DeepCopy added in v0.5.0

func (in *InPort) DeepCopy() *InPort

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InPort. Required by controller-gen.

func (*InPort) DeepCopyInterface added in v0.5.0

func (in *InPort) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new InPort. Required by controller-gen.

func (*InPort) DeepCopyInto added in v0.5.0

func (in *InPort) DeepCopyInto(out *InPort)

DeepCopyInto supports using InPort within kubernetes types, where deepcopy-gen is used.

func (*InPort) Descriptor deprecated added in v0.5.0

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

Deprecated: Use InPort.ProtoReflect.Descriptor instead.

func (*InPort) GetConstantSignal added in v0.21.0

func (x *InPort) GetConstantSignal() *ConstantSignal

func (*InPort) GetSignalName added in v0.5.0

func (x *InPort) GetSignalName() string

func (*InPort) GetValue added in v0.5.0

func (m *InPort) GetValue() isInPort_Value

func (*InPort) MarshalJSON added in v0.5.0

func (msg *InPort) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*InPort) ProtoMessage added in v0.5.0

func (*InPort) ProtoMessage()

func (*InPort) ProtoReflect added in v0.5.0

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

func (*InPort) Reset added in v0.5.0

func (x *InPort) Reset()

func (*InPort) String added in v0.5.0

func (x *InPort) String() string

func (*InPort) UnmarshalJSON added in v0.5.0

func (msg *InPort) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*InPort) Validate added in v1.2.0

func (m *InPort) Validate() error

Validate checks the field values on InPort with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*InPort) ValidateAll added in v1.2.0

func (m *InPort) ValidateAll() error

ValidateAll checks the field values on InPort with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InPortMultiError, or nil if none found.

type InPortMultiError added in v1.2.0

type InPortMultiError []error

InPortMultiError is an error wrapping multiple validation errors returned by InPort.ValidateAll() if the designated constraints aren't met.

func (InPortMultiError) AllErrors added in v1.2.0

func (m InPortMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InPortMultiError) Error added in v1.2.0

func (m InPortMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type InPortValidationError added in v1.2.0

type InPortValidationError struct {
	// contains filtered or unexported fields
}

InPortValidationError is the validation error returned by InPort.Validate if the designated constraints aren't met.

func (InPortValidationError) Cause added in v1.2.0

func (e InPortValidationError) Cause() error

Cause function returns cause value.

func (InPortValidationError) Error added in v1.2.0

func (e InPortValidationError) Error() string

Error satisfies the builtin error interface

func (InPortValidationError) ErrorName added in v1.2.0

func (e InPortValidationError) ErrorName() string

ErrorName returns error name.

func (InPortValidationError) Field added in v1.2.0

func (e InPortValidationError) Field() string

Field function returns field value.

func (InPortValidationError) Key added in v1.2.0

func (e InPortValidationError) Key() bool

Key function returns key value.

func (InPortValidationError) Reason added in v1.2.0

func (e InPortValidationError) Reason() string

Reason function returns reason value.

type InPort_ConstantSignal added in v0.21.0

type InPort_ConstantSignal struct {
	// Constant value to be used for this InPort instead of a signal.
	ConstantSignal *ConstantSignal `protobuf:"bytes,2,opt,name=constant_signal,json=constantSignal,proto3,oneof"`
}

type InPort_SignalName added in v0.5.0

type InPort_SignalName struct {
	// Name of the incoming Signal on the InPort.
	SignalName string `protobuf:"bytes,1,opt,name=signal_name,json=signalName,proto3,oneof"`
}

type IncreasingGradient added in v1.3.0

type IncreasingGradient struct {

	// Input ports for the Gradient.
	InPorts *IncreasingGradient_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Gradient parameters for the controller. Defaults and constraints:
	// * `slope` = 1
	// * `min_gradient` = 1 (cannot be changed)
	// * `max_gradient` = +Inf (must be greater than 1)
	Parameters *IncreasingGradient_Parameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

Increasing Gradient defines a controller for scaling out based on Gradient Controller.

func (*IncreasingGradient) DeepCopy added in v1.3.0

func (in *IncreasingGradient) DeepCopy() *IncreasingGradient

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IncreasingGradient. Required by controller-gen.

func (*IncreasingGradient) DeepCopyInterface added in v1.3.0

func (in *IncreasingGradient) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new IncreasingGradient. Required by controller-gen.

func (*IncreasingGradient) DeepCopyInto added in v1.3.0

func (in *IncreasingGradient) DeepCopyInto(out *IncreasingGradient)

DeepCopyInto supports using IncreasingGradient within kubernetes types, where deepcopy-gen is used.

func (*IncreasingGradient) Descriptor deprecated added in v1.3.0

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

Deprecated: Use IncreasingGradient.ProtoReflect.Descriptor instead.

func (*IncreasingGradient) GetInPorts added in v1.3.0

func (x *IncreasingGradient) GetInPorts() *IncreasingGradient_Ins

func (*IncreasingGradient) GetParameters added in v1.3.0

func (*IncreasingGradient) MarshalJSON added in v1.3.0

func (msg *IncreasingGradient) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*IncreasingGradient) ProtoMessage added in v1.3.0

func (*IncreasingGradient) ProtoMessage()

func (*IncreasingGradient) ProtoReflect added in v1.3.0

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

func (*IncreasingGradient) Reset added in v1.3.0

func (x *IncreasingGradient) Reset()

func (*IncreasingGradient) String added in v1.3.0

func (x *IncreasingGradient) String() string

func (*IncreasingGradient) UnmarshalJSON added in v1.3.0

func (msg *IncreasingGradient) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*IncreasingGradient) Validate added in v1.3.0

func (m *IncreasingGradient) Validate() error

Validate checks the field values on IncreasingGradient with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*IncreasingGradient) ValidateAll added in v1.3.0

func (m *IncreasingGradient) ValidateAll() error

ValidateAll checks the field values on IncreasingGradient with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IncreasingGradientMultiError, or nil if none found.

type IncreasingGradientMultiError added in v1.3.0

type IncreasingGradientMultiError []error

IncreasingGradientMultiError is an error wrapping multiple validation errors returned by IncreasingGradient.ValidateAll() if the designated constraints aren't met.

func (IncreasingGradientMultiError) AllErrors added in v1.3.0

func (m IncreasingGradientMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IncreasingGradientMultiError) Error added in v1.3.0

Error returns a concatenation of all the error messages it wraps.

type IncreasingGradientValidationError added in v1.3.0

type IncreasingGradientValidationError struct {
	// contains filtered or unexported fields
}

IncreasingGradientValidationError is the validation error returned by IncreasingGradient.Validate if the designated constraints aren't met.

func (IncreasingGradientValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (IncreasingGradientValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (IncreasingGradientValidationError) ErrorName added in v1.3.0

ErrorName returns error name.

func (IncreasingGradientValidationError) Field added in v1.3.0

Field function returns field value.

func (IncreasingGradientValidationError) Key added in v1.3.0

Key function returns key value.

func (IncreasingGradientValidationError) Reason added in v1.3.0

Reason function returns reason value.

type IncreasingGradient_Ins added in v1.3.0

type IncreasingGradient_Ins struct {

	// The signal to use for scale-out.
	Signal *InPort `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"`
	// The setpoint to use for scale-out.
	Setpoint *InPort `protobuf:"bytes,2,opt,name=setpoint,proto3" json:"setpoint,omitempty"`
	// contains filtered or unexported fields
}

Inputs for Gradient.

func (*IncreasingGradient_Ins) DeepCopy added in v1.3.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IncreasingGradient_Ins. Required by controller-gen.

func (*IncreasingGradient_Ins) DeepCopyInterface added in v1.3.0

func (in *IncreasingGradient_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new IncreasingGradient_Ins. Required by controller-gen.

func (*IncreasingGradient_Ins) DeepCopyInto added in v1.3.0

func (in *IncreasingGradient_Ins) DeepCopyInto(out *IncreasingGradient_Ins)

DeepCopyInto supports using IncreasingGradient_Ins within kubernetes types, where deepcopy-gen is used.

func (*IncreasingGradient_Ins) Descriptor deprecated added in v1.3.0

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

Deprecated: Use IncreasingGradient_Ins.ProtoReflect.Descriptor instead.

func (*IncreasingGradient_Ins) GetSetpoint added in v1.3.0

func (x *IncreasingGradient_Ins) GetSetpoint() *InPort

func (*IncreasingGradient_Ins) GetSignal added in v1.3.0

func (x *IncreasingGradient_Ins) GetSignal() *InPort

func (*IncreasingGradient_Ins) MarshalJSON added in v1.3.0

func (msg *IncreasingGradient_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*IncreasingGradient_Ins) ProtoMessage added in v1.3.0

func (*IncreasingGradient_Ins) ProtoMessage()

func (*IncreasingGradient_Ins) ProtoReflect added in v1.3.0

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

func (*IncreasingGradient_Ins) Reset added in v1.3.0

func (x *IncreasingGradient_Ins) Reset()

func (*IncreasingGradient_Ins) String added in v1.3.0

func (x *IncreasingGradient_Ins) String() string

func (*IncreasingGradient_Ins) UnmarshalJSON added in v1.3.0

func (msg *IncreasingGradient_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*IncreasingGradient_Ins) Validate added in v1.3.0

func (m *IncreasingGradient_Ins) Validate() error

Validate checks the field values on IncreasingGradient_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*IncreasingGradient_Ins) ValidateAll added in v1.3.0

func (m *IncreasingGradient_Ins) ValidateAll() error

ValidateAll checks the field values on IncreasingGradient_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IncreasingGradient_InsMultiError, or nil if none found.

type IncreasingGradient_InsMultiError added in v1.3.0

type IncreasingGradient_InsMultiError []error

IncreasingGradient_InsMultiError is an error wrapping multiple validation errors returned by IncreasingGradient_Ins.ValidateAll() if the designated constraints aren't met.

func (IncreasingGradient_InsMultiError) AllErrors added in v1.3.0

func (m IncreasingGradient_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IncreasingGradient_InsMultiError) Error added in v1.3.0

Error returns a concatenation of all the error messages it wraps.

type IncreasingGradient_InsValidationError added in v1.3.0

type IncreasingGradient_InsValidationError struct {
	// contains filtered or unexported fields
}

IncreasingGradient_InsValidationError is the validation error returned by IncreasingGradient_Ins.Validate if the designated constraints aren't met.

func (IncreasingGradient_InsValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (IncreasingGradient_InsValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (IncreasingGradient_InsValidationError) ErrorName added in v1.3.0

ErrorName returns error name.

func (IncreasingGradient_InsValidationError) Field added in v1.3.0

Field function returns field value.

func (IncreasingGradient_InsValidationError) Key added in v1.3.0

Key function returns key value.

func (IncreasingGradient_InsValidationError) Reason added in v1.3.0

Reason function returns reason value.

type IncreasingGradient_Parameters added in v1.3.0

type IncreasingGradient_Parameters struct {
	Slope       float64 `protobuf:"fixed64,1,opt,name=slope,proto3" json:"slope,omitempty" default:"1.0"` // @gotags: default:"1.0"
	MaxGradient float64 ``                                                                                // @gotags: default:"1.79769313486231570814527423731704356798070e+308" validate:"gte=1.0"
	/* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

This allows subset of parameters with constrained values compared to a regular gradient controller. For full documentation of these parameters, refer to the [GradientControllerParameters](#gradient-controller-parameters).

func (*IncreasingGradient_Parameters) DeepCopy added in v1.3.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IncreasingGradient_Parameters. Required by controller-gen.

func (*IncreasingGradient_Parameters) DeepCopyInterface added in v1.3.0

func (in *IncreasingGradient_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new IncreasingGradient_Parameters. Required by controller-gen.

func (*IncreasingGradient_Parameters) DeepCopyInto added in v1.3.0

DeepCopyInto supports using IncreasingGradient_Parameters within kubernetes types, where deepcopy-gen is used.

func (*IncreasingGradient_Parameters) Descriptor deprecated added in v1.3.0

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

Deprecated: Use IncreasingGradient_Parameters.ProtoReflect.Descriptor instead.

func (*IncreasingGradient_Parameters) GetMaxGradient added in v1.3.0

func (x *IncreasingGradient_Parameters) GetMaxGradient() float64

func (*IncreasingGradient_Parameters) GetSlope added in v1.3.0

func (x *IncreasingGradient_Parameters) GetSlope() float64

func (*IncreasingGradient_Parameters) MarshalJSON added in v1.3.0

func (msg *IncreasingGradient_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*IncreasingGradient_Parameters) ProtoMessage added in v1.3.0

func (*IncreasingGradient_Parameters) ProtoMessage()

func (*IncreasingGradient_Parameters) ProtoReflect added in v1.3.0

func (*IncreasingGradient_Parameters) Reset added in v1.3.0

func (x *IncreasingGradient_Parameters) Reset()

func (*IncreasingGradient_Parameters) String added in v1.3.0

func (*IncreasingGradient_Parameters) UnmarshalJSON added in v1.3.0

func (msg *IncreasingGradient_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*IncreasingGradient_Parameters) Validate added in v1.3.0

func (m *IncreasingGradient_Parameters) Validate() error

Validate checks the field values on IncreasingGradient_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*IncreasingGradient_Parameters) ValidateAll added in v1.3.0

func (m *IncreasingGradient_Parameters) ValidateAll() error

ValidateAll checks the field values on IncreasingGradient_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IncreasingGradient_ParametersMultiError, or nil if none found.

type IncreasingGradient_ParametersMultiError added in v1.3.0

type IncreasingGradient_ParametersMultiError []error

IncreasingGradient_ParametersMultiError is an error wrapping multiple validation errors returned by IncreasingGradient_Parameters.ValidateAll() if the designated constraints aren't met.

func (IncreasingGradient_ParametersMultiError) AllErrors added in v1.3.0

AllErrors returns a list of validation violation errors.

func (IncreasingGradient_ParametersMultiError) Error added in v1.3.0

Error returns a concatenation of all the error messages it wraps.

type IncreasingGradient_ParametersValidationError added in v1.3.0

type IncreasingGradient_ParametersValidationError struct {
	// contains filtered or unexported fields
}

IncreasingGradient_ParametersValidationError is the validation error returned by IncreasingGradient_Parameters.Validate if the designated constraints aren't met.

func (IncreasingGradient_ParametersValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (IncreasingGradient_ParametersValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (IncreasingGradient_ParametersValidationError) ErrorName added in v1.3.0

ErrorName returns error name.

func (IncreasingGradient_ParametersValidationError) Field added in v1.3.0

Field function returns field value.

func (IncreasingGradient_ParametersValidationError) Key added in v1.3.0

Key function returns key value.

func (IncreasingGradient_ParametersValidationError) Reason added in v1.3.0

Reason function returns reason value.

type Integrator added in v0.16.0

type Integrator struct {

	// Input ports for the Integrator component.
	InPorts *Integrator_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the Integrator component.
	OutPorts *Integrator_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

Accumulates sum of signal every tick.

func (*Integrator) DeepCopy added in v0.16.0

func (in *Integrator) DeepCopy() *Integrator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Integrator. Required by controller-gen.

func (*Integrator) DeepCopyInterface added in v0.16.0

func (in *Integrator) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Integrator. Required by controller-gen.

func (*Integrator) DeepCopyInto added in v0.16.0

func (in *Integrator) DeepCopyInto(out *Integrator)

DeepCopyInto supports using Integrator within kubernetes types, where deepcopy-gen is used.

func (*Integrator) Descriptor deprecated added in v0.16.0

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

Deprecated: Use Integrator.ProtoReflect.Descriptor instead.

func (*Integrator) GetInPorts added in v0.16.0

func (x *Integrator) GetInPorts() *Integrator_Ins

func (*Integrator) GetOutPorts added in v0.16.0

func (x *Integrator) GetOutPorts() *Integrator_Outs

func (*Integrator) MarshalJSON added in v0.16.0

func (msg *Integrator) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Integrator) ProtoMessage added in v0.16.0

func (*Integrator) ProtoMessage()

func (*Integrator) ProtoReflect added in v0.16.0

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

func (*Integrator) Reset added in v0.16.0

func (x *Integrator) Reset()

func (*Integrator) String added in v0.16.0

func (x *Integrator) String() string

func (*Integrator) UnmarshalJSON added in v0.16.0

func (msg *Integrator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Integrator) Validate added in v1.2.0

func (m *Integrator) Validate() error

Validate checks the field values on Integrator with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Integrator) ValidateAll added in v1.2.0

func (m *Integrator) ValidateAll() error

ValidateAll checks the field values on Integrator with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IntegratorMultiError, or nil if none found.

type IntegratorMultiError added in v1.2.0

type IntegratorMultiError []error

IntegratorMultiError is an error wrapping multiple validation errors returned by Integrator.ValidateAll() if the designated constraints aren't met.

func (IntegratorMultiError) AllErrors added in v1.2.0

func (m IntegratorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IntegratorMultiError) Error added in v1.2.0

func (m IntegratorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type IntegratorValidationError added in v1.2.0

type IntegratorValidationError struct {
	// contains filtered or unexported fields
}

IntegratorValidationError is the validation error returned by Integrator.Validate if the designated constraints aren't met.

func (IntegratorValidationError) Cause added in v1.2.0

func (e IntegratorValidationError) Cause() error

Cause function returns cause value.

func (IntegratorValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (IntegratorValidationError) ErrorName added in v1.2.0

func (e IntegratorValidationError) ErrorName() string

ErrorName returns error name.

func (IntegratorValidationError) Field added in v1.2.0

Field function returns field value.

func (IntegratorValidationError) Key added in v1.2.0

Key function returns key value.

func (IntegratorValidationError) Reason added in v1.2.0

func (e IntegratorValidationError) Reason() string

Reason function returns reason value.

type Integrator_Ins added in v0.16.0

type Integrator_Ins struct {

	// The input signal.
	Input *InPort `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// Resets the integrator output to zero when reset signal is valid and non-zero. Reset also resets the max and min constraints.
	Reset_ *InPort `protobuf:"bytes,2,opt,name=reset,proto3" json:"reset,omitempty"`
	// The maximum output.
	Max *InPort `protobuf:"bytes,3,opt,name=max,proto3" json:"max,omitempty"`
	// The minimum output.
	Min *InPort `protobuf:"bytes,4,opt,name=min,proto3" json:"min,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the Integrator component.

func (*Integrator_Ins) DeepCopy added in v0.16.0

func (in *Integrator_Ins) DeepCopy() *Integrator_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Integrator_Ins. Required by controller-gen.

func (*Integrator_Ins) DeepCopyInterface added in v0.16.0

func (in *Integrator_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Integrator_Ins. Required by controller-gen.

func (*Integrator_Ins) DeepCopyInto added in v0.16.0

func (in *Integrator_Ins) DeepCopyInto(out *Integrator_Ins)

DeepCopyInto supports using Integrator_Ins within kubernetes types, where deepcopy-gen is used.

func (*Integrator_Ins) Descriptor deprecated added in v0.16.0

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

Deprecated: Use Integrator_Ins.ProtoReflect.Descriptor instead.

func (*Integrator_Ins) GetInput added in v0.16.0

func (x *Integrator_Ins) GetInput() *InPort

func (*Integrator_Ins) GetMax added in v0.16.0

func (x *Integrator_Ins) GetMax() *InPort

func (*Integrator_Ins) GetMin added in v0.16.0

func (x *Integrator_Ins) GetMin() *InPort

func (*Integrator_Ins) GetReset_ added in v0.16.0

func (x *Integrator_Ins) GetReset_() *InPort

func (*Integrator_Ins) MarshalJSON added in v0.16.0

func (msg *Integrator_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Integrator_Ins) ProtoMessage added in v0.16.0

func (*Integrator_Ins) ProtoMessage()

func (*Integrator_Ins) ProtoReflect added in v0.16.0

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

func (*Integrator_Ins) Reset added in v0.16.0

func (x *Integrator_Ins) Reset()

func (*Integrator_Ins) String added in v0.16.0

func (x *Integrator_Ins) String() string

func (*Integrator_Ins) UnmarshalJSON added in v0.16.0

func (msg *Integrator_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Integrator_Ins) Validate added in v1.2.0

func (m *Integrator_Ins) Validate() error

Validate checks the field values on Integrator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Integrator_Ins) ValidateAll added in v1.2.0

func (m *Integrator_Ins) ValidateAll() error

ValidateAll checks the field values on Integrator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Integrator_InsMultiError, or nil if none found.

type Integrator_InsMultiError added in v1.2.0

type Integrator_InsMultiError []error

Integrator_InsMultiError is an error wrapping multiple validation errors returned by Integrator_Ins.ValidateAll() if the designated constraints aren't met.

func (Integrator_InsMultiError) AllErrors added in v1.2.0

func (m Integrator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Integrator_InsMultiError) Error added in v1.2.0

func (m Integrator_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Integrator_InsValidationError added in v1.2.0

type Integrator_InsValidationError struct {
	// contains filtered or unexported fields
}

Integrator_InsValidationError is the validation error returned by Integrator_Ins.Validate if the designated constraints aren't met.

func (Integrator_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Integrator_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Integrator_InsValidationError) ErrorName added in v1.2.0

func (e Integrator_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Integrator_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (Integrator_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (Integrator_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Integrator_Outs added in v0.16.0

type Integrator_Outs struct {
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the Integrator component.

func (*Integrator_Outs) DeepCopy added in v0.16.0

func (in *Integrator_Outs) DeepCopy() *Integrator_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Integrator_Outs. Required by controller-gen.

func (*Integrator_Outs) DeepCopyInterface added in v0.16.0

func (in *Integrator_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Integrator_Outs. Required by controller-gen.

func (*Integrator_Outs) DeepCopyInto added in v0.16.0

func (in *Integrator_Outs) DeepCopyInto(out *Integrator_Outs)

DeepCopyInto supports using Integrator_Outs within kubernetes types, where deepcopy-gen is used.

func (*Integrator_Outs) Descriptor deprecated added in v0.16.0

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

Deprecated: Use Integrator_Outs.ProtoReflect.Descriptor instead.

func (*Integrator_Outs) GetOutput added in v0.16.0

func (x *Integrator_Outs) GetOutput() *OutPort

func (*Integrator_Outs) MarshalJSON added in v0.16.0

func (msg *Integrator_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Integrator_Outs) ProtoMessage added in v0.16.0

func (*Integrator_Outs) ProtoMessage()

func (*Integrator_Outs) ProtoReflect added in v0.16.0

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

func (*Integrator_Outs) Reset added in v0.16.0

func (x *Integrator_Outs) Reset()

func (*Integrator_Outs) String added in v0.16.0

func (x *Integrator_Outs) String() string

func (*Integrator_Outs) UnmarshalJSON added in v0.16.0

func (msg *Integrator_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Integrator_Outs) Validate added in v1.2.0

func (m *Integrator_Outs) Validate() error

Validate checks the field values on Integrator_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Integrator_Outs) ValidateAll added in v1.2.0

func (m *Integrator_Outs) ValidateAll() error

ValidateAll checks the field values on Integrator_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Integrator_OutsMultiError, or nil if none found.

type Integrator_OutsMultiError added in v1.2.0

type Integrator_OutsMultiError []error

Integrator_OutsMultiError is an error wrapping multiple validation errors returned by Integrator_Outs.ValidateAll() if the designated constraints aren't met.

func (Integrator_OutsMultiError) AllErrors added in v1.2.0

func (m Integrator_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Integrator_OutsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type Integrator_OutsValidationError added in v1.2.0

type Integrator_OutsValidationError struct {
	// contains filtered or unexported fields
}

Integrator_OutsValidationError is the validation error returned by Integrator_Outs.Validate if the designated constraints aren't met.

func (Integrator_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Integrator_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Integrator_OutsValidationError) ErrorName added in v1.2.0

func (e Integrator_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Integrator_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (Integrator_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (Integrator_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Inverter added in v0.20.0

type Inverter struct {

	// Input ports for the Inverter component.
	InPorts *Inverter_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the Inverter component.
	OutPorts *Inverter_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

Logical NOT.

See [And component](#and) on how signals are mapped onto Boolean values.

func (*Inverter) DeepCopy added in v0.20.0

func (in *Inverter) DeepCopy() *Inverter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Inverter. Required by controller-gen.

func (*Inverter) DeepCopyInterface added in v0.20.0

func (in *Inverter) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Inverter. Required by controller-gen.

func (*Inverter) DeepCopyInto added in v0.20.0

func (in *Inverter) DeepCopyInto(out *Inverter)

DeepCopyInto supports using Inverter within kubernetes types, where deepcopy-gen is used.

func (*Inverter) Descriptor deprecated added in v0.20.0

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

Deprecated: Use Inverter.ProtoReflect.Descriptor instead.

func (*Inverter) GetInPorts added in v0.20.0

func (x *Inverter) GetInPorts() *Inverter_Ins

func (*Inverter) GetOutPorts added in v0.20.0

func (x *Inverter) GetOutPorts() *Inverter_Outs

func (*Inverter) MarshalJSON added in v0.20.0

func (msg *Inverter) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Inverter) ProtoMessage added in v0.20.0

func (*Inverter) ProtoMessage()

func (*Inverter) ProtoReflect added in v0.20.0

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

func (*Inverter) Reset added in v0.20.0

func (x *Inverter) Reset()

func (*Inverter) String added in v0.20.0

func (x *Inverter) String() string

func (*Inverter) UnmarshalJSON added in v0.20.0

func (msg *Inverter) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Inverter) Validate added in v1.2.0

func (m *Inverter) Validate() error

Validate checks the field values on Inverter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Inverter) ValidateAll added in v1.2.0

func (m *Inverter) ValidateAll() error

ValidateAll checks the field values on Inverter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InverterMultiError, or nil if none found.

type InverterMultiError added in v1.2.0

type InverterMultiError []error

InverterMultiError is an error wrapping multiple validation errors returned by Inverter.ValidateAll() if the designated constraints aren't met.

func (InverterMultiError) AllErrors added in v1.2.0

func (m InverterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InverterMultiError) Error added in v1.2.0

func (m InverterMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type InverterValidationError added in v1.2.0

type InverterValidationError struct {
	// contains filtered or unexported fields
}

InverterValidationError is the validation error returned by Inverter.Validate if the designated constraints aren't met.

func (InverterValidationError) Cause added in v1.2.0

func (e InverterValidationError) Cause() error

Cause function returns cause value.

func (InverterValidationError) Error added in v1.2.0

func (e InverterValidationError) Error() string

Error satisfies the builtin error interface

func (InverterValidationError) ErrorName added in v1.2.0

func (e InverterValidationError) ErrorName() string

ErrorName returns error name.

func (InverterValidationError) Field added in v1.2.0

func (e InverterValidationError) Field() string

Field function returns field value.

func (InverterValidationError) Key added in v1.2.0

func (e InverterValidationError) Key() bool

Key function returns key value.

func (InverterValidationError) Reason added in v1.2.0

func (e InverterValidationError) Reason() string

Reason function returns reason value.

type Inverter_Ins added in v0.20.0

type Inverter_Ins struct {

	// Signal to be negated.
	Input *InPort `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty" validate:"dive"` // @gotags: validate:"dive"
	// contains filtered or unexported fields
}

Inputs for the Inverter component.

func (*Inverter_Ins) DeepCopy added in v0.20.0

func (in *Inverter_Ins) DeepCopy() *Inverter_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Inverter_Ins. Required by controller-gen.

func (*Inverter_Ins) DeepCopyInterface added in v0.20.0

func (in *Inverter_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Inverter_Ins. Required by controller-gen.

func (*Inverter_Ins) DeepCopyInto added in v0.20.0

func (in *Inverter_Ins) DeepCopyInto(out *Inverter_Ins)

DeepCopyInto supports using Inverter_Ins within kubernetes types, where deepcopy-gen is used.

func (*Inverter_Ins) Descriptor deprecated added in v0.20.0

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

Deprecated: Use Inverter_Ins.ProtoReflect.Descriptor instead.

func (*Inverter_Ins) GetInput added in v0.20.0

func (x *Inverter_Ins) GetInput() *InPort

func (*Inverter_Ins) MarshalJSON added in v0.20.0

func (msg *Inverter_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Inverter_Ins) ProtoMessage added in v0.20.0

func (*Inverter_Ins) ProtoMessage()

func (*Inverter_Ins) ProtoReflect added in v0.20.0

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

func (*Inverter_Ins) Reset added in v0.20.0

func (x *Inverter_Ins) Reset()

func (*Inverter_Ins) String added in v0.20.0

func (x *Inverter_Ins) String() string

func (*Inverter_Ins) UnmarshalJSON added in v0.20.0

func (msg *Inverter_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Inverter_Ins) Validate added in v1.2.0

func (m *Inverter_Ins) Validate() error

Validate checks the field values on Inverter_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Inverter_Ins) ValidateAll added in v1.2.0

func (m *Inverter_Ins) ValidateAll() error

ValidateAll checks the field values on Inverter_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Inverter_InsMultiError, or nil if none found.

type Inverter_InsMultiError added in v1.2.0

type Inverter_InsMultiError []error

Inverter_InsMultiError is an error wrapping multiple validation errors returned by Inverter_Ins.ValidateAll() if the designated constraints aren't met.

func (Inverter_InsMultiError) AllErrors added in v1.2.0

func (m Inverter_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Inverter_InsMultiError) Error added in v1.2.0

func (m Inverter_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Inverter_InsValidationError added in v1.2.0

type Inverter_InsValidationError struct {
	// contains filtered or unexported fields
}

Inverter_InsValidationError is the validation error returned by Inverter_Ins.Validate if the designated constraints aren't met.

func (Inverter_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Inverter_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Inverter_InsValidationError) ErrorName added in v1.2.0

func (e Inverter_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Inverter_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (Inverter_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (Inverter_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Inverter_Outs added in v0.20.0

type Inverter_Outs struct {

	// Logical negation of the input signal.
	//
	// Will always be 0 (false), 1 (true) or invalid (unknown).
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Output ports for the Inverter component.

func (*Inverter_Outs) DeepCopy added in v0.20.0

func (in *Inverter_Outs) DeepCopy() *Inverter_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Inverter_Outs. Required by controller-gen.

func (*Inverter_Outs) DeepCopyInterface added in v0.20.0

func (in *Inverter_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Inverter_Outs. Required by controller-gen.

func (*Inverter_Outs) DeepCopyInto added in v0.20.0

func (in *Inverter_Outs) DeepCopyInto(out *Inverter_Outs)

DeepCopyInto supports using Inverter_Outs within kubernetes types, where deepcopy-gen is used.

func (*Inverter_Outs) Descriptor deprecated added in v0.20.0

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

Deprecated: Use Inverter_Outs.ProtoReflect.Descriptor instead.

func (*Inverter_Outs) GetOutput added in v0.20.0

func (x *Inverter_Outs) GetOutput() *OutPort

func (*Inverter_Outs) MarshalJSON added in v0.20.0

func (msg *Inverter_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Inverter_Outs) ProtoMessage added in v0.20.0

func (*Inverter_Outs) ProtoMessage()

func (*Inverter_Outs) ProtoReflect added in v0.20.0

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

func (*Inverter_Outs) Reset added in v0.20.0

func (x *Inverter_Outs) Reset()

func (*Inverter_Outs) String added in v0.20.0

func (x *Inverter_Outs) String() string

func (*Inverter_Outs) UnmarshalJSON added in v0.20.0

func (msg *Inverter_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Inverter_Outs) Validate added in v1.2.0

func (m *Inverter_Outs) Validate() error

Validate checks the field values on Inverter_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Inverter_Outs) ValidateAll added in v1.2.0

func (m *Inverter_Outs) ValidateAll() error

ValidateAll checks the field values on Inverter_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Inverter_OutsMultiError, or nil if none found.

type Inverter_OutsMultiError added in v1.2.0

type Inverter_OutsMultiError []error

Inverter_OutsMultiError is an error wrapping multiple validation errors returned by Inverter_Outs.ValidateAll() if the designated constraints aren't met.

func (Inverter_OutsMultiError) AllErrors added in v1.2.0

func (m Inverter_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Inverter_OutsMultiError) Error added in v1.2.0

func (m Inverter_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Inverter_OutsValidationError added in v1.2.0

type Inverter_OutsValidationError struct {
	// contains filtered or unexported fields
}

Inverter_OutsValidationError is the validation error returned by Inverter_Outs.Validate if the designated constraints aren't met.

func (Inverter_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Inverter_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Inverter_OutsValidationError) ErrorName added in v1.2.0

func (e Inverter_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Inverter_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (Inverter_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (Inverter_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type JSONExtractor

type JSONExtractor struct {

	// Attribute path pointing to some strings - for example, `request.http.body`.
	From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" validate:"required"` //@gotags: validate:"required"
	// JSON pointer represents a parsed JSON pointer which allows to select a specified field from the payload.
	//
	// Note: Uses [JSON pointer](https://datatracker.ietf.org/doc/html/rfc6901) syntax,
	// for example, `/foo/bar`. If the pointer points into an object, it'd be converted to a string.
	Pointer string `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"`
	// contains filtered or unexported fields
}

Parse JSON, and extract one of the fields

Example: ```yaml from: request.http.body pointer: /user/name ```

func (*JSONExtractor) DeepCopy added in v0.1.2

func (in *JSONExtractor) DeepCopy() *JSONExtractor

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONExtractor. Required by controller-gen.

func (*JSONExtractor) DeepCopyInterface added in v0.1.2

func (in *JSONExtractor) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new JSONExtractor. Required by controller-gen.

func (*JSONExtractor) DeepCopyInto added in v0.1.2

func (in *JSONExtractor) DeepCopyInto(out *JSONExtractor)

DeepCopyInto supports using JSONExtractor within kubernetes types, where deepcopy-gen is used.

func (*JSONExtractor) Descriptor deprecated

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

Deprecated: Use JSONExtractor.ProtoReflect.Descriptor instead.

func (*JSONExtractor) GetFrom

func (x *JSONExtractor) GetFrom() string

func (*JSONExtractor) GetPointer

func (x *JSONExtractor) GetPointer() string

func (*JSONExtractor) MarshalJSON

func (msg *JSONExtractor) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*JSONExtractor) ProtoMessage

func (*JSONExtractor) ProtoMessage()

func (*JSONExtractor) ProtoReflect

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

func (*JSONExtractor) Reset

func (x *JSONExtractor) Reset()

func (*JSONExtractor) String

func (x *JSONExtractor) String() string

func (*JSONExtractor) UnmarshalJSON

func (msg *JSONExtractor) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*JSONExtractor) Validate added in v1.2.0

func (m *JSONExtractor) Validate() error

Validate checks the field values on JSONExtractor with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*JSONExtractor) ValidateAll added in v1.2.0

func (m *JSONExtractor) ValidateAll() error

ValidateAll checks the field values on JSONExtractor with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JSONExtractorMultiError, or nil if none found.

type JSONExtractorMultiError added in v1.2.0

type JSONExtractorMultiError []error

JSONExtractorMultiError is an error wrapping multiple validation errors returned by JSONExtractor.ValidateAll() if the designated constraints aren't met.

func (JSONExtractorMultiError) AllErrors added in v1.2.0

func (m JSONExtractorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JSONExtractorMultiError) Error added in v1.2.0

func (m JSONExtractorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type JSONExtractorValidationError added in v1.2.0

type JSONExtractorValidationError struct {
	// contains filtered or unexported fields
}

JSONExtractorValidationError is the validation error returned by JSONExtractor.Validate if the designated constraints aren't met.

func (JSONExtractorValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (JSONExtractorValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (JSONExtractorValidationError) ErrorName added in v1.2.0

func (e JSONExtractorValidationError) ErrorName() string

ErrorName returns error name.

func (JSONExtractorValidationError) Field added in v1.2.0

Field function returns field value.

func (JSONExtractorValidationError) Key added in v1.2.0

Key function returns key value.

func (JSONExtractorValidationError) Reason added in v1.2.0

Reason function returns reason value.

type JWTExtractor

type JWTExtractor struct {

	// JWT (JSON Web Token) can be extracted from any input attribute, but most likely you'd want to use `request.http.bearer`.
	From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" validate:"required"` //@gotags: validate:"required"
	// JSON pointer allowing to select a specified field from the payload.
	//
	// Note: Uses [JSON pointer](https://datatracker.ietf.org/doc/html/rfc6901) syntax,
	// for example, `/foo/bar`. If the pointer points into an object, it'd be converted to a string.
	JsonPointer string `protobuf:"bytes,2,opt,name=json_pointer,json=jsonPointer,proto3" json:"json_pointer,omitempty"`
	// contains filtered or unexported fields
}

Parse the attribute as JWT and read the payload

Specify a field to be extracted from payload using `json_pointer`.

Note: The signature is not verified against the secret (assuming there's some other part of the system that handles such verification).

Example: ```yaml from: request.http.bearer json_pointer: /user/email ```

func (*JWTExtractor) DeepCopy added in v0.1.2

func (in *JWTExtractor) DeepCopy() *JWTExtractor

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWTExtractor. Required by controller-gen.

func (*JWTExtractor) DeepCopyInterface added in v0.1.2

func (in *JWTExtractor) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new JWTExtractor. Required by controller-gen.

func (*JWTExtractor) DeepCopyInto added in v0.1.2

func (in *JWTExtractor) DeepCopyInto(out *JWTExtractor)

DeepCopyInto supports using JWTExtractor within kubernetes types, where deepcopy-gen is used.

func (*JWTExtractor) Descriptor deprecated

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

Deprecated: Use JWTExtractor.ProtoReflect.Descriptor instead.

func (*JWTExtractor) GetFrom

func (x *JWTExtractor) GetFrom() string

func (*JWTExtractor) GetJsonPointer

func (x *JWTExtractor) GetJsonPointer() string

func (*JWTExtractor) MarshalJSON

func (msg *JWTExtractor) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*JWTExtractor) ProtoMessage

func (*JWTExtractor) ProtoMessage()

func (*JWTExtractor) ProtoReflect

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

func (*JWTExtractor) Reset

func (x *JWTExtractor) Reset()

func (*JWTExtractor) String

func (x *JWTExtractor) String() string

func (*JWTExtractor) UnmarshalJSON

func (msg *JWTExtractor) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*JWTExtractor) Validate added in v1.2.0

func (m *JWTExtractor) Validate() error

Validate checks the field values on JWTExtractor with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*JWTExtractor) ValidateAll added in v1.2.0

func (m *JWTExtractor) ValidateAll() error

ValidateAll checks the field values on JWTExtractor with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JWTExtractorMultiError, or nil if none found.

type JWTExtractorMultiError added in v1.2.0

type JWTExtractorMultiError []error

JWTExtractorMultiError is an error wrapping multiple validation errors returned by JWTExtractor.ValidateAll() if the designated constraints aren't met.

func (JWTExtractorMultiError) AllErrors added in v1.2.0

func (m JWTExtractorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JWTExtractorMultiError) Error added in v1.2.0

func (m JWTExtractorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type JWTExtractorValidationError added in v1.2.0

type JWTExtractorValidationError struct {
	// contains filtered or unexported fields
}

JWTExtractorValidationError is the validation error returned by JWTExtractor.Validate if the designated constraints aren't met.

func (JWTExtractorValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (JWTExtractorValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (JWTExtractorValidationError) ErrorName added in v1.2.0

func (e JWTExtractorValidationError) ErrorName() string

ErrorName returns error name.

func (JWTExtractorValidationError) Field added in v1.2.0

Field function returns field value.

func (JWTExtractorValidationError) Key added in v1.2.0

Key function returns key value.

func (JWTExtractorValidationError) Reason added in v1.2.0

Reason function returns reason value.

type K8SLabelMatcherRequirement added in v0.8.0

type K8SLabelMatcherRequirement struct {

	// Label key that the selector applies to.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" validate:"required"` // @gotags: validate:"required"
	// Logical operator which represents a key's relationship to a set of values.
	// Valid operators are In, NotIn, Exists and DoesNotExist.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty" validate:"oneof=In NotIn Exists DoesNotExists"` // @gotags: validate:"oneof=In NotIn Exists DoesNotExists"
	// An array of string values that relates to the key by an operator.
	// If the operator is In or NotIn, the values array must be non-empty.
	// If the operator is Exists or DoesNotExist, the values array must be empty.
	Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

Label selector requirement which is a selector that contains values, a key, and an operator that relates the key and values.

func (*K8SLabelMatcherRequirement) DeepCopy added in v0.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8SLabelMatcherRequirement. Required by controller-gen.

func (*K8SLabelMatcherRequirement) DeepCopyInterface added in v0.8.0

func (in *K8SLabelMatcherRequirement) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new K8SLabelMatcherRequirement. Required by controller-gen.

func (*K8SLabelMatcherRequirement) DeepCopyInto added in v0.8.0

DeepCopyInto supports using K8SLabelMatcherRequirement within kubernetes types, where deepcopy-gen is used.

func (*K8SLabelMatcherRequirement) Descriptor deprecated added in v0.8.0

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

Deprecated: Use K8SLabelMatcherRequirement.ProtoReflect.Descriptor instead.

func (*K8SLabelMatcherRequirement) GetKey added in v0.8.0

func (x *K8SLabelMatcherRequirement) GetKey() string

func (*K8SLabelMatcherRequirement) GetOperator added in v0.8.0

func (x *K8SLabelMatcherRequirement) GetOperator() string

func (*K8SLabelMatcherRequirement) GetValues added in v0.8.0

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

func (*K8SLabelMatcherRequirement) MarshalJSON added in v0.8.0

func (msg *K8SLabelMatcherRequirement) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*K8SLabelMatcherRequirement) ProtoMessage added in v0.8.0

func (*K8SLabelMatcherRequirement) ProtoMessage()

func (*K8SLabelMatcherRequirement) ProtoReflect added in v0.8.0

func (*K8SLabelMatcherRequirement) Reset added in v0.8.0

func (x *K8SLabelMatcherRequirement) Reset()

func (*K8SLabelMatcherRequirement) String added in v0.8.0

func (x *K8SLabelMatcherRequirement) String() string

func (*K8SLabelMatcherRequirement) UnmarshalJSON added in v0.8.0

func (msg *K8SLabelMatcherRequirement) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*K8SLabelMatcherRequirement) Validate added in v1.2.0

func (m *K8SLabelMatcherRequirement) Validate() error

Validate checks the field values on K8SLabelMatcherRequirement with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*K8SLabelMatcherRequirement) ValidateAll added in v1.2.0

func (m *K8SLabelMatcherRequirement) ValidateAll() error

ValidateAll checks the field values on K8SLabelMatcherRequirement with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in K8SLabelMatcherRequirementMultiError, or nil if none found.

type K8SLabelMatcherRequirementMultiError added in v1.2.0

type K8SLabelMatcherRequirementMultiError []error

K8SLabelMatcherRequirementMultiError is an error wrapping multiple validation errors returned by K8SLabelMatcherRequirement.ValidateAll() if the designated constraints aren't met.

func (K8SLabelMatcherRequirementMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (K8SLabelMatcherRequirementMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type K8SLabelMatcherRequirementValidationError added in v1.2.0

type K8SLabelMatcherRequirementValidationError struct {
	// contains filtered or unexported fields
}

K8SLabelMatcherRequirementValidationError is the validation error returned by K8SLabelMatcherRequirement.Validate if the designated constraints aren't met.

func (K8SLabelMatcherRequirementValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (K8SLabelMatcherRequirementValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (K8SLabelMatcherRequirementValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (K8SLabelMatcherRequirementValidationError) Field added in v1.2.0

Field function returns field value.

func (K8SLabelMatcherRequirementValidationError) Key added in v1.2.0

Key function returns key value.

func (K8SLabelMatcherRequirementValidationError) Reason added in v1.2.0

Reason function returns reason value.

type KubernetesObjectSelector added in v0.19.0

type KubernetesObjectSelector struct {

	// Which [agent-group](/concepts/flow-control/selector.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"
	// Kubernetes namespace that the resource belongs to.
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty" validate:"required"` // @gotags: validate:"required"
	// API version of Kubernetes resource
	ApiVersion string `protobuf:"bytes,3,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty" validate:"required"` // @gotags: validate:"required"
	// Kubernetes resource type.
	Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty" validate:"required"` // @gotags: validate:"required"
	// Kubernetes resource name.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Describes which pods a control or observability component should apply to.

func (*KubernetesObjectSelector) DeepCopy added in v0.19.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesObjectSelector. Required by controller-gen.

func (*KubernetesObjectSelector) DeepCopyInterface added in v0.19.0

func (in *KubernetesObjectSelector) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesObjectSelector. Required by controller-gen.

func (*KubernetesObjectSelector) DeepCopyInto added in v0.19.0

func (in *KubernetesObjectSelector) DeepCopyInto(out *KubernetesObjectSelector)

DeepCopyInto supports using KubernetesObjectSelector within kubernetes types, where deepcopy-gen is used.

func (*KubernetesObjectSelector) Descriptor deprecated added in v0.19.0

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

Deprecated: Use KubernetesObjectSelector.ProtoReflect.Descriptor instead.

func (*KubernetesObjectSelector) GetAgentGroup added in v0.19.0

func (x *KubernetesObjectSelector) GetAgentGroup() string

func (*KubernetesObjectSelector) GetApiVersion added in v0.19.0

func (x *KubernetesObjectSelector) GetApiVersion() string

func (*KubernetesObjectSelector) GetKind added in v0.19.0

func (x *KubernetesObjectSelector) GetKind() string

func (*KubernetesObjectSelector) GetName added in v0.19.0

func (x *KubernetesObjectSelector) GetName() string

func (*KubernetesObjectSelector) GetNamespace added in v0.19.0

func (x *KubernetesObjectSelector) GetNamespace() string

func (*KubernetesObjectSelector) MarshalJSON added in v0.19.0

func (msg *KubernetesObjectSelector) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*KubernetesObjectSelector) ProtoMessage added in v0.19.0

func (*KubernetesObjectSelector) ProtoMessage()

func (*KubernetesObjectSelector) ProtoReflect added in v0.19.0

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

func (*KubernetesObjectSelector) Reset added in v0.19.0

func (x *KubernetesObjectSelector) Reset()

func (*KubernetesObjectSelector) String added in v0.19.0

func (x *KubernetesObjectSelector) String() string

func (*KubernetesObjectSelector) UnmarshalJSON added in v0.19.0

func (msg *KubernetesObjectSelector) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*KubernetesObjectSelector) Validate added in v1.2.0

func (m *KubernetesObjectSelector) Validate() error

Validate checks the field values on KubernetesObjectSelector with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*KubernetesObjectSelector) ValidateAll added in v1.2.0

func (m *KubernetesObjectSelector) ValidateAll() error

ValidateAll checks the field values on KubernetesObjectSelector with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KubernetesObjectSelectorMultiError, or nil if none found.

type KubernetesObjectSelectorMultiError added in v1.2.0

type KubernetesObjectSelectorMultiError []error

KubernetesObjectSelectorMultiError is an error wrapping multiple validation errors returned by KubernetesObjectSelector.ValidateAll() if the designated constraints aren't met.

func (KubernetesObjectSelectorMultiError) AllErrors added in v1.2.0

func (m KubernetesObjectSelectorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KubernetesObjectSelectorMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type KubernetesObjectSelectorValidationError added in v1.2.0

type KubernetesObjectSelectorValidationError struct {
	// contains filtered or unexported fields
}

KubernetesObjectSelectorValidationError is the validation error returned by KubernetesObjectSelector.Validate if the designated constraints aren't met.

func (KubernetesObjectSelectorValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (KubernetesObjectSelectorValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (KubernetesObjectSelectorValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (KubernetesObjectSelectorValidationError) Field added in v1.2.0

Field function returns field value.

func (KubernetesObjectSelectorValidationError) Key added in v1.2.0

Key function returns key value.

func (KubernetesObjectSelectorValidationError) Reason added in v1.2.0

Reason function returns reason value.

type KubernetesReplicas added in v1.3.0

type KubernetesReplicas struct {

	// The Kubernetes object on which horizontal scaling is applied.
	KubernetesObjectSelector *KubernetesObjectSelector `` // @gotags: validate:"required"
	/* 155-byte string literal not displayed */
	// Configuration key for DynamicConfig
	DynamicConfigKey string `protobuf:"bytes,2,opt,name=dynamic_config_key,json=dynamicConfigKey,proto3" json:"dynamic_config_key,omitempty"`
	// Default configuration.
	DefaultConfig *PodScaler_ScaleActuator_DynamicConfig `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// contains filtered or unexported fields
}

KubernetesReplicas defines a horizontal pod scaler for Kubernetes.

func (*KubernetesReplicas) DeepCopy added in v1.3.0

func (in *KubernetesReplicas) DeepCopy() *KubernetesReplicas

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesReplicas. Required by controller-gen.

func (*KubernetesReplicas) DeepCopyInterface added in v1.3.0

func (in *KubernetesReplicas) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesReplicas. Required by controller-gen.

func (*KubernetesReplicas) DeepCopyInto added in v1.3.0

func (in *KubernetesReplicas) DeepCopyInto(out *KubernetesReplicas)

DeepCopyInto supports using KubernetesReplicas within kubernetes types, where deepcopy-gen is used.

func (*KubernetesReplicas) Descriptor deprecated added in v1.3.0

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

Deprecated: Use KubernetesReplicas.ProtoReflect.Descriptor instead.

func (*KubernetesReplicas) GetDefaultConfig added in v1.3.0

func (*KubernetesReplicas) GetDynamicConfigKey added in v1.3.0

func (x *KubernetesReplicas) GetDynamicConfigKey() string

func (*KubernetesReplicas) GetKubernetesObjectSelector added in v1.3.0

func (x *KubernetesReplicas) GetKubernetesObjectSelector() *KubernetesObjectSelector

func (*KubernetesReplicas) MarshalJSON added in v1.3.0

func (msg *KubernetesReplicas) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*KubernetesReplicas) ProtoMessage added in v1.3.0

func (*KubernetesReplicas) ProtoMessage()

func (*KubernetesReplicas) ProtoReflect added in v1.3.0

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

func (*KubernetesReplicas) Reset added in v1.3.0

func (x *KubernetesReplicas) Reset()

func (*KubernetesReplicas) String added in v1.3.0

func (x *KubernetesReplicas) String() string

func (*KubernetesReplicas) UnmarshalJSON added in v1.3.0

func (msg *KubernetesReplicas) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*KubernetesReplicas) Validate added in v1.3.0

func (m *KubernetesReplicas) Validate() error

Validate checks the field values on KubernetesReplicas with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*KubernetesReplicas) ValidateAll added in v1.3.0

func (m *KubernetesReplicas) ValidateAll() error

ValidateAll checks the field values on KubernetesReplicas with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KubernetesReplicasMultiError, or nil if none found.

type KubernetesReplicasMultiError added in v1.3.0

type KubernetesReplicasMultiError []error

KubernetesReplicasMultiError is an error wrapping multiple validation errors returned by KubernetesReplicas.ValidateAll() if the designated constraints aren't met.

func (KubernetesReplicasMultiError) AllErrors added in v1.3.0

func (m KubernetesReplicasMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KubernetesReplicasMultiError) Error added in v1.3.0

Error returns a concatenation of all the error messages it wraps.

type KubernetesReplicasValidationError added in v1.3.0

type KubernetesReplicasValidationError struct {
	// contains filtered or unexported fields
}

KubernetesReplicasValidationError is the validation error returned by KubernetesReplicas.Validate if the designated constraints aren't met.

func (KubernetesReplicasValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (KubernetesReplicasValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (KubernetesReplicasValidationError) ErrorName added in v1.3.0

ErrorName returns error name.

func (KubernetesReplicasValidationError) Field added in v1.3.0

Field function returns field value.

func (KubernetesReplicasValidationError) Key added in v1.3.0

Key function returns key value.

func (KubernetesReplicasValidationError) Reason added in v1.3.0

Reason function returns reason value.

type LabelMatcher added in v0.8.0

type LabelMatcher struct {

	// A map of {key,value} pairs representing labels to be matched.
	// A single {key,value} in the `match_labels` requires that the label `key` is present and equal to `value`.
	//
	// Note: The requirements are combined using the logical AND operator.
	MatchLabels map[string]string `` /* 182-byte string literal not displayed */
	// List of Kubernetes-style label matcher requirements.
	//
	// Note: The requirements are combined using the logical AND operator.
	MatchExpressions []*K8SLabelMatcherRequirement `protobuf:"bytes,2,rep,name=match_expressions,json=matchExpressions,proto3" json:"match_expressions,omitempty"`
	// An arbitrary expression to be evaluated on the labels.
	Expression *MatchExpression `protobuf:"bytes,3,opt,name=expression,proto3" json:"expression,omitempty"`
	// contains filtered or unexported fields
}

Allows to define rules whether a map of [labels](/concepts/flow-control/flow-label.md) should be considered a match or not

It provides three ways to define requirements: - match labels - match expressions - arbitrary expression

If multiple requirements are set, they're all combined using the logical AND operator. An empty label matcher always matches.

func (*LabelMatcher) DeepCopy added in v0.8.0

func (in *LabelMatcher) DeepCopy() *LabelMatcher

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelMatcher. Required by controller-gen.

func (*LabelMatcher) DeepCopyInterface added in v0.8.0

func (in *LabelMatcher) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LabelMatcher. Required by controller-gen.

func (*LabelMatcher) DeepCopyInto added in v0.8.0

func (in *LabelMatcher) DeepCopyInto(out *LabelMatcher)

DeepCopyInto supports using LabelMatcher within kubernetes types, where deepcopy-gen is used.

func (*LabelMatcher) Descriptor deprecated added in v0.8.0

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

Deprecated: Use LabelMatcher.ProtoReflect.Descriptor instead.

func (*LabelMatcher) GetExpression added in v0.8.0

func (x *LabelMatcher) GetExpression() *MatchExpression

func (*LabelMatcher) GetMatchExpressions added in v0.8.0

func (x *LabelMatcher) GetMatchExpressions() []*K8SLabelMatcherRequirement

func (*LabelMatcher) GetMatchLabels added in v0.8.0

func (x *LabelMatcher) GetMatchLabels() map[string]string

func (*LabelMatcher) MarshalJSON added in v0.8.0

func (msg *LabelMatcher) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LabelMatcher) ProtoMessage added in v0.8.0

func (*LabelMatcher) ProtoMessage()

func (*LabelMatcher) ProtoReflect added in v0.8.0

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

func (*LabelMatcher) Reset added in v0.8.0

func (x *LabelMatcher) Reset()

func (*LabelMatcher) String added in v0.8.0

func (x *LabelMatcher) String() string

func (*LabelMatcher) UnmarshalJSON added in v0.8.0

func (msg *LabelMatcher) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LabelMatcher) Validate added in v1.2.0

func (m *LabelMatcher) Validate() error

Validate checks the field values on LabelMatcher with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LabelMatcher) ValidateAll added in v1.2.0

func (m *LabelMatcher) ValidateAll() error

ValidateAll checks the field values on LabelMatcher with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LabelMatcherMultiError, or nil if none found.

type LabelMatcherMultiError added in v1.2.0

type LabelMatcherMultiError []error

LabelMatcherMultiError is an error wrapping multiple validation errors returned by LabelMatcher.ValidateAll() if the designated constraints aren't met.

func (LabelMatcherMultiError) AllErrors added in v1.2.0

func (m LabelMatcherMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LabelMatcherMultiError) Error added in v1.2.0

func (m LabelMatcherMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LabelMatcherValidationError added in v1.2.0

type LabelMatcherValidationError struct {
	// contains filtered or unexported fields
}

LabelMatcherValidationError is the validation error returned by LabelMatcher.Validate if the designated constraints aren't met.

func (LabelMatcherValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (LabelMatcherValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (LabelMatcherValidationError) ErrorName added in v1.2.0

func (e LabelMatcherValidationError) ErrorName() string

ErrorName returns error name.

func (LabelMatcherValidationError) Field added in v1.2.0

Field function returns field value.

func (LabelMatcherValidationError) Key added in v1.2.0

Key function returns key value.

func (LabelMatcherValidationError) Reason added in v1.2.0

Reason function returns reason value.

type LoadActuator added in v0.7.0

type LoadActuator struct {

	// Input ports for the Load Actuator component.
	InPorts *LoadActuator_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Configuration key for DynamicConfig.
	DynamicConfigKey string `protobuf:"bytes,2,opt,name=dynamic_config_key,json=dynamicConfigKey,proto3" json:"dynamic_config_key,omitempty"`
	// Default configuration.
	DefaultConfig *LoadActuator_DynamicConfig `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// contains filtered or unexported fields
}

Takes the load multiplier input signal and publishes it to the schedulers in the data-plane

func (*LoadActuator) DeepCopy added in v0.7.0

func (in *LoadActuator) DeepCopy() *LoadActuator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadActuator. Required by controller-gen.

func (*LoadActuator) DeepCopyInterface added in v0.7.0

func (in *LoadActuator) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadActuator. Required by controller-gen.

func (*LoadActuator) DeepCopyInto added in v0.7.0

func (in *LoadActuator) DeepCopyInto(out *LoadActuator)

DeepCopyInto supports using LoadActuator within kubernetes types, where deepcopy-gen is used.

func (*LoadActuator) Descriptor deprecated added in v0.7.0

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

Deprecated: Use LoadActuator.ProtoReflect.Descriptor instead.

func (*LoadActuator) GetDefaultConfig added in v0.8.0

func (x *LoadActuator) GetDefaultConfig() *LoadActuator_DynamicConfig

func (*LoadActuator) GetDynamicConfigKey added in v0.8.0

func (x *LoadActuator) GetDynamicConfigKey() string

func (*LoadActuator) GetInPorts added in v0.7.0

func (x *LoadActuator) GetInPorts() *LoadActuator_Ins

func (*LoadActuator) MarshalJSON added in v0.7.0

func (msg *LoadActuator) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadActuator) ProtoMessage added in v0.7.0

func (*LoadActuator) ProtoMessage()

func (*LoadActuator) ProtoReflect added in v0.7.0

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

func (*LoadActuator) Reset added in v0.7.0

func (x *LoadActuator) Reset()

func (*LoadActuator) String added in v0.7.0

func (x *LoadActuator) String() string

func (*LoadActuator) UnmarshalJSON added in v0.7.0

func (msg *LoadActuator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadActuator) Validate added in v1.2.0

func (m *LoadActuator) Validate() error

Validate checks the field values on LoadActuator with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadActuator) ValidateAll added in v1.2.0

func (m *LoadActuator) ValidateAll() error

ValidateAll checks the field values on LoadActuator with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadActuatorMultiError, or nil if none found.

type LoadActuatorMultiError added in v1.2.0

type LoadActuatorMultiError []error

LoadActuatorMultiError is an error wrapping multiple validation errors returned by LoadActuator.ValidateAll() if the designated constraints aren't met.

func (LoadActuatorMultiError) AllErrors added in v1.2.0

func (m LoadActuatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadActuatorMultiError) Error added in v1.2.0

func (m LoadActuatorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoadActuatorValidationError added in v1.2.0

type LoadActuatorValidationError struct {
	// contains filtered or unexported fields
}

LoadActuatorValidationError is the validation error returned by LoadActuator.Validate if the designated constraints aren't met.

func (LoadActuatorValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (LoadActuatorValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (LoadActuatorValidationError) ErrorName added in v1.2.0

func (e LoadActuatorValidationError) ErrorName() string

ErrorName returns error name.

func (LoadActuatorValidationError) Field added in v1.2.0

Field function returns field value.

func (LoadActuatorValidationError) Key added in v1.2.0

Key function returns key value.

func (LoadActuatorValidationError) Reason added in v1.2.0

Reason function returns reason value.

type LoadActuator_DynamicConfig added in v0.8.0

type LoadActuator_DynamicConfig struct {

	// Decides whether to run the load actuator in dry-run mode. Dry run mode ensures that no traffic gets dropped by this load actuator.
	// Useful for observing the behavior of Load Actuator without disrupting any real traffic.
	DryRun bool `protobuf:"varint,1,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// contains filtered or unexported fields
}

Dynamic Configuration for LoadActuator

func (*LoadActuator_DynamicConfig) DeepCopy added in v0.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadActuator_DynamicConfig. Required by controller-gen.

func (*LoadActuator_DynamicConfig) DeepCopyInterface added in v0.8.0

func (in *LoadActuator_DynamicConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadActuator_DynamicConfig. Required by controller-gen.

func (*LoadActuator_DynamicConfig) DeepCopyInto added in v0.8.0

DeepCopyInto supports using LoadActuator_DynamicConfig within kubernetes types, where deepcopy-gen is used.

func (*LoadActuator_DynamicConfig) Descriptor deprecated added in v0.8.0

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

Deprecated: Use LoadActuator_DynamicConfig.ProtoReflect.Descriptor instead.

func (*LoadActuator_DynamicConfig) GetDryRun added in v0.8.0

func (x *LoadActuator_DynamicConfig) GetDryRun() bool

func (*LoadActuator_DynamicConfig) MarshalJSON added in v0.8.0

func (msg *LoadActuator_DynamicConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadActuator_DynamicConfig) ProtoMessage added in v0.8.0

func (*LoadActuator_DynamicConfig) ProtoMessage()

func (*LoadActuator_DynamicConfig) ProtoReflect added in v0.8.0

func (*LoadActuator_DynamicConfig) Reset added in v0.8.0

func (x *LoadActuator_DynamicConfig) Reset()

func (*LoadActuator_DynamicConfig) String added in v0.8.0

func (x *LoadActuator_DynamicConfig) String() string

func (*LoadActuator_DynamicConfig) UnmarshalJSON added in v0.8.0

func (msg *LoadActuator_DynamicConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadActuator_DynamicConfig) Validate added in v1.2.0

func (m *LoadActuator_DynamicConfig) Validate() error

Validate checks the field values on LoadActuator_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadActuator_DynamicConfig) ValidateAll added in v1.2.0

func (m *LoadActuator_DynamicConfig) ValidateAll() error

ValidateAll checks the field values on LoadActuator_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadActuator_DynamicConfigMultiError, or nil if none found.

type LoadActuator_DynamicConfigMultiError added in v1.2.0

type LoadActuator_DynamicConfigMultiError []error

LoadActuator_DynamicConfigMultiError is an error wrapping multiple validation errors returned by LoadActuator_DynamicConfig.ValidateAll() if the designated constraints aren't met.

func (LoadActuator_DynamicConfigMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (LoadActuator_DynamicConfigMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type LoadActuator_DynamicConfigValidationError added in v1.2.0

type LoadActuator_DynamicConfigValidationError struct {
	// contains filtered or unexported fields
}

LoadActuator_DynamicConfigValidationError is the validation error returned by LoadActuator_DynamicConfig.Validate if the designated constraints aren't met.

func (LoadActuator_DynamicConfigValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (LoadActuator_DynamicConfigValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (LoadActuator_DynamicConfigValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (LoadActuator_DynamicConfigValidationError) Field added in v1.2.0

Field function returns field value.

func (LoadActuator_DynamicConfigValidationError) Key added in v1.2.0

Key function returns key value.

func (LoadActuator_DynamicConfigValidationError) Reason added in v1.2.0

Reason function returns reason value.

type LoadActuator_Ins added in v0.7.0

type LoadActuator_Ins struct {

	// Load multiplier is proportion of [incoming
	// token rate](#scheduler-outs) that needs to be accepted.
	LoadMultiplier *InPort `protobuf:"bytes,1,opt,name=load_multiplier,json=loadMultiplier,proto3" json:"load_multiplier,omitempty"`
	// contains filtered or unexported fields
}

Input for the Load Actuator component.

func (*LoadActuator_Ins) DeepCopy added in v0.7.0

func (in *LoadActuator_Ins) DeepCopy() *LoadActuator_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadActuator_Ins. Required by controller-gen.

func (*LoadActuator_Ins) DeepCopyInterface added in v0.7.0

func (in *LoadActuator_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadActuator_Ins. Required by controller-gen.

func (*LoadActuator_Ins) DeepCopyInto added in v0.7.0

func (in *LoadActuator_Ins) DeepCopyInto(out *LoadActuator_Ins)

DeepCopyInto supports using LoadActuator_Ins within kubernetes types, where deepcopy-gen is used.

func (*LoadActuator_Ins) Descriptor deprecated added in v0.7.0

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

Deprecated: Use LoadActuator_Ins.ProtoReflect.Descriptor instead.

func (*LoadActuator_Ins) GetLoadMultiplier added in v0.7.0

func (x *LoadActuator_Ins) GetLoadMultiplier() *InPort

func (*LoadActuator_Ins) MarshalJSON added in v0.7.0

func (msg *LoadActuator_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadActuator_Ins) ProtoMessage added in v0.7.0

func (*LoadActuator_Ins) ProtoMessage()

func (*LoadActuator_Ins) ProtoReflect added in v0.7.0

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

func (*LoadActuator_Ins) Reset added in v0.7.0

func (x *LoadActuator_Ins) Reset()

func (*LoadActuator_Ins) String added in v0.7.0

func (x *LoadActuator_Ins) String() string

func (*LoadActuator_Ins) UnmarshalJSON added in v0.7.0

func (msg *LoadActuator_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadActuator_Ins) Validate added in v1.2.0

func (m *LoadActuator_Ins) Validate() error

Validate checks the field values on LoadActuator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadActuator_Ins) ValidateAll added in v1.2.0

func (m *LoadActuator_Ins) ValidateAll() error

ValidateAll checks the field values on LoadActuator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadActuator_InsMultiError, or nil if none found.

type LoadActuator_InsMultiError added in v1.2.0

type LoadActuator_InsMultiError []error

LoadActuator_InsMultiError is an error wrapping multiple validation errors returned by LoadActuator_Ins.ValidateAll() if the designated constraints aren't met.

func (LoadActuator_InsMultiError) AllErrors added in v1.2.0

func (m LoadActuator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadActuator_InsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type LoadActuator_InsValidationError added in v1.2.0

type LoadActuator_InsValidationError struct {
	// contains filtered or unexported fields
}

LoadActuator_InsValidationError is the validation error returned by LoadActuator_Ins.Validate if the designated constraints aren't met.

func (LoadActuator_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (LoadActuator_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (LoadActuator_InsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (LoadActuator_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (LoadActuator_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (LoadActuator_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type LoadRamp added in v1.6.0

type LoadRamp struct {
	InPorts    *LoadRamp_Ins        `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	OutPorts   *LoadRamp_Outs       `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	Parameters *LoadRamp_Parameters `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// Dynamic configuration key for flow regulator.
	DynamicConfigKey string `protobuf:"bytes,9,opt,name=dynamic_config_key,json=dynamicConfigKey,proto3" json:"dynamic_config_key,omitempty"`
	// Default configuration.
	DefaultConfig *Regulator_DynamicConfig `protobuf:"bytes,10,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// contains filtered or unexported fields
}

The _Load Ramp_ produces a smooth and continuous traffic load that changes progressively over time, based on the specified steps.

Each step is defined by two parameters:

  • The `target_accept_percentage`.
  • The `duration` for the signal to change from the previous step's `target_accept_percentage` to the current step's `target_accept_percentage`.

The percentage of requests accepted starts at the `target_accept_percentage` defined in the first step and gradually ramps up or down linearly from the previous step's `target_accept_percentage` to the next `target_accept_percentage`, over the `duration` specified for each step.

func (*LoadRamp) DeepCopy added in v1.6.0

func (in *LoadRamp) DeepCopy() *LoadRamp

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadRamp. Required by controller-gen.

func (*LoadRamp) DeepCopyInterface added in v1.6.0

func (in *LoadRamp) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadRamp. Required by controller-gen.

func (*LoadRamp) DeepCopyInto added in v1.6.0

func (in *LoadRamp) DeepCopyInto(out *LoadRamp)

DeepCopyInto supports using LoadRamp within kubernetes types, where deepcopy-gen is used.

func (*LoadRamp) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadRamp.ProtoReflect.Descriptor instead.

func (*LoadRamp) GetDefaultConfig added in v1.6.0

func (x *LoadRamp) GetDefaultConfig() *Regulator_DynamicConfig

func (*LoadRamp) GetDynamicConfigKey added in v1.6.0

func (x *LoadRamp) GetDynamicConfigKey() string

func (*LoadRamp) GetInPorts added in v1.6.0

func (x *LoadRamp) GetInPorts() *LoadRamp_Ins

func (*LoadRamp) GetOutPorts added in v1.6.0

func (x *LoadRamp) GetOutPorts() *LoadRamp_Outs

func (*LoadRamp) GetParameters added in v1.6.0

func (x *LoadRamp) GetParameters() *LoadRamp_Parameters

func (*LoadRamp) MarshalJSON added in v1.6.0

func (msg *LoadRamp) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadRamp) ProtoMessage added in v1.6.0

func (*LoadRamp) ProtoMessage()

func (*LoadRamp) ProtoReflect added in v1.6.0

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

func (*LoadRamp) Reset added in v1.6.0

func (x *LoadRamp) Reset()

func (*LoadRamp) String added in v1.6.0

func (x *LoadRamp) String() string

func (*LoadRamp) UnmarshalJSON added in v1.6.0

func (msg *LoadRamp) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadRamp) Validate added in v1.6.0

func (m *LoadRamp) Validate() error

Validate checks the field values on LoadRamp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadRamp) ValidateAll added in v1.6.0

func (m *LoadRamp) ValidateAll() error

ValidateAll checks the field values on LoadRamp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadRampMultiError, or nil if none found.

type LoadRampMultiError added in v1.6.0

type LoadRampMultiError []error

LoadRampMultiError is an error wrapping multiple validation errors returned by LoadRamp.ValidateAll() if the designated constraints aren't met.

func (LoadRampMultiError) AllErrors added in v1.6.0

func (m LoadRampMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadRampMultiError) Error added in v1.6.0

func (m LoadRampMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoadRampSeries added in v1.6.0

type LoadRampSeries struct {
	InPorts    *LoadRampSeries_Ins        `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	Parameters *LoadRampSeries_Parameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

_LoadRampSeries_ is a component that applies a series of _Load Ramps_ in order.

func (*LoadRampSeries) DeepCopy added in v1.6.0

func (in *LoadRampSeries) DeepCopy() *LoadRampSeries

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadRampSeries. Required by controller-gen.

func (*LoadRampSeries) DeepCopyInterface added in v1.6.0

func (in *LoadRampSeries) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadRampSeries. Required by controller-gen.

func (*LoadRampSeries) DeepCopyInto added in v1.6.0

func (in *LoadRampSeries) DeepCopyInto(out *LoadRampSeries)

DeepCopyInto supports using LoadRampSeries within kubernetes types, where deepcopy-gen is used.

func (*LoadRampSeries) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadRampSeries.ProtoReflect.Descriptor instead.

func (*LoadRampSeries) GetInPorts added in v1.6.0

func (x *LoadRampSeries) GetInPorts() *LoadRampSeries_Ins

func (*LoadRampSeries) GetParameters added in v1.6.0

func (x *LoadRampSeries) GetParameters() *LoadRampSeries_Parameters

func (*LoadRampSeries) MarshalJSON added in v1.6.0

func (msg *LoadRampSeries) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadRampSeries) ProtoMessage added in v1.6.0

func (*LoadRampSeries) ProtoMessage()

func (*LoadRampSeries) ProtoReflect added in v1.6.0

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

func (*LoadRampSeries) Reset added in v1.6.0

func (x *LoadRampSeries) Reset()

func (*LoadRampSeries) String added in v1.6.0

func (x *LoadRampSeries) String() string

func (*LoadRampSeries) UnmarshalJSON added in v1.6.0

func (msg *LoadRampSeries) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadRampSeries) Validate added in v1.6.0

func (m *LoadRampSeries) Validate() error

Validate checks the field values on LoadRampSeries with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadRampSeries) ValidateAll added in v1.6.0

func (m *LoadRampSeries) ValidateAll() error

ValidateAll checks the field values on LoadRampSeries with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadRampSeriesMultiError, or nil if none found.

type LoadRampSeriesMultiError added in v1.6.0

type LoadRampSeriesMultiError []error

LoadRampSeriesMultiError is an error wrapping multiple validation errors returned by LoadRampSeries.ValidateAll() if the designated constraints aren't met.

func (LoadRampSeriesMultiError) AllErrors added in v1.6.0

func (m LoadRampSeriesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadRampSeriesMultiError) Error added in v1.6.0

func (m LoadRampSeriesMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoadRampSeriesValidationError added in v1.6.0

type LoadRampSeriesValidationError struct {
	// contains filtered or unexported fields
}

LoadRampSeriesValidationError is the validation error returned by LoadRampSeries.Validate if the designated constraints aren't met.

func (LoadRampSeriesValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadRampSeriesValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadRampSeriesValidationError) ErrorName added in v1.6.0

func (e LoadRampSeriesValidationError) ErrorName() string

ErrorName returns error name.

func (LoadRampSeriesValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadRampSeriesValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadRampSeriesValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadRampSeries_Ins added in v1.6.0

type LoadRampSeries_Ins struct {

	// Whether to progress the load ramp series towards the next step.
	Forward *InPort `protobuf:"bytes,1,opt,name=forward,proto3" json:"forward,omitempty"`
	// Whether to progress the load ramp series towards the previous step.
	Backward *InPort `protobuf:"bytes,2,opt,name=backward,proto3" json:"backward,omitempty"`
	// Whether to reset the load ramp series to the first step.
	Reset_ *InPort `protobuf:"bytes,3,opt,name=reset,proto3" json:"reset,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the _LoadRampSeries_ component.

func (*LoadRampSeries_Ins) DeepCopy added in v1.6.0

func (in *LoadRampSeries_Ins) DeepCopy() *LoadRampSeries_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadRampSeries_Ins. Required by controller-gen.

func (*LoadRampSeries_Ins) DeepCopyInterface added in v1.6.0

func (in *LoadRampSeries_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadRampSeries_Ins. Required by controller-gen.

func (*LoadRampSeries_Ins) DeepCopyInto added in v1.6.0

func (in *LoadRampSeries_Ins) DeepCopyInto(out *LoadRampSeries_Ins)

DeepCopyInto supports using LoadRampSeries_Ins within kubernetes types, where deepcopy-gen is used.

func (*LoadRampSeries_Ins) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadRampSeries_Ins.ProtoReflect.Descriptor instead.

func (*LoadRampSeries_Ins) GetBackward added in v1.6.0

func (x *LoadRampSeries_Ins) GetBackward() *InPort

func (*LoadRampSeries_Ins) GetForward added in v1.6.0

func (x *LoadRampSeries_Ins) GetForward() *InPort

func (*LoadRampSeries_Ins) GetReset_ added in v1.6.0

func (x *LoadRampSeries_Ins) GetReset_() *InPort

func (*LoadRampSeries_Ins) MarshalJSON added in v1.6.0

func (msg *LoadRampSeries_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadRampSeries_Ins) ProtoMessage added in v1.6.0

func (*LoadRampSeries_Ins) ProtoMessage()

func (*LoadRampSeries_Ins) ProtoReflect added in v1.6.0

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

func (*LoadRampSeries_Ins) Reset added in v1.6.0

func (x *LoadRampSeries_Ins) Reset()

func (*LoadRampSeries_Ins) String added in v1.6.0

func (x *LoadRampSeries_Ins) String() string

func (*LoadRampSeries_Ins) UnmarshalJSON added in v1.6.0

func (msg *LoadRampSeries_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadRampSeries_Ins) Validate added in v1.6.0

func (m *LoadRampSeries_Ins) Validate() error

Validate checks the field values on LoadRampSeries_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadRampSeries_Ins) ValidateAll added in v1.6.0

func (m *LoadRampSeries_Ins) ValidateAll() error

ValidateAll checks the field values on LoadRampSeries_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadRampSeries_InsMultiError, or nil if none found.

type LoadRampSeries_InsMultiError added in v1.6.0

type LoadRampSeries_InsMultiError []error

LoadRampSeries_InsMultiError is an error wrapping multiple validation errors returned by LoadRampSeries_Ins.ValidateAll() if the designated constraints aren't met.

func (LoadRampSeries_InsMultiError) AllErrors added in v1.6.0

func (m LoadRampSeries_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadRampSeries_InsMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type LoadRampSeries_InsValidationError added in v1.6.0

type LoadRampSeries_InsValidationError struct {
	// contains filtered or unexported fields
}

LoadRampSeries_InsValidationError is the validation error returned by LoadRampSeries_Ins.Validate if the designated constraints aren't met.

func (LoadRampSeries_InsValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadRampSeries_InsValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadRampSeries_InsValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (LoadRampSeries_InsValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadRampSeries_InsValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadRampSeries_InsValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadRampSeries_LoadRampInstance added in v1.6.0

type LoadRampSeries_LoadRampInstance struct {

	// The load ramp.
	LoadRamp *LoadRamp_Parameters `protobuf:"bytes,1,opt,name=load_ramp,json=loadRamp,proto3" json:"load_ramp,omitempty" validate:"required"` // @gotags: validate:"required"
	OutPorts *LoadRamp_Outs       `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadRampSeries_LoadRampInstance) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadRampSeries_LoadRampInstance. Required by controller-gen.

func (*LoadRampSeries_LoadRampInstance) DeepCopyInterface added in v1.6.0

func (in *LoadRampSeries_LoadRampInstance) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadRampSeries_LoadRampInstance. Required by controller-gen.

func (*LoadRampSeries_LoadRampInstance) DeepCopyInto added in v1.6.0

DeepCopyInto supports using LoadRampSeries_LoadRampInstance within kubernetes types, where deepcopy-gen is used.

func (*LoadRampSeries_LoadRampInstance) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadRampSeries_LoadRampInstance.ProtoReflect.Descriptor instead.

func (*LoadRampSeries_LoadRampInstance) GetLoadRamp added in v1.6.0

func (*LoadRampSeries_LoadRampInstance) GetOutPorts added in v1.6.0

func (*LoadRampSeries_LoadRampInstance) MarshalJSON added in v1.6.0

func (msg *LoadRampSeries_LoadRampInstance) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadRampSeries_LoadRampInstance) ProtoMessage added in v1.6.0

func (*LoadRampSeries_LoadRampInstance) ProtoMessage()

func (*LoadRampSeries_LoadRampInstance) ProtoReflect added in v1.6.0

func (*LoadRampSeries_LoadRampInstance) Reset added in v1.6.0

func (*LoadRampSeries_LoadRampInstance) String added in v1.6.0

func (*LoadRampSeries_LoadRampInstance) UnmarshalJSON added in v1.6.0

func (msg *LoadRampSeries_LoadRampInstance) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadRampSeries_LoadRampInstance) Validate added in v1.6.0

func (m *LoadRampSeries_LoadRampInstance) Validate() error

Validate checks the field values on LoadRampSeries_LoadRampInstance with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadRampSeries_LoadRampInstance) ValidateAll added in v1.6.0

func (m *LoadRampSeries_LoadRampInstance) ValidateAll() error

ValidateAll checks the field values on LoadRampSeries_LoadRampInstance with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadRampSeries_LoadRampInstanceMultiError, or nil if none found.

type LoadRampSeries_LoadRampInstanceMultiError added in v1.6.0

type LoadRampSeries_LoadRampInstanceMultiError []error

LoadRampSeries_LoadRampInstanceMultiError is an error wrapping multiple validation errors returned by LoadRampSeries_LoadRampInstance.ValidateAll() if the designated constraints aren't met.

func (LoadRampSeries_LoadRampInstanceMultiError) AllErrors added in v1.6.0

AllErrors returns a list of validation violation errors.

func (LoadRampSeries_LoadRampInstanceMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type LoadRampSeries_LoadRampInstanceValidationError added in v1.6.0

type LoadRampSeries_LoadRampInstanceValidationError struct {
	// contains filtered or unexported fields
}

LoadRampSeries_LoadRampInstanceValidationError is the validation error returned by LoadRampSeries_LoadRampInstance.Validate if the designated constraints aren't met.

func (LoadRampSeries_LoadRampInstanceValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadRampSeries_LoadRampInstanceValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadRampSeries_LoadRampInstanceValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (LoadRampSeries_LoadRampInstanceValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadRampSeries_LoadRampInstanceValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadRampSeries_LoadRampInstanceValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadRampSeries_Parameters added in v1.6.0

type LoadRampSeries_Parameters struct {

	// An ordered list of load ramps that get applied in order.
	LoadRamps []*LoadRampSeries_LoadRampInstance `protobuf:"bytes,1,rep,name=load_ramps,json=loadRamps,proto3" json:"load_ramps,omitempty" validate:"required,dive"` // @gotags: validate:"required,dive"
	// contains filtered or unexported fields
}

Parameters for the _LoadRampSeries_ component.

func (*LoadRampSeries_Parameters) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadRampSeries_Parameters. Required by controller-gen.

func (*LoadRampSeries_Parameters) DeepCopyInterface added in v1.6.0

func (in *LoadRampSeries_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadRampSeries_Parameters. Required by controller-gen.

func (*LoadRampSeries_Parameters) DeepCopyInto added in v1.6.0

DeepCopyInto supports using LoadRampSeries_Parameters within kubernetes types, where deepcopy-gen is used.

func (*LoadRampSeries_Parameters) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadRampSeries_Parameters.ProtoReflect.Descriptor instead.

func (*LoadRampSeries_Parameters) GetLoadRamps added in v1.6.0

func (*LoadRampSeries_Parameters) MarshalJSON added in v1.6.0

func (msg *LoadRampSeries_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadRampSeries_Parameters) ProtoMessage added in v1.6.0

func (*LoadRampSeries_Parameters) ProtoMessage()

func (*LoadRampSeries_Parameters) ProtoReflect added in v1.6.0

func (*LoadRampSeries_Parameters) Reset added in v1.6.0

func (x *LoadRampSeries_Parameters) Reset()

func (*LoadRampSeries_Parameters) String added in v1.6.0

func (x *LoadRampSeries_Parameters) String() string

func (*LoadRampSeries_Parameters) UnmarshalJSON added in v1.6.0

func (msg *LoadRampSeries_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadRampSeries_Parameters) Validate added in v1.6.0

func (m *LoadRampSeries_Parameters) Validate() error

Validate checks the field values on LoadRampSeries_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadRampSeries_Parameters) ValidateAll added in v1.6.0

func (m *LoadRampSeries_Parameters) ValidateAll() error

ValidateAll checks the field values on LoadRampSeries_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadRampSeries_ParametersMultiError, or nil if none found.

type LoadRampSeries_ParametersMultiError added in v1.6.0

type LoadRampSeries_ParametersMultiError []error

LoadRampSeries_ParametersMultiError is an error wrapping multiple validation errors returned by LoadRampSeries_Parameters.ValidateAll() if the designated constraints aren't met.

func (LoadRampSeries_ParametersMultiError) AllErrors added in v1.6.0

AllErrors returns a list of validation violation errors.

func (LoadRampSeries_ParametersMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type LoadRampSeries_ParametersValidationError added in v1.6.0

type LoadRampSeries_ParametersValidationError struct {
	// contains filtered or unexported fields
}

LoadRampSeries_ParametersValidationError is the validation error returned by LoadRampSeries_Parameters.Validate if the designated constraints aren't met.

func (LoadRampSeries_ParametersValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadRampSeries_ParametersValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadRampSeries_ParametersValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (LoadRampSeries_ParametersValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadRampSeries_ParametersValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadRampSeries_ParametersValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadRampValidationError added in v1.6.0

type LoadRampValidationError struct {
	// contains filtered or unexported fields
}

LoadRampValidationError is the validation error returned by LoadRamp.Validate if the designated constraints aren't met.

func (LoadRampValidationError) Cause added in v1.6.0

func (e LoadRampValidationError) Cause() error

Cause function returns cause value.

func (LoadRampValidationError) Error added in v1.6.0

func (e LoadRampValidationError) Error() string

Error satisfies the builtin error interface

func (LoadRampValidationError) ErrorName added in v1.6.0

func (e LoadRampValidationError) ErrorName() string

ErrorName returns error name.

func (LoadRampValidationError) Field added in v1.6.0

func (e LoadRampValidationError) Field() string

Field function returns field value.

func (LoadRampValidationError) Key added in v1.6.0

func (e LoadRampValidationError) Key() bool

Key function returns key value.

func (LoadRampValidationError) Reason added in v1.6.0

func (e LoadRampValidationError) Reason() string

Reason function returns reason value.

type LoadRamp_Ins added in v1.6.0

type LoadRamp_Ins struct {

	// Whether to progress the _Load Ramp_ towards the next step.
	Forward *InPort `protobuf:"bytes,1,opt,name=forward,proto3" json:"forward,omitempty"`
	// Whether to progress the _Load Ramp_ towards the previous step.
	Backward *InPort `protobuf:"bytes,2,opt,name=backward,proto3" json:"backward,omitempty"`
	// Whether to reset the _Load Ramp_ to the first step.
	Reset_ *InPort `protobuf:"bytes,3,opt,name=reset,proto3" json:"reset,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the _Load Ramp_ component.

func (*LoadRamp_Ins) DeepCopy added in v1.6.0

func (in *LoadRamp_Ins) DeepCopy() *LoadRamp_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadRamp_Ins. Required by controller-gen.

func (*LoadRamp_Ins) DeepCopyInterface added in v1.6.0

func (in *LoadRamp_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadRamp_Ins. Required by controller-gen.

func (*LoadRamp_Ins) DeepCopyInto added in v1.6.0

func (in *LoadRamp_Ins) DeepCopyInto(out *LoadRamp_Ins)

DeepCopyInto supports using LoadRamp_Ins within kubernetes types, where deepcopy-gen is used.

func (*LoadRamp_Ins) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadRamp_Ins.ProtoReflect.Descriptor instead.

func (*LoadRamp_Ins) GetBackward added in v1.6.0

func (x *LoadRamp_Ins) GetBackward() *InPort

func (*LoadRamp_Ins) GetForward added in v1.6.0

func (x *LoadRamp_Ins) GetForward() *InPort

func (*LoadRamp_Ins) GetReset_ added in v1.6.0

func (x *LoadRamp_Ins) GetReset_() *InPort

func (*LoadRamp_Ins) MarshalJSON added in v1.6.0

func (msg *LoadRamp_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadRamp_Ins) ProtoMessage added in v1.6.0

func (*LoadRamp_Ins) ProtoMessage()

func (*LoadRamp_Ins) ProtoReflect added in v1.6.0

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

func (*LoadRamp_Ins) Reset added in v1.6.0

func (x *LoadRamp_Ins) Reset()

func (*LoadRamp_Ins) String added in v1.6.0

func (x *LoadRamp_Ins) String() string

func (*LoadRamp_Ins) UnmarshalJSON added in v1.6.0

func (msg *LoadRamp_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadRamp_Ins) Validate added in v1.6.0

func (m *LoadRamp_Ins) Validate() error

Validate checks the field values on LoadRamp_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadRamp_Ins) ValidateAll added in v1.6.0

func (m *LoadRamp_Ins) ValidateAll() error

ValidateAll checks the field values on LoadRamp_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadRamp_InsMultiError, or nil if none found.

type LoadRamp_InsMultiError added in v1.6.0

type LoadRamp_InsMultiError []error

LoadRamp_InsMultiError is an error wrapping multiple validation errors returned by LoadRamp_Ins.ValidateAll() if the designated constraints aren't met.

func (LoadRamp_InsMultiError) AllErrors added in v1.6.0

func (m LoadRamp_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadRamp_InsMultiError) Error added in v1.6.0

func (m LoadRamp_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoadRamp_InsValidationError added in v1.6.0

type LoadRamp_InsValidationError struct {
	// contains filtered or unexported fields
}

LoadRamp_InsValidationError is the validation error returned by LoadRamp_Ins.Validate if the designated constraints aren't met.

func (LoadRamp_InsValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadRamp_InsValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadRamp_InsValidationError) ErrorName added in v1.6.0

func (e LoadRamp_InsValidationError) ErrorName() string

ErrorName returns error name.

func (LoadRamp_InsValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadRamp_InsValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadRamp_InsValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadRamp_Outs added in v1.6.0

type LoadRamp_Outs struct {

	// The percentage of flows being accepted by the _Load Ramp_.
	AcceptPercentage *OutPort `protobuf:"bytes,1,opt,name=accept_percentage,json=acceptPercentage,proto3" json:"accept_percentage,omitempty"`
	// A Boolean signal indicating whether the _Load Ramp_ is at the start of signal generation.
	AtStart *OutPort `protobuf:"bytes,2,opt,name=at_start,json=atStart,proto3" json:"at_start,omitempty"`
	// A Boolean signal indicating whether the _Load Ramp_ is at the end of signal generation.
	AtEnd *OutPort `protobuf:"bytes,3,opt,name=at_end,json=atEnd,proto3" json:"at_end,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the _Load Ramp_ component.

func (*LoadRamp_Outs) DeepCopy added in v1.6.0

func (in *LoadRamp_Outs) DeepCopy() *LoadRamp_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadRamp_Outs. Required by controller-gen.

func (*LoadRamp_Outs) DeepCopyInterface added in v1.6.0

func (in *LoadRamp_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadRamp_Outs. Required by controller-gen.

func (*LoadRamp_Outs) DeepCopyInto added in v1.6.0

func (in *LoadRamp_Outs) DeepCopyInto(out *LoadRamp_Outs)

DeepCopyInto supports using LoadRamp_Outs within kubernetes types, where deepcopy-gen is used.

func (*LoadRamp_Outs) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadRamp_Outs.ProtoReflect.Descriptor instead.

func (*LoadRamp_Outs) GetAcceptPercentage added in v1.6.0

func (x *LoadRamp_Outs) GetAcceptPercentage() *OutPort

func (*LoadRamp_Outs) GetAtEnd added in v1.6.0

func (x *LoadRamp_Outs) GetAtEnd() *OutPort

func (*LoadRamp_Outs) GetAtStart added in v1.6.0

func (x *LoadRamp_Outs) GetAtStart() *OutPort

func (*LoadRamp_Outs) MarshalJSON added in v1.6.0

func (msg *LoadRamp_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadRamp_Outs) ProtoMessage added in v1.6.0

func (*LoadRamp_Outs) ProtoMessage()

func (*LoadRamp_Outs) ProtoReflect added in v1.6.0

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

func (*LoadRamp_Outs) Reset added in v1.6.0

func (x *LoadRamp_Outs) Reset()

func (*LoadRamp_Outs) String added in v1.6.0

func (x *LoadRamp_Outs) String() string

func (*LoadRamp_Outs) UnmarshalJSON added in v1.6.0

func (msg *LoadRamp_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadRamp_Outs) Validate added in v1.6.0

func (m *LoadRamp_Outs) Validate() error

Validate checks the field values on LoadRamp_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadRamp_Outs) ValidateAll added in v1.6.0

func (m *LoadRamp_Outs) ValidateAll() error

ValidateAll checks the field values on LoadRamp_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadRamp_OutsMultiError, or nil if none found.

type LoadRamp_OutsMultiError added in v1.6.0

type LoadRamp_OutsMultiError []error

LoadRamp_OutsMultiError is an error wrapping multiple validation errors returned by LoadRamp_Outs.ValidateAll() if the designated constraints aren't met.

func (LoadRamp_OutsMultiError) AllErrors added in v1.6.0

func (m LoadRamp_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadRamp_OutsMultiError) Error added in v1.6.0

func (m LoadRamp_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoadRamp_OutsValidationError added in v1.6.0

type LoadRamp_OutsValidationError struct {
	// contains filtered or unexported fields
}

LoadRamp_OutsValidationError is the validation error returned by LoadRamp_Outs.Validate if the designated constraints aren't met.

func (LoadRamp_OutsValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadRamp_OutsValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadRamp_OutsValidationError) ErrorName added in v1.6.0

func (e LoadRamp_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (LoadRamp_OutsValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadRamp_OutsValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadRamp_OutsValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadRamp_Parameters added in v1.6.0

type LoadRamp_Parameters struct {

	// Parameters for the _Regulator_.
	RegulatorParameters *Regulator_Parameters       `protobuf:"bytes,1,opt,name=regulator_parameters,json=regulatorParameters,proto3" json:"regulator_parameters,omitempty"`
	Steps               []*LoadRamp_Parameters_Step `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty" validate:"required,gt=0,dive"` // @gotags: validate:"required,gt=0,dive"
	// contains filtered or unexported fields
}

Parameters for the _Load Ramp_ component.

func (*LoadRamp_Parameters) DeepCopy added in v1.6.0

func (in *LoadRamp_Parameters) DeepCopy() *LoadRamp_Parameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadRamp_Parameters. Required by controller-gen.

func (*LoadRamp_Parameters) DeepCopyInterface added in v1.6.0

func (in *LoadRamp_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadRamp_Parameters. Required by controller-gen.

func (*LoadRamp_Parameters) DeepCopyInto added in v1.6.0

func (in *LoadRamp_Parameters) DeepCopyInto(out *LoadRamp_Parameters)

DeepCopyInto supports using LoadRamp_Parameters within kubernetes types, where deepcopy-gen is used.

func (*LoadRamp_Parameters) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadRamp_Parameters.ProtoReflect.Descriptor instead.

func (*LoadRamp_Parameters) GetRegulatorParameters added in v1.6.0

func (x *LoadRamp_Parameters) GetRegulatorParameters() *Regulator_Parameters

func (*LoadRamp_Parameters) GetSteps added in v1.6.0

func (*LoadRamp_Parameters) MarshalJSON added in v1.6.0

func (msg *LoadRamp_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadRamp_Parameters) ProtoMessage added in v1.6.0

func (*LoadRamp_Parameters) ProtoMessage()

func (*LoadRamp_Parameters) ProtoReflect added in v1.6.0

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

func (*LoadRamp_Parameters) Reset added in v1.6.0

func (x *LoadRamp_Parameters) Reset()

func (*LoadRamp_Parameters) String added in v1.6.0

func (x *LoadRamp_Parameters) String() string

func (*LoadRamp_Parameters) UnmarshalJSON added in v1.6.0

func (msg *LoadRamp_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadRamp_Parameters) Validate added in v1.6.0

func (m *LoadRamp_Parameters) Validate() error

Validate checks the field values on LoadRamp_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadRamp_Parameters) ValidateAll added in v1.6.0

func (m *LoadRamp_Parameters) ValidateAll() error

ValidateAll checks the field values on LoadRamp_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadRamp_ParametersMultiError, or nil if none found.

type LoadRamp_ParametersMultiError added in v1.6.0

type LoadRamp_ParametersMultiError []error

LoadRamp_ParametersMultiError is an error wrapping multiple validation errors returned by LoadRamp_Parameters.ValidateAll() if the designated constraints aren't met.

func (LoadRamp_ParametersMultiError) AllErrors added in v1.6.0

func (m LoadRamp_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadRamp_ParametersMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type LoadRamp_ParametersValidationError added in v1.6.0

type LoadRamp_ParametersValidationError struct {
	// contains filtered or unexported fields
}

LoadRamp_ParametersValidationError is the validation error returned by LoadRamp_Parameters.Validate if the designated constraints aren't met.

func (LoadRamp_ParametersValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadRamp_ParametersValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadRamp_ParametersValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (LoadRamp_ParametersValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadRamp_ParametersValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadRamp_ParametersValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadRamp_Parameters_Step added in v1.6.0

type LoadRamp_Parameters_Step struct {

	// The value of the step.
	TargetAcceptPercentage float64 `` // @gotags: validate:"gte=0,lte=100"
	/* 156-byte string literal not displayed */
	// Duration for which the step is active.
	Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

func (*LoadRamp_Parameters_Step) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadRamp_Parameters_Step. Required by controller-gen.

func (*LoadRamp_Parameters_Step) DeepCopyInterface added in v1.6.0

func (in *LoadRamp_Parameters_Step) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadRamp_Parameters_Step. Required by controller-gen.

func (*LoadRamp_Parameters_Step) DeepCopyInto added in v1.6.0

func (in *LoadRamp_Parameters_Step) DeepCopyInto(out *LoadRamp_Parameters_Step)

DeepCopyInto supports using LoadRamp_Parameters_Step within kubernetes types, where deepcopy-gen is used.

func (*LoadRamp_Parameters_Step) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadRamp_Parameters_Step.ProtoReflect.Descriptor instead.

func (*LoadRamp_Parameters_Step) GetDuration added in v1.6.0

func (x *LoadRamp_Parameters_Step) GetDuration() *durationpb.Duration

func (*LoadRamp_Parameters_Step) GetTargetAcceptPercentage added in v1.6.0

func (x *LoadRamp_Parameters_Step) GetTargetAcceptPercentage() float64

func (*LoadRamp_Parameters_Step) MarshalJSON added in v1.6.0

func (msg *LoadRamp_Parameters_Step) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadRamp_Parameters_Step) ProtoMessage added in v1.6.0

func (*LoadRamp_Parameters_Step) ProtoMessage()

func (*LoadRamp_Parameters_Step) ProtoReflect added in v1.6.0

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

func (*LoadRamp_Parameters_Step) Reset added in v1.6.0

func (x *LoadRamp_Parameters_Step) Reset()

func (*LoadRamp_Parameters_Step) String added in v1.6.0

func (x *LoadRamp_Parameters_Step) String() string

func (*LoadRamp_Parameters_Step) UnmarshalJSON added in v1.6.0

func (msg *LoadRamp_Parameters_Step) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadRamp_Parameters_Step) Validate added in v1.6.0

func (m *LoadRamp_Parameters_Step) Validate() error

Validate checks the field values on LoadRamp_Parameters_Step with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadRamp_Parameters_Step) ValidateAll added in v1.6.0

func (m *LoadRamp_Parameters_Step) ValidateAll() error

ValidateAll checks the field values on LoadRamp_Parameters_Step with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadRamp_Parameters_StepMultiError, or nil if none found.

type LoadRamp_Parameters_StepMultiError added in v1.6.0

type LoadRamp_Parameters_StepMultiError []error

LoadRamp_Parameters_StepMultiError is an error wrapping multiple validation errors returned by LoadRamp_Parameters_Step.ValidateAll() if the designated constraints aren't met.

func (LoadRamp_Parameters_StepMultiError) AllErrors added in v1.6.0

func (m LoadRamp_Parameters_StepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadRamp_Parameters_StepMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type LoadRamp_Parameters_StepValidationError added in v1.6.0

type LoadRamp_Parameters_StepValidationError struct {
	// contains filtered or unexported fields
}

LoadRamp_Parameters_StepValidationError is the validation error returned by LoadRamp_Parameters_Step.Validate if the designated constraints aren't met.

func (LoadRamp_Parameters_StepValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadRamp_Parameters_StepValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadRamp_Parameters_StepValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (LoadRamp_Parameters_StepValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadRamp_Parameters_StepValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadRamp_Parameters_StepValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadScheduler added in v1.6.0

type LoadScheduler struct {

	// Flow Selector decides the service and flows at which the _Load Scheduler_ is applied.
	// Deprecated 1.8.0: Use `selectors` instead.
	FlowSelector *FlowSelector `` // @gotags: validate:"required_without=Selectors"
	/* 135-byte string literal not displayed */
	// Configuration of Weighted Fair Queuing-based workload scheduler.
	//
	// Contains configuration of per-agent scheduler, and also defines some
	// output signals.
	Scheduler *LoadScheduler_Scheduler `protobuf:"bytes,2,opt,name=scheduler,proto3" json:"scheduler,omitempty" validate:"required"` // @gotags: validate:"required"
	// Actuator based on limiting the accepted token rate under incoming token rate * load multiplier.
	Actuator *LoadScheduler_Actuator `protobuf:"bytes,3,opt,name=actuator,proto3" json:"actuator,omitempty"`
	// Selectors for the component.
	Selectors []*Selector `protobuf:"bytes,4,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required_without=FlowSelector,dive"` // @gotags: validate:"required_without=FlowSelector,dive"
	// contains filtered or unexported fields
}

_Load Scheduler_ is an actuator component that regulates flows to provide active service protection

:::info

See also [_Load Scheduler_ overview](/concepts/flow-control/components/load-scheduler.md).

:::

It's based on the actuation strategy (for example, load actuator) and workload scheduling which is based on Weighted Fair Queuing principles. It measures and controls the incoming tokens per second, which can translate to (avg. latency \* in-flight requests) (Little's Law) in concurrency limiting use-case.

LoadScheduler configuration is split into two parts: An actuation strategy and a scheduler. At this time, only `load_actuator` strategy is available.

func (*LoadScheduler) DeepCopy added in v1.6.0

func (in *LoadScheduler) DeepCopy() *LoadScheduler

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler. Required by controller-gen.

func (*LoadScheduler) DeepCopyInterface added in v1.6.0

func (in *LoadScheduler) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler. Required by controller-gen.

func (*LoadScheduler) DeepCopyInto added in v1.6.0

func (in *LoadScheduler) DeepCopyInto(out *LoadScheduler)

DeepCopyInto supports using LoadScheduler within kubernetes types, where deepcopy-gen is used.

func (*LoadScheduler) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadScheduler.ProtoReflect.Descriptor instead.

func (*LoadScheduler) GetActuator added in v1.6.0

func (x *LoadScheduler) GetActuator() *LoadScheduler_Actuator

func (*LoadScheduler) GetFlowSelector added in v1.6.0

func (x *LoadScheduler) GetFlowSelector() *FlowSelector

func (*LoadScheduler) GetScheduler added in v1.6.0

func (x *LoadScheduler) GetScheduler() *LoadScheduler_Scheduler

func (*LoadScheduler) GetSelectors added in v1.6.0

func (x *LoadScheduler) GetSelectors() []*Selector

func (*LoadScheduler) MarshalJSON added in v1.6.0

func (msg *LoadScheduler) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadScheduler) ProtoMessage added in v1.6.0

func (*LoadScheduler) ProtoMessage()

func (*LoadScheduler) ProtoReflect added in v1.6.0

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

func (*LoadScheduler) Reset added in v1.6.0

func (x *LoadScheduler) Reset()

func (*LoadScheduler) String added in v1.6.0

func (x *LoadScheduler) String() string

func (*LoadScheduler) UnmarshalJSON added in v1.6.0

func (msg *LoadScheduler) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadScheduler) Validate added in v1.6.0

func (m *LoadScheduler) Validate() error

Validate checks the field values on LoadScheduler with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadScheduler) ValidateAll added in v1.6.0

func (m *LoadScheduler) ValidateAll() error

ValidateAll checks the field values on LoadScheduler with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadSchedulerMultiError, or nil if none found.

type LoadSchedulerMultiError added in v1.6.0

type LoadSchedulerMultiError []error

LoadSchedulerMultiError is an error wrapping multiple validation errors returned by LoadScheduler.ValidateAll() if the designated constraints aren't met.

func (LoadSchedulerMultiError) AllErrors added in v1.6.0

func (m LoadSchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadSchedulerMultiError) Error added in v1.6.0

func (m LoadSchedulerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoadSchedulerValidationError added in v1.6.0

type LoadSchedulerValidationError struct {
	// contains filtered or unexported fields
}

LoadSchedulerValidationError is the validation error returned by LoadScheduler.Validate if the designated constraints aren't met.

func (LoadSchedulerValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadSchedulerValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadSchedulerValidationError) ErrorName added in v1.6.0

func (e LoadSchedulerValidationError) ErrorName() string

ErrorName returns error name.

func (LoadSchedulerValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadSchedulerValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadSchedulerValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadScheduler_Actuator added in v1.6.0

type LoadScheduler_Actuator struct {

	// Input ports for the Actuator component.
	InPorts *LoadScheduler_Actuator_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Configuration key for DynamicConfig.
	DynamicConfigKey string `protobuf:"bytes,2,opt,name=dynamic_config_key,json=dynamicConfigKey,proto3" json:"dynamic_config_key,omitempty"`
	// Default configuration.
	DefaultConfig *LoadScheduler_Actuator_DynamicConfig `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// contains filtered or unexported fields
}

Takes the load multiplier input signal and publishes it to the schedulers in the data-plane

func (*LoadScheduler_Actuator) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Actuator. Required by controller-gen.

func (*LoadScheduler_Actuator) DeepCopyInterface added in v1.6.0

func (in *LoadScheduler_Actuator) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Actuator. Required by controller-gen.

func (*LoadScheduler_Actuator) DeepCopyInto added in v1.6.0

func (in *LoadScheduler_Actuator) DeepCopyInto(out *LoadScheduler_Actuator)

DeepCopyInto supports using LoadScheduler_Actuator within kubernetes types, where deepcopy-gen is used.

func (*LoadScheduler_Actuator) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadScheduler_Actuator.ProtoReflect.Descriptor instead.

func (*LoadScheduler_Actuator) GetDefaultConfig added in v1.6.0

func (*LoadScheduler_Actuator) GetDynamicConfigKey added in v1.6.0

func (x *LoadScheduler_Actuator) GetDynamicConfigKey() string

func (*LoadScheduler_Actuator) GetInPorts added in v1.6.0

func (*LoadScheduler_Actuator) MarshalJSON added in v1.6.0

func (msg *LoadScheduler_Actuator) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadScheduler_Actuator) ProtoMessage added in v1.6.0

func (*LoadScheduler_Actuator) ProtoMessage()

func (*LoadScheduler_Actuator) ProtoReflect added in v1.6.0

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

func (*LoadScheduler_Actuator) Reset added in v1.6.0

func (x *LoadScheduler_Actuator) Reset()

func (*LoadScheduler_Actuator) String added in v1.6.0

func (x *LoadScheduler_Actuator) String() string

func (*LoadScheduler_Actuator) UnmarshalJSON added in v1.6.0

func (msg *LoadScheduler_Actuator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadScheduler_Actuator) Validate added in v1.6.0

func (m *LoadScheduler_Actuator) Validate() error

Validate checks the field values on LoadScheduler_Actuator with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadScheduler_Actuator) ValidateAll added in v1.6.0

func (m *LoadScheduler_Actuator) ValidateAll() error

ValidateAll checks the field values on LoadScheduler_Actuator with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadScheduler_ActuatorMultiError, or nil if none found.

type LoadScheduler_ActuatorMultiError added in v1.6.0

type LoadScheduler_ActuatorMultiError []error

LoadScheduler_ActuatorMultiError is an error wrapping multiple validation errors returned by LoadScheduler_Actuator.ValidateAll() if the designated constraints aren't met.

func (LoadScheduler_ActuatorMultiError) AllErrors added in v1.6.0

func (m LoadScheduler_ActuatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadScheduler_ActuatorMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type LoadScheduler_ActuatorValidationError added in v1.6.0

type LoadScheduler_ActuatorValidationError struct {
	// contains filtered or unexported fields
}

LoadScheduler_ActuatorValidationError is the validation error returned by LoadScheduler_Actuator.Validate if the designated constraints aren't met.

func (LoadScheduler_ActuatorValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadScheduler_ActuatorValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadScheduler_ActuatorValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (LoadScheduler_ActuatorValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadScheduler_ActuatorValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadScheduler_ActuatorValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadScheduler_Actuator_DynamicConfig added in v1.6.0

type LoadScheduler_Actuator_DynamicConfig struct {

	// Decides whether to run the actuator in dry-run mode. Dry run mode ensures that no traffic gets dropped by this actuator.
	// Useful for observing the behavior of actuator without disrupting any real traffic.
	DryRun bool `protobuf:"varint,1,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// contains filtered or unexported fields
}

Dynamic Configuration for Actuator

func (*LoadScheduler_Actuator_DynamicConfig) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Actuator_DynamicConfig. Required by controller-gen.

func (*LoadScheduler_Actuator_DynamicConfig) DeepCopyInterface added in v1.6.0

func (in *LoadScheduler_Actuator_DynamicConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Actuator_DynamicConfig. Required by controller-gen.

func (*LoadScheduler_Actuator_DynamicConfig) DeepCopyInto added in v1.6.0

DeepCopyInto supports using LoadScheduler_Actuator_DynamicConfig within kubernetes types, where deepcopy-gen is used.

func (*LoadScheduler_Actuator_DynamicConfig) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadScheduler_Actuator_DynamicConfig.ProtoReflect.Descriptor instead.

func (*LoadScheduler_Actuator_DynamicConfig) GetDryRun added in v1.6.0

func (*LoadScheduler_Actuator_DynamicConfig) MarshalJSON added in v1.6.0

func (msg *LoadScheduler_Actuator_DynamicConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadScheduler_Actuator_DynamicConfig) ProtoMessage added in v1.6.0

func (*LoadScheduler_Actuator_DynamicConfig) ProtoMessage()

func (*LoadScheduler_Actuator_DynamicConfig) ProtoReflect added in v1.6.0

func (*LoadScheduler_Actuator_DynamicConfig) Reset added in v1.6.0

func (*LoadScheduler_Actuator_DynamicConfig) String added in v1.6.0

func (*LoadScheduler_Actuator_DynamicConfig) UnmarshalJSON added in v1.6.0

func (msg *LoadScheduler_Actuator_DynamicConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadScheduler_Actuator_DynamicConfig) Validate added in v1.6.0

Validate checks the field values on LoadScheduler_Actuator_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadScheduler_Actuator_DynamicConfig) ValidateAll added in v1.6.0

ValidateAll checks the field values on LoadScheduler_Actuator_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadScheduler_Actuator_DynamicConfigMultiError, or nil if none found.

type LoadScheduler_Actuator_DynamicConfigMultiError added in v1.6.0

type LoadScheduler_Actuator_DynamicConfigMultiError []error

LoadScheduler_Actuator_DynamicConfigMultiError is an error wrapping multiple validation errors returned by LoadScheduler_Actuator_DynamicConfig.ValidateAll() if the designated constraints aren't met.

func (LoadScheduler_Actuator_DynamicConfigMultiError) AllErrors added in v1.6.0

AllErrors returns a list of validation violation errors.

func (LoadScheduler_Actuator_DynamicConfigMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type LoadScheduler_Actuator_DynamicConfigValidationError added in v1.6.0

type LoadScheduler_Actuator_DynamicConfigValidationError struct {
	// contains filtered or unexported fields
}

LoadScheduler_Actuator_DynamicConfigValidationError is the validation error returned by LoadScheduler_Actuator_DynamicConfig.Validate if the designated constraints aren't met.

func (LoadScheduler_Actuator_DynamicConfigValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadScheduler_Actuator_DynamicConfigValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadScheduler_Actuator_DynamicConfigValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (LoadScheduler_Actuator_DynamicConfigValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadScheduler_Actuator_DynamicConfigValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadScheduler_Actuator_DynamicConfigValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadScheduler_Actuator_Ins added in v1.6.0

type LoadScheduler_Actuator_Ins struct {

	// Load multiplier is proportion of [incoming
	// token rate](#scheduler-outs) that needs to be accepted.
	LoadMultiplier *InPort `protobuf:"bytes,1,opt,name=load_multiplier,json=loadMultiplier,proto3" json:"load_multiplier,omitempty"`
	// contains filtered or unexported fields
}

Input for the Actuator component.

func (*LoadScheduler_Actuator_Ins) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Actuator_Ins. Required by controller-gen.

func (*LoadScheduler_Actuator_Ins) DeepCopyInterface added in v1.6.0

func (in *LoadScheduler_Actuator_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Actuator_Ins. Required by controller-gen.

func (*LoadScheduler_Actuator_Ins) DeepCopyInto added in v1.6.0

DeepCopyInto supports using LoadScheduler_Actuator_Ins within kubernetes types, where deepcopy-gen is used.

func (*LoadScheduler_Actuator_Ins) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadScheduler_Actuator_Ins.ProtoReflect.Descriptor instead.

func (*LoadScheduler_Actuator_Ins) GetLoadMultiplier added in v1.6.0

func (x *LoadScheduler_Actuator_Ins) GetLoadMultiplier() *InPort

func (*LoadScheduler_Actuator_Ins) MarshalJSON added in v1.6.0

func (msg *LoadScheduler_Actuator_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadScheduler_Actuator_Ins) ProtoMessage added in v1.6.0

func (*LoadScheduler_Actuator_Ins) ProtoMessage()

func (*LoadScheduler_Actuator_Ins) ProtoReflect added in v1.6.0

func (*LoadScheduler_Actuator_Ins) Reset added in v1.6.0

func (x *LoadScheduler_Actuator_Ins) Reset()

func (*LoadScheduler_Actuator_Ins) String added in v1.6.0

func (x *LoadScheduler_Actuator_Ins) String() string

func (*LoadScheduler_Actuator_Ins) UnmarshalJSON added in v1.6.0

func (msg *LoadScheduler_Actuator_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadScheduler_Actuator_Ins) Validate added in v1.6.0

func (m *LoadScheduler_Actuator_Ins) Validate() error

Validate checks the field values on LoadScheduler_Actuator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadScheduler_Actuator_Ins) ValidateAll added in v1.6.0

func (m *LoadScheduler_Actuator_Ins) ValidateAll() error

ValidateAll checks the field values on LoadScheduler_Actuator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadScheduler_Actuator_InsMultiError, or nil if none found.

type LoadScheduler_Actuator_InsMultiError added in v1.6.0

type LoadScheduler_Actuator_InsMultiError []error

LoadScheduler_Actuator_InsMultiError is an error wrapping multiple validation errors returned by LoadScheduler_Actuator_Ins.ValidateAll() if the designated constraints aren't met.

func (LoadScheduler_Actuator_InsMultiError) AllErrors added in v1.6.0

AllErrors returns a list of validation violation errors.

func (LoadScheduler_Actuator_InsMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type LoadScheduler_Actuator_InsValidationError added in v1.6.0

type LoadScheduler_Actuator_InsValidationError struct {
	// contains filtered or unexported fields
}

LoadScheduler_Actuator_InsValidationError is the validation error returned by LoadScheduler_Actuator_Ins.Validate if the designated constraints aren't met.

func (LoadScheduler_Actuator_InsValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadScheduler_Actuator_InsValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadScheduler_Actuator_InsValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (LoadScheduler_Actuator_InsValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadScheduler_Actuator_InsValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadScheduler_Actuator_InsValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadScheduler_Scheduler added in v1.6.0

type LoadScheduler_Scheduler struct {

	// Output ports for the Scheduler component.
	OutPorts *LoadScheduler_Scheduler_Outs `protobuf:"bytes,1,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Scheduler parameters.
	Parameters *LoadScheduler_Scheduler_Parameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

func (*LoadScheduler_Scheduler) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Scheduler. Required by controller-gen.

func (*LoadScheduler_Scheduler) DeepCopyInterface added in v1.6.0

func (in *LoadScheduler_Scheduler) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Scheduler. Required by controller-gen.

func (*LoadScheduler_Scheduler) DeepCopyInto added in v1.6.0

func (in *LoadScheduler_Scheduler) DeepCopyInto(out *LoadScheduler_Scheduler)

DeepCopyInto supports using LoadScheduler_Scheduler within kubernetes types, where deepcopy-gen is used.

func (*LoadScheduler_Scheduler) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadScheduler_Scheduler.ProtoReflect.Descriptor instead.

func (*LoadScheduler_Scheduler) GetOutPorts added in v1.6.0

func (*LoadScheduler_Scheduler) GetParameters added in v1.6.0

func (*LoadScheduler_Scheduler) MarshalJSON added in v1.6.0

func (msg *LoadScheduler_Scheduler) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadScheduler_Scheduler) ProtoMessage added in v1.6.0

func (*LoadScheduler_Scheduler) ProtoMessage()

func (*LoadScheduler_Scheduler) ProtoReflect added in v1.6.0

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

func (*LoadScheduler_Scheduler) Reset added in v1.6.0

func (x *LoadScheduler_Scheduler) Reset()

func (*LoadScheduler_Scheduler) String added in v1.6.0

func (x *LoadScheduler_Scheduler) String() string

func (*LoadScheduler_Scheduler) UnmarshalJSON added in v1.6.0

func (msg *LoadScheduler_Scheduler) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadScheduler_Scheduler) Validate added in v1.6.0

func (m *LoadScheduler_Scheduler) Validate() error

Validate checks the field values on LoadScheduler_Scheduler with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadScheduler_Scheduler) ValidateAll added in v1.6.0

func (m *LoadScheduler_Scheduler) ValidateAll() error

ValidateAll checks the field values on LoadScheduler_Scheduler with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadScheduler_SchedulerMultiError, or nil if none found.

type LoadScheduler_SchedulerMultiError added in v1.6.0

type LoadScheduler_SchedulerMultiError []error

LoadScheduler_SchedulerMultiError is an error wrapping multiple validation errors returned by LoadScheduler_Scheduler.ValidateAll() if the designated constraints aren't met.

func (LoadScheduler_SchedulerMultiError) AllErrors added in v1.6.0

func (m LoadScheduler_SchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadScheduler_SchedulerMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type LoadScheduler_SchedulerValidationError added in v1.6.0

type LoadScheduler_SchedulerValidationError struct {
	// contains filtered or unexported fields
}

LoadScheduler_SchedulerValidationError is the validation error returned by LoadScheduler_Scheduler.Validate if the designated constraints aren't met.

func (LoadScheduler_SchedulerValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadScheduler_SchedulerValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadScheduler_SchedulerValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (LoadScheduler_SchedulerValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadScheduler_SchedulerValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadScheduler_SchedulerValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadScheduler_Scheduler_Outs added in v1.6.0

type LoadScheduler_Scheduler_Outs struct {

	// Accepted token rate is the tokens admitted per second by the scheduler.
	// Value of this signal is aggregated from all the relevant schedulers.
	AcceptedTokenRate *OutPort `protobuf:"bytes,1,opt,name=accepted_token_rate,json=acceptedTokenRate,proto3" json:"accepted_token_rate,omitempty"`
	// Incoming token rate is the incoming tokens per second for all the
	// flows entering the scheduler including the rejected ones.
	//
	// This is computed similar to `accepted_token_rate`,
	// by summing up tokens from all the flows entering scheduler.
	IncomingTokenRate *OutPort `protobuf:"bytes,2,opt,name=incoming_token_rate,json=incomingTokenRate,proto3" json:"incoming_token_rate,omitempty"`
	// contains filtered or unexported fields
}

Output for the Scheduler component.

func (*LoadScheduler_Scheduler_Outs) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Scheduler_Outs. Required by controller-gen.

func (*LoadScheduler_Scheduler_Outs) DeepCopyInterface added in v1.6.0

func (in *LoadScheduler_Scheduler_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Scheduler_Outs. Required by controller-gen.

func (*LoadScheduler_Scheduler_Outs) DeepCopyInto added in v1.6.0

DeepCopyInto supports using LoadScheduler_Scheduler_Outs within kubernetes types, where deepcopy-gen is used.

func (*LoadScheduler_Scheduler_Outs) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadScheduler_Scheduler_Outs.ProtoReflect.Descriptor instead.

func (*LoadScheduler_Scheduler_Outs) GetAcceptedTokenRate added in v1.6.0

func (x *LoadScheduler_Scheduler_Outs) GetAcceptedTokenRate() *OutPort

func (*LoadScheduler_Scheduler_Outs) GetIncomingTokenRate added in v1.6.0

func (x *LoadScheduler_Scheduler_Outs) GetIncomingTokenRate() *OutPort

func (*LoadScheduler_Scheduler_Outs) MarshalJSON added in v1.6.0

func (msg *LoadScheduler_Scheduler_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadScheduler_Scheduler_Outs) ProtoMessage added in v1.6.0

func (*LoadScheduler_Scheduler_Outs) ProtoMessage()

func (*LoadScheduler_Scheduler_Outs) ProtoReflect added in v1.6.0

func (*LoadScheduler_Scheduler_Outs) Reset added in v1.6.0

func (x *LoadScheduler_Scheduler_Outs) Reset()

func (*LoadScheduler_Scheduler_Outs) String added in v1.6.0

func (*LoadScheduler_Scheduler_Outs) UnmarshalJSON added in v1.6.0

func (msg *LoadScheduler_Scheduler_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadScheduler_Scheduler_Outs) Validate added in v1.6.0

func (m *LoadScheduler_Scheduler_Outs) Validate() error

Validate checks the field values on LoadScheduler_Scheduler_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadScheduler_Scheduler_Outs) ValidateAll added in v1.6.0

func (m *LoadScheduler_Scheduler_Outs) ValidateAll() error

ValidateAll checks the field values on LoadScheduler_Scheduler_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadScheduler_Scheduler_OutsMultiError, or nil if none found.

type LoadScheduler_Scheduler_OutsMultiError added in v1.6.0

type LoadScheduler_Scheduler_OutsMultiError []error

LoadScheduler_Scheduler_OutsMultiError is an error wrapping multiple validation errors returned by LoadScheduler_Scheduler_Outs.ValidateAll() if the designated constraints aren't met.

func (LoadScheduler_Scheduler_OutsMultiError) AllErrors added in v1.6.0

AllErrors returns a list of validation violation errors.

func (LoadScheduler_Scheduler_OutsMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type LoadScheduler_Scheduler_OutsValidationError added in v1.6.0

type LoadScheduler_Scheduler_OutsValidationError struct {
	// contains filtered or unexported fields
}

LoadScheduler_Scheduler_OutsValidationError is the validation error returned by LoadScheduler_Scheduler_Outs.Validate if the designated constraints aren't met.

func (LoadScheduler_Scheduler_OutsValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadScheduler_Scheduler_OutsValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadScheduler_Scheduler_OutsValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (LoadScheduler_Scheduler_OutsValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadScheduler_Scheduler_OutsValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadScheduler_Scheduler_OutsValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadScheduler_Scheduler_Parameters added in v1.6.0

type LoadScheduler_Scheduler_Parameters struct {

	// List of workloads to be used in scheduler.
	//
	// Categorizing [flows](/concepts/flow-control/flow-control.md#flow) into workloads
	// allows for load-shedding to be "intelligent" compared to random rejections.
	// There are two aspects of this "intelligence":
	//   - Scheduler can more precisely calculate concurrency if it understands
	//     that flows belonging to different classes have different weights (for example, insert queries compared to select queries).
	//   - Setting different priorities to different workloads lets the scheduler
	//     avoid dropping important traffic during overload.
	//
	// Each workload in this list specifies also a matcher that is used to
	// determine which flow will be categorized into which workload.
	// In case of multiple matching workloads, the first matching one will be used.
	// If none of workloads match, `default_workload` will be used.
	//
	// :::info
	//
	// See also [workload definition in the concepts
	// section](/concepts/flow-control/components/load-scheduler.md#workload).
	//
	// :::
	Workloads []*LoadScheduler_Scheduler_Workload `protobuf:"bytes,1,rep,name=workloads,proto3" json:"workloads,omitempty" validate:"dive"` // @gotags: validate:"dive"
	// Parameters to be used if none of workloads specified in `workloads` match.
	DefaultWorkloadParameters *LoadScheduler_Scheduler_Workload_Parameters `` /* 138-byte string literal not displayed */
	// Automatically estimate the size of a flow in each workload, based on
	// historical latency. Each workload's `tokens` will be set to average
	// latency of flows in that workload during last few seconds (exact duration
	// of this average can change).
	// This setting is useful in concurrency limiting use-case, where the
	// concurrency is calculated as (avg. latency \* in-flight flows).
	//
	// The value of tokens estimated by `auto_tokens` takes lower precedence
	// than the value of `tokens` specified in the workload definition
	// and `tokens` explicitly specified in the flow labels.
	AutoTokens bool `protobuf:"varint,3,opt,name=auto_tokens,json=autoTokens,proto3" json:"auto_tokens,omitempty" default:"false"` // @gotags: default:"false"
	// Deprecated: 1.5.0. Use `decision_deadline_margin` instead. This value is ignored.
	TimeoutFactor float64 `` // @gotags: validate:"gte=0.0" default:"0"
	/* 133-byte string literal not displayed */
	// Deprecated: 1.5.0. Use `decision_deadline_margin` instead. This value is ignored.
	MaxTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=max_timeout,json=maxTimeout,proto3" json:"max_timeout,omitempty" default:"0s"` // @gotags: default:"0s"
	// Decision deadline margin is the amount of time that the scheduler will
	// subtract from the request deadline to determine the deadline for the
	// decision. This is to ensure that the scheduler has enough time to
	// make a decision before the request deadline happens, accounting for
	// processing delays.
	// The request deadline is based on the
	// [gRPC deadline](https://grpc.io/blog/deadlines) or the
	// [`grpc-timeout` HTTP header](https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests).
	//
	// Fail-open logic is use for flow control APIs, so if the gRPC deadline
	// reaches, the flow will end up being unconditionally allowed while
	// it is still waiting on the scheduler.
	DecisionDeadlineMargin *durationpb.Duration `` // @gotags: default:"0.01s"
	/* 145-byte string literal not displayed */
	// * Key for a flow label that can be used to override the default number of tokens for this flow.
	// * The value associated with this key must be a valid uint64 number.
	// * If this parameter is not provided, the number of tokens for the flow will be determined by the matched workload's token count.
	TokensLabelKey string `protobuf:"bytes,7,opt,name=tokens_label_key,json=tokensLabelKey,proto3" json:"tokens_label_key,omitempty" default:"tokens"` // @gotags: default:"tokens"
	// contains filtered or unexported fields
}

Scheduler parameters

func (*LoadScheduler_Scheduler_Parameters) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Scheduler_Parameters. Required by controller-gen.

func (*LoadScheduler_Scheduler_Parameters) DeepCopyInterface added in v1.6.0

func (in *LoadScheduler_Scheduler_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Scheduler_Parameters. Required by controller-gen.

func (*LoadScheduler_Scheduler_Parameters) DeepCopyInto added in v1.6.0

DeepCopyInto supports using LoadScheduler_Scheduler_Parameters within kubernetes types, where deepcopy-gen is used.

func (*LoadScheduler_Scheduler_Parameters) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadScheduler_Scheduler_Parameters.ProtoReflect.Descriptor instead.

func (*LoadScheduler_Scheduler_Parameters) GetAutoTokens added in v1.6.0

func (x *LoadScheduler_Scheduler_Parameters) GetAutoTokens() bool

func (*LoadScheduler_Scheduler_Parameters) GetDecisionDeadlineMargin added in v1.6.0

func (x *LoadScheduler_Scheduler_Parameters) GetDecisionDeadlineMargin() *durationpb.Duration

func (*LoadScheduler_Scheduler_Parameters) GetDefaultWorkloadParameters added in v1.6.0

func (*LoadScheduler_Scheduler_Parameters) GetMaxTimeout added in v1.6.0

func (*LoadScheduler_Scheduler_Parameters) GetTimeoutFactor added in v1.6.0

func (x *LoadScheduler_Scheduler_Parameters) GetTimeoutFactor() float64

func (*LoadScheduler_Scheduler_Parameters) GetTokensLabelKey added in v1.6.0

func (x *LoadScheduler_Scheduler_Parameters) GetTokensLabelKey() string

func (*LoadScheduler_Scheduler_Parameters) GetWorkloads added in v1.6.0

func (*LoadScheduler_Scheduler_Parameters) MarshalJSON added in v1.6.0

func (msg *LoadScheduler_Scheduler_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadScheduler_Scheduler_Parameters) ProtoMessage added in v1.6.0

func (*LoadScheduler_Scheduler_Parameters) ProtoMessage()

func (*LoadScheduler_Scheduler_Parameters) ProtoReflect added in v1.6.0

func (*LoadScheduler_Scheduler_Parameters) Reset added in v1.6.0

func (*LoadScheduler_Scheduler_Parameters) String added in v1.6.0

func (*LoadScheduler_Scheduler_Parameters) UnmarshalJSON added in v1.6.0

func (msg *LoadScheduler_Scheduler_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadScheduler_Scheduler_Parameters) Validate added in v1.6.0

Validate checks the field values on LoadScheduler_Scheduler_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadScheduler_Scheduler_Parameters) ValidateAll added in v1.6.0

func (m *LoadScheduler_Scheduler_Parameters) ValidateAll() error

ValidateAll checks the field values on LoadScheduler_Scheduler_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadScheduler_Scheduler_ParametersMultiError, or nil if none found.

type LoadScheduler_Scheduler_ParametersMultiError added in v1.6.0

type LoadScheduler_Scheduler_ParametersMultiError []error

LoadScheduler_Scheduler_ParametersMultiError is an error wrapping multiple validation errors returned by LoadScheduler_Scheduler_Parameters.ValidateAll() if the designated constraints aren't met.

func (LoadScheduler_Scheduler_ParametersMultiError) AllErrors added in v1.6.0

AllErrors returns a list of validation violation errors.

func (LoadScheduler_Scheduler_ParametersMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type LoadScheduler_Scheduler_ParametersValidationError added in v1.6.0

type LoadScheduler_Scheduler_ParametersValidationError struct {
	// contains filtered or unexported fields
}

LoadScheduler_Scheduler_ParametersValidationError is the validation error returned by LoadScheduler_Scheduler_Parameters.Validate if the designated constraints aren't met.

func (LoadScheduler_Scheduler_ParametersValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadScheduler_Scheduler_ParametersValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadScheduler_Scheduler_ParametersValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (LoadScheduler_Scheduler_ParametersValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadScheduler_Scheduler_ParametersValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadScheduler_Scheduler_ParametersValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadScheduler_Scheduler_Workload added in v1.6.0

type LoadScheduler_Scheduler_Workload struct {

	// Parameters associated with flows matching the label matcher.
	Parameters *LoadScheduler_Scheduler_Workload_Parameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// Label Matcher to select a Workload based on
	// [flow labels](/concepts/flow-control/flow-label.md).
	LabelMatcher *LabelMatcher `protobuf:"bytes,2,opt,name=label_matcher,json=labelMatcher,proto3" json:"label_matcher,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Workload defines a class of flows that preferably have similar properties such as response latency and desired priority.

func (*LoadScheduler_Scheduler_Workload) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Scheduler_Workload. Required by controller-gen.

func (*LoadScheduler_Scheduler_Workload) DeepCopyInterface added in v1.6.0

func (in *LoadScheduler_Scheduler_Workload) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Scheduler_Workload. Required by controller-gen.

func (*LoadScheduler_Scheduler_Workload) DeepCopyInto added in v1.6.0

DeepCopyInto supports using LoadScheduler_Scheduler_Workload within kubernetes types, where deepcopy-gen is used.

func (*LoadScheduler_Scheduler_Workload) Descriptor deprecated added in v1.6.0

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

Deprecated: Use LoadScheduler_Scheduler_Workload.ProtoReflect.Descriptor instead.

func (*LoadScheduler_Scheduler_Workload) GetLabelMatcher added in v1.6.0

func (x *LoadScheduler_Scheduler_Workload) GetLabelMatcher() *LabelMatcher

func (*LoadScheduler_Scheduler_Workload) GetParameters added in v1.6.0

func (*LoadScheduler_Scheduler_Workload) MarshalJSON added in v1.6.0

func (msg *LoadScheduler_Scheduler_Workload) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadScheduler_Scheduler_Workload) ProtoMessage added in v1.6.0

func (*LoadScheduler_Scheduler_Workload) ProtoMessage()

func (*LoadScheduler_Scheduler_Workload) ProtoReflect added in v1.6.0

func (*LoadScheduler_Scheduler_Workload) Reset added in v1.6.0

func (*LoadScheduler_Scheduler_Workload) String added in v1.6.0

func (*LoadScheduler_Scheduler_Workload) UnmarshalJSON added in v1.6.0

func (msg *LoadScheduler_Scheduler_Workload) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadScheduler_Scheduler_Workload) Validate added in v1.6.0

Validate checks the field values on LoadScheduler_Scheduler_Workload with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadScheduler_Scheduler_Workload) ValidateAll added in v1.6.0

func (m *LoadScheduler_Scheduler_Workload) ValidateAll() error

ValidateAll checks the field values on LoadScheduler_Scheduler_Workload with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadScheduler_Scheduler_WorkloadMultiError, or nil if none found.

type LoadScheduler_Scheduler_WorkloadMultiError added in v1.6.0

type LoadScheduler_Scheduler_WorkloadMultiError []error

LoadScheduler_Scheduler_WorkloadMultiError is an error wrapping multiple validation errors returned by LoadScheduler_Scheduler_Workload.ValidateAll() if the designated constraints aren't met.

func (LoadScheduler_Scheduler_WorkloadMultiError) AllErrors added in v1.6.0

AllErrors returns a list of validation violation errors.

func (LoadScheduler_Scheduler_WorkloadMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type LoadScheduler_Scheduler_WorkloadValidationError added in v1.6.0

type LoadScheduler_Scheduler_WorkloadValidationError struct {
	// contains filtered or unexported fields
}

LoadScheduler_Scheduler_WorkloadValidationError is the validation error returned by LoadScheduler_Scheduler_Workload.Validate if the designated constraints aren't met.

func (LoadScheduler_Scheduler_WorkloadValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadScheduler_Scheduler_WorkloadValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadScheduler_Scheduler_WorkloadValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (LoadScheduler_Scheduler_WorkloadValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadScheduler_Scheduler_WorkloadValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadScheduler_Scheduler_WorkloadValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadScheduler_Scheduler_Workload_Parameters added in v1.6.0

type LoadScheduler_Scheduler_Workload_Parameters struct {

	// Describes priority level of the flows within the workload.
	// Priority level ranges from 0 to 255.
	// Higher numbers means higher priority level.
	// Priority levels have non-linear effect on the workload scheduling. The following formula is used to determine the position of a flow in the queue based on virtual finish time:
	//
	// $$
	// \text{virtual\_finish\_time} = \text{virtual\_time} + \left(\text{tokens} \cdot \left(\text{256} - \text{priority}\right)\right)
	// $$
	Priority uint32 `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty" validate:"gte=0,lte=255" default:"0"` // @gotags: validate:"gte=0,lte=255" default:"0"
	// Tokens determines the cost of admitting a single flow in the workload,
	// which is typically defined as milliseconds of flow latency (time to response or duration of a feature) or
	// simply equal to 1 if the resource being accessed is constrained by the
	// number of flows (3rd party rate limiters).
	// This override is applicable only if tokens for the flow aren't specified
	// in the flow labels.
	Tokens uint64 `protobuf:"varint,2,opt,name=tokens,proto3" json:"tokens,omitempty"`
	// Fairness key is a label key that can be used to provide fairness within a workload.
	// Any [flow label](/concepts/flow-control/flow-label.md) can be used here. For example, if
	// you have a classifier that sets `user` flow label, you might want to set
	// `fairness_key = "user"`.
	FairnessKey string `protobuf:"bytes,3,opt,name=fairness_key,json=fairnessKey,proto3" json:"fairness_key,omitempty"`
	// contains filtered or unexported fields
}

Parameters such as priority, tokens and fairness key that are applicable to flows within a workload.

func (*LoadScheduler_Scheduler_Workload_Parameters) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Scheduler_Workload_Parameters. Required by controller-gen.

func (*LoadScheduler_Scheduler_Workload_Parameters) DeepCopyInterface added in v1.6.0

func (in *LoadScheduler_Scheduler_Workload_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadScheduler_Scheduler_Workload_Parameters. Required by controller-gen.

func (*LoadScheduler_Scheduler_Workload_Parameters) DeepCopyInto added in v1.6.0

DeepCopyInto supports using LoadScheduler_Scheduler_Workload_Parameters within kubernetes types, where deepcopy-gen is used.

func (*LoadScheduler_Scheduler_Workload_Parameters) Descriptor deprecated added in v1.6.0

Deprecated: Use LoadScheduler_Scheduler_Workload_Parameters.ProtoReflect.Descriptor instead.

func (*LoadScheduler_Scheduler_Workload_Parameters) GetFairnessKey added in v1.6.0

func (*LoadScheduler_Scheduler_Workload_Parameters) GetPriority added in v1.6.0

func (*LoadScheduler_Scheduler_Workload_Parameters) GetTokens added in v1.6.0

func (*LoadScheduler_Scheduler_Workload_Parameters) MarshalJSON added in v1.6.0

func (msg *LoadScheduler_Scheduler_Workload_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadScheduler_Scheduler_Workload_Parameters) ProtoMessage added in v1.6.0

func (*LoadScheduler_Scheduler_Workload_Parameters) ProtoReflect added in v1.6.0

func (*LoadScheduler_Scheduler_Workload_Parameters) Reset added in v1.6.0

func (*LoadScheduler_Scheduler_Workload_Parameters) String added in v1.6.0

func (*LoadScheduler_Scheduler_Workload_Parameters) UnmarshalJSON added in v1.6.0

func (msg *LoadScheduler_Scheduler_Workload_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadScheduler_Scheduler_Workload_Parameters) Validate added in v1.6.0

Validate checks the field values on LoadScheduler_Scheduler_Workload_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadScheduler_Scheduler_Workload_Parameters) ValidateAll added in v1.6.0

ValidateAll checks the field values on LoadScheduler_Scheduler_Workload_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadScheduler_Scheduler_Workload_ParametersMultiError, or nil if none found.

type LoadScheduler_Scheduler_Workload_ParametersMultiError added in v1.6.0

type LoadScheduler_Scheduler_Workload_ParametersMultiError []error

LoadScheduler_Scheduler_Workload_ParametersMultiError is an error wrapping multiple validation errors returned by LoadScheduler_Scheduler_Workload_Parameters.ValidateAll() if the designated constraints aren't met.

func (LoadScheduler_Scheduler_Workload_ParametersMultiError) AllErrors added in v1.6.0

AllErrors returns a list of validation violation errors.

func (LoadScheduler_Scheduler_Workload_ParametersMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type LoadScheduler_Scheduler_Workload_ParametersValidationError added in v1.6.0

type LoadScheduler_Scheduler_Workload_ParametersValidationError struct {
	// contains filtered or unexported fields
}

LoadScheduler_Scheduler_Workload_ParametersValidationError is the validation error returned by LoadScheduler_Scheduler_Workload_Parameters.Validate if the designated constraints aren't met.

func (LoadScheduler_Scheduler_Workload_ParametersValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (LoadScheduler_Scheduler_Workload_ParametersValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (LoadScheduler_Scheduler_Workload_ParametersValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (LoadScheduler_Scheduler_Workload_ParametersValidationError) Field added in v1.6.0

Field function returns field value.

func (LoadScheduler_Scheduler_Workload_ParametersValidationError) Key added in v1.6.0

Key function returns key value.

func (LoadScheduler_Scheduler_Workload_ParametersValidationError) Reason added in v1.6.0

Reason function returns reason value.

type LoadShaper added in v1.4.0

type LoadShaper struct {
	InPorts    *LoadShaper_Ins        `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	OutPorts   *LoadShaper_Outs       `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	Parameters *LoadShaper_Parameters `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// Dynamic configuration key for flow regulator.
	DynamicConfigKey string `protobuf:"bytes,9,opt,name=dynamic_config_key,json=dynamicConfigKey,proto3" json:"dynamic_config_key,omitempty"`
	// Default configuration.
	DefaultConfig *Regulator_DynamicConfig `protobuf:"bytes,10,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// contains filtered or unexported fields
}

The _Load Shaper_ produces a smooth and continuous traffic load that changes progressively over time, based on the specified steps.

Each step is defined by two parameters:

  • The `target_accept_percentage`.
  • The `duration` for the signal to change from the previous step's `target_accept_percentage` to the current step's `target_accept_percentage`.

The percentage of requests accepted starts at the `target_accept_percentage` defined in the first step and gradually ramps up or down linearly from the previous step's `target_accept_percentage` to the next `target_accept_percentage`, over the `duration` specified for each step.

func (*LoadShaper) DeepCopy added in v1.4.0

func (in *LoadShaper) DeepCopy() *LoadShaper

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaper. Required by controller-gen.

func (*LoadShaper) DeepCopyInterface added in v1.4.0

func (in *LoadShaper) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaper. Required by controller-gen.

func (*LoadShaper) DeepCopyInto added in v1.4.0

func (in *LoadShaper) DeepCopyInto(out *LoadShaper)

DeepCopyInto supports using LoadShaper within kubernetes types, where deepcopy-gen is used.

func (*LoadShaper) Descriptor deprecated added in v1.4.0

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

Deprecated: Use LoadShaper.ProtoReflect.Descriptor instead.

func (*LoadShaper) GetDefaultConfig added in v1.4.0

func (x *LoadShaper) GetDefaultConfig() *Regulator_DynamicConfig

func (*LoadShaper) GetDynamicConfigKey added in v1.4.0

func (x *LoadShaper) GetDynamicConfigKey() string

func (*LoadShaper) GetInPorts added in v1.4.0

func (x *LoadShaper) GetInPorts() *LoadShaper_Ins

func (*LoadShaper) GetOutPorts added in v1.4.0

func (x *LoadShaper) GetOutPorts() *LoadShaper_Outs

func (*LoadShaper) GetParameters added in v1.4.0

func (x *LoadShaper) GetParameters() *LoadShaper_Parameters

func (*LoadShaper) MarshalJSON added in v1.4.0

func (msg *LoadShaper) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadShaper) ProtoMessage added in v1.4.0

func (*LoadShaper) ProtoMessage()

func (*LoadShaper) ProtoReflect added in v1.4.0

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

func (*LoadShaper) Reset added in v1.4.0

func (x *LoadShaper) Reset()

func (*LoadShaper) String added in v1.4.0

func (x *LoadShaper) String() string

func (*LoadShaper) UnmarshalJSON added in v1.4.0

func (msg *LoadShaper) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadShaper) Validate added in v1.4.0

func (m *LoadShaper) Validate() error

Validate checks the field values on LoadShaper with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadShaper) ValidateAll added in v1.4.0

func (m *LoadShaper) ValidateAll() error

ValidateAll checks the field values on LoadShaper with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadShaperMultiError, or nil if none found.

type LoadShaperMultiError added in v1.4.0

type LoadShaperMultiError []error

LoadShaperMultiError is an error wrapping multiple validation errors returned by LoadShaper.ValidateAll() if the designated constraints aren't met.

func (LoadShaperMultiError) AllErrors added in v1.4.0

func (m LoadShaperMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadShaperMultiError) Error added in v1.4.0

func (m LoadShaperMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoadShaperSeries added in v1.4.0

type LoadShaperSeries struct {
	InPorts    *LoadShaperSeries_Ins        `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	Parameters *LoadShaperSeries_Parameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

_LoadShaperSeries_ is a component that applies a series of _Load Shapers_ in order.

func (*LoadShaperSeries) DeepCopy added in v1.4.0

func (in *LoadShaperSeries) DeepCopy() *LoadShaperSeries

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaperSeries. Required by controller-gen.

func (*LoadShaperSeries) DeepCopyInterface added in v1.4.0

func (in *LoadShaperSeries) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaperSeries. Required by controller-gen.

func (*LoadShaperSeries) DeepCopyInto added in v1.4.0

func (in *LoadShaperSeries) DeepCopyInto(out *LoadShaperSeries)

DeepCopyInto supports using LoadShaperSeries within kubernetes types, where deepcopy-gen is used.

func (*LoadShaperSeries) Descriptor deprecated added in v1.4.0

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

Deprecated: Use LoadShaperSeries.ProtoReflect.Descriptor instead.

func (*LoadShaperSeries) GetInPorts added in v1.4.0

func (x *LoadShaperSeries) GetInPorts() *LoadShaperSeries_Ins

func (*LoadShaperSeries) GetParameters added in v1.4.0

func (x *LoadShaperSeries) GetParameters() *LoadShaperSeries_Parameters

func (*LoadShaperSeries) MarshalJSON added in v1.4.0

func (msg *LoadShaperSeries) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadShaperSeries) ProtoMessage added in v1.4.0

func (*LoadShaperSeries) ProtoMessage()

func (*LoadShaperSeries) ProtoReflect added in v1.4.0

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

func (*LoadShaperSeries) Reset added in v1.4.0

func (x *LoadShaperSeries) Reset()

func (*LoadShaperSeries) String added in v1.4.0

func (x *LoadShaperSeries) String() string

func (*LoadShaperSeries) UnmarshalJSON added in v1.4.0

func (msg *LoadShaperSeries) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadShaperSeries) Validate added in v1.4.0

func (m *LoadShaperSeries) Validate() error

Validate checks the field values on LoadShaperSeries with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadShaperSeries) ValidateAll added in v1.4.0

func (m *LoadShaperSeries) ValidateAll() error

ValidateAll checks the field values on LoadShaperSeries with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadShaperSeriesMultiError, or nil if none found.

type LoadShaperSeriesMultiError added in v1.4.0

type LoadShaperSeriesMultiError []error

LoadShaperSeriesMultiError is an error wrapping multiple validation errors returned by LoadShaperSeries.ValidateAll() if the designated constraints aren't met.

func (LoadShaperSeriesMultiError) AllErrors added in v1.4.0

func (m LoadShaperSeriesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadShaperSeriesMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type LoadShaperSeriesValidationError added in v1.4.0

type LoadShaperSeriesValidationError struct {
	// contains filtered or unexported fields
}

LoadShaperSeriesValidationError is the validation error returned by LoadShaperSeries.Validate if the designated constraints aren't met.

func (LoadShaperSeriesValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (LoadShaperSeriesValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (LoadShaperSeriesValidationError) ErrorName added in v1.4.0

ErrorName returns error name.

func (LoadShaperSeriesValidationError) Field added in v1.4.0

Field function returns field value.

func (LoadShaperSeriesValidationError) Key added in v1.4.0

Key function returns key value.

func (LoadShaperSeriesValidationError) Reason added in v1.4.0

Reason function returns reason value.

type LoadShaperSeries_Ins added in v1.4.0

type LoadShaperSeries_Ins struct {

	// Whether to progress the load shaper series towards the next step.
	Forward *InPort `protobuf:"bytes,1,opt,name=forward,proto3" json:"forward,omitempty"`
	// Whether to progress the load shaper series towards the previous step.
	Backward *InPort `protobuf:"bytes,2,opt,name=backward,proto3" json:"backward,omitempty"`
	// Whether to reset the load shaper series to the first step.
	Reset_ *InPort `protobuf:"bytes,3,opt,name=reset,proto3" json:"reset,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the _LoadShaperSeries_ component.

func (*LoadShaperSeries_Ins) DeepCopy added in v1.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaperSeries_Ins. Required by controller-gen.

func (*LoadShaperSeries_Ins) DeepCopyInterface added in v1.4.0

func (in *LoadShaperSeries_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaperSeries_Ins. Required by controller-gen.

func (*LoadShaperSeries_Ins) DeepCopyInto added in v1.4.0

func (in *LoadShaperSeries_Ins) DeepCopyInto(out *LoadShaperSeries_Ins)

DeepCopyInto supports using LoadShaperSeries_Ins within kubernetes types, where deepcopy-gen is used.

func (*LoadShaperSeries_Ins) Descriptor deprecated added in v1.4.0

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

Deprecated: Use LoadShaperSeries_Ins.ProtoReflect.Descriptor instead.

func (*LoadShaperSeries_Ins) GetBackward added in v1.4.0

func (x *LoadShaperSeries_Ins) GetBackward() *InPort

func (*LoadShaperSeries_Ins) GetForward added in v1.4.0

func (x *LoadShaperSeries_Ins) GetForward() *InPort

func (*LoadShaperSeries_Ins) GetReset_ added in v1.4.0

func (x *LoadShaperSeries_Ins) GetReset_() *InPort

func (*LoadShaperSeries_Ins) MarshalJSON added in v1.4.0

func (msg *LoadShaperSeries_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadShaperSeries_Ins) ProtoMessage added in v1.4.0

func (*LoadShaperSeries_Ins) ProtoMessage()

func (*LoadShaperSeries_Ins) ProtoReflect added in v1.4.0

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

func (*LoadShaperSeries_Ins) Reset added in v1.4.0

func (x *LoadShaperSeries_Ins) Reset()

func (*LoadShaperSeries_Ins) String added in v1.4.0

func (x *LoadShaperSeries_Ins) String() string

func (*LoadShaperSeries_Ins) UnmarshalJSON added in v1.4.0

func (msg *LoadShaperSeries_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadShaperSeries_Ins) Validate added in v1.4.0

func (m *LoadShaperSeries_Ins) Validate() error

Validate checks the field values on LoadShaperSeries_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadShaperSeries_Ins) ValidateAll added in v1.4.0

func (m *LoadShaperSeries_Ins) ValidateAll() error

ValidateAll checks the field values on LoadShaperSeries_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadShaperSeries_InsMultiError, or nil if none found.

type LoadShaperSeries_InsMultiError added in v1.4.0

type LoadShaperSeries_InsMultiError []error

LoadShaperSeries_InsMultiError is an error wrapping multiple validation errors returned by LoadShaperSeries_Ins.ValidateAll() if the designated constraints aren't met.

func (LoadShaperSeries_InsMultiError) AllErrors added in v1.4.0

func (m LoadShaperSeries_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadShaperSeries_InsMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type LoadShaperSeries_InsValidationError added in v1.4.0

type LoadShaperSeries_InsValidationError struct {
	// contains filtered or unexported fields
}

LoadShaperSeries_InsValidationError is the validation error returned by LoadShaperSeries_Ins.Validate if the designated constraints aren't met.

func (LoadShaperSeries_InsValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (LoadShaperSeries_InsValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (LoadShaperSeries_InsValidationError) ErrorName added in v1.4.0

ErrorName returns error name.

func (LoadShaperSeries_InsValidationError) Field added in v1.4.0

Field function returns field value.

func (LoadShaperSeries_InsValidationError) Key added in v1.4.0

Key function returns key value.

func (LoadShaperSeries_InsValidationError) Reason added in v1.4.0

Reason function returns reason value.

type LoadShaperSeries_LoadShaperInstance added in v1.4.0

type LoadShaperSeries_LoadShaperInstance struct {

	// The load shaper.
	LoadShaper *LoadShaper_Parameters `protobuf:"bytes,1,opt,name=load_shaper,json=loadShaper,proto3" json:"load_shaper,omitempty" validate:"required"` // @gotags: validate:"required"
	OutPorts   *LoadShaper_Outs       `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadShaperSeries_LoadShaperInstance) DeepCopy added in v1.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaperSeries_LoadShaperInstance. Required by controller-gen.

func (*LoadShaperSeries_LoadShaperInstance) DeepCopyInterface added in v1.4.0

func (in *LoadShaperSeries_LoadShaperInstance) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaperSeries_LoadShaperInstance. Required by controller-gen.

func (*LoadShaperSeries_LoadShaperInstance) DeepCopyInto added in v1.4.0

DeepCopyInto supports using LoadShaperSeries_LoadShaperInstance within kubernetes types, where deepcopy-gen is used.

func (*LoadShaperSeries_LoadShaperInstance) Descriptor deprecated added in v1.4.0

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

Deprecated: Use LoadShaperSeries_LoadShaperInstance.ProtoReflect.Descriptor instead.

func (*LoadShaperSeries_LoadShaperInstance) GetLoadShaper added in v1.4.0

func (*LoadShaperSeries_LoadShaperInstance) GetOutPorts added in v1.4.0

func (*LoadShaperSeries_LoadShaperInstance) MarshalJSON added in v1.4.0

func (msg *LoadShaperSeries_LoadShaperInstance) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadShaperSeries_LoadShaperInstance) ProtoMessage added in v1.4.0

func (*LoadShaperSeries_LoadShaperInstance) ProtoMessage()

func (*LoadShaperSeries_LoadShaperInstance) ProtoReflect added in v1.4.0

func (*LoadShaperSeries_LoadShaperInstance) Reset added in v1.4.0

func (*LoadShaperSeries_LoadShaperInstance) String added in v1.4.0

func (*LoadShaperSeries_LoadShaperInstance) UnmarshalJSON added in v1.4.0

func (msg *LoadShaperSeries_LoadShaperInstance) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadShaperSeries_LoadShaperInstance) Validate added in v1.4.0

Validate checks the field values on LoadShaperSeries_LoadShaperInstance with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadShaperSeries_LoadShaperInstance) ValidateAll added in v1.4.0

func (m *LoadShaperSeries_LoadShaperInstance) ValidateAll() error

ValidateAll checks the field values on LoadShaperSeries_LoadShaperInstance with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadShaperSeries_LoadShaperInstanceMultiError, or nil if none found.

type LoadShaperSeries_LoadShaperInstanceMultiError added in v1.4.0

type LoadShaperSeries_LoadShaperInstanceMultiError []error

LoadShaperSeries_LoadShaperInstanceMultiError is an error wrapping multiple validation errors returned by LoadShaperSeries_LoadShaperInstance.ValidateAll() if the designated constraints aren't met.

func (LoadShaperSeries_LoadShaperInstanceMultiError) AllErrors added in v1.4.0

AllErrors returns a list of validation violation errors.

func (LoadShaperSeries_LoadShaperInstanceMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type LoadShaperSeries_LoadShaperInstanceValidationError added in v1.4.0

type LoadShaperSeries_LoadShaperInstanceValidationError struct {
	// contains filtered or unexported fields
}

LoadShaperSeries_LoadShaperInstanceValidationError is the validation error returned by LoadShaperSeries_LoadShaperInstance.Validate if the designated constraints aren't met.

func (LoadShaperSeries_LoadShaperInstanceValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (LoadShaperSeries_LoadShaperInstanceValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (LoadShaperSeries_LoadShaperInstanceValidationError) ErrorName added in v1.4.0

ErrorName returns error name.

func (LoadShaperSeries_LoadShaperInstanceValidationError) Field added in v1.4.0

Field function returns field value.

func (LoadShaperSeries_LoadShaperInstanceValidationError) Key added in v1.4.0

Key function returns key value.

func (LoadShaperSeries_LoadShaperInstanceValidationError) Reason added in v1.4.0

Reason function returns reason value.

type LoadShaperSeries_Parameters added in v1.4.0

type LoadShaperSeries_Parameters struct {

	// An ordered list of load shapers that get applied in order.
	LoadShapers []*LoadShaperSeries_LoadShaperInstance `protobuf:"bytes,1,rep,name=load_shapers,json=loadShapers,proto3" json:"load_shapers,omitempty" validate:"required,dive"` // @gotags: validate:"required,dive"
	// contains filtered or unexported fields
}

Parameters for the _LoadShaperSeries_ component.

func (*LoadShaperSeries_Parameters) DeepCopy added in v1.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaperSeries_Parameters. Required by controller-gen.

func (*LoadShaperSeries_Parameters) DeepCopyInterface added in v1.4.0

func (in *LoadShaperSeries_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaperSeries_Parameters. Required by controller-gen.

func (*LoadShaperSeries_Parameters) DeepCopyInto added in v1.4.0

DeepCopyInto supports using LoadShaperSeries_Parameters within kubernetes types, where deepcopy-gen is used.

func (*LoadShaperSeries_Parameters) Descriptor deprecated added in v1.4.0

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

Deprecated: Use LoadShaperSeries_Parameters.ProtoReflect.Descriptor instead.

func (*LoadShaperSeries_Parameters) GetLoadShapers added in v1.4.0

func (*LoadShaperSeries_Parameters) MarshalJSON added in v1.4.0

func (msg *LoadShaperSeries_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadShaperSeries_Parameters) ProtoMessage added in v1.4.0

func (*LoadShaperSeries_Parameters) ProtoMessage()

func (*LoadShaperSeries_Parameters) ProtoReflect added in v1.4.0

func (*LoadShaperSeries_Parameters) Reset added in v1.4.0

func (x *LoadShaperSeries_Parameters) Reset()

func (*LoadShaperSeries_Parameters) String added in v1.4.0

func (x *LoadShaperSeries_Parameters) String() string

func (*LoadShaperSeries_Parameters) UnmarshalJSON added in v1.4.0

func (msg *LoadShaperSeries_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadShaperSeries_Parameters) Validate added in v1.4.0

func (m *LoadShaperSeries_Parameters) Validate() error

Validate checks the field values on LoadShaperSeries_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadShaperSeries_Parameters) ValidateAll added in v1.4.0

func (m *LoadShaperSeries_Parameters) ValidateAll() error

ValidateAll checks the field values on LoadShaperSeries_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadShaperSeries_ParametersMultiError, or nil if none found.

type LoadShaperSeries_ParametersMultiError added in v1.4.0

type LoadShaperSeries_ParametersMultiError []error

LoadShaperSeries_ParametersMultiError is an error wrapping multiple validation errors returned by LoadShaperSeries_Parameters.ValidateAll() if the designated constraints aren't met.

func (LoadShaperSeries_ParametersMultiError) AllErrors added in v1.4.0

AllErrors returns a list of validation violation errors.

func (LoadShaperSeries_ParametersMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type LoadShaperSeries_ParametersValidationError added in v1.4.0

type LoadShaperSeries_ParametersValidationError struct {
	// contains filtered or unexported fields
}

LoadShaperSeries_ParametersValidationError is the validation error returned by LoadShaperSeries_Parameters.Validate if the designated constraints aren't met.

func (LoadShaperSeries_ParametersValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (LoadShaperSeries_ParametersValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (LoadShaperSeries_ParametersValidationError) ErrorName added in v1.4.0

ErrorName returns error name.

func (LoadShaperSeries_ParametersValidationError) Field added in v1.4.0

Field function returns field value.

func (LoadShaperSeries_ParametersValidationError) Key added in v1.4.0

Key function returns key value.

func (LoadShaperSeries_ParametersValidationError) Reason added in v1.4.0

Reason function returns reason value.

type LoadShaperValidationError added in v1.4.0

type LoadShaperValidationError struct {
	// contains filtered or unexported fields
}

LoadShaperValidationError is the validation error returned by LoadShaper.Validate if the designated constraints aren't met.

func (LoadShaperValidationError) Cause added in v1.4.0

func (e LoadShaperValidationError) Cause() error

Cause function returns cause value.

func (LoadShaperValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (LoadShaperValidationError) ErrorName added in v1.4.0

func (e LoadShaperValidationError) ErrorName() string

ErrorName returns error name.

func (LoadShaperValidationError) Field added in v1.4.0

Field function returns field value.

func (LoadShaperValidationError) Key added in v1.4.0

Key function returns key value.

func (LoadShaperValidationError) Reason added in v1.4.0

func (e LoadShaperValidationError) Reason() string

Reason function returns reason value.

type LoadShaper_Ins added in v1.4.0

type LoadShaper_Ins struct {

	// Whether to progress the _Load Shaper_ towards the next step.
	Forward *InPort `protobuf:"bytes,1,opt,name=forward,proto3" json:"forward,omitempty"`
	// Whether to progress the _Load Shaper_ towards the previous step.
	Backward *InPort `protobuf:"bytes,2,opt,name=backward,proto3" json:"backward,omitempty"`
	// Whether to reset the _Load Shaper_ to the first step.
	Reset_ *InPort `protobuf:"bytes,3,opt,name=reset,proto3" json:"reset,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the _Load Shaper_ component.

func (*LoadShaper_Ins) DeepCopy added in v1.4.0

func (in *LoadShaper_Ins) DeepCopy() *LoadShaper_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaper_Ins. Required by controller-gen.

func (*LoadShaper_Ins) DeepCopyInterface added in v1.4.0

func (in *LoadShaper_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaper_Ins. Required by controller-gen.

func (*LoadShaper_Ins) DeepCopyInto added in v1.4.0

func (in *LoadShaper_Ins) DeepCopyInto(out *LoadShaper_Ins)

DeepCopyInto supports using LoadShaper_Ins within kubernetes types, where deepcopy-gen is used.

func (*LoadShaper_Ins) Descriptor deprecated added in v1.4.0

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

Deprecated: Use LoadShaper_Ins.ProtoReflect.Descriptor instead.

func (*LoadShaper_Ins) GetBackward added in v1.4.0

func (x *LoadShaper_Ins) GetBackward() *InPort

func (*LoadShaper_Ins) GetForward added in v1.4.0

func (x *LoadShaper_Ins) GetForward() *InPort

func (*LoadShaper_Ins) GetReset_ added in v1.4.0

func (x *LoadShaper_Ins) GetReset_() *InPort

func (*LoadShaper_Ins) MarshalJSON added in v1.4.0

func (msg *LoadShaper_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadShaper_Ins) ProtoMessage added in v1.4.0

func (*LoadShaper_Ins) ProtoMessage()

func (*LoadShaper_Ins) ProtoReflect added in v1.4.0

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

func (*LoadShaper_Ins) Reset added in v1.4.0

func (x *LoadShaper_Ins) Reset()

func (*LoadShaper_Ins) String added in v1.4.0

func (x *LoadShaper_Ins) String() string

func (*LoadShaper_Ins) UnmarshalJSON added in v1.4.0

func (msg *LoadShaper_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadShaper_Ins) Validate added in v1.4.0

func (m *LoadShaper_Ins) Validate() error

Validate checks the field values on LoadShaper_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadShaper_Ins) ValidateAll added in v1.4.0

func (m *LoadShaper_Ins) ValidateAll() error

ValidateAll checks the field values on LoadShaper_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadShaper_InsMultiError, or nil if none found.

type LoadShaper_InsMultiError added in v1.4.0

type LoadShaper_InsMultiError []error

LoadShaper_InsMultiError is an error wrapping multiple validation errors returned by LoadShaper_Ins.ValidateAll() if the designated constraints aren't met.

func (LoadShaper_InsMultiError) AllErrors added in v1.4.0

func (m LoadShaper_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadShaper_InsMultiError) Error added in v1.4.0

func (m LoadShaper_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoadShaper_InsValidationError added in v1.4.0

type LoadShaper_InsValidationError struct {
	// contains filtered or unexported fields
}

LoadShaper_InsValidationError is the validation error returned by LoadShaper_Ins.Validate if the designated constraints aren't met.

func (LoadShaper_InsValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (LoadShaper_InsValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (LoadShaper_InsValidationError) ErrorName added in v1.4.0

func (e LoadShaper_InsValidationError) ErrorName() string

ErrorName returns error name.

func (LoadShaper_InsValidationError) Field added in v1.4.0

Field function returns field value.

func (LoadShaper_InsValidationError) Key added in v1.4.0

Key function returns key value.

func (LoadShaper_InsValidationError) Reason added in v1.4.0

Reason function returns reason value.

type LoadShaper_Outs added in v1.4.0

type LoadShaper_Outs struct {

	// The percentage of flows being accepted by the _Load Shaper_.
	AcceptPercentage *OutPort `protobuf:"bytes,1,opt,name=accept_percentage,json=acceptPercentage,proto3" json:"accept_percentage,omitempty"`
	// A Boolean signal indicating whether the _Load Shaper_ is at the start of signal generation.
	AtStart *OutPort `protobuf:"bytes,2,opt,name=at_start,json=atStart,proto3" json:"at_start,omitempty"`
	// A Boolean signal indicating whether the _Load Shaper_ is at the end of signal generation.
	AtEnd *OutPort `protobuf:"bytes,3,opt,name=at_end,json=atEnd,proto3" json:"at_end,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the _Load Shaper_ component.

func (*LoadShaper_Outs) DeepCopy added in v1.4.0

func (in *LoadShaper_Outs) DeepCopy() *LoadShaper_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaper_Outs. Required by controller-gen.

func (*LoadShaper_Outs) DeepCopyInterface added in v1.4.0

func (in *LoadShaper_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaper_Outs. Required by controller-gen.

func (*LoadShaper_Outs) DeepCopyInto added in v1.4.0

func (in *LoadShaper_Outs) DeepCopyInto(out *LoadShaper_Outs)

DeepCopyInto supports using LoadShaper_Outs within kubernetes types, where deepcopy-gen is used.

func (*LoadShaper_Outs) Descriptor deprecated added in v1.4.0

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

Deprecated: Use LoadShaper_Outs.ProtoReflect.Descriptor instead.

func (*LoadShaper_Outs) GetAcceptPercentage added in v1.4.0

func (x *LoadShaper_Outs) GetAcceptPercentage() *OutPort

func (*LoadShaper_Outs) GetAtEnd added in v1.4.0

func (x *LoadShaper_Outs) GetAtEnd() *OutPort

func (*LoadShaper_Outs) GetAtStart added in v1.4.0

func (x *LoadShaper_Outs) GetAtStart() *OutPort

func (*LoadShaper_Outs) MarshalJSON added in v1.4.0

func (msg *LoadShaper_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadShaper_Outs) ProtoMessage added in v1.4.0

func (*LoadShaper_Outs) ProtoMessage()

func (*LoadShaper_Outs) ProtoReflect added in v1.4.0

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

func (*LoadShaper_Outs) Reset added in v1.4.0

func (x *LoadShaper_Outs) Reset()

func (*LoadShaper_Outs) String added in v1.4.0

func (x *LoadShaper_Outs) String() string

func (*LoadShaper_Outs) UnmarshalJSON added in v1.4.0

func (msg *LoadShaper_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadShaper_Outs) Validate added in v1.4.0

func (m *LoadShaper_Outs) Validate() error

Validate checks the field values on LoadShaper_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadShaper_Outs) ValidateAll added in v1.4.0

func (m *LoadShaper_Outs) ValidateAll() error

ValidateAll checks the field values on LoadShaper_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadShaper_OutsMultiError, or nil if none found.

type LoadShaper_OutsMultiError added in v1.4.0

type LoadShaper_OutsMultiError []error

LoadShaper_OutsMultiError is an error wrapping multiple validation errors returned by LoadShaper_Outs.ValidateAll() if the designated constraints aren't met.

func (LoadShaper_OutsMultiError) AllErrors added in v1.4.0

func (m LoadShaper_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadShaper_OutsMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type LoadShaper_OutsValidationError added in v1.4.0

type LoadShaper_OutsValidationError struct {
	// contains filtered or unexported fields
}

LoadShaper_OutsValidationError is the validation error returned by LoadShaper_Outs.Validate if the designated constraints aren't met.

func (LoadShaper_OutsValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (LoadShaper_OutsValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (LoadShaper_OutsValidationError) ErrorName added in v1.4.0

func (e LoadShaper_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (LoadShaper_OutsValidationError) Field added in v1.4.0

Field function returns field value.

func (LoadShaper_OutsValidationError) Key added in v1.4.0

Key function returns key value.

func (LoadShaper_OutsValidationError) Reason added in v1.4.0

Reason function returns reason value.

type LoadShaper_Parameters added in v1.4.0

type LoadShaper_Parameters struct {

	// Parameters for the _Flow Regulator_.
	FlowRegulatorParameters *FlowRegulator_Parameters     ``                                                                                              /* 132-byte string literal not displayed */
	Steps                   []*LoadShaper_Parameters_Step `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty" validate:"required,gt=0,dive"` // @gotags: validate:"required,gt=0,dive"
	// contains filtered or unexported fields
}

Parameters for the _Load Shaper_ component.

func (*LoadShaper_Parameters) DeepCopy added in v1.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaper_Parameters. Required by controller-gen.

func (*LoadShaper_Parameters) DeepCopyInterface added in v1.4.0

func (in *LoadShaper_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaper_Parameters. Required by controller-gen.

func (*LoadShaper_Parameters) DeepCopyInto added in v1.4.0

func (in *LoadShaper_Parameters) DeepCopyInto(out *LoadShaper_Parameters)

DeepCopyInto supports using LoadShaper_Parameters within kubernetes types, where deepcopy-gen is used.

func (*LoadShaper_Parameters) Descriptor deprecated added in v1.4.0

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

Deprecated: Use LoadShaper_Parameters.ProtoReflect.Descriptor instead.

func (*LoadShaper_Parameters) GetFlowRegulatorParameters added in v1.4.0

func (x *LoadShaper_Parameters) GetFlowRegulatorParameters() *FlowRegulator_Parameters

func (*LoadShaper_Parameters) GetSteps added in v1.4.0

func (*LoadShaper_Parameters) MarshalJSON added in v1.4.0

func (msg *LoadShaper_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadShaper_Parameters) ProtoMessage added in v1.4.0

func (*LoadShaper_Parameters) ProtoMessage()

func (*LoadShaper_Parameters) ProtoReflect added in v1.4.0

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

func (*LoadShaper_Parameters) Reset added in v1.4.0

func (x *LoadShaper_Parameters) Reset()

func (*LoadShaper_Parameters) String added in v1.4.0

func (x *LoadShaper_Parameters) String() string

func (*LoadShaper_Parameters) UnmarshalJSON added in v1.4.0

func (msg *LoadShaper_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadShaper_Parameters) Validate added in v1.4.0

func (m *LoadShaper_Parameters) Validate() error

Validate checks the field values on LoadShaper_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadShaper_Parameters) ValidateAll added in v1.4.0

func (m *LoadShaper_Parameters) ValidateAll() error

ValidateAll checks the field values on LoadShaper_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadShaper_ParametersMultiError, or nil if none found.

type LoadShaper_ParametersMultiError added in v1.4.0

type LoadShaper_ParametersMultiError []error

LoadShaper_ParametersMultiError is an error wrapping multiple validation errors returned by LoadShaper_Parameters.ValidateAll() if the designated constraints aren't met.

func (LoadShaper_ParametersMultiError) AllErrors added in v1.4.0

func (m LoadShaper_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadShaper_ParametersMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type LoadShaper_ParametersValidationError added in v1.4.0

type LoadShaper_ParametersValidationError struct {
	// contains filtered or unexported fields
}

LoadShaper_ParametersValidationError is the validation error returned by LoadShaper_Parameters.Validate if the designated constraints aren't met.

func (LoadShaper_ParametersValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (LoadShaper_ParametersValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (LoadShaper_ParametersValidationError) ErrorName added in v1.4.0

ErrorName returns error name.

func (LoadShaper_ParametersValidationError) Field added in v1.4.0

Field function returns field value.

func (LoadShaper_ParametersValidationError) Key added in v1.4.0

Key function returns key value.

func (LoadShaper_ParametersValidationError) Reason added in v1.4.0

Reason function returns reason value.

type LoadShaper_Parameters_Step added in v1.4.0

type LoadShaper_Parameters_Step struct {

	// The value of the step.
	TargetAcceptPercentage float64 `` // @gotags: validate:"gte=0,lte=100"
	/* 156-byte string literal not displayed */
	// Duration for which the step is active.
	Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

func (*LoadShaper_Parameters_Step) DeepCopy added in v1.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaper_Parameters_Step. Required by controller-gen.

func (*LoadShaper_Parameters_Step) DeepCopyInterface added in v1.4.0

func (in *LoadShaper_Parameters_Step) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadShaper_Parameters_Step. Required by controller-gen.

func (*LoadShaper_Parameters_Step) DeepCopyInto added in v1.4.0

DeepCopyInto supports using LoadShaper_Parameters_Step within kubernetes types, where deepcopy-gen is used.

func (*LoadShaper_Parameters_Step) Descriptor deprecated added in v1.4.0

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

Deprecated: Use LoadShaper_Parameters_Step.ProtoReflect.Descriptor instead.

func (*LoadShaper_Parameters_Step) GetDuration added in v1.4.0

func (*LoadShaper_Parameters_Step) GetTargetAcceptPercentage added in v1.4.0

func (x *LoadShaper_Parameters_Step) GetTargetAcceptPercentage() float64

func (*LoadShaper_Parameters_Step) MarshalJSON added in v1.4.0

func (msg *LoadShaper_Parameters_Step) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoadShaper_Parameters_Step) ProtoMessage added in v1.4.0

func (*LoadShaper_Parameters_Step) ProtoMessage()

func (*LoadShaper_Parameters_Step) ProtoReflect added in v1.4.0

func (*LoadShaper_Parameters_Step) Reset added in v1.4.0

func (x *LoadShaper_Parameters_Step) Reset()

func (*LoadShaper_Parameters_Step) String added in v1.4.0

func (x *LoadShaper_Parameters_Step) String() string

func (*LoadShaper_Parameters_Step) UnmarshalJSON added in v1.4.0

func (msg *LoadShaper_Parameters_Step) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoadShaper_Parameters_Step) Validate added in v1.4.0

func (m *LoadShaper_Parameters_Step) Validate() error

Validate checks the field values on LoadShaper_Parameters_Step with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoadShaper_Parameters_Step) ValidateAll added in v1.4.0

func (m *LoadShaper_Parameters_Step) ValidateAll() error

ValidateAll checks the field values on LoadShaper_Parameters_Step with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadShaper_Parameters_StepMultiError, or nil if none found.

type LoadShaper_Parameters_StepMultiError added in v1.4.0

type LoadShaper_Parameters_StepMultiError []error

LoadShaper_Parameters_StepMultiError is an error wrapping multiple validation errors returned by LoadShaper_Parameters_Step.ValidateAll() if the designated constraints aren't met.

func (LoadShaper_Parameters_StepMultiError) AllErrors added in v1.4.0

AllErrors returns a list of validation violation errors.

func (LoadShaper_Parameters_StepMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type LoadShaper_Parameters_StepValidationError added in v1.4.0

type LoadShaper_Parameters_StepValidationError struct {
	// contains filtered or unexported fields
}

LoadShaper_Parameters_StepValidationError is the validation error returned by LoadShaper_Parameters_Step.Validate if the designated constraints aren't met.

func (LoadShaper_Parameters_StepValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (LoadShaper_Parameters_StepValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (LoadShaper_Parameters_StepValidationError) ErrorName added in v1.4.0

ErrorName returns error name.

func (LoadShaper_Parameters_StepValidationError) Field added in v1.4.0

Field function returns field value.

func (LoadShaper_Parameters_StepValidationError) Key added in v1.4.0

Key function returns key value.

func (LoadShaper_Parameters_StepValidationError) Reason added in v1.4.0

Reason function returns reason value.

type MatchExpression added in v0.8.0

type MatchExpression struct {

	// @gotags: validate:"required"
	//
	// Types that are assignable to Variant:
	//
	//	*MatchExpression_Not
	//	*MatchExpression_All
	//	*MatchExpression_Any
	//	*MatchExpression_LabelExists
	//	*MatchExpression_LabelEquals
	//	*MatchExpression_LabelMatches
	Variant isMatchExpression_Variant `protobuf_oneof:"variant" validate:"required"`
	// contains filtered or unexported fields
}

Defines a `[map<string, string> → bool]` expression to be evaluated on labels

MatchExpression has multiple variants, exactly one should be set.

Example: ```yaml all:

of:
  - label_exists: foo
  - label_equals: { label = app, value = frobnicator }

```

func (*MatchExpression) DeepCopy added in v0.8.0

func (in *MatchExpression) DeepCopy() *MatchExpression

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchExpression. Required by controller-gen.

func (*MatchExpression) DeepCopyInterface added in v0.8.0

func (in *MatchExpression) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MatchExpression. Required by controller-gen.

func (*MatchExpression) DeepCopyInto added in v0.8.0

func (in *MatchExpression) DeepCopyInto(out *MatchExpression)

DeepCopyInto supports using MatchExpression within kubernetes types, where deepcopy-gen is used.

func (*MatchExpression) Descriptor deprecated added in v0.8.0

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

Deprecated: Use MatchExpression.ProtoReflect.Descriptor instead.

func (*MatchExpression) GetAll added in v0.8.0

func (*MatchExpression) GetAny added in v0.8.0

func (*MatchExpression) GetLabelEquals added in v0.8.0

func (x *MatchExpression) GetLabelEquals() *EqualsMatchExpression

func (*MatchExpression) GetLabelExists added in v0.8.0

func (x *MatchExpression) GetLabelExists() string

func (*MatchExpression) GetLabelMatches added in v0.8.0

func (x *MatchExpression) GetLabelMatches() *MatchesMatchExpression

func (*MatchExpression) GetNot added in v0.8.0

func (x *MatchExpression) GetNot() *MatchExpression

func (*MatchExpression) GetVariant added in v0.8.0

func (m *MatchExpression) GetVariant() isMatchExpression_Variant

func (*MatchExpression) MarshalJSON added in v0.8.0

func (msg *MatchExpression) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*MatchExpression) ProtoMessage added in v0.8.0

func (*MatchExpression) ProtoMessage()

func (*MatchExpression) ProtoReflect added in v0.8.0

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

func (*MatchExpression) Reset added in v0.8.0

func (x *MatchExpression) Reset()

func (*MatchExpression) String added in v0.8.0

func (x *MatchExpression) String() string

func (*MatchExpression) UnmarshalJSON added in v0.8.0

func (msg *MatchExpression) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*MatchExpression) Validate added in v1.2.0

func (m *MatchExpression) Validate() error

Validate checks the field values on MatchExpression with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MatchExpression) ValidateAll added in v1.2.0

func (m *MatchExpression) ValidateAll() error

ValidateAll checks the field values on MatchExpression with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MatchExpressionMultiError, or nil if none found.

type MatchExpressionMultiError added in v1.2.0

type MatchExpressionMultiError []error

MatchExpressionMultiError is an error wrapping multiple validation errors returned by MatchExpression.ValidateAll() if the designated constraints aren't met.

func (MatchExpressionMultiError) AllErrors added in v1.2.0

func (m MatchExpressionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MatchExpressionMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type MatchExpressionValidationError added in v1.2.0

type MatchExpressionValidationError struct {
	// contains filtered or unexported fields
}

MatchExpressionValidationError is the validation error returned by MatchExpression.Validate if the designated constraints aren't met.

func (MatchExpressionValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (MatchExpressionValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (MatchExpressionValidationError) ErrorName added in v1.2.0

func (e MatchExpressionValidationError) ErrorName() string

ErrorName returns error name.

func (MatchExpressionValidationError) Field added in v1.2.0

Field function returns field value.

func (MatchExpressionValidationError) Key added in v1.2.0

Key function returns key value.

func (MatchExpressionValidationError) Reason added in v1.2.0

Reason function returns reason value.

type MatchExpression_All added in v0.8.0

type MatchExpression_All struct {
	// The expression is true when all sub expressions are true.
	All *MatchExpression_List `protobuf:"bytes,2,opt,name=all,proto3,oneof"`
}

type MatchExpression_Any added in v0.8.0

type MatchExpression_Any struct {
	// The expression is true when any sub expression is true.
	Any *MatchExpression_List `protobuf:"bytes,3,opt,name=any,proto3,oneof"`
}

type MatchExpression_LabelEquals added in v0.8.0

type MatchExpression_LabelEquals struct {
	// The expression is true when label value equals given value.
	LabelEquals *EqualsMatchExpression `protobuf:"bytes,5,opt,name=label_equals,json=labelEquals,proto3,oneof"`
}

type MatchExpression_LabelExists added in v0.8.0

type MatchExpression_LabelExists struct {
	// The expression is true when label with given name exists.
	LabelExists string `protobuf:"bytes,4,opt,name=label_exists,json=labelExists,proto3,oneof" validate:"required"` // @gotags: validate:"required"
}

type MatchExpression_LabelMatches added in v0.8.0

type MatchExpression_LabelMatches struct {
	// The expression is true when label matches given regular expression.
	LabelMatches *MatchesMatchExpression `protobuf:"bytes,6,opt,name=label_matches,json=labelMatches,proto3,oneof"`
}

type MatchExpression_List added in v0.8.0

type MatchExpression_List struct {

	// List of sub expressions of the match expression.
	Of []*MatchExpression `protobuf:"bytes,1,rep,name=of,proto3" json:"of,omitempty"`
	// contains filtered or unexported fields
}

List of MatchExpressions that is used for all or any matching

for example, `{any: {of: [expr1, expr2]}}`.

func (*MatchExpression_List) DeepCopy added in v0.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchExpression_List. Required by controller-gen.

func (*MatchExpression_List) DeepCopyInterface added in v0.8.0

func (in *MatchExpression_List) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MatchExpression_List. Required by controller-gen.

func (*MatchExpression_List) DeepCopyInto added in v0.8.0

func (in *MatchExpression_List) DeepCopyInto(out *MatchExpression_List)

DeepCopyInto supports using MatchExpression_List within kubernetes types, where deepcopy-gen is used.

func (*MatchExpression_List) Descriptor deprecated added in v0.8.0

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

Deprecated: Use MatchExpression_List.ProtoReflect.Descriptor instead.

func (*MatchExpression_List) GetOf added in v0.8.0

func (x *MatchExpression_List) GetOf() []*MatchExpression

func (*MatchExpression_List) MarshalJSON added in v0.8.0

func (msg *MatchExpression_List) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*MatchExpression_List) ProtoMessage added in v0.8.0

func (*MatchExpression_List) ProtoMessage()

func (*MatchExpression_List) ProtoReflect added in v0.8.0

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

func (*MatchExpression_List) Reset added in v0.8.0

func (x *MatchExpression_List) Reset()

func (*MatchExpression_List) String added in v0.8.0

func (x *MatchExpression_List) String() string

func (*MatchExpression_List) UnmarshalJSON added in v0.8.0

func (msg *MatchExpression_List) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*MatchExpression_List) Validate added in v1.2.0

func (m *MatchExpression_List) Validate() error

Validate checks the field values on MatchExpression_List with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MatchExpression_List) ValidateAll added in v1.2.0

func (m *MatchExpression_List) ValidateAll() error

ValidateAll checks the field values on MatchExpression_List with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MatchExpression_ListMultiError, or nil if none found.

type MatchExpression_ListMultiError added in v1.2.0

type MatchExpression_ListMultiError []error

MatchExpression_ListMultiError is an error wrapping multiple validation errors returned by MatchExpression_List.ValidateAll() if the designated constraints aren't met.

func (MatchExpression_ListMultiError) AllErrors added in v1.2.0

func (m MatchExpression_ListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MatchExpression_ListMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type MatchExpression_ListValidationError added in v1.2.0

type MatchExpression_ListValidationError struct {
	// contains filtered or unexported fields
}

MatchExpression_ListValidationError is the validation error returned by MatchExpression_List.Validate if the designated constraints aren't met.

func (MatchExpression_ListValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (MatchExpression_ListValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (MatchExpression_ListValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (MatchExpression_ListValidationError) Field added in v1.2.0

Field function returns field value.

func (MatchExpression_ListValidationError) Key added in v1.2.0

Key function returns key value.

func (MatchExpression_ListValidationError) Reason added in v1.2.0

Reason function returns reason value.

type MatchExpression_Not added in v0.8.0

type MatchExpression_Not struct {
	// The expression negates the result of sub expression.
	Not *MatchExpression `protobuf:"bytes,1,opt,name=not,proto3,oneof"`
}

type MatchesMatchExpression added in v0.8.0

type MatchesMatchExpression struct {

	// Name of the label to match the regular expression.
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty" validate:"required"` // @gotags: validate:"required"
	// Regular expression that should match the label value.
	// It uses [Go's regular expression syntax](https://github.com/google/re2/wiki/Syntax).
	Regex string `protobuf:"bytes,2,opt,name=regex,proto3" json:"regex,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Label selector expression of the form `label matches regex`.

func (*MatchesMatchExpression) DeepCopy added in v0.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchesMatchExpression. Required by controller-gen.

func (*MatchesMatchExpression) DeepCopyInterface added in v0.8.0

func (in *MatchesMatchExpression) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MatchesMatchExpression. Required by controller-gen.

func (*MatchesMatchExpression) DeepCopyInto added in v0.8.0

func (in *MatchesMatchExpression) DeepCopyInto(out *MatchesMatchExpression)

DeepCopyInto supports using MatchesMatchExpression within kubernetes types, where deepcopy-gen is used.

func (*MatchesMatchExpression) Descriptor deprecated added in v0.8.0

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

Deprecated: Use MatchesMatchExpression.ProtoReflect.Descriptor instead.

func (*MatchesMatchExpression) GetLabel added in v0.8.0

func (x *MatchesMatchExpression) GetLabel() string

func (*MatchesMatchExpression) GetRegex added in v0.8.0

func (x *MatchesMatchExpression) GetRegex() string

func (*MatchesMatchExpression) MarshalJSON added in v0.8.0

func (msg *MatchesMatchExpression) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*MatchesMatchExpression) ProtoMessage added in v0.8.0

func (*MatchesMatchExpression) ProtoMessage()

func (*MatchesMatchExpression) ProtoReflect added in v0.8.0

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

func (*MatchesMatchExpression) Reset added in v0.8.0

func (x *MatchesMatchExpression) Reset()

func (*MatchesMatchExpression) String added in v0.8.0

func (x *MatchesMatchExpression) String() string

func (*MatchesMatchExpression) UnmarshalJSON added in v0.8.0

func (msg *MatchesMatchExpression) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*MatchesMatchExpression) Validate added in v1.2.0

func (m *MatchesMatchExpression) Validate() error

Validate checks the field values on MatchesMatchExpression with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MatchesMatchExpression) ValidateAll added in v1.2.0

func (m *MatchesMatchExpression) ValidateAll() error

ValidateAll checks the field values on MatchesMatchExpression with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MatchesMatchExpressionMultiError, or nil if none found.

type MatchesMatchExpressionMultiError added in v1.2.0

type MatchesMatchExpressionMultiError []error

MatchesMatchExpressionMultiError is an error wrapping multiple validation errors returned by MatchesMatchExpression.ValidateAll() if the designated constraints aren't met.

func (MatchesMatchExpressionMultiError) AllErrors added in v1.2.0

func (m MatchesMatchExpressionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MatchesMatchExpressionMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type MatchesMatchExpressionValidationError added in v1.2.0

type MatchesMatchExpressionValidationError struct {
	// contains filtered or unexported fields
}

MatchesMatchExpressionValidationError is the validation error returned by MatchesMatchExpression.Validate if the designated constraints aren't met.

func (MatchesMatchExpressionValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (MatchesMatchExpressionValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (MatchesMatchExpressionValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (MatchesMatchExpressionValidationError) Field added in v1.2.0

Field function returns field value.

func (MatchesMatchExpressionValidationError) Key added in v1.2.0

Key function returns key value.

func (MatchesMatchExpressionValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Max

type Max struct {

	// Input ports for the Max component.
	InPorts *Max_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the Max component.
	OutPorts *Max_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

Takes a list of input signals and emits the signal with the maximum value

Max: output = max([]inputs).

func (*Max) DeepCopy added in v0.1.2

func (in *Max) DeepCopy() *Max

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Max. Required by controller-gen.

func (*Max) DeepCopyInterface added in v0.1.2

func (in *Max) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Max. Required by controller-gen.

func (*Max) DeepCopyInto added in v0.1.2

func (in *Max) DeepCopyInto(out *Max)

DeepCopyInto supports using Max within kubernetes types, where deepcopy-gen is used.

func (*Max) Descriptor deprecated

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

Deprecated: Use Max.ProtoReflect.Descriptor instead.

func (*Max) GetInPorts

func (x *Max) GetInPorts() *Max_Ins

func (*Max) GetOutPorts

func (x *Max) GetOutPorts() *Max_Outs

func (*Max) MarshalJSON

func (msg *Max) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Max) ProtoMessage

func (*Max) ProtoMessage()

func (*Max) ProtoReflect

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

func (*Max) Reset

func (x *Max) Reset()

func (*Max) String

func (x *Max) String() string

func (*Max) UnmarshalJSON

func (msg *Max) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Max) Validate added in v1.2.0

func (m *Max) Validate() error

Validate checks the field values on Max with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Max) ValidateAll added in v1.2.0

func (m *Max) ValidateAll() error

ValidateAll checks the field values on Max with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MaxMultiError, or nil if none found.

type MaxMultiError added in v1.2.0

type MaxMultiError []error

MaxMultiError is an error wrapping multiple validation errors returned by Max.ValidateAll() if the designated constraints aren't met.

func (MaxMultiError) AllErrors added in v1.2.0

func (m MaxMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MaxMultiError) Error added in v1.2.0

func (m MaxMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MaxValidationError added in v1.2.0

type MaxValidationError struct {
	// contains filtered or unexported fields
}

MaxValidationError is the validation error returned by Max.Validate if the designated constraints aren't met.

func (MaxValidationError) Cause added in v1.2.0

func (e MaxValidationError) Cause() error

Cause function returns cause value.

func (MaxValidationError) Error added in v1.2.0

func (e MaxValidationError) Error() string

Error satisfies the builtin error interface

func (MaxValidationError) ErrorName added in v1.2.0

func (e MaxValidationError) ErrorName() string

ErrorName returns error name.

func (MaxValidationError) Field added in v1.2.0

func (e MaxValidationError) Field() string

Field function returns field value.

func (MaxValidationError) Key added in v1.2.0

func (e MaxValidationError) Key() bool

Key function returns key value.

func (MaxValidationError) Reason added in v1.2.0

func (e MaxValidationError) Reason() string

Reason function returns reason value.

type Max_Ins

type Max_Ins struct {

	// Array of input signals.
	Inputs []*InPort `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty" validate:"dive"` // @gotags: validate:"dive"
	// contains filtered or unexported fields
}

Inputs for the Max component.

func (*Max_Ins) DeepCopy added in v0.1.2

func (in *Max_Ins) DeepCopy() *Max_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Max_Ins. Required by controller-gen.

func (*Max_Ins) DeepCopyInterface added in v0.1.2

func (in *Max_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Max_Ins. Required by controller-gen.

func (*Max_Ins) DeepCopyInto added in v0.1.2

func (in *Max_Ins) DeepCopyInto(out *Max_Ins)

DeepCopyInto supports using Max_Ins within kubernetes types, where deepcopy-gen is used.

func (*Max_Ins) Descriptor deprecated

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

Deprecated: Use Max_Ins.ProtoReflect.Descriptor instead.

func (*Max_Ins) GetInputs

func (x *Max_Ins) GetInputs() []*InPort

func (*Max_Ins) MarshalJSON

func (msg *Max_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Max_Ins) ProtoMessage

func (*Max_Ins) ProtoMessage()

func (*Max_Ins) ProtoReflect

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

func (*Max_Ins) Reset

func (x *Max_Ins) Reset()

func (*Max_Ins) String

func (x *Max_Ins) String() string

func (*Max_Ins) UnmarshalJSON

func (msg *Max_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Max_Ins) Validate added in v1.2.0

func (m *Max_Ins) Validate() error

Validate checks the field values on Max_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Max_Ins) ValidateAll added in v1.2.0

func (m *Max_Ins) ValidateAll() error

ValidateAll checks the field values on Max_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Max_InsMultiError, or nil if none found.

type Max_InsMultiError added in v1.2.0

type Max_InsMultiError []error

Max_InsMultiError is an error wrapping multiple validation errors returned by Max_Ins.ValidateAll() if the designated constraints aren't met.

func (Max_InsMultiError) AllErrors added in v1.2.0

func (m Max_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Max_InsMultiError) Error added in v1.2.0

func (m Max_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Max_InsValidationError added in v1.2.0

type Max_InsValidationError struct {
	// contains filtered or unexported fields
}

Max_InsValidationError is the validation error returned by Max_Ins.Validate if the designated constraints aren't met.

func (Max_InsValidationError) Cause added in v1.2.0

func (e Max_InsValidationError) Cause() error

Cause function returns cause value.

func (Max_InsValidationError) Error added in v1.2.0

func (e Max_InsValidationError) Error() string

Error satisfies the builtin error interface

func (Max_InsValidationError) ErrorName added in v1.2.0

func (e Max_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Max_InsValidationError) Field added in v1.2.0

func (e Max_InsValidationError) Field() string

Field function returns field value.

func (Max_InsValidationError) Key added in v1.2.0

func (e Max_InsValidationError) Key() bool

Key function returns key value.

func (Max_InsValidationError) Reason added in v1.2.0

func (e Max_InsValidationError) Reason() string

Reason function returns reason value.

type Max_Outs

type Max_Outs struct {

	// Signal with maximum value as an output signal.
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Output for the Max component.

func (*Max_Outs) DeepCopy added in v0.1.2

func (in *Max_Outs) DeepCopy() *Max_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Max_Outs. Required by controller-gen.

func (*Max_Outs) DeepCopyInterface added in v0.1.2

func (in *Max_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Max_Outs. Required by controller-gen.

func (*Max_Outs) DeepCopyInto added in v0.1.2

func (in *Max_Outs) DeepCopyInto(out *Max_Outs)

DeepCopyInto supports using Max_Outs within kubernetes types, where deepcopy-gen is used.

func (*Max_Outs) Descriptor deprecated

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

Deprecated: Use Max_Outs.ProtoReflect.Descriptor instead.

func (*Max_Outs) GetOutput

func (x *Max_Outs) GetOutput() *OutPort

func (*Max_Outs) MarshalJSON

func (msg *Max_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Max_Outs) ProtoMessage

func (*Max_Outs) ProtoMessage()

func (*Max_Outs) ProtoReflect

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

func (*Max_Outs) Reset

func (x *Max_Outs) Reset()

func (*Max_Outs) String

func (x *Max_Outs) String() string

func (*Max_Outs) UnmarshalJSON

func (msg *Max_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Max_Outs) Validate added in v1.2.0

func (m *Max_Outs) Validate() error

Validate checks the field values on Max_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Max_Outs) ValidateAll added in v1.2.0

func (m *Max_Outs) ValidateAll() error

ValidateAll checks the field values on Max_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Max_OutsMultiError, or nil if none found.

type Max_OutsMultiError added in v1.2.0

type Max_OutsMultiError []error

Max_OutsMultiError is an error wrapping multiple validation errors returned by Max_Outs.ValidateAll() if the designated constraints aren't met.

func (Max_OutsMultiError) AllErrors added in v1.2.0

func (m Max_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Max_OutsMultiError) Error added in v1.2.0

func (m Max_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Max_OutsValidationError added in v1.2.0

type Max_OutsValidationError struct {
	// contains filtered or unexported fields
}

Max_OutsValidationError is the validation error returned by Max_Outs.Validate if the designated constraints aren't met.

func (Max_OutsValidationError) Cause added in v1.2.0

func (e Max_OutsValidationError) Cause() error

Cause function returns cause value.

func (Max_OutsValidationError) Error added in v1.2.0

func (e Max_OutsValidationError) Error() string

Error satisfies the builtin error interface

func (Max_OutsValidationError) ErrorName added in v1.2.0

func (e Max_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Max_OutsValidationError) Field added in v1.2.0

func (e Max_OutsValidationError) Field() string

Field function returns field value.

func (Max_OutsValidationError) Key added in v1.2.0

func (e Max_OutsValidationError) Key() bool

Key function returns key value.

func (Max_OutsValidationError) Reason added in v1.2.0

func (e Max_OutsValidationError) Reason() string

Reason function returns reason value.

type Min

type Min struct {

	// Input ports for the Min component.
	InPorts *Min_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the Min component.
	OutPorts *Min_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

Takes an array of input signals and emits the signal with the minimum value Min: output = min([]inputs).

func (*Min) DeepCopy added in v0.1.2

func (in *Min) DeepCopy() *Min

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Min. Required by controller-gen.

func (*Min) DeepCopyInterface added in v0.1.2

func (in *Min) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Min. Required by controller-gen.

func (*Min) DeepCopyInto added in v0.1.2

func (in *Min) DeepCopyInto(out *Min)

DeepCopyInto supports using Min within kubernetes types, where deepcopy-gen is used.

func (*Min) Descriptor deprecated

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

Deprecated: Use Min.ProtoReflect.Descriptor instead.

func (*Min) GetInPorts

func (x *Min) GetInPorts() *Min_Ins

func (*Min) GetOutPorts

func (x *Min) GetOutPorts() *Min_Outs

func (*Min) MarshalJSON

func (msg *Min) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Min) ProtoMessage

func (*Min) ProtoMessage()

func (*Min) ProtoReflect

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

func (*Min) Reset

func (x *Min) Reset()

func (*Min) String

func (x *Min) String() string

func (*Min) UnmarshalJSON

func (msg *Min) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Min) Validate added in v1.2.0

func (m *Min) Validate() error

Validate checks the field values on Min with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Min) ValidateAll added in v1.2.0

func (m *Min) ValidateAll() error

ValidateAll checks the field values on Min with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MinMultiError, or nil if none found.

type MinMultiError added in v1.2.0

type MinMultiError []error

MinMultiError is an error wrapping multiple validation errors returned by Min.ValidateAll() if the designated constraints aren't met.

func (MinMultiError) AllErrors added in v1.2.0

func (m MinMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MinMultiError) Error added in v1.2.0

func (m MinMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MinValidationError added in v1.2.0

type MinValidationError struct {
	// contains filtered or unexported fields
}

MinValidationError is the validation error returned by Min.Validate if the designated constraints aren't met.

func (MinValidationError) Cause added in v1.2.0

func (e MinValidationError) Cause() error

Cause function returns cause value.

func (MinValidationError) Error added in v1.2.0

func (e MinValidationError) Error() string

Error satisfies the builtin error interface

func (MinValidationError) ErrorName added in v1.2.0

func (e MinValidationError) ErrorName() string

ErrorName returns error name.

func (MinValidationError) Field added in v1.2.0

func (e MinValidationError) Field() string

Field function returns field value.

func (MinValidationError) Key added in v1.2.0

func (e MinValidationError) Key() bool

Key function returns key value.

func (MinValidationError) Reason added in v1.2.0

func (e MinValidationError) Reason() string

Reason function returns reason value.

type Min_Ins

type Min_Ins struct {

	// Array of input signals.
	Inputs []*InPort `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty" validate:"dive"` // @gotags: validate:"dive"
	// contains filtered or unexported fields
}

Inputs for the Min component.

func (*Min_Ins) DeepCopy added in v0.1.2

func (in *Min_Ins) DeepCopy() *Min_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Min_Ins. Required by controller-gen.

func (*Min_Ins) DeepCopyInterface added in v0.1.2

func (in *Min_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Min_Ins. Required by controller-gen.

func (*Min_Ins) DeepCopyInto added in v0.1.2

func (in *Min_Ins) DeepCopyInto(out *Min_Ins)

DeepCopyInto supports using Min_Ins within kubernetes types, where deepcopy-gen is used.

func (*Min_Ins) Descriptor deprecated

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

Deprecated: Use Min_Ins.ProtoReflect.Descriptor instead.

func (*Min_Ins) GetInputs

func (x *Min_Ins) GetInputs() []*InPort

func (*Min_Ins) MarshalJSON

func (msg *Min_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Min_Ins) ProtoMessage

func (*Min_Ins) ProtoMessage()

func (*Min_Ins) ProtoReflect

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

func (*Min_Ins) Reset

func (x *Min_Ins) Reset()

func (*Min_Ins) String

func (x *Min_Ins) String() string

func (*Min_Ins) UnmarshalJSON

func (msg *Min_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Min_Ins) Validate added in v1.2.0

func (m *Min_Ins) Validate() error

Validate checks the field values on Min_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Min_Ins) ValidateAll added in v1.2.0

func (m *Min_Ins) ValidateAll() error

ValidateAll checks the field values on Min_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Min_InsMultiError, or nil if none found.

type Min_InsMultiError added in v1.2.0

type Min_InsMultiError []error

Min_InsMultiError is an error wrapping multiple validation errors returned by Min_Ins.ValidateAll() if the designated constraints aren't met.

func (Min_InsMultiError) AllErrors added in v1.2.0

func (m Min_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Min_InsMultiError) Error added in v1.2.0

func (m Min_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Min_InsValidationError added in v1.2.0

type Min_InsValidationError struct {
	// contains filtered or unexported fields
}

Min_InsValidationError is the validation error returned by Min_Ins.Validate if the designated constraints aren't met.

func (Min_InsValidationError) Cause added in v1.2.0

func (e Min_InsValidationError) Cause() error

Cause function returns cause value.

func (Min_InsValidationError) Error added in v1.2.0

func (e Min_InsValidationError) Error() string

Error satisfies the builtin error interface

func (Min_InsValidationError) ErrorName added in v1.2.0

func (e Min_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Min_InsValidationError) Field added in v1.2.0

func (e Min_InsValidationError) Field() string

Field function returns field value.

func (Min_InsValidationError) Key added in v1.2.0

func (e Min_InsValidationError) Key() bool

Key function returns key value.

func (Min_InsValidationError) Reason added in v1.2.0

func (e Min_InsValidationError) Reason() string

Reason function returns reason value.

type Min_Outs

type Min_Outs struct {

	// Signal with minimum value as an output signal.
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Output ports for the Min component.

func (*Min_Outs) DeepCopy added in v0.1.2

func (in *Min_Outs) DeepCopy() *Min_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Min_Outs. Required by controller-gen.

func (*Min_Outs) DeepCopyInterface added in v0.1.2

func (in *Min_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Min_Outs. Required by controller-gen.

func (*Min_Outs) DeepCopyInto added in v0.1.2

func (in *Min_Outs) DeepCopyInto(out *Min_Outs)

DeepCopyInto supports using Min_Outs within kubernetes types, where deepcopy-gen is used.

func (*Min_Outs) Descriptor deprecated

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

Deprecated: Use Min_Outs.ProtoReflect.Descriptor instead.

func (*Min_Outs) GetOutput

func (x *Min_Outs) GetOutput() *OutPort

func (*Min_Outs) MarshalJSON

func (msg *Min_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Min_Outs) ProtoMessage

func (*Min_Outs) ProtoMessage()

func (*Min_Outs) ProtoReflect

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

func (*Min_Outs) Reset

func (x *Min_Outs) Reset()

func (*Min_Outs) String

func (x *Min_Outs) String() string

func (*Min_Outs) UnmarshalJSON

func (msg *Min_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Min_Outs) Validate added in v1.2.0

func (m *Min_Outs) Validate() error

Validate checks the field values on Min_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Min_Outs) ValidateAll added in v1.2.0

func (m *Min_Outs) ValidateAll() error

ValidateAll checks the field values on Min_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Min_OutsMultiError, or nil if none found.

type Min_OutsMultiError added in v1.2.0

type Min_OutsMultiError []error

Min_OutsMultiError is an error wrapping multiple validation errors returned by Min_Outs.ValidateAll() if the designated constraints aren't met.

func (Min_OutsMultiError) AllErrors added in v1.2.0

func (m Min_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Min_OutsMultiError) Error added in v1.2.0

func (m Min_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Min_OutsValidationError added in v1.2.0

type Min_OutsValidationError struct {
	// contains filtered or unexported fields
}

Min_OutsValidationError is the validation error returned by Min_Outs.Validate if the designated constraints aren't met.

func (Min_OutsValidationError) Cause added in v1.2.0

func (e Min_OutsValidationError) Cause() error

Cause function returns cause value.

func (Min_OutsValidationError) Error added in v1.2.0

func (e Min_OutsValidationError) Error() string

Error satisfies the builtin error interface

func (Min_OutsValidationError) ErrorName added in v1.2.0

func (e Min_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Min_OutsValidationError) Field added in v1.2.0

func (e Min_OutsValidationError) Field() string

Field function returns field value.

func (Min_OutsValidationError) Key added in v1.2.0

func (e Min_OutsValidationError) Key() bool

Key function returns key value.

func (Min_OutsValidationError) Reason added in v1.2.0

func (e Min_OutsValidationError) Reason() string

Reason function returns reason value.

type NestedCircuit added in v0.21.0

type NestedCircuit struct {

	// Maps input port names to input ports.
	InPortsMap map[string]*InPort `` /* 181-byte string literal not displayed */
	// Maps output port names to output ports.
	OutPortsMap map[string]*OutPort `` /* 184-byte string literal not displayed */
	// List of components in the nested circuit.
	Components []*Component `protobuf:"bytes,3,rep,name=components,proto3" json:"components,omitempty" validate:"dive"` // @gotags: validate:"dive"
	// Name of the nested circuit component. This name is displayed by graph visualization tools.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Short description of the nested circuit component. This description is displayed by graph visualization tools.
	ShortDescription string `protobuf:"bytes,5,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
	// contains filtered or unexported fields
}

Nested circuit defines a sub-circuit as a high-level component. It consists of a list of components and a map of input and output ports.

func (*NestedCircuit) DeepCopy added in v0.21.0

func (in *NestedCircuit) DeepCopy() *NestedCircuit

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NestedCircuit. Required by controller-gen.

func (*NestedCircuit) DeepCopyInterface added in v0.21.0

func (in *NestedCircuit) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NestedCircuit. Required by controller-gen.

func (*NestedCircuit) DeepCopyInto added in v0.21.0

func (in *NestedCircuit) DeepCopyInto(out *NestedCircuit)

DeepCopyInto supports using NestedCircuit within kubernetes types, where deepcopy-gen is used.

func (*NestedCircuit) Descriptor deprecated added in v0.21.0

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

Deprecated: Use NestedCircuit.ProtoReflect.Descriptor instead.

func (*NestedCircuit) GetComponents added in v0.21.0

func (x *NestedCircuit) GetComponents() []*Component

func (*NestedCircuit) GetInPortsMap added in v0.21.0

func (x *NestedCircuit) GetInPortsMap() map[string]*InPort

func (*NestedCircuit) GetName added in v0.21.0

func (x *NestedCircuit) GetName() string

func (*NestedCircuit) GetOutPortsMap added in v0.21.0

func (x *NestedCircuit) GetOutPortsMap() map[string]*OutPort

func (*NestedCircuit) GetShortDescription added in v0.22.0

func (x *NestedCircuit) GetShortDescription() string

func (*NestedCircuit) MarshalJSON added in v0.21.0

func (msg *NestedCircuit) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*NestedCircuit) ProtoMessage added in v0.21.0

func (*NestedCircuit) ProtoMessage()

func (*NestedCircuit) ProtoReflect added in v0.21.0

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

func (*NestedCircuit) Reset added in v0.21.0

func (x *NestedCircuit) Reset()

func (*NestedCircuit) String added in v0.21.0

func (x *NestedCircuit) String() string

func (*NestedCircuit) UnmarshalJSON added in v0.21.0

func (msg *NestedCircuit) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*NestedCircuit) Validate added in v1.2.0

func (m *NestedCircuit) Validate() error

Validate checks the field values on NestedCircuit with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NestedCircuit) ValidateAll added in v1.2.0

func (m *NestedCircuit) ValidateAll() error

ValidateAll checks the field values on NestedCircuit with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NestedCircuitMultiError, or nil if none found.

type NestedCircuitMultiError added in v1.2.0

type NestedCircuitMultiError []error

NestedCircuitMultiError is an error wrapping multiple validation errors returned by NestedCircuit.ValidateAll() if the designated constraints aren't met.

func (NestedCircuitMultiError) AllErrors added in v1.2.0

func (m NestedCircuitMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NestedCircuitMultiError) Error added in v1.2.0

func (m NestedCircuitMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NestedCircuitValidationError added in v1.2.0

type NestedCircuitValidationError struct {
	// contains filtered or unexported fields
}

NestedCircuitValidationError is the validation error returned by NestedCircuit.Validate if the designated constraints aren't met.

func (NestedCircuitValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (NestedCircuitValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (NestedCircuitValidationError) ErrorName added in v1.2.0

func (e NestedCircuitValidationError) ErrorName() string

ErrorName returns error name.

func (NestedCircuitValidationError) Field added in v1.2.0

Field function returns field value.

func (NestedCircuitValidationError) Key added in v1.2.0

Key function returns key value.

func (NestedCircuitValidationError) Reason added in v1.2.0

Reason function returns reason value.

type NestedSignalEgress added in v0.21.0

type NestedSignalEgress struct {

	// Input ports for the NestedSignalEgress component.
	InPorts *NestedSignalEgress_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Name of the port.
	PortName string `protobuf:"bytes,2,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"`
	// contains filtered or unexported fields
}

Nested signal egress is a special type of component that allows to extract a signal from a nested circuit.

func (*NestedSignalEgress) DeepCopy added in v0.21.0

func (in *NestedSignalEgress) DeepCopy() *NestedSignalEgress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NestedSignalEgress. Required by controller-gen.

func (*NestedSignalEgress) DeepCopyInterface added in v0.21.0

func (in *NestedSignalEgress) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NestedSignalEgress. Required by controller-gen.

func (*NestedSignalEgress) DeepCopyInto added in v0.21.0

func (in *NestedSignalEgress) DeepCopyInto(out *NestedSignalEgress)

DeepCopyInto supports using NestedSignalEgress within kubernetes types, where deepcopy-gen is used.

func (*NestedSignalEgress) Descriptor deprecated added in v0.21.0

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

Deprecated: Use NestedSignalEgress.ProtoReflect.Descriptor instead.

func (*NestedSignalEgress) GetInPorts added in v0.21.0

func (x *NestedSignalEgress) GetInPorts() *NestedSignalEgress_Ins

func (*NestedSignalEgress) GetPortName added in v0.21.0

func (x *NestedSignalEgress) GetPortName() string

func (*NestedSignalEgress) MarshalJSON added in v0.21.0

func (msg *NestedSignalEgress) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*NestedSignalEgress) ProtoMessage added in v0.21.0

func (*NestedSignalEgress) ProtoMessage()

func (*NestedSignalEgress) ProtoReflect added in v0.21.0

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

func (*NestedSignalEgress) Reset added in v0.21.0

func (x *NestedSignalEgress) Reset()

func (*NestedSignalEgress) String added in v0.21.0

func (x *NestedSignalEgress) String() string

func (*NestedSignalEgress) UnmarshalJSON added in v0.21.0

func (msg *NestedSignalEgress) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*NestedSignalEgress) Validate added in v1.2.0

func (m *NestedSignalEgress) Validate() error

Validate checks the field values on NestedSignalEgress with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NestedSignalEgress) ValidateAll added in v1.2.0

func (m *NestedSignalEgress) ValidateAll() error

ValidateAll checks the field values on NestedSignalEgress with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NestedSignalEgressMultiError, or nil if none found.

type NestedSignalEgressMultiError added in v1.2.0

type NestedSignalEgressMultiError []error

NestedSignalEgressMultiError is an error wrapping multiple validation errors returned by NestedSignalEgress.ValidateAll() if the designated constraints aren't met.

func (NestedSignalEgressMultiError) AllErrors added in v1.2.0

func (m NestedSignalEgressMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NestedSignalEgressMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type NestedSignalEgressValidationError added in v1.2.0

type NestedSignalEgressValidationError struct {
	// contains filtered or unexported fields
}

NestedSignalEgressValidationError is the validation error returned by NestedSignalEgress.Validate if the designated constraints aren't met.

func (NestedSignalEgressValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (NestedSignalEgressValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (NestedSignalEgressValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (NestedSignalEgressValidationError) Field added in v1.2.0

Field function returns field value.

func (NestedSignalEgressValidationError) Key added in v1.2.0

Key function returns key value.

func (NestedSignalEgressValidationError) Reason added in v1.2.0

Reason function returns reason value.

type NestedSignalEgress_Ins added in v0.21.0

type NestedSignalEgress_Ins struct {

	// Egress signal.
	Signal *InPort `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the NestedSignalEgress component.

func (*NestedSignalEgress_Ins) DeepCopy added in v0.21.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NestedSignalEgress_Ins. Required by controller-gen.

func (*NestedSignalEgress_Ins) DeepCopyInterface added in v0.21.0

func (in *NestedSignalEgress_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NestedSignalEgress_Ins. Required by controller-gen.

func (*NestedSignalEgress_Ins) DeepCopyInto added in v0.21.0

func (in *NestedSignalEgress_Ins) DeepCopyInto(out *NestedSignalEgress_Ins)

DeepCopyInto supports using NestedSignalEgress_Ins within kubernetes types, where deepcopy-gen is used.

func (*NestedSignalEgress_Ins) Descriptor deprecated added in v0.21.0

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

Deprecated: Use NestedSignalEgress_Ins.ProtoReflect.Descriptor instead.

func (*NestedSignalEgress_Ins) GetSignal added in v0.21.0

func (x *NestedSignalEgress_Ins) GetSignal() *InPort

func (*NestedSignalEgress_Ins) MarshalJSON added in v0.21.0

func (msg *NestedSignalEgress_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*NestedSignalEgress_Ins) ProtoMessage added in v0.21.0

func (*NestedSignalEgress_Ins) ProtoMessage()

func (*NestedSignalEgress_Ins) ProtoReflect added in v0.21.0

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

func (*NestedSignalEgress_Ins) Reset added in v0.21.0

func (x *NestedSignalEgress_Ins) Reset()

func (*NestedSignalEgress_Ins) String added in v0.21.0

func (x *NestedSignalEgress_Ins) String() string

func (*NestedSignalEgress_Ins) UnmarshalJSON added in v0.21.0

func (msg *NestedSignalEgress_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*NestedSignalEgress_Ins) Validate added in v1.2.0

func (m *NestedSignalEgress_Ins) Validate() error

Validate checks the field values on NestedSignalEgress_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NestedSignalEgress_Ins) ValidateAll added in v1.2.0

func (m *NestedSignalEgress_Ins) ValidateAll() error

ValidateAll checks the field values on NestedSignalEgress_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NestedSignalEgress_InsMultiError, or nil if none found.

type NestedSignalEgress_InsMultiError added in v1.2.0

type NestedSignalEgress_InsMultiError []error

NestedSignalEgress_InsMultiError is an error wrapping multiple validation errors returned by NestedSignalEgress_Ins.ValidateAll() if the designated constraints aren't met.

func (NestedSignalEgress_InsMultiError) AllErrors added in v1.2.0

func (m NestedSignalEgress_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NestedSignalEgress_InsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type NestedSignalEgress_InsValidationError added in v1.2.0

type NestedSignalEgress_InsValidationError struct {
	// contains filtered or unexported fields
}

NestedSignalEgress_InsValidationError is the validation error returned by NestedSignalEgress_Ins.Validate if the designated constraints aren't met.

func (NestedSignalEgress_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (NestedSignalEgress_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (NestedSignalEgress_InsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (NestedSignalEgress_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (NestedSignalEgress_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (NestedSignalEgress_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type NestedSignalIngress added in v0.21.0

type NestedSignalIngress struct {

	// Output ports for the NestedSignalIngress component.
	OutPorts *NestedSignalIngress_Outs `protobuf:"bytes,1,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Name of the port.
	PortName string `protobuf:"bytes,2,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"`
	// contains filtered or unexported fields
}

Nested signal ingress is a special type of component that allows to inject a signal into a nested circuit.

func (*NestedSignalIngress) DeepCopy added in v0.21.0

func (in *NestedSignalIngress) DeepCopy() *NestedSignalIngress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NestedSignalIngress. Required by controller-gen.

func (*NestedSignalIngress) DeepCopyInterface added in v0.21.0

func (in *NestedSignalIngress) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NestedSignalIngress. Required by controller-gen.

func (*NestedSignalIngress) DeepCopyInto added in v0.21.0

func (in *NestedSignalIngress) DeepCopyInto(out *NestedSignalIngress)

DeepCopyInto supports using NestedSignalIngress within kubernetes types, where deepcopy-gen is used.

func (*NestedSignalIngress) Descriptor deprecated added in v0.21.0

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

Deprecated: Use NestedSignalIngress.ProtoReflect.Descriptor instead.

func (*NestedSignalIngress) GetOutPorts added in v0.21.0

func (*NestedSignalIngress) GetPortName added in v0.21.0

func (x *NestedSignalIngress) GetPortName() string

func (*NestedSignalIngress) MarshalJSON added in v0.21.0

func (msg *NestedSignalIngress) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*NestedSignalIngress) ProtoMessage added in v0.21.0

func (*NestedSignalIngress) ProtoMessage()

func (*NestedSignalIngress) ProtoReflect added in v0.21.0

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

func (*NestedSignalIngress) Reset added in v0.21.0

func (x *NestedSignalIngress) Reset()

func (*NestedSignalIngress) String added in v0.21.0

func (x *NestedSignalIngress) String() string

func (*NestedSignalIngress) UnmarshalJSON added in v0.21.0

func (msg *NestedSignalIngress) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*NestedSignalIngress) Validate added in v1.2.0

func (m *NestedSignalIngress) Validate() error

Validate checks the field values on NestedSignalIngress with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NestedSignalIngress) ValidateAll added in v1.2.0

func (m *NestedSignalIngress) ValidateAll() error

ValidateAll checks the field values on NestedSignalIngress with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NestedSignalIngressMultiError, or nil if none found.

type NestedSignalIngressMultiError added in v1.2.0

type NestedSignalIngressMultiError []error

NestedSignalIngressMultiError is an error wrapping multiple validation errors returned by NestedSignalIngress.ValidateAll() if the designated constraints aren't met.

func (NestedSignalIngressMultiError) AllErrors added in v1.2.0

func (m NestedSignalIngressMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NestedSignalIngressMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type NestedSignalIngressValidationError added in v1.2.0

type NestedSignalIngressValidationError struct {
	// contains filtered or unexported fields
}

NestedSignalIngressValidationError is the validation error returned by NestedSignalIngress.Validate if the designated constraints aren't met.

func (NestedSignalIngressValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (NestedSignalIngressValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (NestedSignalIngressValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (NestedSignalIngressValidationError) Field added in v1.2.0

Field function returns field value.

func (NestedSignalIngressValidationError) Key added in v1.2.0

Key function returns key value.

func (NestedSignalIngressValidationError) Reason added in v1.2.0

Reason function returns reason value.

type NestedSignalIngress_Outs added in v0.21.0

type NestedSignalIngress_Outs struct {

	// Ingress signal.
	Signal *OutPort `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the NestedSignalIngress component.

func (*NestedSignalIngress_Outs) DeepCopy added in v0.21.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NestedSignalIngress_Outs. Required by controller-gen.

func (*NestedSignalIngress_Outs) DeepCopyInterface added in v0.21.0

func (in *NestedSignalIngress_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new NestedSignalIngress_Outs. Required by controller-gen.

func (*NestedSignalIngress_Outs) DeepCopyInto added in v0.21.0

func (in *NestedSignalIngress_Outs) DeepCopyInto(out *NestedSignalIngress_Outs)

DeepCopyInto supports using NestedSignalIngress_Outs within kubernetes types, where deepcopy-gen is used.

func (*NestedSignalIngress_Outs) Descriptor deprecated added in v0.21.0

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

Deprecated: Use NestedSignalIngress_Outs.ProtoReflect.Descriptor instead.

func (*NestedSignalIngress_Outs) GetSignal added in v0.21.0

func (x *NestedSignalIngress_Outs) GetSignal() *OutPort

func (*NestedSignalIngress_Outs) MarshalJSON added in v0.21.0

func (msg *NestedSignalIngress_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*NestedSignalIngress_Outs) ProtoMessage added in v0.21.0

func (*NestedSignalIngress_Outs) ProtoMessage()

func (*NestedSignalIngress_Outs) ProtoReflect added in v0.21.0

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

func (*NestedSignalIngress_Outs) Reset added in v0.21.0

func (x *NestedSignalIngress_Outs) Reset()

func (*NestedSignalIngress_Outs) String added in v0.21.0

func (x *NestedSignalIngress_Outs) String() string

func (*NestedSignalIngress_Outs) UnmarshalJSON added in v0.21.0

func (msg *NestedSignalIngress_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*NestedSignalIngress_Outs) Validate added in v1.2.0

func (m *NestedSignalIngress_Outs) Validate() error

Validate checks the field values on NestedSignalIngress_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NestedSignalIngress_Outs) ValidateAll added in v1.2.0

func (m *NestedSignalIngress_Outs) ValidateAll() error

ValidateAll checks the field values on NestedSignalIngress_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NestedSignalIngress_OutsMultiError, or nil if none found.

type NestedSignalIngress_OutsMultiError added in v1.2.0

type NestedSignalIngress_OutsMultiError []error

NestedSignalIngress_OutsMultiError is an error wrapping multiple validation errors returned by NestedSignalIngress_Outs.ValidateAll() if the designated constraints aren't met.

func (NestedSignalIngress_OutsMultiError) AllErrors added in v1.2.0

func (m NestedSignalIngress_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NestedSignalIngress_OutsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type NestedSignalIngress_OutsValidationError added in v1.2.0

type NestedSignalIngress_OutsValidationError struct {
	// contains filtered or unexported fields
}

NestedSignalIngress_OutsValidationError is the validation error returned by NestedSignalIngress_Outs.Validate if the designated constraints aren't met.

func (NestedSignalIngress_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (NestedSignalIngress_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (NestedSignalIngress_OutsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (NestedSignalIngress_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (NestedSignalIngress_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (NestedSignalIngress_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Or added in v0.20.0

type Or struct {

	// Input ports for the Or component.
	InPorts *Or_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the Or component.
	OutPorts *Or_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

Logical OR.

See [And component](#and) on how signals are mapped onto Boolean values.

func (*Or) DeepCopy added in v0.20.0

func (in *Or) DeepCopy() *Or

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Or. Required by controller-gen.

func (*Or) DeepCopyInterface added in v0.20.0

func (in *Or) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Or. Required by controller-gen.

func (*Or) DeepCopyInto added in v0.20.0

func (in *Or) DeepCopyInto(out *Or)

DeepCopyInto supports using Or within kubernetes types, where deepcopy-gen is used.

func (*Or) Descriptor deprecated added in v0.20.0

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

Deprecated: Use Or.ProtoReflect.Descriptor instead.

func (*Or) GetInPorts added in v0.20.0

func (x *Or) GetInPorts() *Or_Ins

func (*Or) GetOutPorts added in v0.20.0

func (x *Or) GetOutPorts() *Or_Outs

func (*Or) MarshalJSON added in v0.20.0

func (msg *Or) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Or) ProtoMessage added in v0.20.0

func (*Or) ProtoMessage()

func (*Or) ProtoReflect added in v0.20.0

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

func (*Or) Reset added in v0.20.0

func (x *Or) Reset()

func (*Or) String added in v0.20.0

func (x *Or) String() string

func (*Or) UnmarshalJSON added in v0.20.0

func (msg *Or) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Or) Validate added in v1.2.0

func (m *Or) Validate() error

Validate checks the field values on Or with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Or) ValidateAll added in v1.2.0

func (m *Or) ValidateAll() error

ValidateAll checks the field values on Or with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OrMultiError, or nil if none found.

type OrMultiError added in v1.2.0

type OrMultiError []error

OrMultiError is an error wrapping multiple validation errors returned by Or.ValidateAll() if the designated constraints aren't met.

func (OrMultiError) AllErrors added in v1.2.0

func (m OrMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OrMultiError) Error added in v1.2.0

func (m OrMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type OrValidationError added in v1.2.0

type OrValidationError struct {
	// contains filtered or unexported fields
}

OrValidationError is the validation error returned by Or.Validate if the designated constraints aren't met.

func (OrValidationError) Cause added in v1.2.0

func (e OrValidationError) Cause() error

Cause function returns cause value.

func (OrValidationError) Error added in v1.2.0

func (e OrValidationError) Error() string

Error satisfies the builtin error interface

func (OrValidationError) ErrorName added in v1.2.0

func (e OrValidationError) ErrorName() string

ErrorName returns error name.

func (OrValidationError) Field added in v1.2.0

func (e OrValidationError) Field() string

Field function returns field value.

func (OrValidationError) Key added in v1.2.0

func (e OrValidationError) Key() bool

Key function returns key value.

func (OrValidationError) Reason added in v1.2.0

func (e OrValidationError) Reason() string

Reason function returns reason value.

type Or_Ins added in v0.20.0

type Or_Ins struct {

	// Array of input signals.
	Inputs []*InPort `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty" validate:"dive"` // @gotags: validate:"dive"
	// contains filtered or unexported fields
}

Inputs for the Or component.

func (*Or_Ins) DeepCopy added in v0.20.0

func (in *Or_Ins) DeepCopy() *Or_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Or_Ins. Required by controller-gen.

func (*Or_Ins) DeepCopyInterface added in v0.20.0

func (in *Or_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Or_Ins. Required by controller-gen.

func (*Or_Ins) DeepCopyInto added in v0.20.0

func (in *Or_Ins) DeepCopyInto(out *Or_Ins)

DeepCopyInto supports using Or_Ins within kubernetes types, where deepcopy-gen is used.

func (*Or_Ins) Descriptor deprecated added in v0.20.0

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

Deprecated: Use Or_Ins.ProtoReflect.Descriptor instead.

func (*Or_Ins) GetInputs added in v0.20.0

func (x *Or_Ins) GetInputs() []*InPort

func (*Or_Ins) MarshalJSON added in v0.20.0

func (msg *Or_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Or_Ins) ProtoMessage added in v0.20.0

func (*Or_Ins) ProtoMessage()

func (*Or_Ins) ProtoReflect added in v0.20.0

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

func (*Or_Ins) Reset added in v0.20.0

func (x *Or_Ins) Reset()

func (*Or_Ins) String added in v0.20.0

func (x *Or_Ins) String() string

func (*Or_Ins) UnmarshalJSON added in v0.20.0

func (msg *Or_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Or_Ins) Validate added in v1.2.0

func (m *Or_Ins) Validate() error

Validate checks the field values on Or_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Or_Ins) ValidateAll added in v1.2.0

func (m *Or_Ins) ValidateAll() error

ValidateAll checks the field values on Or_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Or_InsMultiError, or nil if none found.

type Or_InsMultiError added in v1.2.0

type Or_InsMultiError []error

Or_InsMultiError is an error wrapping multiple validation errors returned by Or_Ins.ValidateAll() if the designated constraints aren't met.

func (Or_InsMultiError) AllErrors added in v1.2.0

func (m Or_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Or_InsMultiError) Error added in v1.2.0

func (m Or_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Or_InsValidationError added in v1.2.0

type Or_InsValidationError struct {
	// contains filtered or unexported fields
}

Or_InsValidationError is the validation error returned by Or_Ins.Validate if the designated constraints aren't met.

func (Or_InsValidationError) Cause added in v1.2.0

func (e Or_InsValidationError) Cause() error

Cause function returns cause value.

func (Or_InsValidationError) Error added in v1.2.0

func (e Or_InsValidationError) Error() string

Error satisfies the builtin error interface

func (Or_InsValidationError) ErrorName added in v1.2.0

func (e Or_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Or_InsValidationError) Field added in v1.2.0

func (e Or_InsValidationError) Field() string

Field function returns field value.

func (Or_InsValidationError) Key added in v1.2.0

func (e Or_InsValidationError) Key() bool

Key function returns key value.

func (Or_InsValidationError) Reason added in v1.2.0

func (e Or_InsValidationError) Reason() string

Reason function returns reason value.

type Or_Outs added in v0.20.0

type Or_Outs struct {

	// Result of logical OR of all the input signals.
	//
	// Will always be 0 (false), 1 (true) or invalid (unknown).
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Output ports for the Or component.

func (*Or_Outs) DeepCopy added in v0.20.0

func (in *Or_Outs) DeepCopy() *Or_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Or_Outs. Required by controller-gen.

func (*Or_Outs) DeepCopyInterface added in v0.20.0

func (in *Or_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Or_Outs. Required by controller-gen.

func (*Or_Outs) DeepCopyInto added in v0.20.0

func (in *Or_Outs) DeepCopyInto(out *Or_Outs)

DeepCopyInto supports using Or_Outs within kubernetes types, where deepcopy-gen is used.

func (*Or_Outs) Descriptor deprecated added in v0.20.0

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

Deprecated: Use Or_Outs.ProtoReflect.Descriptor instead.

func (*Or_Outs) GetOutput added in v0.20.0

func (x *Or_Outs) GetOutput() *OutPort

func (*Or_Outs) MarshalJSON added in v0.20.0

func (msg *Or_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Or_Outs) ProtoMessage added in v0.20.0

func (*Or_Outs) ProtoMessage()

func (*Or_Outs) ProtoReflect added in v0.20.0

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

func (*Or_Outs) Reset added in v0.20.0

func (x *Or_Outs) Reset()

func (*Or_Outs) String added in v0.20.0

func (x *Or_Outs) String() string

func (*Or_Outs) UnmarshalJSON added in v0.20.0

func (msg *Or_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Or_Outs) Validate added in v1.2.0

func (m *Or_Outs) Validate() error

Validate checks the field values on Or_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Or_Outs) ValidateAll added in v1.2.0

func (m *Or_Outs) ValidateAll() error

ValidateAll checks the field values on Or_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Or_OutsMultiError, or nil if none found.

type Or_OutsMultiError added in v1.2.0

type Or_OutsMultiError []error

Or_OutsMultiError is an error wrapping multiple validation errors returned by Or_Outs.ValidateAll() if the designated constraints aren't met.

func (Or_OutsMultiError) AllErrors added in v1.2.0

func (m Or_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Or_OutsMultiError) Error added in v1.2.0

func (m Or_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Or_OutsValidationError added in v1.2.0

type Or_OutsValidationError struct {
	// contains filtered or unexported fields
}

Or_OutsValidationError is the validation error returned by Or_Outs.Validate if the designated constraints aren't met.

func (Or_OutsValidationError) Cause added in v1.2.0

func (e Or_OutsValidationError) Cause() error

Cause function returns cause value.

func (Or_OutsValidationError) Error added in v1.2.0

func (e Or_OutsValidationError) Error() string

Error satisfies the builtin error interface

func (Or_OutsValidationError) ErrorName added in v1.2.0

func (e Or_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Or_OutsValidationError) Field added in v1.2.0

func (e Or_OutsValidationError) Field() string

Field function returns field value.

func (Or_OutsValidationError) Key added in v1.2.0

func (e Or_OutsValidationError) Key() bool

Key function returns key value.

func (Or_OutsValidationError) Reason added in v1.2.0

func (e Or_OutsValidationError) Reason() string

Reason function returns reason value.

type OutPort added in v0.5.0

type OutPort struct {

	// Name of the outgoing Signal on the OutPort.
	SignalName string `protobuf:"bytes,1,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"`
	// contains filtered or unexported fields
}

Components produce output for other components through OutPorts

func (*OutPort) DeepCopy added in v0.5.0

func (in *OutPort) DeepCopy() *OutPort

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutPort. Required by controller-gen.

func (*OutPort) DeepCopyInterface added in v0.5.0

func (in *OutPort) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new OutPort. Required by controller-gen.

func (*OutPort) DeepCopyInto added in v0.5.0

func (in *OutPort) DeepCopyInto(out *OutPort)

DeepCopyInto supports using OutPort within kubernetes types, where deepcopy-gen is used.

func (*OutPort) Descriptor deprecated added in v0.5.0

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

Deprecated: Use OutPort.ProtoReflect.Descriptor instead.

func (*OutPort) GetSignalName added in v0.5.0

func (x *OutPort) GetSignalName() string

func (*OutPort) MarshalJSON added in v0.5.0

func (msg *OutPort) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*OutPort) ProtoMessage added in v0.5.0

func (*OutPort) ProtoMessage()

func (*OutPort) ProtoReflect added in v0.5.0

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

func (*OutPort) Reset added in v0.5.0

func (x *OutPort) Reset()

func (*OutPort) String added in v0.5.0

func (x *OutPort) String() string

func (*OutPort) UnmarshalJSON added in v0.5.0

func (msg *OutPort) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*OutPort) Validate added in v1.2.0

func (m *OutPort) Validate() error

Validate checks the field values on OutPort with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*OutPort) ValidateAll added in v1.2.0

func (m *OutPort) ValidateAll() error

ValidateAll checks the field values on OutPort with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OutPortMultiError, or nil if none found.

type OutPortMultiError added in v1.2.0

type OutPortMultiError []error

OutPortMultiError is an error wrapping multiple validation errors returned by OutPort.ValidateAll() if the designated constraints aren't met.

func (OutPortMultiError) AllErrors added in v1.2.0

func (m OutPortMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OutPortMultiError) Error added in v1.2.0

func (m OutPortMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type OutPortValidationError added in v1.2.0

type OutPortValidationError struct {
	// contains filtered or unexported fields
}

OutPortValidationError is the validation error returned by OutPort.Validate if the designated constraints aren't met.

func (OutPortValidationError) Cause added in v1.2.0

func (e OutPortValidationError) Cause() error

Cause function returns cause value.

func (OutPortValidationError) Error added in v1.2.0

func (e OutPortValidationError) Error() string

Error satisfies the builtin error interface

func (OutPortValidationError) ErrorName added in v1.2.0

func (e OutPortValidationError) ErrorName() string

ErrorName returns error name.

func (OutPortValidationError) Field added in v1.2.0

func (e OutPortValidationError) Field() string

Field function returns field value.

func (OutPortValidationError) Key added in v1.2.0

func (e OutPortValidationError) Key() bool

Key function returns key value.

func (OutPortValidationError) Reason added in v1.2.0

func (e OutPortValidationError) Reason() string

Reason function returns reason value.

type PathTemplateMatcher

type PathTemplateMatcher struct {

	// Template value keys are OpenAPI-inspired path templates.
	//
	//   - Static path segment `/foo` matches a path segment exactly
	//   - `/{param}` matches arbitrary path segment.
	//     (The parameter name is ignored and can be omitted (`{}`))
	//   - The parameter must cover whole segment.
	//   - Additionally, path template can end with `/*` wildcard to match
	//     arbitrary number of trailing segments (0 or more).
	//   - Multiple consecutive `/` are ignored, as well as trailing `/`.
	//   - Parametrized path segments must come after static segments.
	//   - `*`, if present, must come last.
	//   - Most specific template "wins" (`/foo` over `/{}` and `/{}` over `/*`).
	//
	// See also <https://swagger.io/specification/#path-templating-matching>
	//
	// Example:
	// “`yaml
	// /register: register
	// "/user/{userId}": user
	// /static/*: other
	// “`
	TemplateValues map[string]string `` // @gotags: validate:"gt=0,dive,keys,required,endkeys,required"
	/* 243-byte string literal not displayed */
	// contains filtered or unexported fields
}

Matches HTTP Path to given path templates

HTTP path will be matched against given path templates. If a match occurs, the value associated with the path template will be treated as a result. In case of multiple path templates matching, the most specific one will be chosen.

func (*PathTemplateMatcher) DeepCopy added in v0.1.2

func (in *PathTemplateMatcher) DeepCopy() *PathTemplateMatcher

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PathTemplateMatcher. Required by controller-gen.

func (*PathTemplateMatcher) DeepCopyInterface added in v0.1.2

func (in *PathTemplateMatcher) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PathTemplateMatcher. Required by controller-gen.

func (*PathTemplateMatcher) DeepCopyInto added in v0.1.2

func (in *PathTemplateMatcher) DeepCopyInto(out *PathTemplateMatcher)

DeepCopyInto supports using PathTemplateMatcher within kubernetes types, where deepcopy-gen is used.

func (*PathTemplateMatcher) Descriptor deprecated

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

Deprecated: Use PathTemplateMatcher.ProtoReflect.Descriptor instead.

func (*PathTemplateMatcher) GetTemplateValues

func (x *PathTemplateMatcher) GetTemplateValues() map[string]string

func (*PathTemplateMatcher) MarshalJSON

func (msg *PathTemplateMatcher) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PathTemplateMatcher) ProtoMessage

func (*PathTemplateMatcher) ProtoMessage()

func (*PathTemplateMatcher) ProtoReflect

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

func (*PathTemplateMatcher) Reset

func (x *PathTemplateMatcher) Reset()

func (*PathTemplateMatcher) String

func (x *PathTemplateMatcher) String() string

func (*PathTemplateMatcher) UnmarshalJSON

func (msg *PathTemplateMatcher) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PathTemplateMatcher) Validate added in v1.2.0

func (m *PathTemplateMatcher) Validate() error

Validate checks the field values on PathTemplateMatcher with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PathTemplateMatcher) ValidateAll added in v1.2.0

func (m *PathTemplateMatcher) ValidateAll() error

ValidateAll checks the field values on PathTemplateMatcher with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PathTemplateMatcherMultiError, or nil if none found.

type PathTemplateMatcherMultiError added in v1.2.0

type PathTemplateMatcherMultiError []error

PathTemplateMatcherMultiError is an error wrapping multiple validation errors returned by PathTemplateMatcher.ValidateAll() if the designated constraints aren't met.

func (PathTemplateMatcherMultiError) AllErrors added in v1.2.0

func (m PathTemplateMatcherMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PathTemplateMatcherMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type PathTemplateMatcherValidationError added in v1.2.0

type PathTemplateMatcherValidationError struct {
	// contains filtered or unexported fields
}

PathTemplateMatcherValidationError is the validation error returned by PathTemplateMatcher.Validate if the designated constraints aren't met.

func (PathTemplateMatcherValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (PathTemplateMatcherValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (PathTemplateMatcherValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (PathTemplateMatcherValidationError) Field added in v1.2.0

Field function returns field value.

func (PathTemplateMatcherValidationError) Key added in v1.2.0

Key function returns key value.

func (PathTemplateMatcherValidationError) Reason added in v1.2.0

Reason function returns reason value.

type PodAutoScaler added in v1.3.0

type PodAutoScaler struct {

	// Output ports for the _PodAutoScaler_.
	OutPorts  *PodAutoScaler_Outs `protobuf:"bytes,1,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	PodScaler *KubernetesReplicas `protobuf:"bytes,2,opt,name=pod_scaler,json=podScaler,proto3" json:"pod_scaler,omitempty" validate:"required"` // @gotags: validate:"required"
	// The minimum replicas to which the _PodAutoScaler_ can scale-in.
	MinReplicas int64 `protobuf:"varint,3,opt,name=min_replicas,json=minReplicas,proto3" json:"min_replicas,omitempty" default:"0" validate:"gte=0"` // @gotags: default:"0" validate:"gte=0"
	// The maximum scale to which the _PodAutoScaler_ can scale-out.
	MaxReplicas int64 `` // @gotags: default:"9223372036854775807" validate:"gt=0"
	/* 141-byte string literal not displayed */
	// List of _Controllers_ for scaling out.
	ScaleOutControllers []*ScaleOutController `protobuf:"bytes,5,rep,name=scale_out_controllers,json=scaleOutControllers,proto3" json:"scale_out_controllers,omitempty"`
	// List of _Controllers_ for scaling in.
	ScaleInControllers []*ScaleInController `protobuf:"bytes,6,rep,name=scale_in_controllers,json=scaleInControllers,proto3" json:"scale_in_controllers,omitempty"`
	// The maximum increase of replicas (for example, pods) at one time. Defined as percentage of current scale value. Can never go below one even if percentage computation is less than one. Defaults to 10% of current scale value.
	MaxScaleOutPercentage float64 `` // @gotags: default:"10"
	/* 143-byte string literal not displayed */
	// The maximum decrease of replicas (for example, pods) at one time. Defined as percentage of current scale value. Can never go below one even if percentage computation is less than one. Defaults to 1% of current scale value.
	MaxScaleInPercentage float64 `` // @gotags: default:"1"
	/* 139-byte string literal not displayed */
	// The amount of time to wait after a scale-out operation for another scale-out or scale-in operation.
	ScaleOutCooldown *durationpb.Duration `protobuf:"bytes,9,opt,name=scale_out_cooldown,json=scaleOutCooldown,proto3" json:"scale_out_cooldown,omitempty" default:"30s"` // @gotags: default:"30s"
	// The amount of time to wait after a scale-in operation for another scale-in operation.
	ScaleInCooldown *durationpb.Duration `protobuf:"bytes,10,opt,name=scale_in_cooldown,json=scaleInCooldown,proto3" json:"scale_in_cooldown,omitempty" default:"120s"` // @gotags: default:"120s"
	// Cooldown override percentage defines a threshold change in scale-out beyond which previous cooldown is overridden.
	// For example, if the cooldown is 5 minutes and the cooldown override percentage is 10%, then if the
	// scale-increases by 10% or more, the previous cooldown is cancelled. Defaults to 50%.
	CooldownOverridePercentage float64 `` // @gotags: default:"50"
	/* 157-byte string literal not displayed */
	// Configuration for scale-out Alerter.
	ScaleOutAlerterParameters *Alerter_Parameters `` /* 141-byte string literal not displayed */
	// Configuration for scale-in Alerter.
	ScaleInAlerterParameters *Alerter_Parameters `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

_PodAutoScaler_ provides auto-scaling functionality for scalable Kubernetes resource. Multiple _Controllers_ can be defined on the _PodAutoScaler_ for performing scale-out or scale-in. The _PodAutoScaler_ interfaces with Kubernetes infrastructure APIs to perform auto-scale.

func (*PodAutoScaler) DeepCopy added in v1.3.0

func (in *PodAutoScaler) DeepCopy() *PodAutoScaler

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAutoScaler. Required by controller-gen.

func (*PodAutoScaler) DeepCopyInterface added in v1.3.0

func (in *PodAutoScaler) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PodAutoScaler. Required by controller-gen.

func (*PodAutoScaler) DeepCopyInto added in v1.3.0

func (in *PodAutoScaler) DeepCopyInto(out *PodAutoScaler)

DeepCopyInto supports using PodAutoScaler within kubernetes types, where deepcopy-gen is used.

func (*PodAutoScaler) Descriptor deprecated added in v1.3.0

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

Deprecated: Use PodAutoScaler.ProtoReflect.Descriptor instead.

func (*PodAutoScaler) GetCooldownOverridePercentage added in v1.3.0

func (x *PodAutoScaler) GetCooldownOverridePercentage() float64

func (*PodAutoScaler) GetMaxReplicas added in v1.3.0

func (x *PodAutoScaler) GetMaxReplicas() int64

func (*PodAutoScaler) GetMaxScaleInPercentage added in v1.3.0

func (x *PodAutoScaler) GetMaxScaleInPercentage() float64

func (*PodAutoScaler) GetMaxScaleOutPercentage added in v1.3.0

func (x *PodAutoScaler) GetMaxScaleOutPercentage() float64

func (*PodAutoScaler) GetMinReplicas added in v1.3.0

func (x *PodAutoScaler) GetMinReplicas() int64

func (*PodAutoScaler) GetOutPorts added in v1.3.0

func (x *PodAutoScaler) GetOutPorts() *PodAutoScaler_Outs

func (*PodAutoScaler) GetPodScaler added in v1.3.0

func (x *PodAutoScaler) GetPodScaler() *KubernetesReplicas

func (*PodAutoScaler) GetScaleInAlerterParameters added in v1.3.0

func (x *PodAutoScaler) GetScaleInAlerterParameters() *Alerter_Parameters

func (*PodAutoScaler) GetScaleInControllers added in v1.3.0

func (x *PodAutoScaler) GetScaleInControllers() []*ScaleInController

func (*PodAutoScaler) GetScaleInCooldown added in v1.3.0

func (x *PodAutoScaler) GetScaleInCooldown() *durationpb.Duration

func (*PodAutoScaler) GetScaleOutAlerterParameters added in v1.3.0

func (x *PodAutoScaler) GetScaleOutAlerterParameters() *Alerter_Parameters

func (*PodAutoScaler) GetScaleOutControllers added in v1.3.0

func (x *PodAutoScaler) GetScaleOutControllers() []*ScaleOutController

func (*PodAutoScaler) GetScaleOutCooldown added in v1.3.0

func (x *PodAutoScaler) GetScaleOutCooldown() *durationpb.Duration

func (*PodAutoScaler) MarshalJSON added in v1.3.0

func (msg *PodAutoScaler) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PodAutoScaler) ProtoMessage added in v1.3.0

func (*PodAutoScaler) ProtoMessage()

func (*PodAutoScaler) ProtoReflect added in v1.3.0

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

func (*PodAutoScaler) Reset added in v1.3.0

func (x *PodAutoScaler) Reset()

func (*PodAutoScaler) String added in v1.3.0

func (x *PodAutoScaler) String() string

func (*PodAutoScaler) UnmarshalJSON added in v1.3.0

func (msg *PodAutoScaler) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PodAutoScaler) Validate added in v1.3.0

func (m *PodAutoScaler) Validate() error

Validate checks the field values on PodAutoScaler with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PodAutoScaler) ValidateAll added in v1.3.0

func (m *PodAutoScaler) ValidateAll() error

ValidateAll checks the field values on PodAutoScaler with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PodAutoScalerMultiError, or nil if none found.

type PodAutoScalerMultiError added in v1.3.0

type PodAutoScalerMultiError []error

PodAutoScalerMultiError is an error wrapping multiple validation errors returned by PodAutoScaler.ValidateAll() if the designated constraints aren't met.

func (PodAutoScalerMultiError) AllErrors added in v1.3.0

func (m PodAutoScalerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PodAutoScalerMultiError) Error added in v1.3.0

func (m PodAutoScalerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PodAutoScalerValidationError added in v1.3.0

type PodAutoScalerValidationError struct {
	// contains filtered or unexported fields
}

PodAutoScalerValidationError is the validation error returned by PodAutoScaler.Validate if the designated constraints aren't met.

func (PodAutoScalerValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (PodAutoScalerValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (PodAutoScalerValidationError) ErrorName added in v1.3.0

func (e PodAutoScalerValidationError) ErrorName() string

ErrorName returns error name.

func (PodAutoScalerValidationError) Field added in v1.3.0

Field function returns field value.

func (PodAutoScalerValidationError) Key added in v1.3.0

Key function returns key value.

func (PodAutoScalerValidationError) Reason added in v1.3.0

Reason function returns reason value.

type PodAutoScaler_Outs added in v1.3.0

type PodAutoScaler_Outs struct {
	ActualReplicas     *OutPort `protobuf:"bytes,1,opt,name=actual_replicas,json=actualReplicas,proto3" json:"actual_replicas,omitempty"`
	ConfiguredReplicas *OutPort `protobuf:"bytes,2,opt,name=configured_replicas,json=configuredReplicas,proto3" json:"configured_replicas,omitempty"`
	DesiredReplicas    *OutPort `protobuf:"bytes,3,opt,name=desired_replicas,json=desiredReplicas,proto3" json:"desired_replicas,omitempty"`
	// contains filtered or unexported fields
}

Outputs for _PodAutoScaler_.

func (*PodAutoScaler_Outs) DeepCopy added in v1.3.0

func (in *PodAutoScaler_Outs) DeepCopy() *PodAutoScaler_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAutoScaler_Outs. Required by controller-gen.

func (*PodAutoScaler_Outs) DeepCopyInterface added in v1.3.0

func (in *PodAutoScaler_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PodAutoScaler_Outs. Required by controller-gen.

func (*PodAutoScaler_Outs) DeepCopyInto added in v1.3.0

func (in *PodAutoScaler_Outs) DeepCopyInto(out *PodAutoScaler_Outs)

DeepCopyInto supports using PodAutoScaler_Outs within kubernetes types, where deepcopy-gen is used.

func (*PodAutoScaler_Outs) Descriptor deprecated added in v1.3.0

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

Deprecated: Use PodAutoScaler_Outs.ProtoReflect.Descriptor instead.

func (*PodAutoScaler_Outs) GetActualReplicas added in v1.3.0

func (x *PodAutoScaler_Outs) GetActualReplicas() *OutPort

func (*PodAutoScaler_Outs) GetConfiguredReplicas added in v1.3.0

func (x *PodAutoScaler_Outs) GetConfiguredReplicas() *OutPort

func (*PodAutoScaler_Outs) GetDesiredReplicas added in v1.3.0

func (x *PodAutoScaler_Outs) GetDesiredReplicas() *OutPort

func (*PodAutoScaler_Outs) MarshalJSON added in v1.3.0

func (msg *PodAutoScaler_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PodAutoScaler_Outs) ProtoMessage added in v1.3.0

func (*PodAutoScaler_Outs) ProtoMessage()

func (*PodAutoScaler_Outs) ProtoReflect added in v1.3.0

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

func (*PodAutoScaler_Outs) Reset added in v1.3.0

func (x *PodAutoScaler_Outs) Reset()

func (*PodAutoScaler_Outs) String added in v1.3.0

func (x *PodAutoScaler_Outs) String() string

func (*PodAutoScaler_Outs) UnmarshalJSON added in v1.3.0

func (msg *PodAutoScaler_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PodAutoScaler_Outs) Validate added in v1.3.0

func (m *PodAutoScaler_Outs) Validate() error

Validate checks the field values on PodAutoScaler_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PodAutoScaler_Outs) ValidateAll added in v1.3.0

func (m *PodAutoScaler_Outs) ValidateAll() error

ValidateAll checks the field values on PodAutoScaler_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PodAutoScaler_OutsMultiError, or nil if none found.

type PodAutoScaler_OutsMultiError added in v1.3.0

type PodAutoScaler_OutsMultiError []error

PodAutoScaler_OutsMultiError is an error wrapping multiple validation errors returned by PodAutoScaler_Outs.ValidateAll() if the designated constraints aren't met.

func (PodAutoScaler_OutsMultiError) AllErrors added in v1.3.0

func (m PodAutoScaler_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PodAutoScaler_OutsMultiError) Error added in v1.3.0

Error returns a concatenation of all the error messages it wraps.

type PodAutoScaler_OutsValidationError added in v1.3.0

type PodAutoScaler_OutsValidationError struct {
	// contains filtered or unexported fields
}

PodAutoScaler_OutsValidationError is the validation error returned by PodAutoScaler_Outs.Validate if the designated constraints aren't met.

func (PodAutoScaler_OutsValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (PodAutoScaler_OutsValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (PodAutoScaler_OutsValidationError) ErrorName added in v1.3.0

ErrorName returns error name.

func (PodAutoScaler_OutsValidationError) Field added in v1.3.0

Field function returns field value.

func (PodAutoScaler_OutsValidationError) Key added in v1.3.0

Key function returns key value.

func (PodAutoScaler_OutsValidationError) Reason added in v1.3.0

Reason function returns reason value.

type PodScaler added in v0.24.0

type PodScaler struct {

	// The Kubernetes object on which horizontal scaling is applied.
	KubernetesObjectSelector *KubernetesObjectSelector `` // @gotags: validate:"required"
	/* 155-byte string literal not displayed */
	// Reports actual and configured number of replicas.
	ScaleReporter *PodScaler_ScaleReporter `protobuf:"bytes,2,opt,name=scale_reporter,json=scaleReporter,proto3" json:"scale_reporter,omitempty"`
	// Actuates scaling of pods based on a signal.
	ScaleActuator *PodScaler_ScaleActuator `protobuf:"bytes,3,opt,name=scale_actuator,json=scaleActuator,proto3" json:"scale_actuator,omitempty"`
	// contains filtered or unexported fields
}

Component for scaling pods based on a signal.

func (*PodScaler) DeepCopy added in v0.24.0

func (in *PodScaler) DeepCopy() *PodScaler

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodScaler. Required by controller-gen.

func (*PodScaler) DeepCopyInterface added in v0.24.0

func (in *PodScaler) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PodScaler. Required by controller-gen.

func (*PodScaler) DeepCopyInto added in v0.24.0

func (in *PodScaler) DeepCopyInto(out *PodScaler)

DeepCopyInto supports using PodScaler within kubernetes types, where deepcopy-gen is used.

func (*PodScaler) Descriptor deprecated added in v0.24.0

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

Deprecated: Use PodScaler.ProtoReflect.Descriptor instead.

func (*PodScaler) GetKubernetesObjectSelector added in v0.24.0

func (x *PodScaler) GetKubernetesObjectSelector() *KubernetesObjectSelector

func (*PodScaler) GetScaleActuator added in v0.24.0

func (x *PodScaler) GetScaleActuator() *PodScaler_ScaleActuator

func (*PodScaler) GetScaleReporter added in v0.24.0

func (x *PodScaler) GetScaleReporter() *PodScaler_ScaleReporter

func (*PodScaler) MarshalJSON added in v0.24.0

func (msg *PodScaler) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PodScaler) ProtoMessage added in v0.24.0

func (*PodScaler) ProtoMessage()

func (*PodScaler) ProtoReflect added in v0.24.0

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

func (*PodScaler) Reset added in v0.24.0

func (x *PodScaler) Reset()

func (*PodScaler) String added in v0.24.0

func (x *PodScaler) String() string

func (*PodScaler) UnmarshalJSON added in v0.24.0

func (msg *PodScaler) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PodScaler) Validate added in v1.2.0

func (m *PodScaler) Validate() error

Validate checks the field values on PodScaler with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PodScaler) ValidateAll added in v1.2.0

func (m *PodScaler) ValidateAll() error

ValidateAll checks the field values on PodScaler with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PodScalerMultiError, or nil if none found.

type PodScalerMultiError added in v1.2.0

type PodScalerMultiError []error

PodScalerMultiError is an error wrapping multiple validation errors returned by PodScaler.ValidateAll() if the designated constraints aren't met.

func (PodScalerMultiError) AllErrors added in v1.2.0

func (m PodScalerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PodScalerMultiError) Error added in v1.2.0

func (m PodScalerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PodScalerValidationError added in v1.2.0

type PodScalerValidationError struct {
	// contains filtered or unexported fields
}

PodScalerValidationError is the validation error returned by PodScaler.Validate if the designated constraints aren't met.

func (PodScalerValidationError) Cause added in v1.2.0

func (e PodScalerValidationError) Cause() error

Cause function returns cause value.

func (PodScalerValidationError) Error added in v1.2.0

func (e PodScalerValidationError) Error() string

Error satisfies the builtin error interface

func (PodScalerValidationError) ErrorName added in v1.2.0

func (e PodScalerValidationError) ErrorName() string

ErrorName returns error name.

func (PodScalerValidationError) Field added in v1.2.0

func (e PodScalerValidationError) Field() string

Field function returns field value.

func (PodScalerValidationError) Key added in v1.2.0

Key function returns key value.

func (PodScalerValidationError) Reason added in v1.2.0

func (e PodScalerValidationError) Reason() string

Reason function returns reason value.

type PodScaler_ScaleActuator added in v0.24.0

type PodScaler_ScaleActuator struct {

	// Input ports for the PodScaler component.
	InPorts *PodScaler_ScaleActuator_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Configuration key for DynamicConfig
	DynamicConfigKey string `protobuf:"bytes,2,opt,name=dynamic_config_key,json=dynamicConfigKey,proto3" json:"dynamic_config_key,omitempty"`
	// Default configuration.
	DefaultConfig *PodScaler_ScaleActuator_DynamicConfig `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// contains filtered or unexported fields
}

Actuates scaling of pods based on a signal.

func (*PodScaler_ScaleActuator) DeepCopy added in v0.24.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodScaler_ScaleActuator. Required by controller-gen.

func (*PodScaler_ScaleActuator) DeepCopyInterface added in v0.24.0

func (in *PodScaler_ScaleActuator) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PodScaler_ScaleActuator. Required by controller-gen.

func (*PodScaler_ScaleActuator) DeepCopyInto added in v0.24.0

func (in *PodScaler_ScaleActuator) DeepCopyInto(out *PodScaler_ScaleActuator)

DeepCopyInto supports using PodScaler_ScaleActuator within kubernetes types, where deepcopy-gen is used.

func (*PodScaler_ScaleActuator) Descriptor deprecated added in v0.24.0

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

Deprecated: Use PodScaler_ScaleActuator.ProtoReflect.Descriptor instead.

func (*PodScaler_ScaleActuator) GetDefaultConfig added in v0.24.0

func (*PodScaler_ScaleActuator) GetDynamicConfigKey added in v0.24.0

func (x *PodScaler_ScaleActuator) GetDynamicConfigKey() string

func (*PodScaler_ScaleActuator) GetInPorts added in v0.24.0

func (*PodScaler_ScaleActuator) MarshalJSON added in v0.24.0

func (msg *PodScaler_ScaleActuator) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PodScaler_ScaleActuator) ProtoMessage added in v0.24.0

func (*PodScaler_ScaleActuator) ProtoMessage()

func (*PodScaler_ScaleActuator) ProtoReflect added in v0.24.0

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

func (*PodScaler_ScaleActuator) Reset added in v0.24.0

func (x *PodScaler_ScaleActuator) Reset()

func (*PodScaler_ScaleActuator) String added in v0.24.0

func (x *PodScaler_ScaleActuator) String() string

func (*PodScaler_ScaleActuator) UnmarshalJSON added in v0.24.0

func (msg *PodScaler_ScaleActuator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PodScaler_ScaleActuator) Validate added in v1.2.0

func (m *PodScaler_ScaleActuator) Validate() error

Validate checks the field values on PodScaler_ScaleActuator with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PodScaler_ScaleActuator) ValidateAll added in v1.2.0

func (m *PodScaler_ScaleActuator) ValidateAll() error

ValidateAll checks the field values on PodScaler_ScaleActuator with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PodScaler_ScaleActuatorMultiError, or nil if none found.

type PodScaler_ScaleActuatorMultiError added in v1.2.0

type PodScaler_ScaleActuatorMultiError []error

PodScaler_ScaleActuatorMultiError is an error wrapping multiple validation errors returned by PodScaler_ScaleActuator.ValidateAll() if the designated constraints aren't met.

func (PodScaler_ScaleActuatorMultiError) AllErrors added in v1.2.0

func (m PodScaler_ScaleActuatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PodScaler_ScaleActuatorMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type PodScaler_ScaleActuatorValidationError added in v1.2.0

type PodScaler_ScaleActuatorValidationError struct {
	// contains filtered or unexported fields
}

PodScaler_ScaleActuatorValidationError is the validation error returned by PodScaler_ScaleActuator.Validate if the designated constraints aren't met.

func (PodScaler_ScaleActuatorValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (PodScaler_ScaleActuatorValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (PodScaler_ScaleActuatorValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (PodScaler_ScaleActuatorValidationError) Field added in v1.2.0

Field function returns field value.

func (PodScaler_ScaleActuatorValidationError) Key added in v1.2.0

Key function returns key value.

func (PodScaler_ScaleActuatorValidationError) Reason added in v1.2.0

Reason function returns reason value.

type PodScaler_ScaleActuator_DynamicConfig added in v0.24.0

type PodScaler_ScaleActuator_DynamicConfig struct {

	// Decides whether to run the pod scaler in dry-run mode. Dry run mode ensures that no scaling is invoked by this pod scaler.
	// Useful for observing the behavior of Scaler without disrupting any real traffic.
	DryRun bool `protobuf:"varint,1,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty" default:"false"` // @gotags: default:"false"
	// contains filtered or unexported fields
}

Dynamic Configuration for ScaleActuator

func (*PodScaler_ScaleActuator_DynamicConfig) DeepCopy added in v0.24.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodScaler_ScaleActuator_DynamicConfig. Required by controller-gen.

func (*PodScaler_ScaleActuator_DynamicConfig) DeepCopyInterface added in v0.24.0

func (in *PodScaler_ScaleActuator_DynamicConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PodScaler_ScaleActuator_DynamicConfig. Required by controller-gen.

func (*PodScaler_ScaleActuator_DynamicConfig) DeepCopyInto added in v0.24.0

DeepCopyInto supports using PodScaler_ScaleActuator_DynamicConfig within kubernetes types, where deepcopy-gen is used.

func (*PodScaler_ScaleActuator_DynamicConfig) Descriptor deprecated added in v0.24.0

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

Deprecated: Use PodScaler_ScaleActuator_DynamicConfig.ProtoReflect.Descriptor instead.

func (*PodScaler_ScaleActuator_DynamicConfig) GetDryRun added in v0.24.0

func (*PodScaler_ScaleActuator_DynamicConfig) MarshalJSON added in v0.24.0

func (msg *PodScaler_ScaleActuator_DynamicConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PodScaler_ScaleActuator_DynamicConfig) ProtoMessage added in v0.24.0

func (*PodScaler_ScaleActuator_DynamicConfig) ProtoMessage()

func (*PodScaler_ScaleActuator_DynamicConfig) ProtoReflect added in v0.24.0

func (*PodScaler_ScaleActuator_DynamicConfig) Reset added in v0.24.0

func (*PodScaler_ScaleActuator_DynamicConfig) String added in v0.24.0

func (*PodScaler_ScaleActuator_DynamicConfig) UnmarshalJSON added in v0.24.0

func (msg *PodScaler_ScaleActuator_DynamicConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PodScaler_ScaleActuator_DynamicConfig) Validate added in v1.2.0

Validate checks the field values on PodScaler_ScaleActuator_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PodScaler_ScaleActuator_DynamicConfig) ValidateAll added in v1.2.0

ValidateAll checks the field values on PodScaler_ScaleActuator_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PodScaler_ScaleActuator_DynamicConfigMultiError, or nil if none found.

type PodScaler_ScaleActuator_DynamicConfigMultiError added in v1.2.0

type PodScaler_ScaleActuator_DynamicConfigMultiError []error

PodScaler_ScaleActuator_DynamicConfigMultiError is an error wrapping multiple validation errors returned by PodScaler_ScaleActuator_DynamicConfig.ValidateAll() if the designated constraints aren't met.

func (PodScaler_ScaleActuator_DynamicConfigMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (PodScaler_ScaleActuator_DynamicConfigMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type PodScaler_ScaleActuator_DynamicConfigValidationError added in v1.2.0

type PodScaler_ScaleActuator_DynamicConfigValidationError struct {
	// contains filtered or unexported fields
}

PodScaler_ScaleActuator_DynamicConfigValidationError is the validation error returned by PodScaler_ScaleActuator_DynamicConfig.Validate if the designated constraints aren't met.

func (PodScaler_ScaleActuator_DynamicConfigValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (PodScaler_ScaleActuator_DynamicConfigValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (PodScaler_ScaleActuator_DynamicConfigValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (PodScaler_ScaleActuator_DynamicConfigValidationError) Field added in v1.2.0

Field function returns field value.

func (PodScaler_ScaleActuator_DynamicConfigValidationError) Key added in v1.2.0

Key function returns key value.

func (PodScaler_ScaleActuator_DynamicConfigValidationError) Reason added in v1.2.0

Reason function returns reason value.

type PodScaler_ScaleActuator_Ins added in v0.24.0

type PodScaler_ScaleActuator_Ins struct {
	DesiredReplicas *InPort `protobuf:"bytes,1,opt,name=desired_replicas,json=desiredReplicas,proto3" json:"desired_replicas,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the PodScaler component.

func (*PodScaler_ScaleActuator_Ins) DeepCopy added in v0.24.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodScaler_ScaleActuator_Ins. Required by controller-gen.

func (*PodScaler_ScaleActuator_Ins) DeepCopyInterface added in v0.24.0

func (in *PodScaler_ScaleActuator_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PodScaler_ScaleActuator_Ins. Required by controller-gen.

func (*PodScaler_ScaleActuator_Ins) DeepCopyInto added in v0.24.0

DeepCopyInto supports using PodScaler_ScaleActuator_Ins within kubernetes types, where deepcopy-gen is used.

func (*PodScaler_ScaleActuator_Ins) Descriptor deprecated added in v0.24.0

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

Deprecated: Use PodScaler_ScaleActuator_Ins.ProtoReflect.Descriptor instead.

func (*PodScaler_ScaleActuator_Ins) GetDesiredReplicas added in v0.24.0

func (x *PodScaler_ScaleActuator_Ins) GetDesiredReplicas() *InPort

func (*PodScaler_ScaleActuator_Ins) MarshalJSON added in v0.24.0

func (msg *PodScaler_ScaleActuator_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PodScaler_ScaleActuator_Ins) ProtoMessage added in v0.24.0

func (*PodScaler_ScaleActuator_Ins) ProtoMessage()

func (*PodScaler_ScaleActuator_Ins) ProtoReflect added in v0.24.0

func (*PodScaler_ScaleActuator_Ins) Reset added in v0.24.0

func (x *PodScaler_ScaleActuator_Ins) Reset()

func (*PodScaler_ScaleActuator_Ins) String added in v0.24.0

func (x *PodScaler_ScaleActuator_Ins) String() string

func (*PodScaler_ScaleActuator_Ins) UnmarshalJSON added in v0.24.0

func (msg *PodScaler_ScaleActuator_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PodScaler_ScaleActuator_Ins) Validate added in v1.2.0

func (m *PodScaler_ScaleActuator_Ins) Validate() error

Validate checks the field values on PodScaler_ScaleActuator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PodScaler_ScaleActuator_Ins) ValidateAll added in v1.2.0

func (m *PodScaler_ScaleActuator_Ins) ValidateAll() error

ValidateAll checks the field values on PodScaler_ScaleActuator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PodScaler_ScaleActuator_InsMultiError, or nil if none found.

type PodScaler_ScaleActuator_InsMultiError added in v1.2.0

type PodScaler_ScaleActuator_InsMultiError []error

PodScaler_ScaleActuator_InsMultiError is an error wrapping multiple validation errors returned by PodScaler_ScaleActuator_Ins.ValidateAll() if the designated constraints aren't met.

func (PodScaler_ScaleActuator_InsMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (PodScaler_ScaleActuator_InsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type PodScaler_ScaleActuator_InsValidationError added in v1.2.0

type PodScaler_ScaleActuator_InsValidationError struct {
	// contains filtered or unexported fields
}

PodScaler_ScaleActuator_InsValidationError is the validation error returned by PodScaler_ScaleActuator_Ins.Validate if the designated constraints aren't met.

func (PodScaler_ScaleActuator_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (PodScaler_ScaleActuator_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (PodScaler_ScaleActuator_InsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (PodScaler_ScaleActuator_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (PodScaler_ScaleActuator_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (PodScaler_ScaleActuator_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type PodScaler_ScaleReporter added in v0.24.0

type PodScaler_ScaleReporter struct {

	// Output ports for the PodScaler component.
	OutPorts *PodScaler_ScaleReporter_Outs `protobuf:"bytes,1,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

Reports actual and configured number of replicas.

func (*PodScaler_ScaleReporter) DeepCopy added in v0.24.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodScaler_ScaleReporter. Required by controller-gen.

func (*PodScaler_ScaleReporter) DeepCopyInterface added in v0.24.0

func (in *PodScaler_ScaleReporter) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PodScaler_ScaleReporter. Required by controller-gen.

func (*PodScaler_ScaleReporter) DeepCopyInto added in v0.24.0

func (in *PodScaler_ScaleReporter) DeepCopyInto(out *PodScaler_ScaleReporter)

DeepCopyInto supports using PodScaler_ScaleReporter within kubernetes types, where deepcopy-gen is used.

func (*PodScaler_ScaleReporter) Descriptor deprecated added in v0.24.0

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

Deprecated: Use PodScaler_ScaleReporter.ProtoReflect.Descriptor instead.

func (*PodScaler_ScaleReporter) GetOutPorts added in v0.24.0

func (*PodScaler_ScaleReporter) MarshalJSON added in v0.24.0

func (msg *PodScaler_ScaleReporter) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PodScaler_ScaleReporter) ProtoMessage added in v0.24.0

func (*PodScaler_ScaleReporter) ProtoMessage()

func (*PodScaler_ScaleReporter) ProtoReflect added in v0.24.0

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

func (*PodScaler_ScaleReporter) Reset added in v0.24.0

func (x *PodScaler_ScaleReporter) Reset()

func (*PodScaler_ScaleReporter) String added in v0.24.0

func (x *PodScaler_ScaleReporter) String() string

func (*PodScaler_ScaleReporter) UnmarshalJSON added in v0.24.0

func (msg *PodScaler_ScaleReporter) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PodScaler_ScaleReporter) Validate added in v1.2.0

func (m *PodScaler_ScaleReporter) Validate() error

Validate checks the field values on PodScaler_ScaleReporter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PodScaler_ScaleReporter) ValidateAll added in v1.2.0

func (m *PodScaler_ScaleReporter) ValidateAll() error

ValidateAll checks the field values on PodScaler_ScaleReporter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PodScaler_ScaleReporterMultiError, or nil if none found.

type PodScaler_ScaleReporterMultiError added in v1.2.0

type PodScaler_ScaleReporterMultiError []error

PodScaler_ScaleReporterMultiError is an error wrapping multiple validation errors returned by PodScaler_ScaleReporter.ValidateAll() if the designated constraints aren't met.

func (PodScaler_ScaleReporterMultiError) AllErrors added in v1.2.0

func (m PodScaler_ScaleReporterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PodScaler_ScaleReporterMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type PodScaler_ScaleReporterValidationError added in v1.2.0

type PodScaler_ScaleReporterValidationError struct {
	// contains filtered or unexported fields
}

PodScaler_ScaleReporterValidationError is the validation error returned by PodScaler_ScaleReporter.Validate if the designated constraints aren't met.

func (PodScaler_ScaleReporterValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (PodScaler_ScaleReporterValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (PodScaler_ScaleReporterValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (PodScaler_ScaleReporterValidationError) Field added in v1.2.0

Field function returns field value.

func (PodScaler_ScaleReporterValidationError) Key added in v1.2.0

Key function returns key value.

func (PodScaler_ScaleReporterValidationError) Reason added in v1.2.0

Reason function returns reason value.

type PodScaler_ScaleReporter_Outs added in v0.24.0

type PodScaler_ScaleReporter_Outs struct {

	// The number of replicas that are currently running.
	ActualReplicas *OutPort `protobuf:"bytes,1,opt,name=actual_replicas,json=actualReplicas,proto3" json:"actual_replicas,omitempty"`
	// The number of replicas that are desired.
	ConfiguredReplicas *OutPort `protobuf:"bytes,2,opt,name=configured_replicas,json=configuredReplicas,proto3" json:"configured_replicas,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the PodScaler component.

func (*PodScaler_ScaleReporter_Outs) DeepCopy added in v0.24.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodScaler_ScaleReporter_Outs. Required by controller-gen.

func (*PodScaler_ScaleReporter_Outs) DeepCopyInterface added in v0.24.0

func (in *PodScaler_ScaleReporter_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PodScaler_ScaleReporter_Outs. Required by controller-gen.

func (*PodScaler_ScaleReporter_Outs) DeepCopyInto added in v0.24.0

DeepCopyInto supports using PodScaler_ScaleReporter_Outs within kubernetes types, where deepcopy-gen is used.

func (*PodScaler_ScaleReporter_Outs) Descriptor deprecated added in v0.24.0

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

Deprecated: Use PodScaler_ScaleReporter_Outs.ProtoReflect.Descriptor instead.

func (*PodScaler_ScaleReporter_Outs) GetActualReplicas added in v0.24.0

func (x *PodScaler_ScaleReporter_Outs) GetActualReplicas() *OutPort

func (*PodScaler_ScaleReporter_Outs) GetConfiguredReplicas added in v0.24.0

func (x *PodScaler_ScaleReporter_Outs) GetConfiguredReplicas() *OutPort

func (*PodScaler_ScaleReporter_Outs) MarshalJSON added in v0.24.0

func (msg *PodScaler_ScaleReporter_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PodScaler_ScaleReporter_Outs) ProtoMessage added in v0.24.0

func (*PodScaler_ScaleReporter_Outs) ProtoMessage()

func (*PodScaler_ScaleReporter_Outs) ProtoReflect added in v0.24.0

func (*PodScaler_ScaleReporter_Outs) Reset added in v0.24.0

func (x *PodScaler_ScaleReporter_Outs) Reset()

func (*PodScaler_ScaleReporter_Outs) String added in v0.24.0

func (*PodScaler_ScaleReporter_Outs) UnmarshalJSON added in v0.24.0

func (msg *PodScaler_ScaleReporter_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PodScaler_ScaleReporter_Outs) Validate added in v1.2.0

func (m *PodScaler_ScaleReporter_Outs) Validate() error

Validate checks the field values on PodScaler_ScaleReporter_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PodScaler_ScaleReporter_Outs) ValidateAll added in v1.2.0

func (m *PodScaler_ScaleReporter_Outs) ValidateAll() error

ValidateAll checks the field values on PodScaler_ScaleReporter_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PodScaler_ScaleReporter_OutsMultiError, or nil if none found.

type PodScaler_ScaleReporter_OutsMultiError added in v1.2.0

type PodScaler_ScaleReporter_OutsMultiError []error

PodScaler_ScaleReporter_OutsMultiError is an error wrapping multiple validation errors returned by PodScaler_ScaleReporter_Outs.ValidateAll() if the designated constraints aren't met.

func (PodScaler_ScaleReporter_OutsMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (PodScaler_ScaleReporter_OutsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type PodScaler_ScaleReporter_OutsValidationError added in v1.2.0

type PodScaler_ScaleReporter_OutsValidationError struct {
	// contains filtered or unexported fields
}

PodScaler_ScaleReporter_OutsValidationError is the validation error returned by PodScaler_ScaleReporter_Outs.Validate if the designated constraints aren't met.

func (PodScaler_ScaleReporter_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (PodScaler_ScaleReporter_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (PodScaler_ScaleReporter_OutsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (PodScaler_ScaleReporter_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (PodScaler_ScaleReporter_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (PodScaler_ScaleReporter_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Policies added in v0.5.0

type Policies struct {
	Policies map[string]*Policy `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

Policies is a collection of Policies.

func (*Policies) DeepCopy added in v0.5.0

func (in *Policies) DeepCopy() *Policies

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policies. Required by controller-gen.

func (*Policies) DeepCopyInterface added in v0.5.0

func (in *Policies) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Policies. Required by controller-gen.

func (*Policies) DeepCopyInto added in v0.5.0

func (in *Policies) DeepCopyInto(out *Policies)

DeepCopyInto supports using Policies within kubernetes types, where deepcopy-gen is used.

func (*Policies) Descriptor deprecated added in v0.5.0

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

Deprecated: Use Policies.ProtoReflect.Descriptor instead.

func (*Policies) GetPolicies added in v0.5.0

func (x *Policies) GetPolicies() map[string]*Policy

func (*Policies) MarshalJSON added in v0.5.0

func (msg *Policies) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Policies) ProtoMessage added in v0.5.0

func (*Policies) ProtoMessage()

func (*Policies) ProtoReflect added in v0.5.0

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

func (*Policies) Reset added in v0.5.0

func (x *Policies) Reset()

func (*Policies) String added in v0.5.0

func (x *Policies) String() string

func (*Policies) UnmarshalJSON added in v0.5.0

func (msg *Policies) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Policies) Validate added in v1.2.0

func (m *Policies) Validate() error

Validate checks the field values on Policies with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Policies) ValidateAll added in v1.2.0

func (m *Policies) ValidateAll() error

ValidateAll checks the field values on Policies with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PoliciesMultiError, or nil if none found.

type PoliciesMultiError added in v1.2.0

type PoliciesMultiError []error

PoliciesMultiError is an error wrapping multiple validation errors returned by Policies.ValidateAll() if the designated constraints aren't met.

func (PoliciesMultiError) AllErrors added in v1.2.0

func (m PoliciesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PoliciesMultiError) Error added in v1.2.0

func (m PoliciesMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PoliciesValidationError added in v1.2.0

type PoliciesValidationError struct {
	// contains filtered or unexported fields
}

PoliciesValidationError is the validation error returned by Policies.Validate if the designated constraints aren't met.

func (PoliciesValidationError) Cause added in v1.2.0

func (e PoliciesValidationError) Cause() error

Cause function returns cause value.

func (PoliciesValidationError) Error added in v1.2.0

func (e PoliciesValidationError) Error() string

Error satisfies the builtin error interface

func (PoliciesValidationError) ErrorName added in v1.2.0

func (e PoliciesValidationError) ErrorName() string

ErrorName returns error name.

func (PoliciesValidationError) Field added in v1.2.0

func (e PoliciesValidationError) Field() string

Field function returns field value.

func (PoliciesValidationError) Key added in v1.2.0

func (e PoliciesValidationError) Key() bool

Key function returns key value.

func (PoliciesValidationError) Reason added in v1.2.0

func (e PoliciesValidationError) Reason() string

Reason function returns reason value.

type Policy

type Policy struct {

	// Defines the control-loop logic of the policy.
	Circuit *Circuit `protobuf:"bytes,1,opt,name=circuit,proto3" json:"circuit,omitempty"`
	// Resources (such as Flux Meters, Classifiers) to setup.
	Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

Policy expresses observability-driven control logic.

:::info

See also [Policy overview](/concepts/policy/policy.md).

:::

Policy specification contains a circuit that defines the controller logic and resources that need to be setup.

func (*Policy) DeepCopy added in v0.1.2

func (in *Policy) DeepCopy() *Policy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. Required by controller-gen.

func (*Policy) DeepCopyInterface added in v0.1.2

func (in *Policy) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Policy. Required by controller-gen.

func (*Policy) DeepCopyInto added in v0.1.2

func (in *Policy) DeepCopyInto(out *Policy)

DeepCopyInto supports using Policy within kubernetes types, where deepcopy-gen is used.

func (*Policy) Descriptor deprecated

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetCircuit

func (x *Policy) GetCircuit() *Circuit

func (*Policy) GetResources

func (x *Policy) GetResources() *Resources

func (*Policy) MarshalJSON

func (msg *Policy) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

func (*Policy) UnmarshalJSON

func (msg *Policy) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Policy) Validate added in v1.2.0

func (m *Policy) Validate() error

Validate checks the field values on Policy with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Policy) ValidateAll added in v1.2.0

func (m *Policy) ValidateAll() error

ValidateAll checks the field values on Policy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PolicyMultiError, or nil if none found.

type PolicyMultiError added in v1.2.0

type PolicyMultiError []error

PolicyMultiError is an error wrapping multiple validation errors returned by Policy.ValidateAll() if the designated constraints aren't met.

func (PolicyMultiError) AllErrors added in v1.2.0

func (m PolicyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PolicyMultiError) Error added in v1.2.0

func (m PolicyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PolicyServiceClient

type PolicyServiceClient interface {
	// GetPolicy returns a policy with the specified name.
	GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*GetPolicyResponse, error)
	// GetPolicies returns all policies.
	GetPolicies(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetPoliciesResponse, error)
	// UpsertPolicy creates/updates policy based on the provided request.
	UpsertPolicy(ctx context.Context, in *UpsertPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// PostDynamicConfig creates/updates dynamic config based on the provided request.
	PostDynamicConfig(ctx context.Context, in *PostDynamicConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeletePolicy removes a policy with the specified name.
	DeletePolicy(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

PolicyServiceClient is the client API for PolicyService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type PolicyServiceServer

type PolicyServiceServer interface {
	// GetPolicy returns a policy with the specified name.
	GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error)
	// GetPolicies returns all policies.
	GetPolicies(context.Context, *emptypb.Empty) (*GetPoliciesResponse, error)
	// UpsertPolicy creates/updates policy based on the provided request.
	UpsertPolicy(context.Context, *UpsertPolicyRequest) (*emptypb.Empty, error)
	// PostDynamicConfig creates/updates dynamic config based on the provided request.
	PostDynamicConfig(context.Context, *PostDynamicConfigRequest) (*emptypb.Empty, error)
	// DeletePolicy removes a policy with the specified name.
	DeletePolicy(context.Context, *DeletePolicyRequest) (*emptypb.Empty, error)
}

PolicyServiceServer is the server API for PolicyService service. All implementations should embed UnimplementedPolicyServiceServer for forward compatibility

type PolicyValidationError added in v1.2.0

type PolicyValidationError struct {
	// contains filtered or unexported fields
}

PolicyValidationError is the validation error returned by Policy.Validate if the designated constraints aren't met.

func (PolicyValidationError) Cause added in v1.2.0

func (e PolicyValidationError) Cause() error

Cause function returns cause value.

func (PolicyValidationError) Error added in v1.2.0

func (e PolicyValidationError) Error() string

Error satisfies the builtin error interface

func (PolicyValidationError) ErrorName added in v1.2.0

func (e PolicyValidationError) ErrorName() string

ErrorName returns error name.

func (PolicyValidationError) Field added in v1.2.0

func (e PolicyValidationError) Field() string

Field function returns field value.

func (PolicyValidationError) Key added in v1.2.0

func (e PolicyValidationError) Key() bool

Key function returns key value.

func (PolicyValidationError) Reason added in v1.2.0

func (e PolicyValidationError) Reason() string

Reason function returns reason value.

type PostDynamicConfigRequest added in v1.5.0

type PostDynamicConfigRequest struct {
	PolicyName    string           `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty" validate:"required"`          // @gotags: validate:"required"
	DynamicConfig *structpb.Struct `protobuf:"bytes,2,opt,name=dynamic_config,json=dynamicConfig,proto3" json:"dynamic_config,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

PostDynamicConfigRequest is a request to patch dynamic config for Policy.

func (*PostDynamicConfigRequest) DeepCopy added in v1.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostDynamicConfigRequest. Required by controller-gen.

func (*PostDynamicConfigRequest) DeepCopyInterface added in v1.5.0

func (in *PostDynamicConfigRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PostDynamicConfigRequest. Required by controller-gen.

func (*PostDynamicConfigRequest) DeepCopyInto added in v1.5.0

func (in *PostDynamicConfigRequest) DeepCopyInto(out *PostDynamicConfigRequest)

DeepCopyInto supports using PostDynamicConfigRequest within kubernetes types, where deepcopy-gen is used.

func (*PostDynamicConfigRequest) Descriptor deprecated added in v1.5.0

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

Deprecated: Use PostDynamicConfigRequest.ProtoReflect.Descriptor instead.

func (*PostDynamicConfigRequest) GetDynamicConfig added in v1.5.0

func (x *PostDynamicConfigRequest) GetDynamicConfig() *structpb.Struct

func (*PostDynamicConfigRequest) GetPolicyName added in v1.5.0

func (x *PostDynamicConfigRequest) GetPolicyName() string

func (*PostDynamicConfigRequest) MarshalJSON added in v1.5.0

func (msg *PostDynamicConfigRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PostDynamicConfigRequest) ProtoMessage added in v1.5.0

func (*PostDynamicConfigRequest) ProtoMessage()

func (*PostDynamicConfigRequest) ProtoReflect added in v1.5.0

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

func (*PostDynamicConfigRequest) Reset added in v1.5.0

func (x *PostDynamicConfigRequest) Reset()

func (*PostDynamicConfigRequest) String added in v1.5.0

func (x *PostDynamicConfigRequest) String() string

func (*PostDynamicConfigRequest) UnmarshalJSON added in v1.5.0

func (msg *PostDynamicConfigRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PostDynamicConfigRequest) Validate added in v1.5.0

func (m *PostDynamicConfigRequest) Validate() error

Validate checks the field values on PostDynamicConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PostDynamicConfigRequest) ValidateAll added in v1.5.0

func (m *PostDynamicConfigRequest) ValidateAll() error

ValidateAll checks the field values on PostDynamicConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PostDynamicConfigRequestMultiError, or nil if none found.

type PostDynamicConfigRequestMultiError added in v1.5.0

type PostDynamicConfigRequestMultiError []error

PostDynamicConfigRequestMultiError is an error wrapping multiple validation errors returned by PostDynamicConfigRequest.ValidateAll() if the designated constraints aren't met.

func (PostDynamicConfigRequestMultiError) AllErrors added in v1.5.0

func (m PostDynamicConfigRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PostDynamicConfigRequestMultiError) Error added in v1.5.0

Error returns a concatenation of all the error messages it wraps.

type PostDynamicConfigRequestValidationError added in v1.5.0

type PostDynamicConfigRequestValidationError struct {
	// contains filtered or unexported fields
}

PostDynamicConfigRequestValidationError is the validation error returned by PostDynamicConfigRequest.Validate if the designated constraints aren't met.

func (PostDynamicConfigRequestValidationError) Cause added in v1.5.0

Cause function returns cause value.

func (PostDynamicConfigRequestValidationError) Error added in v1.5.0

Error satisfies the builtin error interface

func (PostDynamicConfigRequestValidationError) ErrorName added in v1.5.0

ErrorName returns error name.

func (PostDynamicConfigRequestValidationError) Field added in v1.5.0

Field function returns field value.

func (PostDynamicConfigRequestValidationError) Key added in v1.5.0

Key function returns key value.

func (PostDynamicConfigRequestValidationError) Reason added in v1.5.0

Reason function returns reason value.

type PromQL

type PromQL struct {

	// Output ports for the PromQL component.
	OutPorts *PromQL_Outs `protobuf:"bytes,1,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Describes the [PromQL](https://prometheus.io/docs/prometheus/latest/querying/basics/) query to be run.
	//
	// :::note
	//
	// The query must return a single value either as a scalar or as a vector with a single element.
	//
	// :::
	//
	// :::info Usage with Flux Meter
	//
	// [Flux Meter](/concepts/flow-control/resources/flux-meter.md) metrics can be queries using PromQL. Flux Meter defines histogram type of metrics in Prometheus.
	// Therefore, one can refer to `flux_meter_sum`, `flux_meter_count` and `flux_meter_bucket`.
	// The particular Flux Meter can be identified with the `flux_meter_name` label.
	// There are additional labels available on a Flux Meter such as `valid`, `flow_status`, `http_status_code` and `decision_type`.
	//
	// :::
	//
	// :::info Usage with OpenTelemetry Metrics
	//
	// Aperture supports OpenTelemetry metrics. See [reference](/get-started/integrations/metrics/metrics.md) for more details.
	//
	// :::
	QueryString string `protobuf:"bytes,2,opt,name=query_string,json=queryString,proto3" json:"query_string,omitempty"`
	// Describes the interval between successive evaluations of the Prometheus query.
	EvaluationInterval *durationpb.Duration `` // @gotags: default:"10s"
	/* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Component that runs a Prometheus query periodically and returns the result as an output signal

func (*PromQL) DeepCopy added in v0.1.2

func (in *PromQL) DeepCopy() *PromQL

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromQL. Required by controller-gen.

func (*PromQL) DeepCopyInterface added in v0.1.2

func (in *PromQL) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PromQL. Required by controller-gen.

func (*PromQL) DeepCopyInto added in v0.1.2

func (in *PromQL) DeepCopyInto(out *PromQL)

DeepCopyInto supports using PromQL within kubernetes types, where deepcopy-gen is used.

func (*PromQL) Descriptor deprecated

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

Deprecated: Use PromQL.ProtoReflect.Descriptor instead.

func (*PromQL) GetEvaluationInterval

func (x *PromQL) GetEvaluationInterval() *durationpb.Duration

func (*PromQL) GetOutPorts

func (x *PromQL) GetOutPorts() *PromQL_Outs

func (*PromQL) GetQueryString

func (x *PromQL) GetQueryString() string

func (*PromQL) MarshalJSON

func (msg *PromQL) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PromQL) ProtoMessage

func (*PromQL) ProtoMessage()

func (*PromQL) ProtoReflect

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

func (*PromQL) Reset

func (x *PromQL) Reset()

func (*PromQL) String

func (x *PromQL) String() string

func (*PromQL) UnmarshalJSON

func (msg *PromQL) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PromQL) Validate added in v1.2.0

func (m *PromQL) Validate() error

Validate checks the field values on PromQL with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PromQL) ValidateAll added in v1.2.0

func (m *PromQL) ValidateAll() error

ValidateAll checks the field values on PromQL with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PromQLMultiError, or nil if none found.

type PromQLMultiError added in v1.2.0

type PromQLMultiError []error

PromQLMultiError is an error wrapping multiple validation errors returned by PromQL.ValidateAll() if the designated constraints aren't met.

func (PromQLMultiError) AllErrors added in v1.2.0

func (m PromQLMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PromQLMultiError) Error added in v1.2.0

func (m PromQLMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PromQLValidationError added in v1.2.0

type PromQLValidationError struct {
	// contains filtered or unexported fields
}

PromQLValidationError is the validation error returned by PromQL.Validate if the designated constraints aren't met.

func (PromQLValidationError) Cause added in v1.2.0

func (e PromQLValidationError) Cause() error

Cause function returns cause value.

func (PromQLValidationError) Error added in v1.2.0

func (e PromQLValidationError) Error() string

Error satisfies the builtin error interface

func (PromQLValidationError) ErrorName added in v1.2.0

func (e PromQLValidationError) ErrorName() string

ErrorName returns error name.

func (PromQLValidationError) Field added in v1.2.0

func (e PromQLValidationError) Field() string

Field function returns field value.

func (PromQLValidationError) Key added in v1.2.0

func (e PromQLValidationError) Key() bool

Key function returns key value.

func (PromQLValidationError) Reason added in v1.2.0

func (e PromQLValidationError) Reason() string

Reason function returns reason value.

type PromQL_Outs

type PromQL_Outs struct {

	// The result of the Prometheus query as an output signal.
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Output for the PromQL component.

func (*PromQL_Outs) DeepCopy added in v0.1.2

func (in *PromQL_Outs) DeepCopy() *PromQL_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromQL_Outs. Required by controller-gen.

func (*PromQL_Outs) DeepCopyInterface added in v0.1.2

func (in *PromQL_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PromQL_Outs. Required by controller-gen.

func (*PromQL_Outs) DeepCopyInto added in v0.1.2

func (in *PromQL_Outs) DeepCopyInto(out *PromQL_Outs)

DeepCopyInto supports using PromQL_Outs within kubernetes types, where deepcopy-gen is used.

func (*PromQL_Outs) Descriptor deprecated

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

Deprecated: Use PromQL_Outs.ProtoReflect.Descriptor instead.

func (*PromQL_Outs) GetOutput

func (x *PromQL_Outs) GetOutput() *OutPort

func (*PromQL_Outs) MarshalJSON

func (msg *PromQL_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PromQL_Outs) ProtoMessage

func (*PromQL_Outs) ProtoMessage()

func (*PromQL_Outs) ProtoReflect

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

func (*PromQL_Outs) Reset

func (x *PromQL_Outs) Reset()

func (*PromQL_Outs) String

func (x *PromQL_Outs) String() string

func (*PromQL_Outs) UnmarshalJSON

func (msg *PromQL_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PromQL_Outs) Validate added in v1.2.0

func (m *PromQL_Outs) Validate() error

Validate checks the field values on PromQL_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PromQL_Outs) ValidateAll added in v1.2.0

func (m *PromQL_Outs) ValidateAll() error

ValidateAll checks the field values on PromQL_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PromQL_OutsMultiError, or nil if none found.

type PromQL_OutsMultiError added in v1.2.0

type PromQL_OutsMultiError []error

PromQL_OutsMultiError is an error wrapping multiple validation errors returned by PromQL_Outs.ValidateAll() if the designated constraints aren't met.

func (PromQL_OutsMultiError) AllErrors added in v1.2.0

func (m PromQL_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PromQL_OutsMultiError) Error added in v1.2.0

func (m PromQL_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PromQL_OutsValidationError added in v1.2.0

type PromQL_OutsValidationError struct {
	// contains filtered or unexported fields
}

PromQL_OutsValidationError is the validation error returned by PromQL_Outs.Validate if the designated constraints aren't met.

func (PromQL_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (PromQL_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (PromQL_OutsValidationError) ErrorName added in v1.2.0

func (e PromQL_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (PromQL_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (PromQL_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (PromQL_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type PulseGenerator added in v0.20.0

type PulseGenerator struct {

	// Output ports for the PulseGenerator component.
	OutPorts *PulseGenerator_Outs `protobuf:"bytes,1,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Emitting 1 for the `true_for` duration.
	TrueFor *durationpb.Duration `protobuf:"bytes,2,opt,name=true_for,json=trueFor,proto3" json:"true_for,omitempty" default:"5s"` // @gotags: default:"5s"
	// Emitting 0 for the `false_for` duration.
	FalseFor *durationpb.Duration `protobuf:"bytes,3,opt,name=false_for,json=falseFor,proto3" json:"false_for,omitempty" default:"5s"` // @gotags: default:"5s"
	// contains filtered or unexported fields
}

Generates 0 and 1 in turns.

func (*PulseGenerator) DeepCopy added in v0.20.0

func (in *PulseGenerator) DeepCopy() *PulseGenerator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PulseGenerator. Required by controller-gen.

func (*PulseGenerator) DeepCopyInterface added in v0.20.0

func (in *PulseGenerator) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PulseGenerator. Required by controller-gen.

func (*PulseGenerator) DeepCopyInto added in v0.20.0

func (in *PulseGenerator) DeepCopyInto(out *PulseGenerator)

DeepCopyInto supports using PulseGenerator within kubernetes types, where deepcopy-gen is used.

func (*PulseGenerator) Descriptor deprecated added in v0.20.0

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

Deprecated: Use PulseGenerator.ProtoReflect.Descriptor instead.

func (*PulseGenerator) GetFalseFor added in v0.20.0

func (x *PulseGenerator) GetFalseFor() *durationpb.Duration

func (*PulseGenerator) GetOutPorts added in v0.20.0

func (x *PulseGenerator) GetOutPorts() *PulseGenerator_Outs

func (*PulseGenerator) GetTrueFor added in v0.20.0

func (x *PulseGenerator) GetTrueFor() *durationpb.Duration

func (*PulseGenerator) MarshalJSON added in v0.20.0

func (msg *PulseGenerator) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PulseGenerator) ProtoMessage added in v0.20.0

func (*PulseGenerator) ProtoMessage()

func (*PulseGenerator) ProtoReflect added in v0.20.0

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

func (*PulseGenerator) Reset added in v0.20.0

func (x *PulseGenerator) Reset()

func (*PulseGenerator) String added in v0.20.0

func (x *PulseGenerator) String() string

func (*PulseGenerator) UnmarshalJSON added in v0.20.0

func (msg *PulseGenerator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PulseGenerator) Validate added in v1.2.0

func (m *PulseGenerator) Validate() error

Validate checks the field values on PulseGenerator with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PulseGenerator) ValidateAll added in v1.2.0

func (m *PulseGenerator) ValidateAll() error

ValidateAll checks the field values on PulseGenerator with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PulseGeneratorMultiError, or nil if none found.

type PulseGeneratorMultiError added in v1.2.0

type PulseGeneratorMultiError []error

PulseGeneratorMultiError is an error wrapping multiple validation errors returned by PulseGenerator.ValidateAll() if the designated constraints aren't met.

func (PulseGeneratorMultiError) AllErrors added in v1.2.0

func (m PulseGeneratorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PulseGeneratorMultiError) Error added in v1.2.0

func (m PulseGeneratorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PulseGeneratorValidationError added in v1.2.0

type PulseGeneratorValidationError struct {
	// contains filtered or unexported fields
}

PulseGeneratorValidationError is the validation error returned by PulseGenerator.Validate if the designated constraints aren't met.

func (PulseGeneratorValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (PulseGeneratorValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (PulseGeneratorValidationError) ErrorName added in v1.2.0

func (e PulseGeneratorValidationError) ErrorName() string

ErrorName returns error name.

func (PulseGeneratorValidationError) Field added in v1.2.0

Field function returns field value.

func (PulseGeneratorValidationError) Key added in v1.2.0

Key function returns key value.

func (PulseGeneratorValidationError) Reason added in v1.2.0

Reason function returns reason value.

type PulseGenerator_Outs added in v0.20.0

type PulseGenerator_Outs struct {
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the PulseGenerator component.

func (*PulseGenerator_Outs) DeepCopy added in v0.20.0

func (in *PulseGenerator_Outs) DeepCopy() *PulseGenerator_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PulseGenerator_Outs. Required by controller-gen.

func (*PulseGenerator_Outs) DeepCopyInterface added in v0.20.0

func (in *PulseGenerator_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PulseGenerator_Outs. Required by controller-gen.

func (*PulseGenerator_Outs) DeepCopyInto added in v0.20.0

func (in *PulseGenerator_Outs) DeepCopyInto(out *PulseGenerator_Outs)

DeepCopyInto supports using PulseGenerator_Outs within kubernetes types, where deepcopy-gen is used.

func (*PulseGenerator_Outs) Descriptor deprecated added in v0.20.0

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

Deprecated: Use PulseGenerator_Outs.ProtoReflect.Descriptor instead.

func (*PulseGenerator_Outs) GetOutput added in v0.20.0

func (x *PulseGenerator_Outs) GetOutput() *OutPort

func (*PulseGenerator_Outs) MarshalJSON added in v0.20.0

func (msg *PulseGenerator_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PulseGenerator_Outs) ProtoMessage added in v0.20.0

func (*PulseGenerator_Outs) ProtoMessage()

func (*PulseGenerator_Outs) ProtoReflect added in v0.20.0

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

func (*PulseGenerator_Outs) Reset added in v0.20.0

func (x *PulseGenerator_Outs) Reset()

func (*PulseGenerator_Outs) String added in v0.20.0

func (x *PulseGenerator_Outs) String() string

func (*PulseGenerator_Outs) UnmarshalJSON added in v0.20.0

func (msg *PulseGenerator_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PulseGenerator_Outs) Validate added in v1.2.0

func (m *PulseGenerator_Outs) Validate() error

Validate checks the field values on PulseGenerator_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PulseGenerator_Outs) ValidateAll added in v1.2.0

func (m *PulseGenerator_Outs) ValidateAll() error

ValidateAll checks the field values on PulseGenerator_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PulseGenerator_OutsMultiError, or nil if none found.

type PulseGenerator_OutsMultiError added in v1.2.0

type PulseGenerator_OutsMultiError []error

PulseGenerator_OutsMultiError is an error wrapping multiple validation errors returned by PulseGenerator_Outs.ValidateAll() if the designated constraints aren't met.

func (PulseGenerator_OutsMultiError) AllErrors added in v1.2.0

func (m PulseGenerator_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PulseGenerator_OutsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type PulseGenerator_OutsValidationError added in v1.2.0

type PulseGenerator_OutsValidationError struct {
	// contains filtered or unexported fields
}

PulseGenerator_OutsValidationError is the validation error returned by PulseGenerator_Outs.Validate if the designated constraints aren't met.

func (PulseGenerator_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (PulseGenerator_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (PulseGenerator_OutsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (PulseGenerator_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (PulseGenerator_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (PulseGenerator_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Query added in v0.21.0

type Query struct {

	// Types that are assignable to Component:
	//
	//	*Query_Promql
	Component isQuery_Component `protobuf_oneof:"component"`
	// contains filtered or unexported fields
}

Query components that are query databases such as Prometheus.

func (*Query) DeepCopy added in v0.21.0

func (in *Query) DeepCopy() *Query

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Query. Required by controller-gen.

func (*Query) DeepCopyInterface added in v0.21.0

func (in *Query) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Query. Required by controller-gen.

func (*Query) DeepCopyInto added in v0.21.0

func (in *Query) DeepCopyInto(out *Query)

DeepCopyInto supports using Query within kubernetes types, where deepcopy-gen is used.

func (*Query) Descriptor deprecated added in v0.21.0

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

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) GetComponent added in v0.21.0

func (m *Query) GetComponent() isQuery_Component

func (*Query) GetPromql added in v0.21.0

func (x *Query) GetPromql() *PromQL

func (*Query) MarshalJSON added in v0.21.0

func (msg *Query) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Query) ProtoMessage added in v0.21.0

func (*Query) ProtoMessage()

func (*Query) ProtoReflect added in v0.21.0

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

func (*Query) Reset added in v0.21.0

func (x *Query) Reset()

func (*Query) String added in v0.21.0

func (x *Query) String() string

func (*Query) UnmarshalJSON added in v0.21.0

func (msg *Query) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Query) Validate added in v1.2.0

func (m *Query) Validate() error

Validate checks the field values on Query with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Query) ValidateAll added in v1.2.0

func (m *Query) ValidateAll() error

ValidateAll checks the field values on Query with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryMultiError, or nil if none found.

type QueryMultiError added in v1.2.0

type QueryMultiError []error

QueryMultiError is an error wrapping multiple validation errors returned by Query.ValidateAll() if the designated constraints aren't met.

func (QueryMultiError) AllErrors added in v1.2.0

func (m QueryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryMultiError) Error added in v1.2.0

func (m QueryMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type QueryValidationError added in v1.2.0

type QueryValidationError struct {
	// contains filtered or unexported fields
}

QueryValidationError is the validation error returned by Query.Validate if the designated constraints aren't met.

func (QueryValidationError) Cause added in v1.2.0

func (e QueryValidationError) Cause() error

Cause function returns cause value.

func (QueryValidationError) Error added in v1.2.0

func (e QueryValidationError) Error() string

Error satisfies the builtin error interface

func (QueryValidationError) ErrorName added in v1.2.0

func (e QueryValidationError) ErrorName() string

ErrorName returns error name.

func (QueryValidationError) Field added in v1.2.0

func (e QueryValidationError) Field() string

Field function returns field value.

func (QueryValidationError) Key added in v1.2.0

func (e QueryValidationError) Key() bool

Key function returns key value.

func (QueryValidationError) Reason added in v1.2.0

func (e QueryValidationError) Reason() string

Reason function returns reason value.

type Query_Promql added in v0.21.0

type Query_Promql struct {
	// Periodically runs a Prometheus query in the background and emits the result.
	Promql *PromQL `protobuf:"bytes,1,opt,name=promql,proto3,oneof"`
}

type RateLimiter

type RateLimiter struct {

	// Input ports for the RateLimiter component
	InPorts *RateLimiter_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty" validate:"required"` // @gotags: validate:"required"
	// Which control point to apply this rate limiter to.
	// Deprecated 1.8.0: Use `selectors` instead.
	FlowSelector *FlowSelector `` // @gotags: validate:"required_without=Selectors"
	/* 135-byte string literal not displayed */
	// Parameters for the RateLimiter component
	Parameters *RateLimiter_Parameters `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// Configuration key for DynamicConfig
	DynamicConfigKey string `protobuf:"bytes,4,opt,name=dynamic_config_key,json=dynamicConfigKey,proto3" json:"dynamic_config_key,omitempty"`
	// Default configuration
	DefaultConfig *RateLimiter_DynamicConfig `protobuf:"bytes,5,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// Selectors for the component.
	Selectors []*Selector `protobuf:"bytes,6,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required_without=FlowSelector,dive"` // @gotags: validate:"required_without=FlowSelector,dive"
	// contains filtered or unexported fields
}

Limits the traffic on a control point to specified rate

:::info

See also [_Rate Limiter_ overview](/concepts/flow-control/components/rate-limiter.md).

:::

RateLimiting is done on per-label-value basis. Use `label_key` to select which label should be used as key.

func (*RateLimiter) DeepCopy added in v0.1.2

func (in *RateLimiter) DeepCopy() *RateLimiter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiter. Required by controller-gen.

func (*RateLimiter) DeepCopyInterface added in v0.1.2

func (in *RateLimiter) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiter. Required by controller-gen.

func (*RateLimiter) DeepCopyInto added in v0.1.2

func (in *RateLimiter) DeepCopyInto(out *RateLimiter)

DeepCopyInto supports using RateLimiter within kubernetes types, where deepcopy-gen is used.

func (*RateLimiter) Descriptor deprecated

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

Deprecated: Use RateLimiter.ProtoReflect.Descriptor instead.

func (*RateLimiter) GetDefaultConfig added in v0.8.0

func (x *RateLimiter) GetDefaultConfig() *RateLimiter_DynamicConfig

func (*RateLimiter) GetDynamicConfigKey added in v0.4.0

func (x *RateLimiter) GetDynamicConfigKey() string

func (*RateLimiter) GetFlowSelector added in v0.15.0

func (x *RateLimiter) GetFlowSelector() *FlowSelector

func (*RateLimiter) GetInPorts

func (x *RateLimiter) GetInPorts() *RateLimiter_Ins

func (*RateLimiter) GetParameters added in v0.21.0

func (x *RateLimiter) GetParameters() *RateLimiter_Parameters

func (*RateLimiter) GetSelectors added in v1.6.0

func (x *RateLimiter) GetSelectors() []*Selector

func (*RateLimiter) MarshalJSON

func (msg *RateLimiter) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RateLimiter) ProtoMessage

func (*RateLimiter) ProtoMessage()

func (*RateLimiter) ProtoReflect

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

func (*RateLimiter) Reset

func (x *RateLimiter) Reset()

func (*RateLimiter) String

func (x *RateLimiter) String() string

func (*RateLimiter) UnmarshalJSON

func (msg *RateLimiter) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*RateLimiter) Validate added in v1.2.0

func (m *RateLimiter) Validate() error

Validate checks the field values on RateLimiter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RateLimiter) ValidateAll added in v1.2.0

func (m *RateLimiter) ValidateAll() error

ValidateAll checks the field values on RateLimiter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RateLimiterMultiError, or nil if none found.

type RateLimiterMultiError added in v1.2.0

type RateLimiterMultiError []error

RateLimiterMultiError is an error wrapping multiple validation errors returned by RateLimiter.ValidateAll() if the designated constraints aren't met.

func (RateLimiterMultiError) AllErrors added in v1.2.0

func (m RateLimiterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RateLimiterMultiError) Error added in v1.2.0

func (m RateLimiterMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RateLimiterValidationError added in v1.2.0

type RateLimiterValidationError struct {
	// contains filtered or unexported fields
}

RateLimiterValidationError is the validation error returned by RateLimiter.Validate if the designated constraints aren't met.

func (RateLimiterValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (RateLimiterValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (RateLimiterValidationError) ErrorName added in v1.2.0

func (e RateLimiterValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimiterValidationError) Field added in v1.2.0

Field function returns field value.

func (RateLimiterValidationError) Key added in v1.2.0

Key function returns key value.

func (RateLimiterValidationError) Reason added in v1.2.0

Reason function returns reason value.

type RateLimiter_DynamicConfig added in v0.4.0

type RateLimiter_DynamicConfig struct {

	// Allows to specify different limits for particular label values.
	Overrides []*RateLimiter_Override `protobuf:"bytes,1,rep,name=overrides,proto3" json:"overrides,omitempty" validate:"dive"` // @gotags: validate:"dive"
	// contains filtered or unexported fields
}

Dynamic Configuration for the rate limiter

func (*RateLimiter_DynamicConfig) DeepCopy added in v0.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiter_DynamicConfig. Required by controller-gen.

func (*RateLimiter_DynamicConfig) DeepCopyInterface added in v0.4.0

func (in *RateLimiter_DynamicConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiter_DynamicConfig. Required by controller-gen.

func (*RateLimiter_DynamicConfig) DeepCopyInto added in v0.4.0

DeepCopyInto supports using RateLimiter_DynamicConfig within kubernetes types, where deepcopy-gen is used.

func (*RateLimiter_DynamicConfig) Descriptor deprecated added in v0.4.0

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

Deprecated: Use RateLimiter_DynamicConfig.ProtoReflect.Descriptor instead.

func (*RateLimiter_DynamicConfig) GetOverrides added in v0.4.0

func (x *RateLimiter_DynamicConfig) GetOverrides() []*RateLimiter_Override

func (*RateLimiter_DynamicConfig) MarshalJSON added in v0.4.0

func (msg *RateLimiter_DynamicConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RateLimiter_DynamicConfig) ProtoMessage added in v0.4.0

func (*RateLimiter_DynamicConfig) ProtoMessage()

func (*RateLimiter_DynamicConfig) ProtoReflect added in v0.4.0

func (*RateLimiter_DynamicConfig) Reset added in v0.4.0

func (x *RateLimiter_DynamicConfig) Reset()

func (*RateLimiter_DynamicConfig) String added in v0.4.0

func (x *RateLimiter_DynamicConfig) String() string

func (*RateLimiter_DynamicConfig) UnmarshalJSON added in v0.4.0

func (msg *RateLimiter_DynamicConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*RateLimiter_DynamicConfig) Validate added in v1.2.0

func (m *RateLimiter_DynamicConfig) Validate() error

Validate checks the field values on RateLimiter_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RateLimiter_DynamicConfig) ValidateAll added in v1.2.0

func (m *RateLimiter_DynamicConfig) ValidateAll() error

ValidateAll checks the field values on RateLimiter_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RateLimiter_DynamicConfigMultiError, or nil if none found.

type RateLimiter_DynamicConfigMultiError added in v1.2.0

type RateLimiter_DynamicConfigMultiError []error

RateLimiter_DynamicConfigMultiError is an error wrapping multiple validation errors returned by RateLimiter_DynamicConfig.ValidateAll() if the designated constraints aren't met.

func (RateLimiter_DynamicConfigMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (RateLimiter_DynamicConfigMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type RateLimiter_DynamicConfigValidationError added in v1.2.0

type RateLimiter_DynamicConfigValidationError struct {
	// contains filtered or unexported fields
}

RateLimiter_DynamicConfigValidationError is the validation error returned by RateLimiter_DynamicConfig.Validate if the designated constraints aren't met.

func (RateLimiter_DynamicConfigValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (RateLimiter_DynamicConfigValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (RateLimiter_DynamicConfigValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (RateLimiter_DynamicConfigValidationError) Field added in v1.2.0

Field function returns field value.

func (RateLimiter_DynamicConfigValidationError) Key added in v1.2.0

Key function returns key value.

func (RateLimiter_DynamicConfigValidationError) Reason added in v1.2.0

Reason function returns reason value.

type RateLimiter_Ins

type RateLimiter_Ins struct {

	// Number of flows allowed per `limit_reset_interval` per each label.
	// Negative values disable the rate limiter.
	//
	// :::tip
	//
	// Negative limit can be useful to _conditionally_ enable the rate limiter
	// under certain circumstances. [Decider](#decider) might be helpful.
	//
	// :::
	Limit *InPort `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Inputs for the RateLimiter component

func (*RateLimiter_Ins) DeepCopy added in v0.1.2

func (in *RateLimiter_Ins) DeepCopy() *RateLimiter_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiter_Ins. Required by controller-gen.

func (*RateLimiter_Ins) DeepCopyInterface added in v0.1.2

func (in *RateLimiter_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiter_Ins. Required by controller-gen.

func (*RateLimiter_Ins) DeepCopyInto added in v0.1.2

func (in *RateLimiter_Ins) DeepCopyInto(out *RateLimiter_Ins)

DeepCopyInto supports using RateLimiter_Ins within kubernetes types, where deepcopy-gen is used.

func (*RateLimiter_Ins) Descriptor deprecated

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

Deprecated: Use RateLimiter_Ins.ProtoReflect.Descriptor instead.

func (*RateLimiter_Ins) GetLimit

func (x *RateLimiter_Ins) GetLimit() *InPort

func (*RateLimiter_Ins) MarshalJSON

func (msg *RateLimiter_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RateLimiter_Ins) ProtoMessage

func (*RateLimiter_Ins) ProtoMessage()

func (*RateLimiter_Ins) ProtoReflect

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

func (*RateLimiter_Ins) Reset

func (x *RateLimiter_Ins) Reset()

func (*RateLimiter_Ins) String

func (x *RateLimiter_Ins) String() string

func (*RateLimiter_Ins) UnmarshalJSON

func (msg *RateLimiter_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*RateLimiter_Ins) Validate added in v1.2.0

func (m *RateLimiter_Ins) Validate() error

Validate checks the field values on RateLimiter_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RateLimiter_Ins) ValidateAll added in v1.2.0

func (m *RateLimiter_Ins) ValidateAll() error

ValidateAll checks the field values on RateLimiter_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RateLimiter_InsMultiError, or nil if none found.

type RateLimiter_InsMultiError added in v1.2.0

type RateLimiter_InsMultiError []error

RateLimiter_InsMultiError is an error wrapping multiple validation errors returned by RateLimiter_Ins.ValidateAll() if the designated constraints aren't met.

func (RateLimiter_InsMultiError) AllErrors added in v1.2.0

func (m RateLimiter_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RateLimiter_InsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type RateLimiter_InsValidationError added in v1.2.0

type RateLimiter_InsValidationError struct {
	// contains filtered or unexported fields
}

RateLimiter_InsValidationError is the validation error returned by RateLimiter_Ins.Validate if the designated constraints aren't met.

func (RateLimiter_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (RateLimiter_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (RateLimiter_InsValidationError) ErrorName added in v1.2.0

func (e RateLimiter_InsValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimiter_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (RateLimiter_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (RateLimiter_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type RateLimiter_Override

type RateLimiter_Override struct {

	// Value of the label for which the override should be applied.
	LabelValue string `protobuf:"bytes,1,opt,name=label_value,json=labelValue,proto3" json:"label_value,omitempty" validate:"required"` // @gotags: validate:"required"
	// Amount by which the `in_ports.limit` should be multiplied for
	// this label value.
	LimitScaleFactor float64 `` // @gotags: default:"1.0"
	/* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RateLimiter_Override) DeepCopy added in v0.1.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiter_Override. Required by controller-gen.

func (*RateLimiter_Override) DeepCopyInterface added in v0.1.2

func (in *RateLimiter_Override) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiter_Override. Required by controller-gen.

func (*RateLimiter_Override) DeepCopyInto added in v0.1.2

func (in *RateLimiter_Override) DeepCopyInto(out *RateLimiter_Override)

DeepCopyInto supports using RateLimiter_Override within kubernetes types, where deepcopy-gen is used.

func (*RateLimiter_Override) Descriptor deprecated

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

Deprecated: Use RateLimiter_Override.ProtoReflect.Descriptor instead.

func (*RateLimiter_Override) GetLabelValue

func (x *RateLimiter_Override) GetLabelValue() string

func (*RateLimiter_Override) GetLimitScaleFactor

func (x *RateLimiter_Override) GetLimitScaleFactor() float64

func (*RateLimiter_Override) MarshalJSON

func (msg *RateLimiter_Override) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RateLimiter_Override) ProtoMessage

func (*RateLimiter_Override) ProtoMessage()

func (*RateLimiter_Override) ProtoReflect

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

func (*RateLimiter_Override) Reset

func (x *RateLimiter_Override) Reset()

func (*RateLimiter_Override) String

func (x *RateLimiter_Override) String() string

func (*RateLimiter_Override) UnmarshalJSON

func (msg *RateLimiter_Override) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*RateLimiter_Override) Validate added in v1.2.0

func (m *RateLimiter_Override) Validate() error

Validate checks the field values on RateLimiter_Override with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RateLimiter_Override) ValidateAll added in v1.2.0

func (m *RateLimiter_Override) ValidateAll() error

ValidateAll checks the field values on RateLimiter_Override with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RateLimiter_OverrideMultiError, or nil if none found.

type RateLimiter_OverrideMultiError added in v1.2.0

type RateLimiter_OverrideMultiError []error

RateLimiter_OverrideMultiError is an error wrapping multiple validation errors returned by RateLimiter_Override.ValidateAll() if the designated constraints aren't met.

func (RateLimiter_OverrideMultiError) AllErrors added in v1.2.0

func (m RateLimiter_OverrideMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RateLimiter_OverrideMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type RateLimiter_OverrideValidationError added in v1.2.0

type RateLimiter_OverrideValidationError struct {
	// contains filtered or unexported fields
}

RateLimiter_OverrideValidationError is the validation error returned by RateLimiter_Override.Validate if the designated constraints aren't met.

func (RateLimiter_OverrideValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (RateLimiter_OverrideValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (RateLimiter_OverrideValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (RateLimiter_OverrideValidationError) Field added in v1.2.0

Field function returns field value.

func (RateLimiter_OverrideValidationError) Key added in v1.2.0

Key function returns key value.

func (RateLimiter_OverrideValidationError) Reason added in v1.2.0

Reason function returns reason value.

type RateLimiter_Parameters added in v0.21.0

type RateLimiter_Parameters struct {

	// Time after which the limit for a given label value will be reset.
	LimitResetInterval *durationpb.Duration `` // @gotags: default:"60s"
	/* 131-byte string literal not displayed */
	// Specifies which label the rate limiter should be keyed by.
	//
	// Rate limiting is done independently for each value of the
	// [label](/concepts/flow-control/flow-label.md) with given key.
	// For example, to give each user a separate limit, assuming you
	// have a _user_ flow
	// label set up, set `label_key: "user"`.
	LabelKey string `protobuf:"bytes,2,opt,name=label_key,json=labelKey,proto3" json:"label_key,omitempty" validate:"required"` // @gotags: validate:"required"
	// Configuration of lazy-syncing behavior of rate limiter
	LazySync *RateLimiter_Parameters_LazySync `protobuf:"bytes,3,opt,name=lazy_sync,json=lazySync,proto3" json:"lazy_sync,omitempty"`
	// Flow label key that will be used to override the number of tokens
	// for this request.
	// This is an optional parameter and takes highest precedence
	// when assigning tokens to a request.
	// The label value must be a valid uint64 number.
	TokensLabelKey string `protobuf:"bytes,4,opt,name=tokens_label_key,json=tokensLabelKey,proto3" json:"tokens_label_key,omitempty" default:"tokens"` // @gotags: default:"tokens"
	// contains filtered or unexported fields
}

func (*RateLimiter_Parameters) DeepCopy added in v0.21.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiter_Parameters. Required by controller-gen.

func (*RateLimiter_Parameters) DeepCopyInterface added in v0.21.0

func (in *RateLimiter_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiter_Parameters. Required by controller-gen.

func (*RateLimiter_Parameters) DeepCopyInto added in v0.21.0

func (in *RateLimiter_Parameters) DeepCopyInto(out *RateLimiter_Parameters)

DeepCopyInto supports using RateLimiter_Parameters within kubernetes types, where deepcopy-gen is used.

func (*RateLimiter_Parameters) Descriptor deprecated added in v0.21.0

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

Deprecated: Use RateLimiter_Parameters.ProtoReflect.Descriptor instead.

func (*RateLimiter_Parameters) GetLabelKey added in v0.21.0

func (x *RateLimiter_Parameters) GetLabelKey() string

func (*RateLimiter_Parameters) GetLazySync added in v0.21.0

func (*RateLimiter_Parameters) GetLimitResetInterval added in v0.21.0

func (x *RateLimiter_Parameters) GetLimitResetInterval() *durationpb.Duration

func (*RateLimiter_Parameters) GetTokensLabelKey added in v1.5.0

func (x *RateLimiter_Parameters) GetTokensLabelKey() string

func (*RateLimiter_Parameters) MarshalJSON added in v0.21.0

func (msg *RateLimiter_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RateLimiter_Parameters) ProtoMessage added in v0.21.0

func (*RateLimiter_Parameters) ProtoMessage()

func (*RateLimiter_Parameters) ProtoReflect added in v0.21.0

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

func (*RateLimiter_Parameters) Reset added in v0.21.0

func (x *RateLimiter_Parameters) Reset()

func (*RateLimiter_Parameters) String added in v0.21.0

func (x *RateLimiter_Parameters) String() string

func (*RateLimiter_Parameters) UnmarshalJSON added in v0.21.0

func (msg *RateLimiter_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*RateLimiter_Parameters) Validate added in v1.2.0

func (m *RateLimiter_Parameters) Validate() error

Validate checks the field values on RateLimiter_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RateLimiter_Parameters) ValidateAll added in v1.2.0

func (m *RateLimiter_Parameters) ValidateAll() error

ValidateAll checks the field values on RateLimiter_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RateLimiter_ParametersMultiError, or nil if none found.

type RateLimiter_ParametersMultiError added in v1.2.0

type RateLimiter_ParametersMultiError []error

RateLimiter_ParametersMultiError is an error wrapping multiple validation errors returned by RateLimiter_Parameters.ValidateAll() if the designated constraints aren't met.

func (RateLimiter_ParametersMultiError) AllErrors added in v1.2.0

func (m RateLimiter_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RateLimiter_ParametersMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type RateLimiter_ParametersValidationError added in v1.2.0

type RateLimiter_ParametersValidationError struct {
	// contains filtered or unexported fields
}

RateLimiter_ParametersValidationError is the validation error returned by RateLimiter_Parameters.Validate if the designated constraints aren't met.

func (RateLimiter_ParametersValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (RateLimiter_ParametersValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (RateLimiter_ParametersValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (RateLimiter_ParametersValidationError) Field added in v1.2.0

Field function returns field value.

func (RateLimiter_ParametersValidationError) Key added in v1.2.0

Key function returns key value.

func (RateLimiter_ParametersValidationError) Reason added in v1.2.0

Reason function returns reason value.

type RateLimiter_Parameters_LazySync added in v0.21.0

type RateLimiter_Parameters_LazySync struct {

	// Enables lazy sync
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty" default:"false"` // @gotags: default:"false"
	// Number of times to lazy sync within the `limit_reset_interval`.
	NumSync uint32 `protobuf:"varint,2,opt,name=num_sync,json=numSync,proto3" json:"num_sync,omitempty" default:"5" validate:"gt=0"` // @gotags: default:"5" validate:"gt=0"
	// contains filtered or unexported fields
}

func (*RateLimiter_Parameters_LazySync) DeepCopy added in v0.21.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiter_Parameters_LazySync. Required by controller-gen.

func (*RateLimiter_Parameters_LazySync) DeepCopyInterface added in v0.21.0

func (in *RateLimiter_Parameters_LazySync) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiter_Parameters_LazySync. Required by controller-gen.

func (*RateLimiter_Parameters_LazySync) DeepCopyInto added in v0.21.0

DeepCopyInto supports using RateLimiter_Parameters_LazySync within kubernetes types, where deepcopy-gen is used.

func (*RateLimiter_Parameters_LazySync) Descriptor deprecated added in v0.21.0

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

Deprecated: Use RateLimiter_Parameters_LazySync.ProtoReflect.Descriptor instead.

func (*RateLimiter_Parameters_LazySync) GetEnabled added in v0.21.0

func (x *RateLimiter_Parameters_LazySync) GetEnabled() bool

func (*RateLimiter_Parameters_LazySync) GetNumSync added in v0.21.0

func (x *RateLimiter_Parameters_LazySync) GetNumSync() uint32

func (*RateLimiter_Parameters_LazySync) MarshalJSON added in v0.21.0

func (msg *RateLimiter_Parameters_LazySync) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RateLimiter_Parameters_LazySync) ProtoMessage added in v0.21.0

func (*RateLimiter_Parameters_LazySync) ProtoMessage()

func (*RateLimiter_Parameters_LazySync) ProtoReflect added in v0.21.0

func (*RateLimiter_Parameters_LazySync) Reset added in v0.21.0

func (*RateLimiter_Parameters_LazySync) String added in v0.21.0

func (*RateLimiter_Parameters_LazySync) UnmarshalJSON added in v0.21.0

func (msg *RateLimiter_Parameters_LazySync) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*RateLimiter_Parameters_LazySync) Validate added in v1.2.0

func (m *RateLimiter_Parameters_LazySync) Validate() error

Validate checks the field values on RateLimiter_Parameters_LazySync with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RateLimiter_Parameters_LazySync) ValidateAll added in v1.2.0

func (m *RateLimiter_Parameters_LazySync) ValidateAll() error

ValidateAll checks the field values on RateLimiter_Parameters_LazySync with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RateLimiter_Parameters_LazySyncMultiError, or nil if none found.

type RateLimiter_Parameters_LazySyncMultiError added in v1.2.0

type RateLimiter_Parameters_LazySyncMultiError []error

RateLimiter_Parameters_LazySyncMultiError is an error wrapping multiple validation errors returned by RateLimiter_Parameters_LazySync.ValidateAll() if the designated constraints aren't met.

func (RateLimiter_Parameters_LazySyncMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (RateLimiter_Parameters_LazySyncMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type RateLimiter_Parameters_LazySyncValidationError added in v1.2.0

type RateLimiter_Parameters_LazySyncValidationError struct {
	// contains filtered or unexported fields
}

RateLimiter_Parameters_LazySyncValidationError is the validation error returned by RateLimiter_Parameters_LazySync.Validate if the designated constraints aren't met.

func (RateLimiter_Parameters_LazySyncValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (RateLimiter_Parameters_LazySyncValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (RateLimiter_Parameters_LazySyncValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (RateLimiter_Parameters_LazySyncValidationError) Field added in v1.2.0

Field function returns field value.

func (RateLimiter_Parameters_LazySyncValidationError) Key added in v1.2.0

Key function returns key value.

func (RateLimiter_Parameters_LazySyncValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Rego added in v1.2.0

type Rego struct {

	// A map of {key, value} pairs mapping from
	// [flow label](/concepts/flow-control/flow-label.md) keys to queries that define
	// how to extract and propagate flow labels with that key.
	// The name of the label maps to a variable in the Rego module. It maps to `data.<package>.<label>` variable.
	Labels map[string]*Rego_LabelProperties `` // @gotags: validate:"required,gt=0,dive,keys,required,endkeys,required"
	/* 214-byte string literal not displayed */
	// Source code of the Rego module.
	//
	// :::note
	//
	// Must include a "package" declaration.
	//
	// :::
	Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Rego define a set of labels that are extracted after evaluating a Rego module.

:::info

You can use the [live-preview](/concepts/flow-control/resources/classifier.md#live-previewing-requests) feature to first preview the input to the classifier before writing the labeling logic.

:::

Example of Rego module which also disables telemetry visibility of label: ```yaml rego:

labels:
  user:
    telemetry: false
module: |
  package user_from_cookie
  cookies := split(input.attributes.request.http.headers.cookie, "; ")
  user := user {
      cookie := cookies[_]
      startswith(cookie, "session=")
      session := substring(cookie, count("session="), -1)
      parts := split(session, ".")
      object := json.unmarshal(base64url.decode(parts[0]))
      user := object.user
  }

```

func (*Rego) DeepCopy added in v1.2.0

func (in *Rego) DeepCopy() *Rego

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rego. Required by controller-gen.

func (*Rego) DeepCopyInterface added in v1.2.0

func (in *Rego) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Rego. Required by controller-gen.

func (*Rego) DeepCopyInto added in v1.2.0

func (in *Rego) DeepCopyInto(out *Rego)

DeepCopyInto supports using Rego within kubernetes types, where deepcopy-gen is used.

func (*Rego) Descriptor deprecated added in v1.2.0

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

Deprecated: Use Rego.ProtoReflect.Descriptor instead.

func (*Rego) GetLabels added in v1.2.0

func (x *Rego) GetLabels() map[string]*Rego_LabelProperties

func (*Rego) GetModule added in v1.2.0

func (x *Rego) GetModule() string

func (*Rego) MarshalJSON added in v1.2.0

func (msg *Rego) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Rego) ProtoMessage added in v1.2.0

func (*Rego) ProtoMessage()

func (*Rego) ProtoReflect added in v1.2.0

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

func (*Rego) Reset added in v1.2.0

func (x *Rego) Reset()

func (*Rego) String added in v1.2.0

func (x *Rego) String() string

func (*Rego) UnmarshalJSON added in v1.2.0

func (msg *Rego) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Rego) Validate added in v1.2.0

func (m *Rego) Validate() error

Validate checks the field values on Rego with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Rego) ValidateAll added in v1.2.0

func (m *Rego) ValidateAll() error

ValidateAll checks the field values on Rego with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegoMultiError, or nil if none found.

type RegoMultiError added in v1.2.0

type RegoMultiError []error

RegoMultiError is an error wrapping multiple validation errors returned by Rego.ValidateAll() if the designated constraints aren't met.

func (RegoMultiError) AllErrors added in v1.2.0

func (m RegoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegoMultiError) Error added in v1.2.0

func (m RegoMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RegoValidationError added in v1.2.0

type RegoValidationError struct {
	// contains filtered or unexported fields
}

RegoValidationError is the validation error returned by Rego.Validate if the designated constraints aren't met.

func (RegoValidationError) Cause added in v1.2.0

func (e RegoValidationError) Cause() error

Cause function returns cause value.

func (RegoValidationError) Error added in v1.2.0

func (e RegoValidationError) Error() string

Error satisfies the builtin error interface

func (RegoValidationError) ErrorName added in v1.2.0

func (e RegoValidationError) ErrorName() string

ErrorName returns error name.

func (RegoValidationError) Field added in v1.2.0

func (e RegoValidationError) Field() string

Field function returns field value.

func (RegoValidationError) Key added in v1.2.0

func (e RegoValidationError) Key() bool

Key function returns key value.

func (RegoValidationError) Reason added in v1.2.0

func (e RegoValidationError) Reason() string

Reason function returns reason value.

type Rego_LabelProperties added in v1.2.0

type Rego_LabelProperties struct {

	// Decides if the created flow label should be available as an attribute in OLAP telemetry and
	// propagated in [baggage](/concepts/flow-control/flow-label.md#baggage)
	//
	// :::note
	//
	// The flow label is always accessible in Aperture Policies regardless of this setting.
	//
	// :::
	//
	// :::caution
	//
	// When using [FluxNinja ARC extension](/arc/extension.md), telemetry enabled
	// labels are sent to FluxNinja ARC for observability. Telemetry should be disabled for
	// sensitive labels.
	//
	// :::
	Telemetry bool `protobuf:"varint,1,opt,name=telemetry,proto3" json:"telemetry,omitempty" default:"true"` // @gotags: default:"true"
	// contains filtered or unexported fields
}

func (*Rego_LabelProperties) DeepCopy added in v1.2.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rego_LabelProperties. Required by controller-gen.

func (*Rego_LabelProperties) DeepCopyInterface added in v1.2.0

func (in *Rego_LabelProperties) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Rego_LabelProperties. Required by controller-gen.

func (*Rego_LabelProperties) DeepCopyInto added in v1.2.0

func (in *Rego_LabelProperties) DeepCopyInto(out *Rego_LabelProperties)

DeepCopyInto supports using Rego_LabelProperties within kubernetes types, where deepcopy-gen is used.

func (*Rego_LabelProperties) Descriptor deprecated added in v1.2.0

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

Deprecated: Use Rego_LabelProperties.ProtoReflect.Descriptor instead.

func (*Rego_LabelProperties) GetTelemetry added in v1.2.0

func (x *Rego_LabelProperties) GetTelemetry() bool

func (*Rego_LabelProperties) MarshalJSON added in v1.2.0

func (msg *Rego_LabelProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Rego_LabelProperties) ProtoMessage added in v1.2.0

func (*Rego_LabelProperties) ProtoMessage()

func (*Rego_LabelProperties) ProtoReflect added in v1.2.0

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

func (*Rego_LabelProperties) Reset added in v1.2.0

func (x *Rego_LabelProperties) Reset()

func (*Rego_LabelProperties) String added in v1.2.0

func (x *Rego_LabelProperties) String() string

func (*Rego_LabelProperties) UnmarshalJSON added in v1.2.0

func (msg *Rego_LabelProperties) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Rego_LabelProperties) Validate added in v1.2.0

func (m *Rego_LabelProperties) Validate() error

Validate checks the field values on Rego_LabelProperties with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Rego_LabelProperties) ValidateAll added in v1.2.0

func (m *Rego_LabelProperties) ValidateAll() error

ValidateAll checks the field values on Rego_LabelProperties with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Rego_LabelPropertiesMultiError, or nil if none found.

type Rego_LabelPropertiesMultiError added in v1.2.0

type Rego_LabelPropertiesMultiError []error

Rego_LabelPropertiesMultiError is an error wrapping multiple validation errors returned by Rego_LabelProperties.ValidateAll() if the designated constraints aren't met.

func (Rego_LabelPropertiesMultiError) AllErrors added in v1.2.0

func (m Rego_LabelPropertiesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Rego_LabelPropertiesMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type Rego_LabelPropertiesValidationError added in v1.2.0

type Rego_LabelPropertiesValidationError struct {
	// contains filtered or unexported fields
}

Rego_LabelPropertiesValidationError is the validation error returned by Rego_LabelProperties.Validate if the designated constraints aren't met.

func (Rego_LabelPropertiesValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Rego_LabelPropertiesValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Rego_LabelPropertiesValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (Rego_LabelPropertiesValidationError) Field added in v1.2.0

Field function returns field value.

func (Rego_LabelPropertiesValidationError) Key added in v1.2.0

Key function returns key value.

func (Rego_LabelPropertiesValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Regulator added in v1.6.0

type Regulator struct {

	// Input ports for the _Regulator_.
	InPorts *Regulator_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Parameters for the _Regulator_.
	Parameters *Regulator_Parameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// Configuration key for DynamicConfig.
	DynamicConfigKey string `protobuf:"bytes,3,opt,name=dynamic_config_key,json=dynamicConfigKey,proto3" json:"dynamic_config_key,omitempty"`
	// Default configuration.
	DefaultConfig *Regulator_DynamicConfig `protobuf:"bytes,4,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// contains filtered or unexported fields
}

_Regulator_ is a component that regulates the load at a [_Control Point_](/concepts/flow-control/selector.md/#control-point) by allowing only a specified percentage of flows at random or by sticky sessions.

:::info

See also [_Load Regulator overview](/concepts/flow-control/components/regulator.md).

:::

func (*Regulator) DeepCopy added in v1.6.0

func (in *Regulator) DeepCopy() *Regulator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Regulator. Required by controller-gen.

func (*Regulator) DeepCopyInterface added in v1.6.0

func (in *Regulator) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Regulator. Required by controller-gen.

func (*Regulator) DeepCopyInto added in v1.6.0

func (in *Regulator) DeepCopyInto(out *Regulator)

DeepCopyInto supports using Regulator within kubernetes types, where deepcopy-gen is used.

func (*Regulator) Descriptor deprecated added in v1.6.0

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

Deprecated: Use Regulator.ProtoReflect.Descriptor instead.

func (*Regulator) GetDefaultConfig added in v1.6.0

func (x *Regulator) GetDefaultConfig() *Regulator_DynamicConfig

func (*Regulator) GetDynamicConfigKey added in v1.6.0

func (x *Regulator) GetDynamicConfigKey() string

func (*Regulator) GetInPorts added in v1.6.0

func (x *Regulator) GetInPorts() *Regulator_Ins

func (*Regulator) GetParameters added in v1.6.0

func (x *Regulator) GetParameters() *Regulator_Parameters

func (*Regulator) MarshalJSON added in v1.6.0

func (msg *Regulator) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Regulator) ProtoMessage added in v1.6.0

func (*Regulator) ProtoMessage()

func (*Regulator) ProtoReflect added in v1.6.0

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

func (*Regulator) Reset added in v1.6.0

func (x *Regulator) Reset()

func (*Regulator) String added in v1.6.0

func (x *Regulator) String() string

func (*Regulator) UnmarshalJSON added in v1.6.0

func (msg *Regulator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Regulator) Validate added in v1.6.0

func (m *Regulator) Validate() error

Validate checks the field values on Regulator with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Regulator) ValidateAll added in v1.6.0

func (m *Regulator) ValidateAll() error

ValidateAll checks the field values on Regulator with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegulatorMultiError, or nil if none found.

type RegulatorMultiError added in v1.6.0

type RegulatorMultiError []error

RegulatorMultiError is an error wrapping multiple validation errors returned by Regulator.ValidateAll() if the designated constraints aren't met.

func (RegulatorMultiError) AllErrors added in v1.6.0

func (m RegulatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegulatorMultiError) Error added in v1.6.0

func (m RegulatorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RegulatorValidationError added in v1.6.0

type RegulatorValidationError struct {
	// contains filtered or unexported fields
}

RegulatorValidationError is the validation error returned by Regulator.Validate if the designated constraints aren't met.

func (RegulatorValidationError) Cause added in v1.6.0

func (e RegulatorValidationError) Cause() error

Cause function returns cause value.

func (RegulatorValidationError) Error added in v1.6.0

func (e RegulatorValidationError) Error() string

Error satisfies the builtin error interface

func (RegulatorValidationError) ErrorName added in v1.6.0

func (e RegulatorValidationError) ErrorName() string

ErrorName returns error name.

func (RegulatorValidationError) Field added in v1.6.0

func (e RegulatorValidationError) Field() string

Field function returns field value.

func (RegulatorValidationError) Key added in v1.6.0

Key function returns key value.

func (RegulatorValidationError) Reason added in v1.6.0

func (e RegulatorValidationError) Reason() string

Reason function returns reason value.

type Regulator_DynamicConfig added in v1.6.0

type Regulator_DynamicConfig struct {

	// Specify certain label values to be accepted by this flow filter regardless of accept percentage.
	EnableLabelValues []string `protobuf:"bytes,1,rep,name=enable_label_values,json=enableLabelValues,proto3" json:"enable_label_values,omitempty"`
	// contains filtered or unexported fields
}

Dynamic Configuration for _Regulator_

func (*Regulator_DynamicConfig) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Regulator_DynamicConfig. Required by controller-gen.

func (*Regulator_DynamicConfig) DeepCopyInterface added in v1.6.0

func (in *Regulator_DynamicConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Regulator_DynamicConfig. Required by controller-gen.

func (*Regulator_DynamicConfig) DeepCopyInto added in v1.6.0

func (in *Regulator_DynamicConfig) DeepCopyInto(out *Regulator_DynamicConfig)

DeepCopyInto supports using Regulator_DynamicConfig within kubernetes types, where deepcopy-gen is used.

func (*Regulator_DynamicConfig) Descriptor deprecated added in v1.6.0

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

Deprecated: Use Regulator_DynamicConfig.ProtoReflect.Descriptor instead.

func (*Regulator_DynamicConfig) GetEnableLabelValues added in v1.6.0

func (x *Regulator_DynamicConfig) GetEnableLabelValues() []string

func (*Regulator_DynamicConfig) MarshalJSON added in v1.6.0

func (msg *Regulator_DynamicConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Regulator_DynamicConfig) ProtoMessage added in v1.6.0

func (*Regulator_DynamicConfig) ProtoMessage()

func (*Regulator_DynamicConfig) ProtoReflect added in v1.6.0

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

func (*Regulator_DynamicConfig) Reset added in v1.6.0

func (x *Regulator_DynamicConfig) Reset()

func (*Regulator_DynamicConfig) String added in v1.6.0

func (x *Regulator_DynamicConfig) String() string

func (*Regulator_DynamicConfig) UnmarshalJSON added in v1.6.0

func (msg *Regulator_DynamicConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Regulator_DynamicConfig) Validate added in v1.6.0

func (m *Regulator_DynamicConfig) Validate() error

Validate checks the field values on Regulator_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Regulator_DynamicConfig) ValidateAll added in v1.6.0

func (m *Regulator_DynamicConfig) ValidateAll() error

ValidateAll checks the field values on Regulator_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Regulator_DynamicConfigMultiError, or nil if none found.

type Regulator_DynamicConfigMultiError added in v1.6.0

type Regulator_DynamicConfigMultiError []error

Regulator_DynamicConfigMultiError is an error wrapping multiple validation errors returned by Regulator_DynamicConfig.ValidateAll() if the designated constraints aren't met.

func (Regulator_DynamicConfigMultiError) AllErrors added in v1.6.0

func (m Regulator_DynamicConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Regulator_DynamicConfigMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type Regulator_DynamicConfigValidationError added in v1.6.0

type Regulator_DynamicConfigValidationError struct {
	// contains filtered or unexported fields
}

Regulator_DynamicConfigValidationError is the validation error returned by Regulator_DynamicConfig.Validate if the designated constraints aren't met.

func (Regulator_DynamicConfigValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (Regulator_DynamicConfigValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (Regulator_DynamicConfigValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (Regulator_DynamicConfigValidationError) Field added in v1.6.0

Field function returns field value.

func (Regulator_DynamicConfigValidationError) Key added in v1.6.0

Key function returns key value.

func (Regulator_DynamicConfigValidationError) Reason added in v1.6.0

Reason function returns reason value.

type Regulator_Ins added in v1.6.0

type Regulator_Ins struct {

	// The percentage of requests to accept.
	AcceptPercentage *InPort `protobuf:"bytes,1,opt,name=accept_percentage,json=acceptPercentage,proto3" json:"accept_percentage,omitempty"`
	// contains filtered or unexported fields
}

func (*Regulator_Ins) DeepCopy added in v1.6.0

func (in *Regulator_Ins) DeepCopy() *Regulator_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Regulator_Ins. Required by controller-gen.

func (*Regulator_Ins) DeepCopyInterface added in v1.6.0

func (in *Regulator_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Regulator_Ins. Required by controller-gen.

func (*Regulator_Ins) DeepCopyInto added in v1.6.0

func (in *Regulator_Ins) DeepCopyInto(out *Regulator_Ins)

DeepCopyInto supports using Regulator_Ins within kubernetes types, where deepcopy-gen is used.

func (*Regulator_Ins) Descriptor deprecated added in v1.6.0

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

Deprecated: Use Regulator_Ins.ProtoReflect.Descriptor instead.

func (*Regulator_Ins) GetAcceptPercentage added in v1.6.0

func (x *Regulator_Ins) GetAcceptPercentage() *InPort

func (*Regulator_Ins) MarshalJSON added in v1.6.0

func (msg *Regulator_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Regulator_Ins) ProtoMessage added in v1.6.0

func (*Regulator_Ins) ProtoMessage()

func (*Regulator_Ins) ProtoReflect added in v1.6.0

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

func (*Regulator_Ins) Reset added in v1.6.0

func (x *Regulator_Ins) Reset()

func (*Regulator_Ins) String added in v1.6.0

func (x *Regulator_Ins) String() string

func (*Regulator_Ins) UnmarshalJSON added in v1.6.0

func (msg *Regulator_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Regulator_Ins) Validate added in v1.6.0

func (m *Regulator_Ins) Validate() error

Validate checks the field values on Regulator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Regulator_Ins) ValidateAll added in v1.6.0

func (m *Regulator_Ins) ValidateAll() error

ValidateAll checks the field values on Regulator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Regulator_InsMultiError, or nil if none found.

type Regulator_InsMultiError added in v1.6.0

type Regulator_InsMultiError []error

Regulator_InsMultiError is an error wrapping multiple validation errors returned by Regulator_Ins.ValidateAll() if the designated constraints aren't met.

func (Regulator_InsMultiError) AllErrors added in v1.6.0

func (m Regulator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Regulator_InsMultiError) Error added in v1.6.0

func (m Regulator_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Regulator_InsValidationError added in v1.6.0

type Regulator_InsValidationError struct {
	// contains filtered or unexported fields
}

Regulator_InsValidationError is the validation error returned by Regulator_Ins.Validate if the designated constraints aren't met.

func (Regulator_InsValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (Regulator_InsValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (Regulator_InsValidationError) ErrorName added in v1.6.0

func (e Regulator_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Regulator_InsValidationError) Field added in v1.6.0

Field function returns field value.

func (Regulator_InsValidationError) Key added in v1.6.0

Key function returns key value.

func (Regulator_InsValidationError) Reason added in v1.6.0

Reason function returns reason value.

type Regulator_Parameters added in v1.6.0

type Regulator_Parameters struct {

	// _Flow Selector_ selects the _Flows_ at which the _Regulator_ is applied.
	// Deprecated 1.8.0: Use `selectors` instead.
	FlowSelector *FlowSelector `` // @gotags: validate:"required_without=Selectors"
	/* 135-byte string literal not displayed */
	// The flow label key for identifying sessions.
	//   - When label key is specified, _Regulator_ acts as a sticky filter.
	//     The series of flows with the same value of label key get the same
	//     decision provided that the `accept_percentage` is same or higher.
	//   - When label key is not specified, _Regulator_ acts as a stateless filter.
	//     Percentage of flows are selected randomly for rejection.
	LabelKey string `protobuf:"bytes,2,opt,name=label_key,json=labelKey,proto3" json:"label_key,omitempty"`
	// Selectors for the component.
	Selectors []*Selector `protobuf:"bytes,3,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required_without=FlowSelector,dive"` // @gotags: validate:"required_without=FlowSelector,dive"
	// contains filtered or unexported fields
}

func (*Regulator_Parameters) DeepCopy added in v1.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Regulator_Parameters. Required by controller-gen.

func (*Regulator_Parameters) DeepCopyInterface added in v1.6.0

func (in *Regulator_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Regulator_Parameters. Required by controller-gen.

func (*Regulator_Parameters) DeepCopyInto added in v1.6.0

func (in *Regulator_Parameters) DeepCopyInto(out *Regulator_Parameters)

DeepCopyInto supports using Regulator_Parameters within kubernetes types, where deepcopy-gen is used.

func (*Regulator_Parameters) Descriptor deprecated added in v1.6.0

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

Deprecated: Use Regulator_Parameters.ProtoReflect.Descriptor instead.

func (*Regulator_Parameters) GetFlowSelector added in v1.6.0

func (x *Regulator_Parameters) GetFlowSelector() *FlowSelector

func (*Regulator_Parameters) GetLabelKey added in v1.6.0

func (x *Regulator_Parameters) GetLabelKey() string

func (*Regulator_Parameters) GetSelectors added in v1.6.0

func (x *Regulator_Parameters) GetSelectors() []*Selector

func (*Regulator_Parameters) MarshalJSON added in v1.6.0

func (msg *Regulator_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Regulator_Parameters) ProtoMessage added in v1.6.0

func (*Regulator_Parameters) ProtoMessage()

func (*Regulator_Parameters) ProtoReflect added in v1.6.0

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

func (*Regulator_Parameters) Reset added in v1.6.0

func (x *Regulator_Parameters) Reset()

func (*Regulator_Parameters) String added in v1.6.0

func (x *Regulator_Parameters) String() string

func (*Regulator_Parameters) UnmarshalJSON added in v1.6.0

func (msg *Regulator_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Regulator_Parameters) Validate added in v1.6.0

func (m *Regulator_Parameters) Validate() error

Validate checks the field values on Regulator_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Regulator_Parameters) ValidateAll added in v1.6.0

func (m *Regulator_Parameters) ValidateAll() error

ValidateAll checks the field values on Regulator_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Regulator_ParametersMultiError, or nil if none found.

type Regulator_ParametersMultiError added in v1.6.0

type Regulator_ParametersMultiError []error

Regulator_ParametersMultiError is an error wrapping multiple validation errors returned by Regulator_Parameters.ValidateAll() if the designated constraints aren't met.

func (Regulator_ParametersMultiError) AllErrors added in v1.6.0

func (m Regulator_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Regulator_ParametersMultiError) Error added in v1.6.0

Error returns a concatenation of all the error messages it wraps.

type Regulator_ParametersValidationError added in v1.6.0

type Regulator_ParametersValidationError struct {
	// contains filtered or unexported fields
}

Regulator_ParametersValidationError is the validation error returned by Regulator_Parameters.Validate if the designated constraints aren't met.

func (Regulator_ParametersValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (Regulator_ParametersValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (Regulator_ParametersValidationError) ErrorName added in v1.6.0

ErrorName returns error name.

func (Regulator_ParametersValidationError) Field added in v1.6.0

Field function returns field value.

func (Regulator_ParametersValidationError) Key added in v1.6.0

Key function returns key value.

func (Regulator_ParametersValidationError) Reason added in v1.6.0

Reason function returns reason value.

type Resources

type Resources struct {

	// FlowControlResources are resources that are provided by flow control integration.
	FlowControl *FlowControlResources `protobuf:"bytes,101,opt,name=flow_control,json=flowControl,proto3" json:"flow_control,omitempty"`
	// contains filtered or unexported fields
}

Resources that need to be setup for the policy to function

:::info

See also [Resources overview](/concepts/policy/resources.md).

:::

func (*Resources) DeepCopy added in v0.1.2

func (in *Resources) DeepCopy() *Resources

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources. Required by controller-gen.

func (*Resources) DeepCopyInterface added in v0.1.2

func (in *Resources) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Resources. Required by controller-gen.

func (*Resources) DeepCopyInto added in v0.1.2

func (in *Resources) DeepCopyInto(out *Resources)

DeepCopyInto supports using Resources within kubernetes types, where deepcopy-gen is used.

func (*Resources) Descriptor deprecated

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

Deprecated: Use Resources.ProtoReflect.Descriptor instead.

func (*Resources) GetFlowControl added in v1.2.0

func (x *Resources) GetFlowControl() *FlowControlResources

func (*Resources) MarshalJSON

func (msg *Resources) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) ProtoReflect

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

func (*Resources) Reset

func (x *Resources) Reset()

func (*Resources) String

func (x *Resources) String() string

func (*Resources) UnmarshalJSON

func (msg *Resources) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Resources) Validate added in v1.2.0

func (m *Resources) Validate() error

Validate checks the field values on Resources with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Resources) ValidateAll added in v1.2.0

func (m *Resources) ValidateAll() error

ValidateAll checks the field values on Resources with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourcesMultiError, or nil if none found.

type ResourcesMultiError added in v1.2.0

type ResourcesMultiError []error

ResourcesMultiError is an error wrapping multiple validation errors returned by Resources.ValidateAll() if the designated constraints aren't met.

func (ResourcesMultiError) AllErrors added in v1.2.0

func (m ResourcesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResourcesMultiError) Error added in v1.2.0

func (m ResourcesMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ResourcesValidationError added in v1.2.0

type ResourcesValidationError struct {
	// contains filtered or unexported fields
}

ResourcesValidationError is the validation error returned by Resources.Validate if the designated constraints aren't met.

func (ResourcesValidationError) Cause added in v1.2.0

func (e ResourcesValidationError) Cause() error

Cause function returns cause value.

func (ResourcesValidationError) Error added in v1.2.0

func (e ResourcesValidationError) Error() string

Error satisfies the builtin error interface

func (ResourcesValidationError) ErrorName added in v1.2.0

func (e ResourcesValidationError) ErrorName() string

ErrorName returns error name.

func (ResourcesValidationError) Field added in v1.2.0

func (e ResourcesValidationError) Field() string

Field function returns field value.

func (ResourcesValidationError) Key added in v1.2.0

Key function returns key value.

func (ResourcesValidationError) Reason added in v1.2.0

func (e ResourcesValidationError) Reason() string

Reason function returns reason value.

type Rule

type Rule struct {

	// Types that are assignable to Source:
	//
	//	*Rule_Extractor
	Source isRule_Source `protobuf_oneof:"source"`
	// Decides if the created flow label should be available as an attribute in OLAP telemetry and
	// propagated in [baggage](/concepts/flow-control/flow-label.md#baggage)
	//
	// :::note
	//
	// The flow label is always accessible in Aperture Policies regardless of this setting.
	//
	// :::
	//
	// :::caution
	//
	// When using [FluxNinja ARC extension](/arc/extension.md), telemetry enabled
	// labels are sent to FluxNinja ARC for observability. Telemetry should be disabled for
	// sensitive labels.
	//
	// :::
	Telemetry bool `protobuf:"varint,3,opt,name=telemetry,proto3" json:"telemetry,omitempty" default:"true"` // @gotags: default:"true"
	// contains filtered or unexported fields
}

Rule describes a single classification Rule

Example of a JSON extractor: ```yaml extractor:

json:
  from: request.http.body
  pointer: /user/name

```

func (*Rule) DeepCopy added in v0.1.2

func (in *Rule) DeepCopy() *Rule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule. Required by controller-gen.

func (*Rule) DeepCopyInterface added in v0.1.2

func (in *Rule) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Rule. Required by controller-gen.

func (*Rule) DeepCopyInto added in v0.1.2

func (in *Rule) DeepCopyInto(out *Rule)

DeepCopyInto supports using Rule within kubernetes types, where deepcopy-gen is used.

func (*Rule) Descriptor deprecated

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

Deprecated: Use Rule.ProtoReflect.Descriptor instead.

func (*Rule) GetExtractor

func (x *Rule) GetExtractor() *Extractor

func (*Rule) GetSource

func (m *Rule) GetSource() isRule_Source

func (*Rule) GetTelemetry added in v0.2.1

func (x *Rule) GetTelemetry() bool

func (*Rule) MarshalJSON

func (msg *Rule) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Rule) ProtoMessage

func (*Rule) ProtoMessage()

func (*Rule) ProtoReflect

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

func (*Rule) Reset

func (x *Rule) Reset()

func (*Rule) String

func (x *Rule) String() string

func (*Rule) UnmarshalJSON

func (msg *Rule) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Rule) Validate added in v1.2.0

func (m *Rule) Validate() error

Validate checks the field values on Rule with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Rule) ValidateAll added in v1.2.0

func (m *Rule) ValidateAll() error

ValidateAll checks the field values on Rule with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuleMultiError, or nil if none found.

type RuleMultiError added in v1.2.0

type RuleMultiError []error

RuleMultiError is an error wrapping multiple validation errors returned by Rule.ValidateAll() if the designated constraints aren't met.

func (RuleMultiError) AllErrors added in v1.2.0

func (m RuleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RuleMultiError) Error added in v1.2.0

func (m RuleMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RuleValidationError added in v1.2.0

type RuleValidationError struct {
	// contains filtered or unexported fields
}

RuleValidationError is the validation error returned by Rule.Validate if the designated constraints aren't met.

func (RuleValidationError) Cause added in v1.2.0

func (e RuleValidationError) Cause() error

Cause function returns cause value.

func (RuleValidationError) Error added in v1.2.0

func (e RuleValidationError) Error() string

Error satisfies the builtin error interface

func (RuleValidationError) ErrorName added in v1.2.0

func (e RuleValidationError) ErrorName() string

ErrorName returns error name.

func (RuleValidationError) Field added in v1.2.0

func (e RuleValidationError) Field() string

Field function returns field value.

func (RuleValidationError) Key added in v1.2.0

func (e RuleValidationError) Key() bool

Key function returns key value.

func (RuleValidationError) Reason added in v1.2.0

func (e RuleValidationError) Reason() string

Reason function returns reason value.

type Rule_Extractor

type Rule_Extractor struct {
	// High-level declarative extractor.
	Extractor *Extractor `protobuf:"bytes,1,opt,name=extractor,proto3,oneof"`
}

type SMA added in v1.6.0

type SMA struct {

	// Input ports for the SMA component.
	InPorts *SMA_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the SMA component.
	OutPorts *SMA_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Parameters for the SMA component.
	Parameters *SMA_Parameters `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Simple Moving Average (SMA) is a type of moving average that computes the average of a fixed number of signal readings.

func (*SMA) DeepCopy added in v1.6.0

func (in *SMA) DeepCopy() *SMA

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SMA. Required by controller-gen.

func (*SMA) DeepCopyInterface added in v1.6.0

func (in *SMA) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SMA. Required by controller-gen.

func (*SMA) DeepCopyInto added in v1.6.0

func (in *SMA) DeepCopyInto(out *SMA)

DeepCopyInto supports using SMA within kubernetes types, where deepcopy-gen is used.

func (*SMA) Descriptor deprecated added in v1.6.0

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

Deprecated: Use SMA.ProtoReflect.Descriptor instead.

func (*SMA) GetInPorts added in v1.6.0

func (x *SMA) GetInPorts() *SMA_Ins

func (*SMA) GetOutPorts added in v1.6.0

func (x *SMA) GetOutPorts() *SMA_Outs

func (*SMA) GetParameters added in v1.6.0

func (x *SMA) GetParameters() *SMA_Parameters

func (*SMA) MarshalJSON added in v1.6.0

func (msg *SMA) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SMA) ProtoMessage added in v1.6.0

func (*SMA) ProtoMessage()

func (*SMA) ProtoReflect added in v1.6.0

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

func (*SMA) Reset added in v1.6.0

func (x *SMA) Reset()

func (*SMA) String added in v1.6.0

func (x *SMA) String() string

func (*SMA) UnmarshalJSON added in v1.6.0

func (msg *SMA) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SMA) Validate added in v1.6.0

func (m *SMA) Validate() error

Validate checks the field values on SMA with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SMA) ValidateAll added in v1.6.0

func (m *SMA) ValidateAll() error

ValidateAll checks the field values on SMA with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SMAMultiError, or nil if none found.

type SMAMultiError added in v1.6.0

type SMAMultiError []error

SMAMultiError is an error wrapping multiple validation errors returned by SMA.ValidateAll() if the designated constraints aren't met.

func (SMAMultiError) AllErrors added in v1.6.0

func (m SMAMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SMAMultiError) Error added in v1.6.0

func (m SMAMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SMAValidationError added in v1.6.0

type SMAValidationError struct {
	// contains filtered or unexported fields
}

SMAValidationError is the validation error returned by SMA.Validate if the designated constraints aren't met.

func (SMAValidationError) Cause added in v1.6.0

func (e SMAValidationError) Cause() error

Cause function returns cause value.

func (SMAValidationError) Error added in v1.6.0

func (e SMAValidationError) Error() string

Error satisfies the builtin error interface

func (SMAValidationError) ErrorName added in v1.6.0

func (e SMAValidationError) ErrorName() string

ErrorName returns error name.

func (SMAValidationError) Field added in v1.6.0

func (e SMAValidationError) Field() string

Field function returns field value.

func (SMAValidationError) Key added in v1.6.0

func (e SMAValidationError) Key() bool

Key function returns key value.

func (SMAValidationError) Reason added in v1.6.0

func (e SMAValidationError) Reason() string

Reason function returns reason value.

type SMA_Ins added in v1.6.0

type SMA_Ins struct {

	// Signal to be used for the moving average computation.
	Input *InPort `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// contains filtered or unexported fields
}

func (*SMA_Ins) DeepCopy added in v1.6.0

func (in *SMA_Ins) DeepCopy() *SMA_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SMA_Ins. Required by controller-gen.

func (*SMA_Ins) DeepCopyInterface added in v1.6.0

func (in *SMA_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SMA_Ins. Required by controller-gen.

func (*SMA_Ins) DeepCopyInto added in v1.6.0

func (in *SMA_Ins) DeepCopyInto(out *SMA_Ins)

DeepCopyInto supports using SMA_Ins within kubernetes types, where deepcopy-gen is used.

func (*SMA_Ins) Descriptor deprecated added in v1.6.0

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

Deprecated: Use SMA_Ins.ProtoReflect.Descriptor instead.

func (*SMA_Ins) GetInput added in v1.6.0

func (x *SMA_Ins) GetInput() *InPort

func (*SMA_Ins) MarshalJSON added in v1.6.0

func (msg *SMA_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SMA_Ins) ProtoMessage added in v1.6.0

func (*SMA_Ins) ProtoMessage()

func (*SMA_Ins) ProtoReflect added in v1.6.0

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

func (*SMA_Ins) Reset added in v1.6.0

func (x *SMA_Ins) Reset()

func (*SMA_Ins) String added in v1.6.0

func (x *SMA_Ins) String() string

func (*SMA_Ins) UnmarshalJSON added in v1.6.0

func (msg *SMA_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SMA_Ins) Validate added in v1.6.0

func (m *SMA_Ins) Validate() error

Validate checks the field values on SMA_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SMA_Ins) ValidateAll added in v1.6.0

func (m *SMA_Ins) ValidateAll() error

ValidateAll checks the field values on SMA_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SMA_InsMultiError, or nil if none found.

type SMA_InsMultiError added in v1.6.0

type SMA_InsMultiError []error

SMA_InsMultiError is an error wrapping multiple validation errors returned by SMA_Ins.ValidateAll() if the designated constraints aren't met.

func (SMA_InsMultiError) AllErrors added in v1.6.0

func (m SMA_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SMA_InsMultiError) Error added in v1.6.0

func (m SMA_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SMA_InsValidationError added in v1.6.0

type SMA_InsValidationError struct {
	// contains filtered or unexported fields
}

SMA_InsValidationError is the validation error returned by SMA_Ins.Validate if the designated constraints aren't met.

func (SMA_InsValidationError) Cause added in v1.6.0

func (e SMA_InsValidationError) Cause() error

Cause function returns cause value.

func (SMA_InsValidationError) Error added in v1.6.0

func (e SMA_InsValidationError) Error() string

Error satisfies the builtin error interface

func (SMA_InsValidationError) ErrorName added in v1.6.0

func (e SMA_InsValidationError) ErrorName() string

ErrorName returns error name.

func (SMA_InsValidationError) Field added in v1.6.0

func (e SMA_InsValidationError) Field() string

Field function returns field value.

func (SMA_InsValidationError) Key added in v1.6.0

func (e SMA_InsValidationError) Key() bool

Key function returns key value.

func (SMA_InsValidationError) Reason added in v1.6.0

func (e SMA_InsValidationError) Reason() string

Reason function returns reason value.

type SMA_Outs added in v1.6.0

type SMA_Outs struct {

	// Computed moving average.
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*SMA_Outs) DeepCopy added in v1.6.0

func (in *SMA_Outs) DeepCopy() *SMA_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SMA_Outs. Required by controller-gen.

func (*SMA_Outs) DeepCopyInterface added in v1.6.0

func (in *SMA_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SMA_Outs. Required by controller-gen.

func (*SMA_Outs) DeepCopyInto added in v1.6.0

func (in *SMA_Outs) DeepCopyInto(out *SMA_Outs)

DeepCopyInto supports using SMA_Outs within kubernetes types, where deepcopy-gen is used.

func (*SMA_Outs) Descriptor deprecated added in v1.6.0

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

Deprecated: Use SMA_Outs.ProtoReflect.Descriptor instead.

func (*SMA_Outs) GetOutput added in v1.6.0

func (x *SMA_Outs) GetOutput() *OutPort

func (*SMA_Outs) MarshalJSON added in v1.6.0

func (msg *SMA_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SMA_Outs) ProtoMessage added in v1.6.0

func (*SMA_Outs) ProtoMessage()

func (*SMA_Outs) ProtoReflect added in v1.6.0

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

func (*SMA_Outs) Reset added in v1.6.0

func (x *SMA_Outs) Reset()

func (*SMA_Outs) String added in v1.6.0

func (x *SMA_Outs) String() string

func (*SMA_Outs) UnmarshalJSON added in v1.6.0

func (msg *SMA_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SMA_Outs) Validate added in v1.6.0

func (m *SMA_Outs) Validate() error

Validate checks the field values on SMA_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SMA_Outs) ValidateAll added in v1.6.0

func (m *SMA_Outs) ValidateAll() error

ValidateAll checks the field values on SMA_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SMA_OutsMultiError, or nil if none found.

type SMA_OutsMultiError added in v1.6.0

type SMA_OutsMultiError []error

SMA_OutsMultiError is an error wrapping multiple validation errors returned by SMA_Outs.ValidateAll() if the designated constraints aren't met.

func (SMA_OutsMultiError) AllErrors added in v1.6.0

func (m SMA_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SMA_OutsMultiError) Error added in v1.6.0

func (m SMA_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SMA_OutsValidationError added in v1.6.0

type SMA_OutsValidationError struct {
	// contains filtered or unexported fields
}

SMA_OutsValidationError is the validation error returned by SMA_Outs.Validate if the designated constraints aren't met.

func (SMA_OutsValidationError) Cause added in v1.6.0

func (e SMA_OutsValidationError) Cause() error

Cause function returns cause value.

func (SMA_OutsValidationError) Error added in v1.6.0

func (e SMA_OutsValidationError) Error() string

Error satisfies the builtin error interface

func (SMA_OutsValidationError) ErrorName added in v1.6.0

func (e SMA_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (SMA_OutsValidationError) Field added in v1.6.0

func (e SMA_OutsValidationError) Field() string

Field function returns field value.

func (SMA_OutsValidationError) Key added in v1.6.0

func (e SMA_OutsValidationError) Key() bool

Key function returns key value.

func (SMA_OutsValidationError) Reason added in v1.6.0

func (e SMA_OutsValidationError) Reason() string

Reason function returns reason value.

type SMA_Parameters added in v1.6.0

type SMA_Parameters struct {

	// Window of time over which the moving average is computed.
	SmaWindow *durationpb.Duration `protobuf:"bytes,1,opt,name=sma_window,json=smaWindow,proto3" json:"sma_window,omitempty" validate:"required"` // @gotags: validate:"required"
	// Whether the output is valid during the warm-up stage.
	ValidDuringWarmup bool `` // @gotags: default:"false"
	/* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SMA_Parameters) DeepCopy added in v1.6.0

func (in *SMA_Parameters) DeepCopy() *SMA_Parameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SMA_Parameters. Required by controller-gen.

func (*SMA_Parameters) DeepCopyInterface added in v1.6.0

func (in *SMA_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SMA_Parameters. Required by controller-gen.

func (*SMA_Parameters) DeepCopyInto added in v1.6.0

func (in *SMA_Parameters) DeepCopyInto(out *SMA_Parameters)

DeepCopyInto supports using SMA_Parameters within kubernetes types, where deepcopy-gen is used.

func (*SMA_Parameters) Descriptor deprecated added in v1.6.0

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

Deprecated: Use SMA_Parameters.ProtoReflect.Descriptor instead.

func (*SMA_Parameters) GetSmaWindow added in v1.6.0

func (x *SMA_Parameters) GetSmaWindow() *durationpb.Duration

func (*SMA_Parameters) GetValidDuringWarmup added in v1.6.0

func (x *SMA_Parameters) GetValidDuringWarmup() bool

func (*SMA_Parameters) MarshalJSON added in v1.6.0

func (msg *SMA_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SMA_Parameters) ProtoMessage added in v1.6.0

func (*SMA_Parameters) ProtoMessage()

func (*SMA_Parameters) ProtoReflect added in v1.6.0

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

func (*SMA_Parameters) Reset added in v1.6.0

func (x *SMA_Parameters) Reset()

func (*SMA_Parameters) String added in v1.6.0

func (x *SMA_Parameters) String() string

func (*SMA_Parameters) UnmarshalJSON added in v1.6.0

func (msg *SMA_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SMA_Parameters) Validate added in v1.6.0

func (m *SMA_Parameters) Validate() error

Validate checks the field values on SMA_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SMA_Parameters) ValidateAll added in v1.6.0

func (m *SMA_Parameters) ValidateAll() error

ValidateAll checks the field values on SMA_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SMA_ParametersMultiError, or nil if none found.

type SMA_ParametersMultiError added in v1.6.0

type SMA_ParametersMultiError []error

SMA_ParametersMultiError is an error wrapping multiple validation errors returned by SMA_Parameters.ValidateAll() if the designated constraints aren't met.

func (SMA_ParametersMultiError) AllErrors added in v1.6.0

func (m SMA_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SMA_ParametersMultiError) Error added in v1.6.0

func (m SMA_ParametersMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SMA_ParametersValidationError added in v1.6.0

type SMA_ParametersValidationError struct {
	// contains filtered or unexported fields
}

SMA_ParametersValidationError is the validation error returned by SMA_Parameters.Validate if the designated constraints aren't met.

func (SMA_ParametersValidationError) Cause added in v1.6.0

Cause function returns cause value.

func (SMA_ParametersValidationError) Error added in v1.6.0

Error satisfies the builtin error interface

func (SMA_ParametersValidationError) ErrorName added in v1.6.0

func (e SMA_ParametersValidationError) ErrorName() string

ErrorName returns error name.

func (SMA_ParametersValidationError) Field added in v1.6.0

Field function returns field value.

func (SMA_ParametersValidationError) Key added in v1.6.0

Key function returns key value.

func (SMA_ParametersValidationError) Reason added in v1.6.0

Reason function returns reason value.

type ScaleInController added in v1.3.0

type ScaleInController struct {

	// Controller
	Controller *ScaleInController_Controller `protobuf:"bytes,1,opt,name=controller,proto3" json:"controller,omitempty"`
	// Configuration for embedded Alerter.
	AlerterParameters *Alerter_Parameters `protobuf:"bytes,2,opt,name=alerter_parameters,json=alerterParameters,proto3" json:"alerter_parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*ScaleInController) DeepCopy added in v1.3.0

func (in *ScaleInController) DeepCopy() *ScaleInController

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleInController. Required by controller-gen.

func (*ScaleInController) DeepCopyInterface added in v1.3.0

func (in *ScaleInController) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ScaleInController. Required by controller-gen.

func (*ScaleInController) DeepCopyInto added in v1.3.0

func (in *ScaleInController) DeepCopyInto(out *ScaleInController)

DeepCopyInto supports using ScaleInController within kubernetes types, where deepcopy-gen is used.

func (*ScaleInController) Descriptor deprecated added in v1.3.0

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

Deprecated: Use ScaleInController.ProtoReflect.Descriptor instead.

func (*ScaleInController) GetAlerterParameters added in v1.3.0

func (x *ScaleInController) GetAlerterParameters() *Alerter_Parameters

func (*ScaleInController) GetController added in v1.3.0

func (x *ScaleInController) GetController() *ScaleInController_Controller

func (*ScaleInController) MarshalJSON added in v1.3.0

func (msg *ScaleInController) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ScaleInController) ProtoMessage added in v1.3.0

func (*ScaleInController) ProtoMessage()

func (*ScaleInController) ProtoReflect added in v1.3.0

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

func (*ScaleInController) Reset added in v1.3.0

func (x *ScaleInController) Reset()

func (*ScaleInController) String added in v1.3.0

func (x *ScaleInController) String() string

func (*ScaleInController) UnmarshalJSON added in v1.3.0

func (msg *ScaleInController) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ScaleInController) Validate added in v1.3.0

func (m *ScaleInController) Validate() error

Validate checks the field values on ScaleInController with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ScaleInController) ValidateAll added in v1.3.0

func (m *ScaleInController) ValidateAll() error

ValidateAll checks the field values on ScaleInController with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScaleInControllerMultiError, or nil if none found.

type ScaleInControllerMultiError added in v1.3.0

type ScaleInControllerMultiError []error

ScaleInControllerMultiError is an error wrapping multiple validation errors returned by ScaleInController.ValidateAll() if the designated constraints aren't met.

func (ScaleInControllerMultiError) AllErrors added in v1.3.0

func (m ScaleInControllerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ScaleInControllerMultiError) Error added in v1.3.0

Error returns a concatenation of all the error messages it wraps.

type ScaleInControllerValidationError added in v1.3.0

type ScaleInControllerValidationError struct {
	// contains filtered or unexported fields
}

ScaleInControllerValidationError is the validation error returned by ScaleInController.Validate if the designated constraints aren't met.

func (ScaleInControllerValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (ScaleInControllerValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (ScaleInControllerValidationError) ErrorName added in v1.3.0

ErrorName returns error name.

func (ScaleInControllerValidationError) Field added in v1.3.0

Field function returns field value.

func (ScaleInControllerValidationError) Key added in v1.3.0

Key function returns key value.

func (ScaleInControllerValidationError) Reason added in v1.3.0

Reason function returns reason value.

type ScaleInController_Controller added in v1.3.0

type ScaleInController_Controller struct {

	// Types that are assignable to Controller:
	//
	//	*ScaleInController_Controller_Gradient
	Controller isScaleInController_Controller_Controller `protobuf_oneof:"controller"`
	// contains filtered or unexported fields
}

func (*ScaleInController_Controller) DeepCopy added in v1.3.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleInController_Controller. Required by controller-gen.

func (*ScaleInController_Controller) DeepCopyInterface added in v1.3.0

func (in *ScaleInController_Controller) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ScaleInController_Controller. Required by controller-gen.

func (*ScaleInController_Controller) DeepCopyInto added in v1.3.0

DeepCopyInto supports using ScaleInController_Controller within kubernetes types, where deepcopy-gen is used.

func (*ScaleInController_Controller) Descriptor deprecated added in v1.3.0

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

Deprecated: Use ScaleInController_Controller.ProtoReflect.Descriptor instead.

func (*ScaleInController_Controller) GetController added in v1.3.0

func (m *ScaleInController_Controller) GetController() isScaleInController_Controller_Controller

func (*ScaleInController_Controller) GetGradient added in v1.3.0

func (*ScaleInController_Controller) MarshalJSON added in v1.3.0

func (msg *ScaleInController_Controller) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ScaleInController_Controller) ProtoMessage added in v1.3.0

func (*ScaleInController_Controller) ProtoMessage()

func (*ScaleInController_Controller) ProtoReflect added in v1.3.0

func (*ScaleInController_Controller) Reset added in v1.3.0

func (x *ScaleInController_Controller) Reset()

func (*ScaleInController_Controller) String added in v1.3.0

func (*ScaleInController_Controller) UnmarshalJSON added in v1.3.0

func (msg *ScaleInController_Controller) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ScaleInController_Controller) Validate added in v1.3.0

func (m *ScaleInController_Controller) Validate() error

Validate checks the field values on ScaleInController_Controller with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ScaleInController_Controller) ValidateAll added in v1.3.0

func (m *ScaleInController_Controller) ValidateAll() error

ValidateAll checks the field values on ScaleInController_Controller with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScaleInController_ControllerMultiError, or nil if none found.

type ScaleInController_ControllerMultiError added in v1.3.0

type ScaleInController_ControllerMultiError []error

ScaleInController_ControllerMultiError is an error wrapping multiple validation errors returned by ScaleInController_Controller.ValidateAll() if the designated constraints aren't met.

func (ScaleInController_ControllerMultiError) AllErrors added in v1.3.0

AllErrors returns a list of validation violation errors.

func (ScaleInController_ControllerMultiError) Error added in v1.3.0

Error returns a concatenation of all the error messages it wraps.

type ScaleInController_ControllerValidationError added in v1.3.0

type ScaleInController_ControllerValidationError struct {
	// contains filtered or unexported fields
}

ScaleInController_ControllerValidationError is the validation error returned by ScaleInController_Controller.Validate if the designated constraints aren't met.

func (ScaleInController_ControllerValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (ScaleInController_ControllerValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (ScaleInController_ControllerValidationError) ErrorName added in v1.3.0

ErrorName returns error name.

func (ScaleInController_ControllerValidationError) Field added in v1.3.0

Field function returns field value.

func (ScaleInController_ControllerValidationError) Key added in v1.3.0

Key function returns key value.

func (ScaleInController_ControllerValidationError) Reason added in v1.3.0

Reason function returns reason value.

type ScaleInController_Controller_Gradient added in v1.3.0

type ScaleInController_Controller_Gradient struct {
	Gradient *DecreasingGradient `protobuf:"bytes,1,opt,name=gradient,proto3,oneof"`
}

type ScaleOutController added in v1.3.0

type ScaleOutController struct {

	// Controller
	Controller *ScaleOutController_Controller `protobuf:"bytes,1,opt,name=controller,proto3" json:"controller,omitempty" validate:"required"` // @gotags: validate:"required"
	// Configuration for embedded Alerter.
	AlerterParameters *Alerter_Parameters `protobuf:"bytes,2,opt,name=alerter_parameters,json=alerterParameters,proto3" json:"alerter_parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*ScaleOutController) DeepCopy added in v1.3.0

func (in *ScaleOutController) DeepCopy() *ScaleOutController

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleOutController. Required by controller-gen.

func (*ScaleOutController) DeepCopyInterface added in v1.3.0

func (in *ScaleOutController) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ScaleOutController. Required by controller-gen.

func (*ScaleOutController) DeepCopyInto added in v1.3.0

func (in *ScaleOutController) DeepCopyInto(out *ScaleOutController)

DeepCopyInto supports using ScaleOutController within kubernetes types, where deepcopy-gen is used.

func (*ScaleOutController) Descriptor deprecated added in v1.3.0

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

Deprecated: Use ScaleOutController.ProtoReflect.Descriptor instead.

func (*ScaleOutController) GetAlerterParameters added in v1.3.0

func (x *ScaleOutController) GetAlerterParameters() *Alerter_Parameters

func (*ScaleOutController) GetController added in v1.3.0

func (*ScaleOutController) MarshalJSON added in v1.3.0

func (msg *ScaleOutController) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ScaleOutController) ProtoMessage added in v1.3.0

func (*ScaleOutController) ProtoMessage()

func (*ScaleOutController) ProtoReflect added in v1.3.0

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

func (*ScaleOutController) Reset added in v1.3.0

func (x *ScaleOutController) Reset()

func (*ScaleOutController) String added in v1.3.0

func (x *ScaleOutController) String() string

func (*ScaleOutController) UnmarshalJSON added in v1.3.0

func (msg *ScaleOutController) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ScaleOutController) Validate added in v1.3.0

func (m *ScaleOutController) Validate() error

Validate checks the field values on ScaleOutController with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ScaleOutController) ValidateAll added in v1.3.0

func (m *ScaleOutController) ValidateAll() error

ValidateAll checks the field values on ScaleOutController with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScaleOutControllerMultiError, or nil if none found.

type ScaleOutControllerMultiError added in v1.3.0

type ScaleOutControllerMultiError []error

ScaleOutControllerMultiError is an error wrapping multiple validation errors returned by ScaleOutController.ValidateAll() if the designated constraints aren't met.

func (ScaleOutControllerMultiError) AllErrors added in v1.3.0

func (m ScaleOutControllerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ScaleOutControllerMultiError) Error added in v1.3.0

Error returns a concatenation of all the error messages it wraps.

type ScaleOutControllerValidationError added in v1.3.0

type ScaleOutControllerValidationError struct {
	// contains filtered or unexported fields
}

ScaleOutControllerValidationError is the validation error returned by ScaleOutController.Validate if the designated constraints aren't met.

func (ScaleOutControllerValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (ScaleOutControllerValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (ScaleOutControllerValidationError) ErrorName added in v1.3.0

ErrorName returns error name.

func (ScaleOutControllerValidationError) Field added in v1.3.0

Field function returns field value.

func (ScaleOutControllerValidationError) Key added in v1.3.0

Key function returns key value.

func (ScaleOutControllerValidationError) Reason added in v1.3.0

Reason function returns reason value.

type ScaleOutController_Controller added in v1.3.0

type ScaleOutController_Controller struct {

	// Types that are assignable to Controller:
	//
	//	*ScaleOutController_Controller_Gradient
	Controller isScaleOutController_Controller_Controller `protobuf_oneof:"controller"`
	// contains filtered or unexported fields
}

func (*ScaleOutController_Controller) DeepCopy added in v1.3.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleOutController_Controller. Required by controller-gen.

func (*ScaleOutController_Controller) DeepCopyInterface added in v1.3.0

func (in *ScaleOutController_Controller) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ScaleOutController_Controller. Required by controller-gen.

func (*ScaleOutController_Controller) DeepCopyInto added in v1.3.0

DeepCopyInto supports using ScaleOutController_Controller within kubernetes types, where deepcopy-gen is used.

func (*ScaleOutController_Controller) Descriptor deprecated added in v1.3.0

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

Deprecated: Use ScaleOutController_Controller.ProtoReflect.Descriptor instead.

func (*ScaleOutController_Controller) GetController added in v1.3.0

func (m *ScaleOutController_Controller) GetController() isScaleOutController_Controller_Controller

func (*ScaleOutController_Controller) GetGradient added in v1.3.0

func (*ScaleOutController_Controller) MarshalJSON added in v1.3.0

func (msg *ScaleOutController_Controller) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ScaleOutController_Controller) ProtoMessage added in v1.3.0

func (*ScaleOutController_Controller) ProtoMessage()

func (*ScaleOutController_Controller) ProtoReflect added in v1.3.0

func (*ScaleOutController_Controller) Reset added in v1.3.0

func (x *ScaleOutController_Controller) Reset()

func (*ScaleOutController_Controller) String added in v1.3.0

func (*ScaleOutController_Controller) UnmarshalJSON added in v1.3.0

func (msg *ScaleOutController_Controller) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ScaleOutController_Controller) Validate added in v1.3.0

func (m *ScaleOutController_Controller) Validate() error

Validate checks the field values on ScaleOutController_Controller with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ScaleOutController_Controller) ValidateAll added in v1.3.0

func (m *ScaleOutController_Controller) ValidateAll() error

ValidateAll checks the field values on ScaleOutController_Controller with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScaleOutController_ControllerMultiError, or nil if none found.

type ScaleOutController_ControllerMultiError added in v1.3.0

type ScaleOutController_ControllerMultiError []error

ScaleOutController_ControllerMultiError is an error wrapping multiple validation errors returned by ScaleOutController_Controller.ValidateAll() if the designated constraints aren't met.

func (ScaleOutController_ControllerMultiError) AllErrors added in v1.3.0

AllErrors returns a list of validation violation errors.

func (ScaleOutController_ControllerMultiError) Error added in v1.3.0

Error returns a concatenation of all the error messages it wraps.

type ScaleOutController_ControllerValidationError added in v1.3.0

type ScaleOutController_ControllerValidationError struct {
	// contains filtered or unexported fields
}

ScaleOutController_ControllerValidationError is the validation error returned by ScaleOutController_Controller.Validate if the designated constraints aren't met.

func (ScaleOutController_ControllerValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (ScaleOutController_ControllerValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (ScaleOutController_ControllerValidationError) ErrorName added in v1.3.0

ErrorName returns error name.

func (ScaleOutController_ControllerValidationError) Field added in v1.3.0

Field function returns field value.

func (ScaleOutController_ControllerValidationError) Key added in v1.3.0

Key function returns key value.

func (ScaleOutController_ControllerValidationError) Reason added in v1.3.0

Reason function returns reason value.

type ScaleOutController_Controller_Gradient added in v1.3.0

type ScaleOutController_Controller_Gradient struct {
	Gradient *IncreasingGradient `protobuf:"bytes,1,opt,name=gradient,proto3,oneof"`
}

type Scheduler

type Scheduler struct {

	// Output ports for the Scheduler component.
	OutPorts *Scheduler_Outs `protobuf:"bytes,1,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Scheduler parameters.
	Parameters *Scheduler_Parameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Weighted Fair Queuing-based workload scheduler

:::note

Each Agent instantiates an independent copy of the scheduler, but output signals for accepted and incoming token rate are aggregated across all agents.

:::

func (*Scheduler) DeepCopy added in v0.1.2

func (in *Scheduler) DeepCopy() *Scheduler

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduler. Required by controller-gen.

func (*Scheduler) DeepCopyInterface added in v0.1.2

func (in *Scheduler) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Scheduler. Required by controller-gen.

func (*Scheduler) DeepCopyInto added in v0.1.2

func (in *Scheduler) DeepCopyInto(out *Scheduler)

DeepCopyInto supports using Scheduler within kubernetes types, where deepcopy-gen is used.

func (*Scheduler) Descriptor deprecated

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

Deprecated: Use Scheduler.ProtoReflect.Descriptor instead.

func (*Scheduler) GetOutPorts

func (x *Scheduler) GetOutPorts() *Scheduler_Outs

func (*Scheduler) GetParameters added in v0.21.0

func (x *Scheduler) GetParameters() *Scheduler_Parameters

func (*Scheduler) MarshalJSON

func (msg *Scheduler) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Scheduler) ProtoMessage

func (*Scheduler) ProtoMessage()

func (*Scheduler) ProtoReflect

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

func (*Scheduler) Reset

func (x *Scheduler) Reset()

func (*Scheduler) String

func (x *Scheduler) String() string

func (*Scheduler) UnmarshalJSON

func (msg *Scheduler) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Scheduler) Validate added in v1.2.0

func (m *Scheduler) Validate() error

Validate checks the field values on Scheduler with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Scheduler) ValidateAll added in v1.2.0

func (m *Scheduler) ValidateAll() error

ValidateAll checks the field values on Scheduler with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SchedulerMultiError, or nil if none found.

type SchedulerMultiError added in v1.2.0

type SchedulerMultiError []error

SchedulerMultiError is an error wrapping multiple validation errors returned by Scheduler.ValidateAll() if the designated constraints aren't met.

func (SchedulerMultiError) AllErrors added in v1.2.0

func (m SchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SchedulerMultiError) Error added in v1.2.0

func (m SchedulerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SchedulerValidationError added in v1.2.0

type SchedulerValidationError struct {
	// contains filtered or unexported fields
}

SchedulerValidationError is the validation error returned by Scheduler.Validate if the designated constraints aren't met.

func (SchedulerValidationError) Cause added in v1.2.0

func (e SchedulerValidationError) Cause() error

Cause function returns cause value.

func (SchedulerValidationError) Error added in v1.2.0

func (e SchedulerValidationError) Error() string

Error satisfies the builtin error interface

func (SchedulerValidationError) ErrorName added in v1.2.0

func (e SchedulerValidationError) ErrorName() string

ErrorName returns error name.

func (SchedulerValidationError) Field added in v1.2.0

func (e SchedulerValidationError) Field() string

Field function returns field value.

func (SchedulerValidationError) Key added in v1.2.0

Key function returns key value.

func (SchedulerValidationError) Reason added in v1.2.0

func (e SchedulerValidationError) Reason() string

Reason function returns reason value.

type Scheduler_Outs

type Scheduler_Outs struct {

	// Accepted concurrency is actual concurrency on a control point that this
	// scheduler is applied on.
	// Value of this signal is aggregated from all the relevant schedulers.
	AcceptedConcurrency *OutPort `protobuf:"bytes,1,opt,name=accepted_concurrency,json=acceptedConcurrency,proto3" json:"accepted_concurrency,omitempty"`
	// Incoming concurrency is concurrency that'd be needed to accept all the
	// flows entering the scheduler.
	//
	// This is computed in the same way as `accepted_concurrency`,
	// by summing up tokens from all the flows entering scheduler,
	// including rejected ones.
	IncomingConcurrency *OutPort `protobuf:"bytes,2,opt,name=incoming_concurrency,json=incomingConcurrency,proto3" json:"incoming_concurrency,omitempty"`
	// contains filtered or unexported fields
}

Output for the Scheduler component.

func (*Scheduler_Outs) DeepCopy added in v0.1.2

func (in *Scheduler_Outs) DeepCopy() *Scheduler_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduler_Outs. Required by controller-gen.

func (*Scheduler_Outs) DeepCopyInterface added in v0.1.2

func (in *Scheduler_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Scheduler_Outs. Required by controller-gen.

func (*Scheduler_Outs) DeepCopyInto added in v0.1.2

func (in *Scheduler_Outs) DeepCopyInto(out *Scheduler_Outs)

DeepCopyInto supports using Scheduler_Outs within kubernetes types, where deepcopy-gen is used.

func (*Scheduler_Outs) Descriptor deprecated

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

Deprecated: Use Scheduler_Outs.ProtoReflect.Descriptor instead.

func (*Scheduler_Outs) GetAcceptedConcurrency

func (x *Scheduler_Outs) GetAcceptedConcurrency() *OutPort

func (*Scheduler_Outs) GetIncomingConcurrency

func (x *Scheduler_Outs) GetIncomingConcurrency() *OutPort

func (*Scheduler_Outs) MarshalJSON

func (msg *Scheduler_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Scheduler_Outs) ProtoMessage

func (*Scheduler_Outs) ProtoMessage()

func (*Scheduler_Outs) ProtoReflect

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

func (*Scheduler_Outs) Reset

func (x *Scheduler_Outs) Reset()

func (*Scheduler_Outs) String

func (x *Scheduler_Outs) String() string

func (*Scheduler_Outs) UnmarshalJSON

func (msg *Scheduler_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Scheduler_Outs) Validate added in v1.2.0

func (m *Scheduler_Outs) Validate() error

Validate checks the field values on Scheduler_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Scheduler_Outs) ValidateAll added in v1.2.0

func (m *Scheduler_Outs) ValidateAll() error

ValidateAll checks the field values on Scheduler_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Scheduler_OutsMultiError, or nil if none found.

type Scheduler_OutsMultiError added in v1.2.0

type Scheduler_OutsMultiError []error

Scheduler_OutsMultiError is an error wrapping multiple validation errors returned by Scheduler_Outs.ValidateAll() if the designated constraints aren't met.

func (Scheduler_OutsMultiError) AllErrors added in v1.2.0

func (m Scheduler_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Scheduler_OutsMultiError) Error added in v1.2.0

func (m Scheduler_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Scheduler_OutsValidationError added in v1.2.0

type Scheduler_OutsValidationError struct {
	// contains filtered or unexported fields
}

Scheduler_OutsValidationError is the validation error returned by Scheduler_Outs.Validate if the designated constraints aren't met.

func (Scheduler_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Scheduler_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Scheduler_OutsValidationError) ErrorName added in v1.2.0

func (e Scheduler_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Scheduler_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (Scheduler_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (Scheduler_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Scheduler_Parameters added in v0.21.0

type Scheduler_Parameters struct {

	// List of workloads to be used in scheduler.
	//
	// Categorizing [flows](/concepts/flow-control/flow-control.md#flow) into workloads
	// allows for load-shedding to be "intelligent" compared to random rejections.
	// There are two aspects of this "intelligence":
	//   - Scheduler can more precisely calculate concurrency if it understands
	//     that flows belonging to different classes have different weights (for example, insert queries compared to select queries).
	//   - Setting different priorities to different workloads lets the scheduler
	//     avoid dropping important traffic during overload.
	//
	// Each workload in this list specifies also a matcher that is used to
	// determine which flow will be categorized into which workload.
	// In case of multiple matching workloads, the first matching one will be used.
	// If none of workloads match, `default_workload` will be used.
	//
	// :::info
	//
	// See also [workload definition in the concepts
	// section](/concepts/flow-control/components/load-scheduler.md#workload).
	//
	// :::
	Workloads []*Scheduler_Workload `protobuf:"bytes,1,rep,name=workloads,proto3" json:"workloads,omitempty" validate:"dive"` // @gotags: validate:"dive"
	// Parameters to be used if none of workloads specified in `workloads` match.
	DefaultWorkloadParameters *Scheduler_Workload_Parameters `` /* 138-byte string literal not displayed */
	// Automatically estimate the size of a flow in each workload, based on
	// historical latency. Each workload's `tokens` will be set to average
	// latency of flows in that workload during last few seconds (exact duration
	// of this average can change).
	// This setting is useful in concurrency limiting use-case, where the
	// concurrency is calculated as (avg. latency \* in-flight flows).
	//
	// The value of tokens estimated by `auto_tokens` takes lower precedence
	// than the value of `tokens` specified in the workload definition
	// and `tokens` explicitly specified in the flow labels.
	AutoTokens bool `protobuf:"varint,3,opt,name=auto_tokens,json=autoTokens,proto3" json:"auto_tokens,omitempty" default:"false"` // @gotags: default:"false"
	// Decision deadline margin is the amount of time that the scheduler will
	// subtract from the request deadline to determine the deadline for the
	// decision. This is to ensure that the scheduler has enough time to
	// make a decision before the request deadline happens, accounting for
	// processing delays.
	// The request deadline is based on the
	// [gRPC deadline](https://grpc.io/blog/deadlines) or the
	// [`grpc-timeout` HTTP header](https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests).
	//
	// Fail-open logic is use for flow control APIs, so if the gRPC deadline
	// reaches, the flow will end up being unconditionally allowed while
	// it is still waiting on the scheduler.
	DecisionDeadlineMargin *durationpb.Duration `` // @gotags: default:"0.01s"
	/* 145-byte string literal not displayed */
	// * Key for a flow label that can be used to override the default number of tokens for this flow.
	// * The value associated with this key must be a valid uint64 number.
	// * If this parameter is not provided, the number of tokens for the flow will be determined by the matched workload's token count.
	TokensLabelKey string `protobuf:"bytes,7,opt,name=tokens_label_key,json=tokensLabelKey,proto3" json:"tokens_label_key,omitempty" default:"tokens"` // @gotags: default:"tokens"
	// contains filtered or unexported fields
}

Scheduler parameters

func (*Scheduler_Parameters) DeepCopy added in v0.21.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduler_Parameters. Required by controller-gen.

func (*Scheduler_Parameters) DeepCopyInterface added in v0.21.0

func (in *Scheduler_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Scheduler_Parameters. Required by controller-gen.

func (*Scheduler_Parameters) DeepCopyInto added in v0.21.0

func (in *Scheduler_Parameters) DeepCopyInto(out *Scheduler_Parameters)

DeepCopyInto supports using Scheduler_Parameters within kubernetes types, where deepcopy-gen is used.

func (*Scheduler_Parameters) Descriptor deprecated added in v0.21.0

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

Deprecated: Use Scheduler_Parameters.ProtoReflect.Descriptor instead.

func (*Scheduler_Parameters) GetAutoTokens added in v0.21.0

func (x *Scheduler_Parameters) GetAutoTokens() bool

func (*Scheduler_Parameters) GetDecisionDeadlineMargin added in v1.5.0

func (x *Scheduler_Parameters) GetDecisionDeadlineMargin() *durationpb.Duration

func (*Scheduler_Parameters) GetDefaultWorkloadParameters added in v0.21.0

func (x *Scheduler_Parameters) GetDefaultWorkloadParameters() *Scheduler_Workload_Parameters

func (*Scheduler_Parameters) GetTokensLabelKey added in v1.5.0

func (x *Scheduler_Parameters) GetTokensLabelKey() string

func (*Scheduler_Parameters) GetWorkloads added in v0.21.0

func (x *Scheduler_Parameters) GetWorkloads() []*Scheduler_Workload

func (*Scheduler_Parameters) MarshalJSON added in v0.21.0

func (msg *Scheduler_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Scheduler_Parameters) ProtoMessage added in v0.21.0

func (*Scheduler_Parameters) ProtoMessage()

func (*Scheduler_Parameters) ProtoReflect added in v0.21.0

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

func (*Scheduler_Parameters) Reset added in v0.21.0

func (x *Scheduler_Parameters) Reset()

func (*Scheduler_Parameters) String added in v0.21.0

func (x *Scheduler_Parameters) String() string

func (*Scheduler_Parameters) UnmarshalJSON added in v0.21.0

func (msg *Scheduler_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Scheduler_Parameters) Validate added in v1.2.0

func (m *Scheduler_Parameters) Validate() error

Validate checks the field values on Scheduler_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Scheduler_Parameters) ValidateAll added in v1.2.0

func (m *Scheduler_Parameters) ValidateAll() error

ValidateAll checks the field values on Scheduler_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Scheduler_ParametersMultiError, or nil if none found.

type Scheduler_ParametersMultiError added in v1.2.0

type Scheduler_ParametersMultiError []error

Scheduler_ParametersMultiError is an error wrapping multiple validation errors returned by Scheduler_Parameters.ValidateAll() if the designated constraints aren't met.

func (Scheduler_ParametersMultiError) AllErrors added in v1.2.0

func (m Scheduler_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Scheduler_ParametersMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type Scheduler_ParametersValidationError added in v1.2.0

type Scheduler_ParametersValidationError struct {
	// contains filtered or unexported fields
}

Scheduler_ParametersValidationError is the validation error returned by Scheduler_Parameters.Validate if the designated constraints aren't met.

func (Scheduler_ParametersValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Scheduler_ParametersValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Scheduler_ParametersValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (Scheduler_ParametersValidationError) Field added in v1.2.0

Field function returns field value.

func (Scheduler_ParametersValidationError) Key added in v1.2.0

Key function returns key value.

func (Scheduler_ParametersValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Scheduler_Workload

type Scheduler_Workload struct {

	// Parameters associated with flows matching the label matcher.
	Parameters *Scheduler_Workload_Parameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// Label Matcher to select a Workload based on
	// [flow labels](/concepts/flow-control/flow-label.md).
	LabelMatcher *LabelMatcher `protobuf:"bytes,2,opt,name=label_matcher,json=labelMatcher,proto3" json:"label_matcher,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Workload defines a class of flows that preferably have similar properties such as response latency and desired priority.

func (*Scheduler_Workload) DeepCopy added in v0.1.2

func (in *Scheduler_Workload) DeepCopy() *Scheduler_Workload

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduler_Workload. Required by controller-gen.

func (*Scheduler_Workload) DeepCopyInterface added in v0.1.2

func (in *Scheduler_Workload) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Scheduler_Workload. Required by controller-gen.

func (*Scheduler_Workload) DeepCopyInto added in v0.1.2

func (in *Scheduler_Workload) DeepCopyInto(out *Scheduler_Workload)

DeepCopyInto supports using Scheduler_Workload within kubernetes types, where deepcopy-gen is used.

func (*Scheduler_Workload) Descriptor deprecated

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

Deprecated: Use Scheduler_Workload.ProtoReflect.Descriptor instead.

func (*Scheduler_Workload) GetLabelMatcher added in v0.3.0

func (x *Scheduler_Workload) GetLabelMatcher() *LabelMatcher

func (*Scheduler_Workload) GetParameters added in v0.21.0

func (*Scheduler_Workload) MarshalJSON

func (msg *Scheduler_Workload) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Scheduler_Workload) ProtoMessage

func (*Scheduler_Workload) ProtoMessage()

func (*Scheduler_Workload) ProtoReflect

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

func (*Scheduler_Workload) Reset

func (x *Scheduler_Workload) Reset()

func (*Scheduler_Workload) String

func (x *Scheduler_Workload) String() string

func (*Scheduler_Workload) UnmarshalJSON

func (msg *Scheduler_Workload) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Scheduler_Workload) Validate added in v1.2.0

func (m *Scheduler_Workload) Validate() error

Validate checks the field values on Scheduler_Workload with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Scheduler_Workload) ValidateAll added in v1.2.0

func (m *Scheduler_Workload) ValidateAll() error

ValidateAll checks the field values on Scheduler_Workload with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Scheduler_WorkloadMultiError, or nil if none found.

type Scheduler_WorkloadMultiError added in v1.2.0

type Scheduler_WorkloadMultiError []error

Scheduler_WorkloadMultiError is an error wrapping multiple validation errors returned by Scheduler_Workload.ValidateAll() if the designated constraints aren't met.

func (Scheduler_WorkloadMultiError) AllErrors added in v1.2.0

func (m Scheduler_WorkloadMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Scheduler_WorkloadMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type Scheduler_WorkloadValidationError added in v1.2.0

type Scheduler_WorkloadValidationError struct {
	// contains filtered or unexported fields
}

Scheduler_WorkloadValidationError is the validation error returned by Scheduler_Workload.Validate if the designated constraints aren't met.

func (Scheduler_WorkloadValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Scheduler_WorkloadValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Scheduler_WorkloadValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (Scheduler_WorkloadValidationError) Field added in v1.2.0

Field function returns field value.

func (Scheduler_WorkloadValidationError) Key added in v1.2.0

Key function returns key value.

func (Scheduler_WorkloadValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Scheduler_Workload_Parameters added in v0.21.0

type Scheduler_Workload_Parameters struct {

	// Describes priority level of the flows within the workload.
	// Priority level ranges from 0 to 255.
	// Higher numbers means higher priority level.
	// Priority levels have non-linear effect on the workload scheduling. The following formula is used to determine the position of a flow in the queue based on virtual finish time:
	//
	// $$
	// \text{virtual\_finish\_time} = \text{virtual\_time} + \left(\text{tokens} \cdot \left(\text{256} - \text{priority}\right)\right)
	// $$
	Priority uint32 `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty" validate:"gte=0,lte=255" default:"0"` // @gotags: validate:"gte=0,lte=255" default:"0"
	// Tokens determines the cost of admitting a single flow in the workload,
	// which is typically defined as milliseconds of flow latency (time to response or duration of a feature) or
	// simply equal to 1 if the resource being accessed is constrained by the
	// number of flows (3rd party rate limiters).
	// This override is applicable only if tokens for the flow aren't specified
	// in the flow labels.
	Tokens uint64 `protobuf:"varint,2,opt,name=tokens,proto3" json:"tokens,omitempty"`
	// Fairness key is a label key that can be used to provide fairness within a workload.
	// Any [flow label](/concepts/flow-control/flow-label.md) can be used here. For example, if
	// you have a classifier that sets `user` flow label, you might want to set
	// `fairness_key = "user"`.
	FairnessKey string `protobuf:"bytes,3,opt,name=fairness_key,json=fairnessKey,proto3" json:"fairness_key,omitempty"`
	// contains filtered or unexported fields
}

Parameters such as priority, tokens and fairness key that are applicable to flows within a workload.

func (*Scheduler_Workload_Parameters) DeepCopy added in v0.21.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduler_Workload_Parameters. Required by controller-gen.

func (*Scheduler_Workload_Parameters) DeepCopyInterface added in v0.21.0

func (in *Scheduler_Workload_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Scheduler_Workload_Parameters. Required by controller-gen.

func (*Scheduler_Workload_Parameters) DeepCopyInto added in v0.21.0

DeepCopyInto supports using Scheduler_Workload_Parameters within kubernetes types, where deepcopy-gen is used.

func (*Scheduler_Workload_Parameters) Descriptor deprecated added in v0.21.0

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

Deprecated: Use Scheduler_Workload_Parameters.ProtoReflect.Descriptor instead.

func (*Scheduler_Workload_Parameters) GetFairnessKey added in v0.21.0

func (x *Scheduler_Workload_Parameters) GetFairnessKey() string

func (*Scheduler_Workload_Parameters) GetPriority added in v0.21.0

func (x *Scheduler_Workload_Parameters) GetPriority() uint32

func (*Scheduler_Workload_Parameters) GetTokens added in v0.21.0

func (x *Scheduler_Workload_Parameters) GetTokens() uint64

func (*Scheduler_Workload_Parameters) MarshalJSON added in v0.21.0

func (msg *Scheduler_Workload_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Scheduler_Workload_Parameters) ProtoMessage added in v0.21.0

func (*Scheduler_Workload_Parameters) ProtoMessage()

func (*Scheduler_Workload_Parameters) ProtoReflect added in v0.21.0

func (*Scheduler_Workload_Parameters) Reset added in v0.21.0

func (x *Scheduler_Workload_Parameters) Reset()

func (*Scheduler_Workload_Parameters) String added in v0.21.0

func (*Scheduler_Workload_Parameters) UnmarshalJSON added in v0.21.0

func (msg *Scheduler_Workload_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Scheduler_Workload_Parameters) Validate added in v1.2.0

func (m *Scheduler_Workload_Parameters) Validate() error

Validate checks the field values on Scheduler_Workload_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Scheduler_Workload_Parameters) ValidateAll added in v1.2.0

func (m *Scheduler_Workload_Parameters) ValidateAll() error

ValidateAll checks the field values on Scheduler_Workload_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Scheduler_Workload_ParametersMultiError, or nil if none found.

type Scheduler_Workload_ParametersMultiError added in v1.2.0

type Scheduler_Workload_ParametersMultiError []error

Scheduler_Workload_ParametersMultiError is an error wrapping multiple validation errors returned by Scheduler_Workload_Parameters.ValidateAll() if the designated constraints aren't met.

func (Scheduler_Workload_ParametersMultiError) AllErrors added in v1.2.0

AllErrors returns a list of validation violation errors.

func (Scheduler_Workload_ParametersMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type Scheduler_Workload_ParametersValidationError added in v1.2.0

type Scheduler_Workload_ParametersValidationError struct {
	// contains filtered or unexported fields
}

Scheduler_Workload_ParametersValidationError is the validation error returned by Scheduler_Workload_Parameters.Validate if the designated constraints aren't met.

func (Scheduler_Workload_ParametersValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Scheduler_Workload_ParametersValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Scheduler_Workload_ParametersValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (Scheduler_Workload_ParametersValidationError) Field added in v1.2.0

Field function returns field value.

func (Scheduler_Workload_ParametersValidationError) Key added in v1.2.0

Key function returns key value.

func (Scheduler_Workload_ParametersValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Selector added in v0.8.0

type Selector struct {

	// [Control Point](/concepts/flow-control/selector.md#control-point)
	// identifies location within services where policies can act on flows.
	// For an SDK based insertion,
	// a _Control Point_ can represent a particular feature or execution
	// block within a service. In case of service mesh or middleware insertion, a
	// _Control Point_ can identify ingress or egress calls or distinct listeners
	// or filter chains.
	ControlPoint string `protobuf:"bytes,1,opt,name=control_point,json=controlPoint,proto3" json:"control_point,omitempty" validate:"required"` // @gotags: validate:"required"
	// [_Agent Group_](/concepts/flow-control/selector.md#agent-group) this
	// selector applies to.
	//
	// :::info
	//
	// Agent Groups are used to scope policies to a subset of agents connected to the same controller.
	// The agents within an agent group receive exact same policy configuration and
	// form a peer to peer cluster to constantly share state.
	//
	// :::
	AgentGroup string `protobuf:"bytes,2,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/flow-control/selector.md) to select.
	//
	// In Kubernetes, this is the FQDN of the Service object.
	//
	// :::info
	//
	// `any` matches all services.
	//
	// :::
	//
	// :::info
	//
	// An entity (for example, Kubernetes pod) might belong to multiple services.
	//
	// :::
	Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty" default:"any"` // @gotags: default:"any"
	// [Label Matcher](/concepts/flow-control/selector.md#label-matcher)
	// can be used to match flows based on flow labels.
	LabelMatcher *LabelMatcher `protobuf:"bytes,4,opt,name=label_matcher,json=labelMatcher,proto3" json:"label_matcher,omitempty"`
	// contains filtered or unexported fields
}

Selects flows based on control point, flow labels, agent group and the service that the [flow control component](/concepts/flow-control/flow-control.md#components) will operate on.

:::info

See also [Selector overview](/concepts/flow-control/selector.md).

:::

Example: ```yaml control_point: ingress label_matcher:

match_labels:
  user_tier: gold
match_expressions:
  - key: query
    operator: In
    values:
      - insert
      - delete
expression:
  label_matches:
      - label: user_agent
        regex: ^(?!.*Chrome).*Safari

```

func (*Selector) DeepCopy added in v0.8.0

func (in *Selector) DeepCopy() *Selector

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector. Required by controller-gen.

func (*Selector) DeepCopyInterface added in v0.8.0

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.8.0

func (in *Selector) DeepCopyInto(out *Selector)

DeepCopyInto supports using Selector within kubernetes types, where deepcopy-gen is used.

func (*Selector) Descriptor deprecated added in v0.8.0

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

Deprecated: Use Selector.ProtoReflect.Descriptor instead.

func (*Selector) GetAgentGroup added in v1.6.0

func (x *Selector) GetAgentGroup() string

func (*Selector) GetControlPoint added in v1.6.0

func (x *Selector) GetControlPoint() string

func (*Selector) GetLabelMatcher added in v1.6.0

func (x *Selector) GetLabelMatcher() *LabelMatcher

func (*Selector) GetService added in v1.6.0

func (x *Selector) GetService() string

func (*Selector) MarshalJSON added in v0.8.0

func (msg *Selector) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Selector) ProtoMessage added in v0.8.0

func (*Selector) ProtoMessage()

func (*Selector) ProtoReflect added in v0.8.0

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

func (*Selector) Reset added in v0.8.0

func (x *Selector) Reset()

func (*Selector) String added in v0.8.0

func (x *Selector) String() string

func (*Selector) UnmarshalJSON added in v0.8.0

func (msg *Selector) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Selector) Validate added in v1.6.0

func (m *Selector) Validate() error

Validate checks the field values on Selector with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Selector) ValidateAll added in v1.6.0

func (m *Selector) ValidateAll() error

ValidateAll checks the field values on Selector with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SelectorMultiError, or nil if none found.

type SelectorMultiError added in v1.6.0

type SelectorMultiError []error

SelectorMultiError is an error wrapping multiple validation errors returned by Selector.ValidateAll() if the designated constraints aren't met.

func (SelectorMultiError) AllErrors added in v1.6.0

func (m SelectorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SelectorMultiError) Error added in v1.6.0

func (m SelectorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SelectorValidationError added in v1.6.0

type SelectorValidationError struct {
	// contains filtered or unexported fields
}

SelectorValidationError is the validation error returned by Selector.Validate if the designated constraints aren't met.

func (SelectorValidationError) Cause added in v1.6.0

func (e SelectorValidationError) Cause() error

Cause function returns cause value.

func (SelectorValidationError) Error added in v1.6.0

func (e SelectorValidationError) Error() string

Error satisfies the builtin error interface

func (SelectorValidationError) ErrorName added in v1.6.0

func (e SelectorValidationError) ErrorName() string

ErrorName returns error name.

func (SelectorValidationError) Field added in v1.6.0

func (e SelectorValidationError) Field() string

Field function returns field value.

func (SelectorValidationError) Key added in v1.6.0

func (e SelectorValidationError) Key() bool

Key function returns key value.

func (SelectorValidationError) Reason added in v1.6.0

func (e SelectorValidationError) Reason() string

Reason function returns reason value.

type ServiceSelector added in v0.8.0

type ServiceSelector struct {

	// Which [agent-group](/concepts/flow-control/selector.md#agent-group) this
	// selector applies to.
	//
	// :::info
	//
	// Agent Groups are used to scope policies to a subset of agents connected to the same controller.
	// This is especially useful in the Kubernetes sidecar installation because service discovery is switched off in that mode.
	// The agents within an agent group form a peer to peer cluster and constantly share state.
	//
	// :::
	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/flow-control/selector.md) to select.
	//
	// In Kubernetes, this is the FQDN of the Service object.
	//
	// :::info
	//
	// `any` matches all services.
	//
	// :::
	//
	// :::info
	//
	// In the Kubernetes sidecar installation mode, service discovery is switched off by default.
	// To scope policies to services, the `service` should be set to `any` and instead, `agent_group` name should be used.
	//
	// :::
	//
	// :::info
	//
	// An entity (for example, Kubernetes pod) might belong to multiple services.
	//
	// :::
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty" default:"any"` // @gotags: default:"any"
	// contains filtered or unexported fields
}

Describes which service a [flow control or observability component](/concepts/flow-control/flow-control.md#components) should apply to

:::info

See also [FlowSelector overview](/concepts/flow-control/selector.md).

:::

Deprecated 1.8.0: Use `selectors` instead.

func (*ServiceSelector) DeepCopy added in v0.8.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.8.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.8.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.8.0

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

Deprecated: Use ServiceSelector.ProtoReflect.Descriptor instead.

func (*ServiceSelector) GetAgentGroup added in v0.8.0

func (x *ServiceSelector) GetAgentGroup() string

func (*ServiceSelector) GetService added in v0.8.0

func (x *ServiceSelector) GetService() string

func (*ServiceSelector) MarshalJSON added in v0.8.0

func (msg *ServiceSelector) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ServiceSelector) ProtoMessage added in v0.8.0

func (*ServiceSelector) ProtoMessage()

func (*ServiceSelector) ProtoReflect added in v0.8.0

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

func (*ServiceSelector) Reset added in v0.8.0

func (x *ServiceSelector) Reset()

func (*ServiceSelector) String added in v0.8.0

func (x *ServiceSelector) String() string

func (*ServiceSelector) UnmarshalJSON added in v0.8.0

func (msg *ServiceSelector) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ServiceSelector) Validate added in v1.2.0

func (m *ServiceSelector) Validate() error

Validate checks the field values on ServiceSelector with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ServiceSelector) ValidateAll added in v1.2.0

func (m *ServiceSelector) ValidateAll() error

ValidateAll checks the field values on ServiceSelector with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceSelectorMultiError, or nil if none found.

type ServiceSelectorMultiError added in v1.2.0

type ServiceSelectorMultiError []error

ServiceSelectorMultiError is an error wrapping multiple validation errors returned by ServiceSelector.ValidateAll() if the designated constraints aren't met.

func (ServiceSelectorMultiError) AllErrors added in v1.2.0

func (m ServiceSelectorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceSelectorMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type ServiceSelectorValidationError added in v1.2.0

type ServiceSelectorValidationError struct {
	// contains filtered or unexported fields
}

ServiceSelectorValidationError is the validation error returned by ServiceSelector.Validate if the designated constraints aren't met.

func (ServiceSelectorValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (ServiceSelectorValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (ServiceSelectorValidationError) ErrorName added in v1.2.0

func (e ServiceSelectorValidationError) ErrorName() string

ErrorName returns error name.

func (ServiceSelectorValidationError) Field added in v1.2.0

Field function returns field value.

func (ServiceSelectorValidationError) Key added in v1.2.0

Key function returns key value.

func (ServiceSelectorValidationError) Reason added in v1.2.0

Reason function returns reason value.

type SignalGenerator added in v1.4.0

type SignalGenerator struct {
	InPorts  *SignalGenerator_Ins  `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	OutPorts *SignalGenerator_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Parameters for the _Signal Generator_ component.
	Parameters *SignalGenerator_Parameters `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

The _Signal Generator_ component generates a smooth and continuous signal by following a sequence of specified steps. Each step has two parameters:

  • `target_output`: The desired output value at the end of the step.
  • `duration`: The time it takes for the signal to change linearly from the previous step's `target_output` to the current step's `target_output`.

The output signal starts at the `target_output` of the first step and changes linearly between steps based on their `duration`. The _Signal Generator_ can be controlled to move forwards, backwards, or reset to the beginning based on input signals.

func (*SignalGenerator) DeepCopy added in v1.4.0

func (in *SignalGenerator) DeepCopy() *SignalGenerator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignalGenerator. Required by controller-gen.

func (*SignalGenerator) DeepCopyInterface added in v1.4.0

func (in *SignalGenerator) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SignalGenerator. Required by controller-gen.

func (*SignalGenerator) DeepCopyInto added in v1.4.0

func (in *SignalGenerator) DeepCopyInto(out *SignalGenerator)

DeepCopyInto supports using SignalGenerator within kubernetes types, where deepcopy-gen is used.

func (*SignalGenerator) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SignalGenerator.ProtoReflect.Descriptor instead.

func (*SignalGenerator) GetInPorts added in v1.4.0

func (x *SignalGenerator) GetInPorts() *SignalGenerator_Ins

func (*SignalGenerator) GetOutPorts added in v1.4.0

func (x *SignalGenerator) GetOutPorts() *SignalGenerator_Outs

func (*SignalGenerator) GetParameters added in v1.4.0

func (x *SignalGenerator) GetParameters() *SignalGenerator_Parameters

func (*SignalGenerator) MarshalJSON added in v1.4.0

func (msg *SignalGenerator) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SignalGenerator) ProtoMessage added in v1.4.0

func (*SignalGenerator) ProtoMessage()

func (*SignalGenerator) ProtoReflect added in v1.4.0

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

func (*SignalGenerator) Reset added in v1.4.0

func (x *SignalGenerator) Reset()

func (*SignalGenerator) String added in v1.4.0

func (x *SignalGenerator) String() string

func (*SignalGenerator) UnmarshalJSON added in v1.4.0

func (msg *SignalGenerator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SignalGenerator) Validate added in v1.4.0

func (m *SignalGenerator) Validate() error

Validate checks the field values on SignalGenerator with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SignalGenerator) ValidateAll added in v1.4.0

func (m *SignalGenerator) ValidateAll() error

ValidateAll checks the field values on SignalGenerator with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignalGeneratorMultiError, or nil if none found.

type SignalGeneratorMultiError added in v1.4.0

type SignalGeneratorMultiError []error

SignalGeneratorMultiError is an error wrapping multiple validation errors returned by SignalGenerator.ValidateAll() if the designated constraints aren't met.

func (SignalGeneratorMultiError) AllErrors added in v1.4.0

func (m SignalGeneratorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SignalGeneratorMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type SignalGeneratorValidationError added in v1.4.0

type SignalGeneratorValidationError struct {
	// contains filtered or unexported fields
}

SignalGeneratorValidationError is the validation error returned by SignalGenerator.Validate if the designated constraints aren't met.

func (SignalGeneratorValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (SignalGeneratorValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (SignalGeneratorValidationError) ErrorName added in v1.4.0

func (e SignalGeneratorValidationError) ErrorName() string

ErrorName returns error name.

func (SignalGeneratorValidationError) Field added in v1.4.0

Field function returns field value.

func (SignalGeneratorValidationError) Key added in v1.4.0

Key function returns key value.

func (SignalGeneratorValidationError) Reason added in v1.4.0

Reason function returns reason value.

type SignalGenerator_Ins added in v1.4.0

type SignalGenerator_Ins struct {

	// Whether to progress the _Signal Generator_ towards the next step.
	Forward *InPort `protobuf:"bytes,1,opt,name=forward,proto3" json:"forward,omitempty"`
	// Whether to progress the _Signal Generator_ towards the previous step.
	Backward *InPort `protobuf:"bytes,2,opt,name=backward,proto3" json:"backward,omitempty"`
	// Whether to reset the _Signal Generator_ to the first step.
	Reset_ *InPort `protobuf:"bytes,3,opt,name=reset,proto3" json:"reset,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the _Signal Generator_ component.

func (*SignalGenerator_Ins) DeepCopy added in v1.4.0

func (in *SignalGenerator_Ins) DeepCopy() *SignalGenerator_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignalGenerator_Ins. Required by controller-gen.

func (*SignalGenerator_Ins) DeepCopyInterface added in v1.4.0

func (in *SignalGenerator_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SignalGenerator_Ins. Required by controller-gen.

func (*SignalGenerator_Ins) DeepCopyInto added in v1.4.0

func (in *SignalGenerator_Ins) DeepCopyInto(out *SignalGenerator_Ins)

DeepCopyInto supports using SignalGenerator_Ins within kubernetes types, where deepcopy-gen is used.

func (*SignalGenerator_Ins) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SignalGenerator_Ins.ProtoReflect.Descriptor instead.

func (*SignalGenerator_Ins) GetBackward added in v1.4.0

func (x *SignalGenerator_Ins) GetBackward() *InPort

func (*SignalGenerator_Ins) GetForward added in v1.4.0

func (x *SignalGenerator_Ins) GetForward() *InPort

func (*SignalGenerator_Ins) GetReset_ added in v1.4.0

func (x *SignalGenerator_Ins) GetReset_() *InPort

func (*SignalGenerator_Ins) MarshalJSON added in v1.4.0

func (msg *SignalGenerator_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SignalGenerator_Ins) ProtoMessage added in v1.4.0

func (*SignalGenerator_Ins) ProtoMessage()

func (*SignalGenerator_Ins) ProtoReflect added in v1.4.0

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

func (*SignalGenerator_Ins) Reset added in v1.4.0

func (x *SignalGenerator_Ins) Reset()

func (*SignalGenerator_Ins) String added in v1.4.0

func (x *SignalGenerator_Ins) String() string

func (*SignalGenerator_Ins) UnmarshalJSON added in v1.4.0

func (msg *SignalGenerator_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SignalGenerator_Ins) Validate added in v1.4.0

func (m *SignalGenerator_Ins) Validate() error

Validate checks the field values on SignalGenerator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SignalGenerator_Ins) ValidateAll added in v1.4.0

func (m *SignalGenerator_Ins) ValidateAll() error

ValidateAll checks the field values on SignalGenerator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignalGenerator_InsMultiError, or nil if none found.

type SignalGenerator_InsMultiError added in v1.4.0

type SignalGenerator_InsMultiError []error

SignalGenerator_InsMultiError is an error wrapping multiple validation errors returned by SignalGenerator_Ins.ValidateAll() if the designated constraints aren't met.

func (SignalGenerator_InsMultiError) AllErrors added in v1.4.0

func (m SignalGenerator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SignalGenerator_InsMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type SignalGenerator_InsValidationError added in v1.4.0

type SignalGenerator_InsValidationError struct {
	// contains filtered or unexported fields
}

SignalGenerator_InsValidationError is the validation error returned by SignalGenerator_Ins.Validate if the designated constraints aren't met.

func (SignalGenerator_InsValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (SignalGenerator_InsValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (SignalGenerator_InsValidationError) ErrorName added in v1.4.0

ErrorName returns error name.

func (SignalGenerator_InsValidationError) Field added in v1.4.0

Field function returns field value.

func (SignalGenerator_InsValidationError) Key added in v1.4.0

Key function returns key value.

func (SignalGenerator_InsValidationError) Reason added in v1.4.0

Reason function returns reason value.

type SignalGenerator_Outs added in v1.4.0

type SignalGenerator_Outs struct {

	// The generated signal.
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// A Boolean signal indicating whether the _Signal Generator_ is at the start of signal generation.
	AtStart *OutPort `protobuf:"bytes,2,opt,name=at_start,json=atStart,proto3" json:"at_start,omitempty"`
	// A Boolean signal indicating whether the _Signal Generator_ is at the end of signal generation.
	AtEnd *OutPort `protobuf:"bytes,3,opt,name=at_end,json=atEnd,proto3" json:"at_end,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the _Signal Generator_ component.

func (*SignalGenerator_Outs) DeepCopy added in v1.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignalGenerator_Outs. Required by controller-gen.

func (*SignalGenerator_Outs) DeepCopyInterface added in v1.4.0

func (in *SignalGenerator_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SignalGenerator_Outs. Required by controller-gen.

func (*SignalGenerator_Outs) DeepCopyInto added in v1.4.0

func (in *SignalGenerator_Outs) DeepCopyInto(out *SignalGenerator_Outs)

DeepCopyInto supports using SignalGenerator_Outs within kubernetes types, where deepcopy-gen is used.

func (*SignalGenerator_Outs) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SignalGenerator_Outs.ProtoReflect.Descriptor instead.

func (*SignalGenerator_Outs) GetAtEnd added in v1.4.0

func (x *SignalGenerator_Outs) GetAtEnd() *OutPort

func (*SignalGenerator_Outs) GetAtStart added in v1.4.0

func (x *SignalGenerator_Outs) GetAtStart() *OutPort

func (*SignalGenerator_Outs) GetOutput added in v1.4.0

func (x *SignalGenerator_Outs) GetOutput() *OutPort

func (*SignalGenerator_Outs) MarshalJSON added in v1.4.0

func (msg *SignalGenerator_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SignalGenerator_Outs) ProtoMessage added in v1.4.0

func (*SignalGenerator_Outs) ProtoMessage()

func (*SignalGenerator_Outs) ProtoReflect added in v1.4.0

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

func (*SignalGenerator_Outs) Reset added in v1.4.0

func (x *SignalGenerator_Outs) Reset()

func (*SignalGenerator_Outs) String added in v1.4.0

func (x *SignalGenerator_Outs) String() string

func (*SignalGenerator_Outs) UnmarshalJSON added in v1.4.0

func (msg *SignalGenerator_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SignalGenerator_Outs) Validate added in v1.4.0

func (m *SignalGenerator_Outs) Validate() error

Validate checks the field values on SignalGenerator_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SignalGenerator_Outs) ValidateAll added in v1.4.0

func (m *SignalGenerator_Outs) ValidateAll() error

ValidateAll checks the field values on SignalGenerator_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignalGenerator_OutsMultiError, or nil if none found.

type SignalGenerator_OutsMultiError added in v1.4.0

type SignalGenerator_OutsMultiError []error

SignalGenerator_OutsMultiError is an error wrapping multiple validation errors returned by SignalGenerator_Outs.ValidateAll() if the designated constraints aren't met.

func (SignalGenerator_OutsMultiError) AllErrors added in v1.4.0

func (m SignalGenerator_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SignalGenerator_OutsMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type SignalGenerator_OutsValidationError added in v1.4.0

type SignalGenerator_OutsValidationError struct {
	// contains filtered or unexported fields
}

SignalGenerator_OutsValidationError is the validation error returned by SignalGenerator_Outs.Validate if the designated constraints aren't met.

func (SignalGenerator_OutsValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (SignalGenerator_OutsValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (SignalGenerator_OutsValidationError) ErrorName added in v1.4.0

ErrorName returns error name.

func (SignalGenerator_OutsValidationError) Field added in v1.4.0

Field function returns field value.

func (SignalGenerator_OutsValidationError) Key added in v1.4.0

Key function returns key value.

func (SignalGenerator_OutsValidationError) Reason added in v1.4.0

Reason function returns reason value.

type SignalGenerator_Parameters added in v1.4.0

type SignalGenerator_Parameters struct {
	Steps []*SignalGenerator_Parameters_Step `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty" validate:"required,gt=0,dive"` // @gotags: validate:"required,gt=0,dive"
	// contains filtered or unexported fields
}

Parameters for the _Signal Generator_ component.

func (*SignalGenerator_Parameters) DeepCopy added in v1.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignalGenerator_Parameters. Required by controller-gen.

func (*SignalGenerator_Parameters) DeepCopyInterface added in v1.4.0

func (in *SignalGenerator_Parameters) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SignalGenerator_Parameters. Required by controller-gen.

func (*SignalGenerator_Parameters) DeepCopyInto added in v1.4.0

DeepCopyInto supports using SignalGenerator_Parameters within kubernetes types, where deepcopy-gen is used.

func (*SignalGenerator_Parameters) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SignalGenerator_Parameters.ProtoReflect.Descriptor instead.

func (*SignalGenerator_Parameters) GetSteps added in v1.4.0

func (*SignalGenerator_Parameters) MarshalJSON added in v1.4.0

func (msg *SignalGenerator_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SignalGenerator_Parameters) ProtoMessage added in v1.4.0

func (*SignalGenerator_Parameters) ProtoMessage()

func (*SignalGenerator_Parameters) ProtoReflect added in v1.4.0

func (*SignalGenerator_Parameters) Reset added in v1.4.0

func (x *SignalGenerator_Parameters) Reset()

func (*SignalGenerator_Parameters) String added in v1.4.0

func (x *SignalGenerator_Parameters) String() string

func (*SignalGenerator_Parameters) UnmarshalJSON added in v1.4.0

func (msg *SignalGenerator_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SignalGenerator_Parameters) Validate added in v1.4.0

func (m *SignalGenerator_Parameters) Validate() error

Validate checks the field values on SignalGenerator_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SignalGenerator_Parameters) ValidateAll added in v1.4.0

func (m *SignalGenerator_Parameters) ValidateAll() error

ValidateAll checks the field values on SignalGenerator_Parameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignalGenerator_ParametersMultiError, or nil if none found.

type SignalGenerator_ParametersMultiError added in v1.4.0

type SignalGenerator_ParametersMultiError []error

SignalGenerator_ParametersMultiError is an error wrapping multiple validation errors returned by SignalGenerator_Parameters.ValidateAll() if the designated constraints aren't met.

func (SignalGenerator_ParametersMultiError) AllErrors added in v1.4.0

AllErrors returns a list of validation violation errors.

func (SignalGenerator_ParametersMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type SignalGenerator_ParametersValidationError added in v1.4.0

type SignalGenerator_ParametersValidationError struct {
	// contains filtered or unexported fields
}

SignalGenerator_ParametersValidationError is the validation error returned by SignalGenerator_Parameters.Validate if the designated constraints aren't met.

func (SignalGenerator_ParametersValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (SignalGenerator_ParametersValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (SignalGenerator_ParametersValidationError) ErrorName added in v1.4.0

ErrorName returns error name.

func (SignalGenerator_ParametersValidationError) Field added in v1.4.0

Field function returns field value.

func (SignalGenerator_ParametersValidationError) Key added in v1.4.0

Key function returns key value.

func (SignalGenerator_ParametersValidationError) Reason added in v1.4.0

Reason function returns reason value.

type SignalGenerator_Parameters_Step added in v1.4.0

type SignalGenerator_Parameters_Step struct {

	// The value of the step.
	TargetOutput *ConstantSignal `protobuf:"bytes,1,opt,name=target_output,json=targetOutput,proto3" json:"target_output,omitempty"`
	// Duration for which the step is active.
	Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

func (*SignalGenerator_Parameters_Step) DeepCopy added in v1.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignalGenerator_Parameters_Step. Required by controller-gen.

func (*SignalGenerator_Parameters_Step) DeepCopyInterface added in v1.4.0

func (in *SignalGenerator_Parameters_Step) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SignalGenerator_Parameters_Step. Required by controller-gen.

func (*SignalGenerator_Parameters_Step) DeepCopyInto added in v1.4.0

DeepCopyInto supports using SignalGenerator_Parameters_Step within kubernetes types, where deepcopy-gen is used.

func (*SignalGenerator_Parameters_Step) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SignalGenerator_Parameters_Step.ProtoReflect.Descriptor instead.

func (*SignalGenerator_Parameters_Step) GetDuration added in v1.4.0

func (*SignalGenerator_Parameters_Step) GetTargetOutput added in v1.4.0

func (x *SignalGenerator_Parameters_Step) GetTargetOutput() *ConstantSignal

func (*SignalGenerator_Parameters_Step) MarshalJSON added in v1.4.0

func (msg *SignalGenerator_Parameters_Step) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SignalGenerator_Parameters_Step) ProtoMessage added in v1.4.0

func (*SignalGenerator_Parameters_Step) ProtoMessage()

func (*SignalGenerator_Parameters_Step) ProtoReflect added in v1.4.0

func (*SignalGenerator_Parameters_Step) Reset added in v1.4.0

func (*SignalGenerator_Parameters_Step) String added in v1.4.0

func (*SignalGenerator_Parameters_Step) UnmarshalJSON added in v1.4.0

func (msg *SignalGenerator_Parameters_Step) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SignalGenerator_Parameters_Step) Validate added in v1.4.0

func (m *SignalGenerator_Parameters_Step) Validate() error

Validate checks the field values on SignalGenerator_Parameters_Step with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SignalGenerator_Parameters_Step) ValidateAll added in v1.4.0

func (m *SignalGenerator_Parameters_Step) ValidateAll() error

ValidateAll checks the field values on SignalGenerator_Parameters_Step with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignalGenerator_Parameters_StepMultiError, or nil if none found.

type SignalGenerator_Parameters_StepMultiError added in v1.4.0

type SignalGenerator_Parameters_StepMultiError []error

SignalGenerator_Parameters_StepMultiError is an error wrapping multiple validation errors returned by SignalGenerator_Parameters_Step.ValidateAll() if the designated constraints aren't met.

func (SignalGenerator_Parameters_StepMultiError) AllErrors added in v1.4.0

AllErrors returns a list of validation violation errors.

func (SignalGenerator_Parameters_StepMultiError) Error added in v1.4.0

Error returns a concatenation of all the error messages it wraps.

type SignalGenerator_Parameters_StepValidationError added in v1.4.0

type SignalGenerator_Parameters_StepValidationError struct {
	// contains filtered or unexported fields
}

SignalGenerator_Parameters_StepValidationError is the validation error returned by SignalGenerator_Parameters_Step.Validate if the designated constraints aren't met.

func (SignalGenerator_Parameters_StepValidationError) Cause added in v1.4.0

Cause function returns cause value.

func (SignalGenerator_Parameters_StepValidationError) Error added in v1.4.0

Error satisfies the builtin error interface

func (SignalGenerator_Parameters_StepValidationError) ErrorName added in v1.4.0

ErrorName returns error name.

func (SignalGenerator_Parameters_StepValidationError) Field added in v1.4.0

Field function returns field value.

func (SignalGenerator_Parameters_StepValidationError) Key added in v1.4.0

Key function returns key value.

func (SignalGenerator_Parameters_StepValidationError) Reason added in v1.4.0

Reason function returns reason value.

type Switcher added in v0.3.0

type Switcher struct {

	// Input ports for the Switcher component.
	InPorts *Switcher_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the Switcher component.
	OutPorts *Switcher_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

Type of Combinator that switches between `on_signal` and `off_signal` signals based on switch input

`on_signal` will be returned if switch input is valid and not equal to 0.0 ,

otherwise `off_signal` will be returned.

func (*Switcher) DeepCopy added in v0.3.0

func (in *Switcher) DeepCopy() *Switcher

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Switcher. Required by controller-gen.

func (*Switcher) DeepCopyInterface added in v0.3.0

func (in *Switcher) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Switcher. Required by controller-gen.

func (*Switcher) DeepCopyInto added in v0.3.0

func (in *Switcher) DeepCopyInto(out *Switcher)

DeepCopyInto supports using Switcher within kubernetes types, where deepcopy-gen is used.

func (*Switcher) Descriptor deprecated added in v0.3.0

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

Deprecated: Use Switcher.ProtoReflect.Descriptor instead.

func (*Switcher) GetInPorts added in v0.3.0

func (x *Switcher) GetInPorts() *Switcher_Ins

func (*Switcher) GetOutPorts added in v0.3.0

func (x *Switcher) GetOutPorts() *Switcher_Outs

func (*Switcher) MarshalJSON added in v0.3.0

func (msg *Switcher) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Switcher) ProtoMessage added in v0.3.0

func (*Switcher) ProtoMessage()

func (*Switcher) ProtoReflect added in v0.3.0

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

func (*Switcher) Reset added in v0.3.0

func (x *Switcher) Reset()

func (*Switcher) String added in v0.3.0

func (x *Switcher) String() string

func (*Switcher) UnmarshalJSON added in v0.3.0

func (msg *Switcher) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Switcher) Validate added in v1.2.0

func (m *Switcher) Validate() error

Validate checks the field values on Switcher with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Switcher) ValidateAll added in v1.2.0

func (m *Switcher) ValidateAll() error

ValidateAll checks the field values on Switcher with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SwitcherMultiError, or nil if none found.

type SwitcherMultiError added in v1.2.0

type SwitcherMultiError []error

SwitcherMultiError is an error wrapping multiple validation errors returned by Switcher.ValidateAll() if the designated constraints aren't met.

func (SwitcherMultiError) AllErrors added in v1.2.0

func (m SwitcherMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SwitcherMultiError) Error added in v1.2.0

func (m SwitcherMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SwitcherValidationError added in v1.2.0

type SwitcherValidationError struct {
	// contains filtered or unexported fields
}

SwitcherValidationError is the validation error returned by Switcher.Validate if the designated constraints aren't met.

func (SwitcherValidationError) Cause added in v1.2.0

func (e SwitcherValidationError) Cause() error

Cause function returns cause value.

func (SwitcherValidationError) Error added in v1.2.0

func (e SwitcherValidationError) Error() string

Error satisfies the builtin error interface

func (SwitcherValidationError) ErrorName added in v1.2.0

func (e SwitcherValidationError) ErrorName() string

ErrorName returns error name.

func (SwitcherValidationError) Field added in v1.2.0

func (e SwitcherValidationError) Field() string

Field function returns field value.

func (SwitcherValidationError) Key added in v1.2.0

func (e SwitcherValidationError) Key() bool

Key function returns key value.

func (SwitcherValidationError) Reason added in v1.2.0

func (e SwitcherValidationError) Reason() string

Reason function returns reason value.

type Switcher_Ins added in v0.3.0

type Switcher_Ins struct {

	// Output signal when switch is valid and not 0.0.
	OnSignal *InPort `protobuf:"bytes,1,opt,name=on_signal,json=onSignal,proto3" json:"on_signal,omitempty"`
	// Output signal when switch is invalid or 0.0.
	OffSignal *InPort `protobuf:"bytes,2,opt,name=off_signal,json=offSignal,proto3" json:"off_signal,omitempty"`
	// Decides whether to return `on_signal` or `off_signal`.
	Switch *InPort `protobuf:"bytes,3,opt,name=switch,proto3" json:"switch,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the Switcher component.

func (*Switcher_Ins) DeepCopy added in v0.3.0

func (in *Switcher_Ins) DeepCopy() *Switcher_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Switcher_Ins. Required by controller-gen.

func (*Switcher_Ins) DeepCopyInterface added in v0.3.0

func (in *Switcher_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Switcher_Ins. Required by controller-gen.

func (*Switcher_Ins) DeepCopyInto added in v0.3.0

func (in *Switcher_Ins) DeepCopyInto(out *Switcher_Ins)

DeepCopyInto supports using Switcher_Ins within kubernetes types, where deepcopy-gen is used.

func (*Switcher_Ins) Descriptor deprecated added in v0.3.0

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

Deprecated: Use Switcher_Ins.ProtoReflect.Descriptor instead.

func (*Switcher_Ins) GetOffSignal added in v0.24.0

func (x *Switcher_Ins) GetOffSignal() *InPort

func (*Switcher_Ins) GetOnSignal added in v0.24.0

func (x *Switcher_Ins) GetOnSignal() *InPort

func (*Switcher_Ins) GetSwitch added in v0.3.0

func (x *Switcher_Ins) GetSwitch() *InPort

func (*Switcher_Ins) MarshalJSON added in v0.3.0

func (msg *Switcher_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Switcher_Ins) ProtoMessage added in v0.3.0

func (*Switcher_Ins) ProtoMessage()

func (*Switcher_Ins) ProtoReflect added in v0.3.0

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

func (*Switcher_Ins) Reset added in v0.3.0

func (x *Switcher_Ins) Reset()

func (*Switcher_Ins) String added in v0.3.0

func (x *Switcher_Ins) String() string

func (*Switcher_Ins) UnmarshalJSON added in v0.3.0

func (msg *Switcher_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Switcher_Ins) Validate added in v1.2.0

func (m *Switcher_Ins) Validate() error

Validate checks the field values on Switcher_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Switcher_Ins) ValidateAll added in v1.2.0

func (m *Switcher_Ins) ValidateAll() error

ValidateAll checks the field values on Switcher_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Switcher_InsMultiError, or nil if none found.

type Switcher_InsMultiError added in v1.2.0

type Switcher_InsMultiError []error

Switcher_InsMultiError is an error wrapping multiple validation errors returned by Switcher_Ins.ValidateAll() if the designated constraints aren't met.

func (Switcher_InsMultiError) AllErrors added in v1.2.0

func (m Switcher_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Switcher_InsMultiError) Error added in v1.2.0

func (m Switcher_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Switcher_InsValidationError added in v1.2.0

type Switcher_InsValidationError struct {
	// contains filtered or unexported fields
}

Switcher_InsValidationError is the validation error returned by Switcher_Ins.Validate if the designated constraints aren't met.

func (Switcher_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Switcher_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Switcher_InsValidationError) ErrorName added in v1.2.0

func (e Switcher_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Switcher_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (Switcher_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (Switcher_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Switcher_Outs added in v0.3.0

type Switcher_Outs struct {

	// Selected signal (`on_signal` or `off_signal`).
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the Switcher component.

func (*Switcher_Outs) DeepCopy added in v0.3.0

func (in *Switcher_Outs) DeepCopy() *Switcher_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Switcher_Outs. Required by controller-gen.

func (*Switcher_Outs) DeepCopyInterface added in v0.3.0

func (in *Switcher_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Switcher_Outs. Required by controller-gen.

func (*Switcher_Outs) DeepCopyInto added in v0.3.0

func (in *Switcher_Outs) DeepCopyInto(out *Switcher_Outs)

DeepCopyInto supports using Switcher_Outs within kubernetes types, where deepcopy-gen is used.

func (*Switcher_Outs) Descriptor deprecated added in v0.3.0

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

Deprecated: Use Switcher_Outs.ProtoReflect.Descriptor instead.

func (*Switcher_Outs) GetOutput added in v0.3.0

func (x *Switcher_Outs) GetOutput() *OutPort

func (*Switcher_Outs) MarshalJSON added in v0.3.0

func (msg *Switcher_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Switcher_Outs) ProtoMessage added in v0.3.0

func (*Switcher_Outs) ProtoMessage()

func (*Switcher_Outs) ProtoReflect added in v0.3.0

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

func (*Switcher_Outs) Reset added in v0.3.0

func (x *Switcher_Outs) Reset()

func (*Switcher_Outs) String added in v0.3.0

func (x *Switcher_Outs) String() string

func (*Switcher_Outs) UnmarshalJSON added in v0.3.0

func (msg *Switcher_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Switcher_Outs) Validate added in v1.2.0

func (m *Switcher_Outs) Validate() error

Validate checks the field values on Switcher_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Switcher_Outs) ValidateAll added in v1.2.0

func (m *Switcher_Outs) ValidateAll() error

ValidateAll checks the field values on Switcher_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Switcher_OutsMultiError, or nil if none found.

type Switcher_OutsMultiError added in v1.2.0

type Switcher_OutsMultiError []error

Switcher_OutsMultiError is an error wrapping multiple validation errors returned by Switcher_Outs.ValidateAll() if the designated constraints aren't met.

func (Switcher_OutsMultiError) AllErrors added in v1.2.0

func (m Switcher_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Switcher_OutsMultiError) Error added in v1.2.0

func (m Switcher_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Switcher_OutsValidationError added in v1.2.0

type Switcher_OutsValidationError struct {
	// contains filtered or unexported fields
}

Switcher_OutsValidationError is the validation error returned by Switcher_Outs.Validate if the designated constraints aren't met.

func (Switcher_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Switcher_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Switcher_OutsValidationError) ErrorName added in v1.2.0

func (e Switcher_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Switcher_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (Switcher_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (Switcher_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type UnaryOperator added in v0.25.0

type UnaryOperator struct {

	// Input ports for the UnaryOperator component.
	InPorts *UnaryOperator_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the UnaryOperator component.
	OutPorts *UnaryOperator_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Unary Operator to apply.
	//
	// The unary operator can be one of the following:
	// * `abs`: Absolute value with the sign removed.
	// * `acos`: `arccosine`, in radians.
	// * `acosh`: Inverse hyperbolic cosine.
	// * `asin`: `arcsine`, in radians.
	// * `asinh`: Inverse hyperbolic sine.
	// * `atan`: `arctangent`, in radians.
	// * `atanh`: Inverse hyperbolic tangent.
	// * `cbrt`: Cube root.
	// * `ceil`: Least integer value greater than or equal to input signal.
	// * `cos`: `cosine`, in radians.
	// * `cosh`: Hyperbolic cosine.
	// * `erf`: Error function.
	// * `erfc`: Complementary error function.
	// * `erfcinv`: Inverse complementary error function.
	// * `erfinv`: Inverse error function.
	// * `exp`: The base-e exponential of input signal.
	// * `exp2`: The base-2 exponential of input signal.
	// * `expm1`: The base-e exponential of input signal minus 1.
	// * `floor`: Greatest integer value less than or equal to input signal.
	// * `gamma`: Gamma function.
	// * `j0`: Bessel function of the first kind of order 0.
	// * `j1`: Bessel function of the first kind of order 1.
	// * `lgamma`: Natural logarithm of the absolute value of the gamma function.
	// * `log`: Natural logarithm of input signal.
	// * `log10`: Base-10 logarithm of input signal.
	// * `log1p`: Natural logarithm of input signal plus 1.
	// * `log2`: Base-2 logarithm of input signal.
	// * `round`: Round to nearest integer.
	// * `roundtoeven`: Round to nearest integer, with ties going to the nearest even integer.
	// * `sin`: `sine`, in radians.
	// * `sinh`: Hyperbolic sine.
	// * `sqrt`: Square root.
	// * `tan`: `tangent`, in radians.
	// * `tanh`: Hyperbolic tangent.
	// * `trunc`: Truncate to integer.
	// * `y0`: Bessel function of the second kind of order 0.
	// * `y1`: Bessel function of the second kind of order 1.
	Operator string `` // @gotags: validate:"oneof=abs acos acosh asin asinh atan atanh cbrt ceil cos cosh erf erfc erfcinv erfinv exp exp2 expm1 floor gamma j0 j1 lgamma log log10 log1p log2 round roundtoeven sin sinh sqrt tan tanh trunc y0 y1"
	/* 280-byte string literal not displayed */
	// contains filtered or unexported fields
}

Takes an input signal and emits the output after applying the specified unary operator

$$ \text{output} = \unary_operator{\text{input}} $$

func (*UnaryOperator) DeepCopy added in v0.25.0

func (in *UnaryOperator) DeepCopy() *UnaryOperator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnaryOperator. Required by controller-gen.

func (*UnaryOperator) DeepCopyInterface added in v0.25.0

func (in *UnaryOperator) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UnaryOperator. Required by controller-gen.

func (*UnaryOperator) DeepCopyInto added in v0.25.0

func (in *UnaryOperator) DeepCopyInto(out *UnaryOperator)

DeepCopyInto supports using UnaryOperator within kubernetes types, where deepcopy-gen is used.

func (*UnaryOperator) Descriptor deprecated added in v0.25.0

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

Deprecated: Use UnaryOperator.ProtoReflect.Descriptor instead.

func (*UnaryOperator) GetInPorts added in v0.25.0

func (x *UnaryOperator) GetInPorts() *UnaryOperator_Ins

func (*UnaryOperator) GetOperator added in v0.25.0

func (x *UnaryOperator) GetOperator() string

func (*UnaryOperator) GetOutPorts added in v0.25.0

func (x *UnaryOperator) GetOutPorts() *UnaryOperator_Outs

func (*UnaryOperator) MarshalJSON added in v0.25.0

func (msg *UnaryOperator) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UnaryOperator) ProtoMessage added in v0.25.0

func (*UnaryOperator) ProtoMessage()

func (*UnaryOperator) ProtoReflect added in v0.25.0

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

func (*UnaryOperator) Reset added in v0.25.0

func (x *UnaryOperator) Reset()

func (*UnaryOperator) String added in v0.25.0

func (x *UnaryOperator) String() string

func (*UnaryOperator) UnmarshalJSON added in v0.25.0

func (msg *UnaryOperator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UnaryOperator) Validate added in v1.2.0

func (m *UnaryOperator) Validate() error

Validate checks the field values on UnaryOperator with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UnaryOperator) ValidateAll added in v1.2.0

func (m *UnaryOperator) ValidateAll() error

ValidateAll checks the field values on UnaryOperator with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UnaryOperatorMultiError, or nil if none found.

type UnaryOperatorMultiError added in v1.2.0

type UnaryOperatorMultiError []error

UnaryOperatorMultiError is an error wrapping multiple validation errors returned by UnaryOperator.ValidateAll() if the designated constraints aren't met.

func (UnaryOperatorMultiError) AllErrors added in v1.2.0

func (m UnaryOperatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UnaryOperatorMultiError) Error added in v1.2.0

func (m UnaryOperatorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UnaryOperatorValidationError added in v1.2.0

type UnaryOperatorValidationError struct {
	// contains filtered or unexported fields
}

UnaryOperatorValidationError is the validation error returned by UnaryOperator.Validate if the designated constraints aren't met.

func (UnaryOperatorValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (UnaryOperatorValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (UnaryOperatorValidationError) ErrorName added in v1.2.0

func (e UnaryOperatorValidationError) ErrorName() string

ErrorName returns error name.

func (UnaryOperatorValidationError) Field added in v1.2.0

Field function returns field value.

func (UnaryOperatorValidationError) Key added in v1.2.0

Key function returns key value.

func (UnaryOperatorValidationError) Reason added in v1.2.0

Reason function returns reason value.

type UnaryOperator_Ins added in v0.25.0

type UnaryOperator_Ins struct {

	// Input signal.
	Input *InPort `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the UnaryOperator component.

func (*UnaryOperator_Ins) DeepCopy added in v0.25.0

func (in *UnaryOperator_Ins) DeepCopy() *UnaryOperator_Ins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnaryOperator_Ins. Required by controller-gen.

func (*UnaryOperator_Ins) DeepCopyInterface added in v0.25.0

func (in *UnaryOperator_Ins) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UnaryOperator_Ins. Required by controller-gen.

func (*UnaryOperator_Ins) DeepCopyInto added in v0.25.0

func (in *UnaryOperator_Ins) DeepCopyInto(out *UnaryOperator_Ins)

DeepCopyInto supports using UnaryOperator_Ins within kubernetes types, where deepcopy-gen is used.

func (*UnaryOperator_Ins) Descriptor deprecated added in v0.25.0

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

Deprecated: Use UnaryOperator_Ins.ProtoReflect.Descriptor instead.

func (*UnaryOperator_Ins) GetInput added in v0.25.0

func (x *UnaryOperator_Ins) GetInput() *InPort

func (*UnaryOperator_Ins) MarshalJSON added in v0.25.0

func (msg *UnaryOperator_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UnaryOperator_Ins) ProtoMessage added in v0.25.0

func (*UnaryOperator_Ins) ProtoMessage()

func (*UnaryOperator_Ins) ProtoReflect added in v0.25.0

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

func (*UnaryOperator_Ins) Reset added in v0.25.0

func (x *UnaryOperator_Ins) Reset()

func (*UnaryOperator_Ins) String added in v0.25.0

func (x *UnaryOperator_Ins) String() string

func (*UnaryOperator_Ins) UnmarshalJSON added in v0.25.0

func (msg *UnaryOperator_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UnaryOperator_Ins) Validate added in v1.2.0

func (m *UnaryOperator_Ins) Validate() error

Validate checks the field values on UnaryOperator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UnaryOperator_Ins) ValidateAll added in v1.2.0

func (m *UnaryOperator_Ins) ValidateAll() error

ValidateAll checks the field values on UnaryOperator_Ins with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UnaryOperator_InsMultiError, or nil if none found.

type UnaryOperator_InsMultiError added in v1.2.0

type UnaryOperator_InsMultiError []error

UnaryOperator_InsMultiError is an error wrapping multiple validation errors returned by UnaryOperator_Ins.ValidateAll() if the designated constraints aren't met.

func (UnaryOperator_InsMultiError) AllErrors added in v1.2.0

func (m UnaryOperator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UnaryOperator_InsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type UnaryOperator_InsValidationError added in v1.2.0

type UnaryOperator_InsValidationError struct {
	// contains filtered or unexported fields
}

UnaryOperator_InsValidationError is the validation error returned by UnaryOperator_Ins.Validate if the designated constraints aren't met.

func (UnaryOperator_InsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (UnaryOperator_InsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (UnaryOperator_InsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (UnaryOperator_InsValidationError) Field added in v1.2.0

Field function returns field value.

func (UnaryOperator_InsValidationError) Key added in v1.2.0

Key function returns key value.

func (UnaryOperator_InsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type UnaryOperator_Outs added in v0.25.0

type UnaryOperator_Outs struct {

	// Output signal.
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the UnaryOperator component.

func (*UnaryOperator_Outs) DeepCopy added in v0.25.0

func (in *UnaryOperator_Outs) DeepCopy() *UnaryOperator_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnaryOperator_Outs. Required by controller-gen.

func (*UnaryOperator_Outs) DeepCopyInterface added in v0.25.0

func (in *UnaryOperator_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UnaryOperator_Outs. Required by controller-gen.

func (*UnaryOperator_Outs) DeepCopyInto added in v0.25.0

func (in *UnaryOperator_Outs) DeepCopyInto(out *UnaryOperator_Outs)

DeepCopyInto supports using UnaryOperator_Outs within kubernetes types, where deepcopy-gen is used.

func (*UnaryOperator_Outs) Descriptor deprecated added in v0.25.0

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

Deprecated: Use UnaryOperator_Outs.ProtoReflect.Descriptor instead.

func (*UnaryOperator_Outs) GetOutput added in v0.25.0

func (x *UnaryOperator_Outs) GetOutput() *OutPort

func (*UnaryOperator_Outs) MarshalJSON added in v0.25.0

func (msg *UnaryOperator_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UnaryOperator_Outs) ProtoMessage added in v0.25.0

func (*UnaryOperator_Outs) ProtoMessage()

func (*UnaryOperator_Outs) ProtoReflect added in v0.25.0

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

func (*UnaryOperator_Outs) Reset added in v0.25.0

func (x *UnaryOperator_Outs) Reset()

func (*UnaryOperator_Outs) String added in v0.25.0

func (x *UnaryOperator_Outs) String() string

func (*UnaryOperator_Outs) UnmarshalJSON added in v0.25.0

func (msg *UnaryOperator_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UnaryOperator_Outs) Validate added in v1.2.0

func (m *UnaryOperator_Outs) Validate() error

Validate checks the field values on UnaryOperator_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UnaryOperator_Outs) ValidateAll added in v1.2.0

func (m *UnaryOperator_Outs) ValidateAll() error

ValidateAll checks the field values on UnaryOperator_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UnaryOperator_OutsMultiError, or nil if none found.

type UnaryOperator_OutsMultiError added in v1.2.0

type UnaryOperator_OutsMultiError []error

UnaryOperator_OutsMultiError is an error wrapping multiple validation errors returned by UnaryOperator_Outs.ValidateAll() if the designated constraints aren't met.

func (UnaryOperator_OutsMultiError) AllErrors added in v1.2.0

func (m UnaryOperator_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UnaryOperator_OutsMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type UnaryOperator_OutsValidationError added in v1.2.0

type UnaryOperator_OutsValidationError struct {
	// contains filtered or unexported fields
}

UnaryOperator_OutsValidationError is the validation error returned by UnaryOperator_Outs.Validate if the designated constraints aren't met.

func (UnaryOperator_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (UnaryOperator_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (UnaryOperator_OutsValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (UnaryOperator_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (UnaryOperator_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (UnaryOperator_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

type UnimplementedPolicyServiceServer

type UnimplementedPolicyServiceServer struct {
}

UnimplementedPolicyServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedPolicyServiceServer) DeletePolicy added in v1.5.0

func (UnimplementedPolicyServiceServer) GetPolicies added in v0.5.0

func (UnimplementedPolicyServiceServer) GetPolicy added in v1.5.0

func (UnimplementedPolicyServiceServer) PostDynamicConfig added in v1.5.0

func (UnimplementedPolicyServiceServer) UpsertPolicy added in v1.5.0

type UnsafePolicyServiceServer

type UnsafePolicyServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePolicyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PolicyServiceServer will result in compilation errors.

type UpsertPolicyRequest added in v1.5.0

type UpsertPolicyRequest struct {
	PolicyName string  `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty" validate:"required"` // @gotags: validate:"required"
	Policy     *Policy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty" validate:"required"`                           // @gotags: validate:"required"
	// The paths to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

PostPolicyRequest is a request to create or update Policy.

func (*UpsertPolicyRequest) DeepCopy added in v1.5.0

func (in *UpsertPolicyRequest) DeepCopy() *UpsertPolicyRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpsertPolicyRequest. Required by controller-gen.

func (*UpsertPolicyRequest) DeepCopyInterface added in v1.5.0

func (in *UpsertPolicyRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UpsertPolicyRequest. Required by controller-gen.

func (*UpsertPolicyRequest) DeepCopyInto added in v1.5.0

func (in *UpsertPolicyRequest) DeepCopyInto(out *UpsertPolicyRequest)

DeepCopyInto supports using UpsertPolicyRequest within kubernetes types, where deepcopy-gen is used.

func (*UpsertPolicyRequest) Descriptor deprecated added in v1.5.0

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

Deprecated: Use UpsertPolicyRequest.ProtoReflect.Descriptor instead.

func (*UpsertPolicyRequest) GetPolicy added in v1.5.0

func (x *UpsertPolicyRequest) GetPolicy() *Policy

func (*UpsertPolicyRequest) GetPolicyName added in v1.5.0

func (x *UpsertPolicyRequest) GetPolicyName() string

func (*UpsertPolicyRequest) GetUpdateMask added in v1.5.0

func (x *UpsertPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpsertPolicyRequest) MarshalJSON added in v1.5.0

func (msg *UpsertPolicyRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UpsertPolicyRequest) ProtoMessage added in v1.5.0

func (*UpsertPolicyRequest) ProtoMessage()

func (*UpsertPolicyRequest) ProtoReflect added in v1.5.0

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

func (*UpsertPolicyRequest) Reset added in v1.5.0

func (x *UpsertPolicyRequest) Reset()

func (*UpsertPolicyRequest) String added in v1.5.0

func (x *UpsertPolicyRequest) String() string

func (*UpsertPolicyRequest) UnmarshalJSON added in v1.5.0

func (msg *UpsertPolicyRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UpsertPolicyRequest) Validate added in v1.5.0

func (m *UpsertPolicyRequest) Validate() error

Validate checks the field values on UpsertPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpsertPolicyRequest) ValidateAll added in v1.5.0

func (m *UpsertPolicyRequest) ValidateAll() error

ValidateAll checks the field values on UpsertPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpsertPolicyRequestMultiError, or nil if none found.

type UpsertPolicyRequestMultiError added in v1.5.0

type UpsertPolicyRequestMultiError []error

UpsertPolicyRequestMultiError is an error wrapping multiple validation errors returned by UpsertPolicyRequest.ValidateAll() if the designated constraints aren't met.

func (UpsertPolicyRequestMultiError) AllErrors added in v1.5.0

func (m UpsertPolicyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpsertPolicyRequestMultiError) Error added in v1.5.0

Error returns a concatenation of all the error messages it wraps.

type UpsertPolicyRequestValidationError added in v1.5.0

type UpsertPolicyRequestValidationError struct {
	// contains filtered or unexported fields
}

UpsertPolicyRequestValidationError is the validation error returned by UpsertPolicyRequest.Validate if the designated constraints aren't met.

func (UpsertPolicyRequestValidationError) Cause added in v1.5.0

Cause function returns cause value.

func (UpsertPolicyRequestValidationError) Error added in v1.5.0

Error satisfies the builtin error interface

func (UpsertPolicyRequestValidationError) ErrorName added in v1.5.0

ErrorName returns error name.

func (UpsertPolicyRequestValidationError) Field added in v1.5.0

Field function returns field value.

func (UpsertPolicyRequestValidationError) Key added in v1.5.0

Key function returns key value.

func (UpsertPolicyRequestValidationError) Reason added in v1.5.0

Reason function returns reason value.

type Variable added in v0.21.0

type Variable struct {

	// Output ports for the Variable component.
	OutPorts *Variable_Outs `protobuf:"bytes,1,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Configuration key for DynamicConfig.
	DynamicConfigKey string `protobuf:"bytes,2,opt,name=dynamic_config_key,json=dynamicConfigKey,proto3" json:"dynamic_config_key,omitempty"`
	// Default configuration.
	DefaultConfig *Variable_DynamicConfig `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Component that emits a variable value as an output signal, can be defined in dynamic configuration.

func (*Variable) DeepCopy added in v0.21.0

func (in *Variable) DeepCopy() *Variable

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable. Required by controller-gen.

func (*Variable) DeepCopyInterface added in v0.21.0

func (in *Variable) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Variable. Required by controller-gen.

func (*Variable) DeepCopyInto added in v0.21.0

func (in *Variable) DeepCopyInto(out *Variable)

DeepCopyInto supports using Variable within kubernetes types, where deepcopy-gen is used.

func (*Variable) Descriptor deprecated added in v0.21.0

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

Deprecated: Use Variable.ProtoReflect.Descriptor instead.

func (*Variable) GetDefaultConfig added in v0.21.0

func (x *Variable) GetDefaultConfig() *Variable_DynamicConfig

func (*Variable) GetDynamicConfigKey added in v0.21.0

func (x *Variable) GetDynamicConfigKey() string

func (*Variable) GetOutPorts added in v0.21.0

func (x *Variable) GetOutPorts() *Variable_Outs

func (*Variable) MarshalJSON added in v0.21.0

func (msg *Variable) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Variable) ProtoMessage added in v0.21.0

func (*Variable) ProtoMessage()

func (*Variable) ProtoReflect added in v0.21.0

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

func (*Variable) Reset added in v0.21.0

func (x *Variable) Reset()

func (*Variable) String added in v0.21.0

func (x *Variable) String() string

func (*Variable) UnmarshalJSON added in v0.21.0

func (msg *Variable) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Variable) Validate added in v1.2.0

func (m *Variable) Validate() error

Validate checks the field values on Variable with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Variable) ValidateAll added in v1.2.0

func (m *Variable) ValidateAll() error

ValidateAll checks the field values on Variable with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VariableMultiError, or nil if none found.

type VariableMultiError added in v1.2.0

type VariableMultiError []error

VariableMultiError is an error wrapping multiple validation errors returned by Variable.ValidateAll() if the designated constraints aren't met.

func (VariableMultiError) AllErrors added in v1.2.0

func (m VariableMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VariableMultiError) Error added in v1.2.0

func (m VariableMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type VariableValidationError added in v1.2.0

type VariableValidationError struct {
	// contains filtered or unexported fields
}

VariableValidationError is the validation error returned by Variable.Validate if the designated constraints aren't met.

func (VariableValidationError) Cause added in v1.2.0

func (e VariableValidationError) Cause() error

Cause function returns cause value.

func (VariableValidationError) Error added in v1.2.0

func (e VariableValidationError) Error() string

Error satisfies the builtin error interface

func (VariableValidationError) ErrorName added in v1.2.0

func (e VariableValidationError) ErrorName() string

ErrorName returns error name.

func (VariableValidationError) Field added in v1.2.0

func (e VariableValidationError) Field() string

Field function returns field value.

func (VariableValidationError) Key added in v1.2.0

func (e VariableValidationError) Key() bool

Key function returns key value.

func (VariableValidationError) Reason added in v1.2.0

func (e VariableValidationError) Reason() string

Reason function returns reason value.

type Variable_DynamicConfig added in v0.21.0

type Variable_DynamicConfig struct {
	ConstantSignal *ConstantSignal `protobuf:"bytes,1,opt,name=constant_signal,json=constantSignal,proto3" json:"constant_signal,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

func (*Variable_DynamicConfig) DeepCopy added in v0.21.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable_DynamicConfig. Required by controller-gen.

func (*Variable_DynamicConfig) DeepCopyInterface added in v0.21.0

func (in *Variable_DynamicConfig) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Variable_DynamicConfig. Required by controller-gen.

func (*Variable_DynamicConfig) DeepCopyInto added in v0.21.0

func (in *Variable_DynamicConfig) DeepCopyInto(out *Variable_DynamicConfig)

DeepCopyInto supports using Variable_DynamicConfig within kubernetes types, where deepcopy-gen is used.

func (*Variable_DynamicConfig) Descriptor deprecated added in v0.21.0

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

Deprecated: Use Variable_DynamicConfig.ProtoReflect.Descriptor instead.

func (*Variable_DynamicConfig) GetConstantSignal added in v0.21.0

func (x *Variable_DynamicConfig) GetConstantSignal() *ConstantSignal

func (*Variable_DynamicConfig) MarshalJSON added in v0.21.0

func (msg *Variable_DynamicConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Variable_DynamicConfig) ProtoMessage added in v0.21.0

func (*Variable_DynamicConfig) ProtoMessage()

func (*Variable_DynamicConfig) ProtoReflect added in v0.21.0

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

func (*Variable_DynamicConfig) Reset added in v0.21.0

func (x *Variable_DynamicConfig) Reset()

func (*Variable_DynamicConfig) String added in v0.21.0

func (x *Variable_DynamicConfig) String() string

func (*Variable_DynamicConfig) UnmarshalJSON added in v0.21.0

func (msg *Variable_DynamicConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Variable_DynamicConfig) Validate added in v1.2.0

func (m *Variable_DynamicConfig) Validate() error

Validate checks the field values on Variable_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Variable_DynamicConfig) ValidateAll added in v1.2.0

func (m *Variable_DynamicConfig) ValidateAll() error

ValidateAll checks the field values on Variable_DynamicConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Variable_DynamicConfigMultiError, or nil if none found.

type Variable_DynamicConfigMultiError added in v1.2.0

type Variable_DynamicConfigMultiError []error

Variable_DynamicConfigMultiError is an error wrapping multiple validation errors returned by Variable_DynamicConfig.ValidateAll() if the designated constraints aren't met.

func (Variable_DynamicConfigMultiError) AllErrors added in v1.2.0

func (m Variable_DynamicConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Variable_DynamicConfigMultiError) Error added in v1.2.0

Error returns a concatenation of all the error messages it wraps.

type Variable_DynamicConfigValidationError added in v1.2.0

type Variable_DynamicConfigValidationError struct {
	// contains filtered or unexported fields
}

Variable_DynamicConfigValidationError is the validation error returned by Variable_DynamicConfig.Validate if the designated constraints aren't met.

func (Variable_DynamicConfigValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Variable_DynamicConfigValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Variable_DynamicConfigValidationError) ErrorName added in v1.2.0

ErrorName returns error name.

func (Variable_DynamicConfigValidationError) Field added in v1.2.0

Field function returns field value.

func (Variable_DynamicConfigValidationError) Key added in v1.2.0

Key function returns key value.

func (Variable_DynamicConfigValidationError) Reason added in v1.2.0

Reason function returns reason value.

type Variable_Outs added in v0.21.0

type Variable_Outs struct {

	// The value is emitted to the output port.
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the Variable component.

func (*Variable_Outs) DeepCopy added in v0.21.0

func (in *Variable_Outs) DeepCopy() *Variable_Outs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable_Outs. Required by controller-gen.

func (*Variable_Outs) DeepCopyInterface added in v0.21.0

func (in *Variable_Outs) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Variable_Outs. Required by controller-gen.

func (*Variable_Outs) DeepCopyInto added in v0.21.0

func (in *Variable_Outs) DeepCopyInto(out *Variable_Outs)

DeepCopyInto supports using Variable_Outs within kubernetes types, where deepcopy-gen is used.

func (*Variable_Outs) Descriptor deprecated added in v0.21.0

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

Deprecated: Use Variable_Outs.ProtoReflect.Descriptor instead.

func (*Variable_Outs) GetOutput added in v0.21.0

func (x *Variable_Outs) GetOutput() *OutPort

func (*Variable_Outs) MarshalJSON added in v0.21.0

func (msg *Variable_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Variable_Outs) ProtoMessage added in v0.21.0

func (*Variable_Outs) ProtoMessage()

func (*Variable_Outs) ProtoReflect added in v0.21.0

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

func (*Variable_Outs) Reset added in v0.21.0

func (x *Variable_Outs) Reset()

func (*Variable_Outs) String added in v0.21.0

func (x *Variable_Outs) String() string

func (*Variable_Outs) UnmarshalJSON added in v0.21.0

func (msg *Variable_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Variable_Outs) Validate added in v1.2.0

func (m *Variable_Outs) Validate() error

Validate checks the field values on Variable_Outs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Variable_Outs) ValidateAll added in v1.2.0

func (m *Variable_Outs) ValidateAll() error

ValidateAll checks the field values on Variable_Outs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Variable_OutsMultiError, or nil if none found.

type Variable_OutsMultiError added in v1.2.0

type Variable_OutsMultiError []error

Variable_OutsMultiError is an error wrapping multiple validation errors returned by Variable_Outs.ValidateAll() if the designated constraints aren't met.

func (Variable_OutsMultiError) AllErrors added in v1.2.0

func (m Variable_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Variable_OutsMultiError) Error added in v1.2.0

func (m Variable_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Variable_OutsValidationError added in v1.2.0

type Variable_OutsValidationError struct {
	// contains filtered or unexported fields
}

Variable_OutsValidationError is the validation error returned by Variable_Outs.Validate if the designated constraints aren't met.

func (Variable_OutsValidationError) Cause added in v1.2.0

Cause function returns cause value.

func (Variable_OutsValidationError) Error added in v1.2.0

Error satisfies the builtin error interface

func (Variable_OutsValidationError) ErrorName added in v1.2.0

func (e Variable_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Variable_OutsValidationError) Field added in v1.2.0

Field function returns field value.

func (Variable_OutsValidationError) Key added in v1.2.0

Key function returns key value.

func (Variable_OutsValidationError) Reason added in v1.2.0

Reason function returns reason value.

Jump to

Keyboard shortcuts

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