languagev1

package
v2.3.2-rc.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 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.

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 File_aperture_policy_language_v1_telemetry_collector_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 AdaptiveLoadScheduler

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" validate:"required"` // @gotags: validate:"required"
	// 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"`
	// Parameters for the _Adaptive Load Scheduler_ component.
	Parameters *AdaptiveLoadScheduler_Parameters `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// Decides whether to run the load scheduler in dry-run mode. In dry run mode the scheduler acts as pass through to all flow and does not queue flows.
	// It is useful for observing the behavior of load scheduler without disrupting any real traffic.
	DryRun bool `protobuf:"varint,6,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// Configuration key for setting dry run mode through dynamic configuration.
	DryRunConfigKey string `protobuf:"bytes,7,opt,name=dry_run_config_key,json=dryRunConfigKey,proto3" json:"dry_run_config_key,omitempty"`
	// 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

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

func (*AdaptiveLoadScheduler) DeepCopyInterface

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

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

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

func (*AdaptiveLoadScheduler) Descriptor deprecated

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

Deprecated: Use AdaptiveLoadScheduler.ProtoReflect.Descriptor instead.

func (*AdaptiveLoadScheduler) GetDryRun added in v2.2.0

func (x *AdaptiveLoadScheduler) GetDryRun() bool

func (*AdaptiveLoadScheduler) GetDryRunConfigKey added in v2.2.0

func (x *AdaptiveLoadScheduler) GetDryRunConfigKey() string

func (*AdaptiveLoadScheduler) GetInPorts

func (*AdaptiveLoadScheduler) GetOutPorts

func (*AdaptiveLoadScheduler) GetParameters

func (*AdaptiveLoadScheduler) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AdaptiveLoadScheduler) ProtoMessage

func (*AdaptiveLoadScheduler) ProtoMessage()

func (*AdaptiveLoadScheduler) ProtoReflect

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

func (*AdaptiveLoadScheduler) Reset

func (x *AdaptiveLoadScheduler) Reset()

func (*AdaptiveLoadScheduler) String

func (x *AdaptiveLoadScheduler) String() string

func (*AdaptiveLoadScheduler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AdaptiveLoadScheduler) Validate

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

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

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

func (m AdaptiveLoadSchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AdaptiveLoadSchedulerMultiError) Error

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

type AdaptiveLoadSchedulerValidationError

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

Cause function returns cause value.

func (AdaptiveLoadSchedulerValidationError) Error

Error satisfies the builtin error interface

func (AdaptiveLoadSchedulerValidationError) ErrorName

ErrorName returns error name.

func (AdaptiveLoadSchedulerValidationError) Field

Field function returns field value.

func (AdaptiveLoadSchedulerValidationError) Key

Key function returns key value.

func (AdaptiveLoadSchedulerValidationError) Reason

Reason function returns reason value.

type AdaptiveLoadScheduler_Ins

type AdaptiveLoadScheduler_Ins struct {

	// The input signal to the controller.
	Signal *InPort `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty" validate:"required"` // @gotags: validate:"required"
	// The setpoint input to the controller.
	Setpoint *InPort `protobuf:"bytes,2,opt,name=setpoint,proto3" json:"setpoint,omitempty" validate:"required"` // @gotags: validate:"required"
	// The `overload_confirmation` port provides additional criteria to determine overload state which
	// results in _Flow_ throttling at the service.
	OverloadConfirmation *InPort `protobuf:"bytes,3,opt,name=overload_confirmation,json=overloadConfirmation,proto3" json:"overload_confirmation,omitempty"`
	// contains filtered or unexported fields
}

Input ports for the _Adaptive Load Scheduler_ component.

func (*AdaptiveLoadScheduler_Ins) DeepCopy

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

func (*AdaptiveLoadScheduler_Ins) DeepCopyInterface

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

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

func (*AdaptiveLoadScheduler_Ins) Descriptor deprecated

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

Deprecated: Use AdaptiveLoadScheduler_Ins.ProtoReflect.Descriptor instead.

func (*AdaptiveLoadScheduler_Ins) GetOverloadConfirmation

func (x *AdaptiveLoadScheduler_Ins) GetOverloadConfirmation() *InPort

func (*AdaptiveLoadScheduler_Ins) GetSetpoint

func (x *AdaptiveLoadScheduler_Ins) GetSetpoint() *InPort

func (*AdaptiveLoadScheduler_Ins) GetSignal

func (x *AdaptiveLoadScheduler_Ins) GetSignal() *InPort

func (*AdaptiveLoadScheduler_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AdaptiveLoadScheduler_Ins) ProtoMessage

func (*AdaptiveLoadScheduler_Ins) ProtoMessage()

func (*AdaptiveLoadScheduler_Ins) ProtoReflect

func (*AdaptiveLoadScheduler_Ins) Reset

func (x *AdaptiveLoadScheduler_Ins) Reset()

func (*AdaptiveLoadScheduler_Ins) String

func (x *AdaptiveLoadScheduler_Ins) String() string

func (*AdaptiveLoadScheduler_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AdaptiveLoadScheduler_Ins) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (AdaptiveLoadScheduler_InsMultiError) Error

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

type AdaptiveLoadScheduler_InsValidationError

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

Cause function returns cause value.

func (AdaptiveLoadScheduler_InsValidationError) Error

Error satisfies the builtin error interface

func (AdaptiveLoadScheduler_InsValidationError) ErrorName

ErrorName returns error name.

func (AdaptiveLoadScheduler_InsValidationError) Field

Field function returns field value.

func (AdaptiveLoadScheduler_InsValidationError) Key

Key function returns key value.

func (AdaptiveLoadScheduler_InsValidationError) Reason

Reason function returns reason value.

type AdaptiveLoadScheduler_Outs

type AdaptiveLoadScheduler_Outs struct {

	// A Boolean signal that indicates whether the service is in overload state.
	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 */
	// contains filtered or unexported fields
}

Output ports for the _Adaptive Load Scheduler_ component.

func (*AdaptiveLoadScheduler_Outs) DeepCopy

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

func (*AdaptiveLoadScheduler_Outs) DeepCopyInterface

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

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

func (*AdaptiveLoadScheduler_Outs) Descriptor deprecated

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

Deprecated: Use AdaptiveLoadScheduler_Outs.ProtoReflect.Descriptor instead.

func (*AdaptiveLoadScheduler_Outs) GetDesiredLoadMultiplier

func (x *AdaptiveLoadScheduler_Outs) GetDesiredLoadMultiplier() *OutPort

func (*AdaptiveLoadScheduler_Outs) GetIsOverload

func (x *AdaptiveLoadScheduler_Outs) GetIsOverload() *OutPort

func (*AdaptiveLoadScheduler_Outs) GetObservedLoadMultiplier

func (x *AdaptiveLoadScheduler_Outs) GetObservedLoadMultiplier() *OutPort

func (*AdaptiveLoadScheduler_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AdaptiveLoadScheduler_Outs) ProtoMessage

func (*AdaptiveLoadScheduler_Outs) ProtoMessage()

func (*AdaptiveLoadScheduler_Outs) ProtoReflect

func (*AdaptiveLoadScheduler_Outs) Reset

func (x *AdaptiveLoadScheduler_Outs) Reset()

func (*AdaptiveLoadScheduler_Outs) String

func (x *AdaptiveLoadScheduler_Outs) String() string

func (*AdaptiveLoadScheduler_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AdaptiveLoadScheduler_Outs) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (AdaptiveLoadScheduler_OutsMultiError) Error

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

type AdaptiveLoadScheduler_OutsValidationError

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

Cause function returns cause value.

func (AdaptiveLoadScheduler_OutsValidationError) Error

Error satisfies the builtin error interface

func (AdaptiveLoadScheduler_OutsValidationError) ErrorName

ErrorName returns error name.

func (AdaptiveLoadScheduler_OutsValidationError) Field

Field function returns field value.

func (AdaptiveLoadScheduler_OutsValidationError) Key

Key function returns key value.

func (AdaptiveLoadScheduler_OutsValidationError) Reason

Reason function returns reason value.

type AdaptiveLoadScheduler_Parameters

type AdaptiveLoadScheduler_Parameters struct {

	// Parameters for the _Load Scheduler_.
	LoadScheduler *LoadScheduler_Parameters `protobuf:"bytes,1,opt,name=load_scheduler,json=loadScheduler,proto3" json:"load_scheduler,omitempty" validate:"required"` // @gotags: validate:"required"
	// Parameters for the _Gradient Controller_.
	Gradient *GradientController_Parameters `protobuf:"bytes,2,opt,name=gradient,proto3" json:"gradient,omitempty" validate:"required"` // @gotags: validate:"required"
	// The maximum load multiplier that can be reached during recovery from an overload state.
	// - Helps protect the service from request bursts while the system is still recovering.
	// - Once this value is reached, the scheduler enters the pass-through mode, allowing requests to bypass the scheduler and be sent directly to the service.
	// - Any future overload state is detected by the control policy, and the load multiplier increment cycle is restarted.
	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 the overloaded state, up until the `max_load_multiplier` is reached.
	LoadMultiplierLinearIncrement float64 `` // @gotags: default:"0.0025"
	/* 171-byte string literal not displayed */
	// Configuration parameters for the embedded Alerter.
	Alerter *Alerter_Parameters `protobuf:"bytes,5,opt,name=alerter,proto3" json:"alerter,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Parameters for the _Adaptive Load Scheduler_ component.

func (*AdaptiveLoadScheduler_Parameters) DeepCopy

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

func (*AdaptiveLoadScheduler_Parameters) DeepCopyInterface

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

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

func (*AdaptiveLoadScheduler_Parameters) DeepCopyInto

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

func (*AdaptiveLoadScheduler_Parameters) Descriptor deprecated

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

Deprecated: Use AdaptiveLoadScheduler_Parameters.ProtoReflect.Descriptor instead.

func (*AdaptiveLoadScheduler_Parameters) GetAlerter

func (*AdaptiveLoadScheduler_Parameters) GetGradient

func (*AdaptiveLoadScheduler_Parameters) GetLoadMultiplierLinearIncrement

func (x *AdaptiveLoadScheduler_Parameters) GetLoadMultiplierLinearIncrement() float64

func (*AdaptiveLoadScheduler_Parameters) GetLoadScheduler

func (*AdaptiveLoadScheduler_Parameters) GetMaxLoadMultiplier

func (x *AdaptiveLoadScheduler_Parameters) GetMaxLoadMultiplier() float64

func (*AdaptiveLoadScheduler_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AdaptiveLoadScheduler_Parameters) ProtoMessage

func (*AdaptiveLoadScheduler_Parameters) ProtoMessage()

func (*AdaptiveLoadScheduler_Parameters) ProtoReflect

func (*AdaptiveLoadScheduler_Parameters) Reset

func (*AdaptiveLoadScheduler_Parameters) String

func (*AdaptiveLoadScheduler_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AdaptiveLoadScheduler_Parameters) Validate

Validate checks the field values on AdaptiveLoadScheduler_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 (*AdaptiveLoadScheduler_Parameters) ValidateAll

func (m *AdaptiveLoadScheduler_Parameters) ValidateAll() error

ValidateAll checks the field values on AdaptiveLoadScheduler_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 AdaptiveLoadScheduler_ParametersMultiError, or nil if none found.

type AdaptiveLoadScheduler_ParametersMultiError

type AdaptiveLoadScheduler_ParametersMultiError []error

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

func (AdaptiveLoadScheduler_ParametersMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AdaptiveLoadScheduler_ParametersMultiError) Error

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

type AdaptiveLoadScheduler_ParametersValidationError

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

AdaptiveLoadScheduler_ParametersValidationError is the validation error returned by AdaptiveLoadScheduler_Parameters.Validate if the designated constraints aren't met.

func (AdaptiveLoadScheduler_ParametersValidationError) Cause

Cause function returns cause value.

func (AdaptiveLoadScheduler_ParametersValidationError) Error

Error satisfies the builtin error interface

func (AdaptiveLoadScheduler_ParametersValidationError) ErrorName

ErrorName returns error name.

func (AdaptiveLoadScheduler_ParametersValidationError) Field

Field function returns field value.

func (AdaptiveLoadScheduler_ParametersValidationError) Key

Key function returns key value.

func (AdaptiveLoadScheduler_ParametersValidationError) Reason

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

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

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

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

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

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

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

func (m AddressExtractorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddressExtractorMultiError) Error

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

type AddressExtractorValidationError

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

Cause function returns cause value.

func (AddressExtractorValidationError) Error

Error satisfies the builtin error interface

func (AddressExtractorValidationError) ErrorName

ErrorName returns error name.

func (AddressExtractorValidationError) Field

Field function returns field value.

func (AddressExtractorValidationError) Key

Key function returns key value.

func (AddressExtractorValidationError) Reason

Reason function returns reason value.

type Alerter

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

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

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

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

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

func (*Alerter) Descriptor deprecated

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

Deprecated: Use Alerter.ProtoReflect.Descriptor instead.

func (*Alerter) GetInPorts

func (x *Alerter) GetInPorts() *Alerter_Ins

func (*Alerter) GetParameters

func (x *Alerter) GetParameters() *Alerter_Parameters

func (*Alerter) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Alerter) ProtoMessage

func (*Alerter) ProtoMessage()

func (*Alerter) ProtoReflect

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

func (*Alerter) Reset

func (x *Alerter) Reset()

func (*Alerter) String

func (x *Alerter) String() string

func (*Alerter) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Alerter) Validate

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

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

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

func (m AlerterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AlerterMultiError) Error

func (m AlerterMultiError) Error() string

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

type AlerterValidationError

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

func (e AlerterValidationError) Cause() error

Cause function returns cause value.

func (AlerterValidationError) Error

func (e AlerterValidationError) Error() string

Error satisfies the builtin error interface

func (AlerterValidationError) ErrorName

func (e AlerterValidationError) ErrorName() string

ErrorName returns error name.

func (AlerterValidationError) Field

func (e AlerterValidationError) Field() string

Field function returns field value.

func (AlerterValidationError) Key

func (e AlerterValidationError) Key() bool

Key function returns key value.

func (AlerterValidationError) Reason

func (e AlerterValidationError) Reason() string

Reason function returns reason value.

type Alerter_Ins

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

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

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

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

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

Deprecated: Use Alerter_Ins.ProtoReflect.Descriptor instead.

func (*Alerter_Ins) GetSignal

func (x *Alerter_Ins) GetSignal() *InPort

func (*Alerter_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Alerter_Ins) ProtoMessage

func (*Alerter_Ins) ProtoMessage()

func (*Alerter_Ins) ProtoReflect

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

func (*Alerter_Ins) Reset

func (x *Alerter_Ins) Reset()

func (*Alerter_Ins) String

func (x *Alerter_Ins) String() string

func (*Alerter_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Alerter_Ins) Validate

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

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

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

func (m Alerter_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Alerter_InsMultiError) Error

func (m Alerter_InsMultiError) Error() string

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

type Alerter_InsValidationError

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

Cause function returns cause value.

func (Alerter_InsValidationError) Error

Error satisfies the builtin error interface

func (Alerter_InsValidationError) ErrorName

func (e Alerter_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Alerter_InsValidationError) Field

Field function returns field value.

func (Alerter_InsValidationError) Key

Key function returns key value.

func (Alerter_InsValidationError) Reason

Reason function returns reason value.

type Alerter_Parameters

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

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

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

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

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

Deprecated: Use Alerter_Parameters.ProtoReflect.Descriptor instead.

func (*Alerter_Parameters) GetAlertChannels

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

func (*Alerter_Parameters) GetAlertName

func (x *Alerter_Parameters) GetAlertName() string

func (*Alerter_Parameters) GetLabels

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

func (*Alerter_Parameters) GetResolveTimeout

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

func (*Alerter_Parameters) GetSeverity

func (x *Alerter_Parameters) GetSeverity() string

func (*Alerter_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Alerter_Parameters) ProtoMessage

func (*Alerter_Parameters) ProtoMessage()

func (*Alerter_Parameters) ProtoReflect

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

func (*Alerter_Parameters) Reset

func (x *Alerter_Parameters) Reset()

func (*Alerter_Parameters) String

func (x *Alerter_Parameters) String() string

func (*Alerter_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Alerter_Parameters) Validate

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

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

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

func (m Alerter_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Alerter_ParametersMultiError) Error

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

type Alerter_ParametersValidationError

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

Cause function returns cause value.

func (Alerter_ParametersValidationError) Error

Error satisfies the builtin error interface

func (Alerter_ParametersValidationError) ErrorName

ErrorName returns error name.

func (Alerter_ParametersValidationError) Field

Field function returns field value.

func (Alerter_ParametersValidationError) Key

Key function returns key value.

func (Alerter_ParametersValidationError) Reason

Reason function returns reason value.

type And

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

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

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

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

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

func (*And) Descriptor deprecated

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

Deprecated: Use And.ProtoReflect.Descriptor instead.

func (*And) GetInPorts

func (x *And) GetInPorts() *And_Ins

func (*And) GetOutPorts

func (x *And) GetOutPorts() *And_Outs

func (*And) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*And) ProtoMessage

func (*And) ProtoMessage()

func (*And) ProtoReflect

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

func (*And) Reset

func (x *And) Reset()

func (*And) String

func (x *And) String() string

func (*And) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*And) Validate

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

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

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

func (m AndMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AndMultiError) Error

func (m AndMultiError) Error() string

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

type AndValidationError

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

func (e AndValidationError) Cause() error

Cause function returns cause value.

func (AndValidationError) Error

func (e AndValidationError) Error() string

Error satisfies the builtin error interface

func (AndValidationError) ErrorName

func (e AndValidationError) ErrorName() string

ErrorName returns error name.

func (AndValidationError) Field

func (e AndValidationError) Field() string

Field function returns field value.

func (AndValidationError) Key

func (e AndValidationError) Key() bool

Key function returns key value.

func (AndValidationError) Reason

func (e AndValidationError) Reason() string

Reason function returns reason value.

type And_Ins

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

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

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

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

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

Deprecated: Use And_Ins.ProtoReflect.Descriptor instead.

func (*And_Ins) GetInputs

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

func (*And_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*And_Ins) ProtoMessage

func (*And_Ins) ProtoMessage()

func (*And_Ins) ProtoReflect

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

func (*And_Ins) Reset

func (x *And_Ins) Reset()

func (*And_Ins) String

func (x *And_Ins) String() string

func (*And_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*And_Ins) Validate

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

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

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

func (m And_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (And_InsMultiError) Error

func (m And_InsMultiError) Error() string

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

type And_InsValidationError

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

func (e And_InsValidationError) Cause() error

Cause function returns cause value.

func (And_InsValidationError) Error

func (e And_InsValidationError) Error() string

Error satisfies the builtin error interface

func (And_InsValidationError) ErrorName

func (e And_InsValidationError) ErrorName() string

ErrorName returns error name.

func (And_InsValidationError) Field

func (e And_InsValidationError) Field() string

Field function returns field value.

func (And_InsValidationError) Key

func (e And_InsValidationError) Key() bool

Key function returns key value.

func (And_InsValidationError) Reason

func (e And_InsValidationError) Reason() string

Reason function returns reason value.

type And_Outs

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

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

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

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

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

Deprecated: Use And_Outs.ProtoReflect.Descriptor instead.

func (*And_Outs) GetOutput

func (x *And_Outs) GetOutput() *OutPort

func (*And_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*And_Outs) ProtoMessage

func (*And_Outs) ProtoMessage()

func (*And_Outs) ProtoReflect

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

func (*And_Outs) Reset

func (x *And_Outs) Reset()

func (*And_Outs) String

func (x *And_Outs) String() string

func (*And_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*And_Outs) Validate

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

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

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

func (m And_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (And_OutsMultiError) Error

func (m And_OutsMultiError) Error() string

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

type And_OutsValidationError

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

func (e And_OutsValidationError) Cause() error

Cause function returns cause value.

func (And_OutsValidationError) Error

func (e And_OutsValidationError) Error() string

Error satisfies the builtin error interface

func (And_OutsValidationError) ErrorName

func (e And_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (And_OutsValidationError) Field

func (e And_OutsValidationError) Field() string

Field function returns field value.

func (And_OutsValidationError) Key

func (e And_OutsValidationError) Key() bool

Key function returns key value.

func (And_OutsValidationError) Reason

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

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

func (*ArithmeticCombinator) DeepCopyInterface

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

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

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

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

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

func (m ArithmeticCombinatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ArithmeticCombinatorMultiError) Error

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

type ArithmeticCombinatorValidationError

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

Cause function returns cause value.

func (ArithmeticCombinatorValidationError) Error

Error satisfies the builtin error interface

func (ArithmeticCombinatorValidationError) ErrorName

ErrorName returns error name.

func (ArithmeticCombinatorValidationError) Field

Field function returns field value.

func (ArithmeticCombinatorValidationError) Key

Key function returns key value.

func (ArithmeticCombinatorValidationError) Reason

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

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

func (*ArithmeticCombinator_Ins) DeepCopyInterface

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

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

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

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

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

func (m ArithmeticCombinator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ArithmeticCombinator_InsMultiError) Error

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

type ArithmeticCombinator_InsValidationError

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

Cause function returns cause value.

func (ArithmeticCombinator_InsValidationError) Error

Error satisfies the builtin error interface

func (ArithmeticCombinator_InsValidationError) ErrorName

ErrorName returns error name.

func (ArithmeticCombinator_InsValidationError) Field

Field function returns field value.

func (ArithmeticCombinator_InsValidationError) Key

Key function returns key value.

func (ArithmeticCombinator_InsValidationError) Reason

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

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

func (*ArithmeticCombinator_Outs) DeepCopyInterface

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

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

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

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

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

AllErrors returns a list of validation violation errors.

func (ArithmeticCombinator_OutsMultiError) Error

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

type ArithmeticCombinator_OutsValidationError

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

Cause function returns cause value.

func (ArithmeticCombinator_OutsValidationError) Error

Error satisfies the builtin error interface

func (ArithmeticCombinator_OutsValidationError) ErrorName

ErrorName returns error name.

func (ArithmeticCombinator_OutsValidationError) Field

Field function returns field value.

func (ArithmeticCombinator_OutsValidationError) Key

Key function returns key value.

func (ArithmeticCombinator_OutsValidationError) Reason

Reason function returns reason value.

type AutoScale

type AutoScale struct {

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

AutoScale components are used to scale a service.

func (*AutoScale) DeepCopy

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

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

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

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

func (*AutoScale) Descriptor deprecated

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

Deprecated: Use AutoScale.ProtoReflect.Descriptor instead.

func (*AutoScale) GetAutoScaler

func (x *AutoScale) GetAutoScaler() *AutoScaler

func (*AutoScale) GetComponent

func (m *AutoScale) GetComponent() isAutoScale_Component

func (*AutoScale) GetPodScaler

func (x *AutoScale) GetPodScaler() *PodScaler

func (*AutoScale) GetPrivate

func (x *AutoScale) GetPrivate() *anypb.Any

func (*AutoScale) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AutoScale) ProtoMessage

func (*AutoScale) ProtoMessage()

func (*AutoScale) ProtoReflect

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

func (*AutoScale) Reset

func (x *AutoScale) Reset()

func (*AutoScale) String

func (x *AutoScale) String() string

func (*AutoScale) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AutoScale) Validate

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

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

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

func (m AutoScaleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AutoScaleMultiError) Error

func (m AutoScaleMultiError) Error() string

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

type AutoScaleValidationError

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

func (e AutoScaleValidationError) Cause() error

Cause function returns cause value.

func (AutoScaleValidationError) Error

func (e AutoScaleValidationError) Error() string

Error satisfies the builtin error interface

func (AutoScaleValidationError) ErrorName

func (e AutoScaleValidationError) ErrorName() string

ErrorName returns error name.

func (AutoScaleValidationError) Field

func (e AutoScaleValidationError) Field() string

Field function returns field value.

func (AutoScaleValidationError) Key

Key function returns key value.

func (AutoScaleValidationError) Reason

func (e AutoScaleValidationError) Reason() string

Reason function returns reason value.

type AutoScale_AutoScaler

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_PodScaler

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 AutoScale_Private

type AutoScale_Private struct {
	// Extends auto scale with private components.
	Private *anypb.Any `protobuf:"bytes,1000,opt,name=private,proto3,oneof"`
}

type AutoScaler

type AutoScaler struct {
	ScalingBackend *AutoScaler_ScalingBackend `protobuf:"bytes,1,opt,name=scaling_backend,json=scalingBackend,proto3" json:"scaling_backend,omitempty" validate:"required"` // @gotags: validate:"required"
	// List of _Controllers_ for scaling out.
	ScaleOutControllers []*ScaleOutController `` // @gotags: validate:"dive"
	/* 136-byte string literal not displayed */
	// List of _Controllers_ for scaling in.
	ScaleInControllers []*ScaleInController `` // @gotags: validate:"dive"
	/* 133-byte string literal not displayed */
	// Parameters that define the scaling behavior.
	ScalingParameters *AutoScaler_ScalingParameters `` // @gotags: validate:"required"
	/* 132-byte string literal not displayed */
	// Dry run mode ensures that no scaling is invoked by this auto scaler.
	// This is useful for observing the behavior of auto scaler without disrupting any real deployment.
	// This parameter sets the default value of dry run setting which can be overridden at runtime using dynamic configuration.
	DryRun bool `protobuf:"varint,5,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// Configuration key for overriding dry run setting through dynamic configuration.
	DryRunConfigKey string `protobuf:"bytes,6,opt,name=dry_run_config_key,json=dryRunConfigKey,proto3" json:"dry_run_config_key,omitempty"`
	// 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

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

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

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

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

func (*AutoScaler) Descriptor deprecated

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

Deprecated: Use AutoScaler.ProtoReflect.Descriptor instead.

func (*AutoScaler) GetDryRun

func (x *AutoScaler) GetDryRun() bool

func (*AutoScaler) GetDryRunConfigKey

func (x *AutoScaler) GetDryRunConfigKey() string

func (*AutoScaler) GetScaleInControllers

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

func (*AutoScaler) GetScaleOutControllers

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

func (*AutoScaler) GetScalingBackend

func (x *AutoScaler) GetScalingBackend() *AutoScaler_ScalingBackend

func (*AutoScaler) GetScalingParameters

func (x *AutoScaler) GetScalingParameters() *AutoScaler_ScalingParameters

func (*AutoScaler) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AutoScaler) ProtoMessage

func (*AutoScaler) ProtoMessage()

func (*AutoScaler) ProtoReflect

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

func (*AutoScaler) Reset

func (x *AutoScaler) Reset()

func (*AutoScaler) String

func (x *AutoScaler) String() string

func (*AutoScaler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaler) Validate

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

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

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

func (m AutoScalerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AutoScalerMultiError) Error

func (m AutoScalerMultiError) Error() string

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

type AutoScalerValidationError

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

func (e AutoScalerValidationError) Cause() error

Cause function returns cause value.

func (AutoScalerValidationError) Error

Error satisfies the builtin error interface

func (AutoScalerValidationError) ErrorName

func (e AutoScalerValidationError) ErrorName() string

ErrorName returns error name.

func (AutoScalerValidationError) Field

Field function returns field value.

func (AutoScalerValidationError) Key

Key function returns key value.

func (AutoScalerValidationError) Reason

func (e AutoScalerValidationError) Reason() string

Reason function returns reason value.

type AutoScaler_ScalingBackend

type AutoScaler_ScalingBackend struct {

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

func (*AutoScaler_ScalingBackend) DeepCopy

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

func (*AutoScaler_ScalingBackend) DeepCopyInterface

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

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

func (*AutoScaler_ScalingBackend) DeepCopyInto

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

func (*AutoScaler_ScalingBackend) Descriptor deprecated

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

Deprecated: Use AutoScaler_ScalingBackend.ProtoReflect.Descriptor instead.

func (*AutoScaler_ScalingBackend) GetKubernetesReplicas

func (*AutoScaler_ScalingBackend) GetScaler

func (m *AutoScaler_ScalingBackend) GetScaler() isAutoScaler_ScalingBackend_Scaler

func (*AutoScaler_ScalingBackend) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AutoScaler_ScalingBackend) ProtoMessage

func (*AutoScaler_ScalingBackend) ProtoMessage()

func (*AutoScaler_ScalingBackend) ProtoReflect

func (*AutoScaler_ScalingBackend) Reset

func (x *AutoScaler_ScalingBackend) Reset()

func (*AutoScaler_ScalingBackend) String

func (x *AutoScaler_ScalingBackend) String() string

func (*AutoScaler_ScalingBackend) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaler_ScalingBackend) Validate

func (m *AutoScaler_ScalingBackend) Validate() error

Validate checks the field values on AutoScaler_ScalingBackend 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_ScalingBackend) ValidateAll

func (m *AutoScaler_ScalingBackend) ValidateAll() error

ValidateAll checks the field values on AutoScaler_ScalingBackend 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_ScalingBackendMultiError, or nil if none found.

type AutoScaler_ScalingBackendMultiError

type AutoScaler_ScalingBackendMultiError []error

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

func (AutoScaler_ScalingBackendMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AutoScaler_ScalingBackendMultiError) Error

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

type AutoScaler_ScalingBackendValidationError

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

AutoScaler_ScalingBackendValidationError is the validation error returned by AutoScaler_ScalingBackend.Validate if the designated constraints aren't met.

func (AutoScaler_ScalingBackendValidationError) Cause

Cause function returns cause value.

func (AutoScaler_ScalingBackendValidationError) Error

Error satisfies the builtin error interface

func (AutoScaler_ScalingBackendValidationError) ErrorName

ErrorName returns error name.

func (AutoScaler_ScalingBackendValidationError) Field

Field function returns field value.

func (AutoScaler_ScalingBackendValidationError) Key

Key function returns key value.

func (AutoScaler_ScalingBackendValidationError) Reason

Reason function returns reason value.

type AutoScaler_ScalingBackend_KubernetesReplicas

type AutoScaler_ScalingBackend_KubernetesReplicas struct {

	// The Kubernetes object on which horizontal scaling is applied.
	KubernetesObjectSelector *KubernetesObjectSelector `` // @gotags: validate:"required"
	/* 155-byte string literal not displayed */
	// The minimum replicas to which the _AutoScaler_ can scale-in.
	MinReplicas int64 `protobuf:"varint,2,opt,name=min_replicas,json=minReplicas,proto3" json:"min_replicas,omitempty" default:"0" validate:"gte=0"` // @gotags: default:"0" validate:"gte=0"
	// The maximum replicas to which the _AutoScaler_ can scale-out.
	MaxReplicas int64 `` // @gotags: default:"9223372036854775807" validate:"gt=0"
	/* 141-byte string literal not displayed */
	// Output ports for _Kubernetes Replicas_.
	OutPorts *AutoScaler_ScalingBackend_KubernetesReplicas_Outs `protobuf:"bytes,4,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

KubernetesReplicas defines a horizontal pod scaler for Kubernetes.

func (*AutoScaler_ScalingBackend_KubernetesReplicas) DeepCopy

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

func (*AutoScaler_ScalingBackend_KubernetesReplicas) DeepCopyInterface

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

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

func (*AutoScaler_ScalingBackend_KubernetesReplicas) DeepCopyInto

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

func (*AutoScaler_ScalingBackend_KubernetesReplicas) Descriptor deprecated

Deprecated: Use AutoScaler_ScalingBackend_KubernetesReplicas.ProtoReflect.Descriptor instead.

func (*AutoScaler_ScalingBackend_KubernetesReplicas) GetKubernetesObjectSelector

func (*AutoScaler_ScalingBackend_KubernetesReplicas) GetMaxReplicas

func (*AutoScaler_ScalingBackend_KubernetesReplicas) GetMinReplicas

func (*AutoScaler_ScalingBackend_KubernetesReplicas) GetOutPorts

func (*AutoScaler_ScalingBackend_KubernetesReplicas) MarshalJSON

MarshalJSON implements json.Marshaler

func (*AutoScaler_ScalingBackend_KubernetesReplicas) ProtoMessage

func (*AutoScaler_ScalingBackend_KubernetesReplicas) ProtoReflect

func (*AutoScaler_ScalingBackend_KubernetesReplicas) Reset

func (*AutoScaler_ScalingBackend_KubernetesReplicas) String

func (*AutoScaler_ScalingBackend_KubernetesReplicas) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaler_ScalingBackend_KubernetesReplicas) Validate

Validate checks the field values on AutoScaler_ScalingBackend_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 (*AutoScaler_ScalingBackend_KubernetesReplicas) ValidateAll

ValidateAll checks the field values on AutoScaler_ScalingBackend_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 AutoScaler_ScalingBackend_KubernetesReplicasMultiError, or nil if none found.

type AutoScaler_ScalingBackend_KubernetesReplicasMultiError

type AutoScaler_ScalingBackend_KubernetesReplicasMultiError []error

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

func (AutoScaler_ScalingBackend_KubernetesReplicasMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AutoScaler_ScalingBackend_KubernetesReplicasMultiError) Error

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

type AutoScaler_ScalingBackend_KubernetesReplicasValidationError

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

AutoScaler_ScalingBackend_KubernetesReplicasValidationError is the validation error returned by AutoScaler_ScalingBackend_KubernetesReplicas.Validate if the designated constraints aren't met.

func (AutoScaler_ScalingBackend_KubernetesReplicasValidationError) Cause

Cause function returns cause value.

func (AutoScaler_ScalingBackend_KubernetesReplicasValidationError) Error

Error satisfies the builtin error interface

func (AutoScaler_ScalingBackend_KubernetesReplicasValidationError) ErrorName

ErrorName returns error name.

func (AutoScaler_ScalingBackend_KubernetesReplicasValidationError) Field

Field function returns field value.

func (AutoScaler_ScalingBackend_KubernetesReplicasValidationError) Key

Key function returns key value.

func (AutoScaler_ScalingBackend_KubernetesReplicasValidationError) Reason

Reason function returns reason value.

type AutoScaler_ScalingBackend_KubernetesReplicas_

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

type AutoScaler_ScalingBackend_KubernetesReplicas_Outs

type AutoScaler_ScalingBackend_KubernetesReplicas_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

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) DeepCopy

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

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) DeepCopyInterface

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

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

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) DeepCopyInto

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

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) Descriptor deprecated

Deprecated: Use AutoScaler_ScalingBackend_KubernetesReplicas_Outs.ProtoReflect.Descriptor instead.

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) GetActualReplicas

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) GetConfiguredReplicas

func (x *AutoScaler_ScalingBackend_KubernetesReplicas_Outs) GetConfiguredReplicas() *OutPort

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) GetDesiredReplicas

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) MarshalJSON

MarshalJSON implements json.Marshaler

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) ProtoMessage

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) ProtoReflect

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) Reset

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) String

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) Validate

Validate checks the field values on AutoScaler_ScalingBackend_KubernetesReplicas_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_ScalingBackend_KubernetesReplicas_Outs) ValidateAll

ValidateAll checks the field values on AutoScaler_ScalingBackend_KubernetesReplicas_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_ScalingBackend_KubernetesReplicas_OutsMultiError, or nil if none found.

type AutoScaler_ScalingBackend_KubernetesReplicas_OutsMultiError

type AutoScaler_ScalingBackend_KubernetesReplicas_OutsMultiError []error

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

func (AutoScaler_ScalingBackend_KubernetesReplicas_OutsMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AutoScaler_ScalingBackend_KubernetesReplicas_OutsMultiError) Error

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

type AutoScaler_ScalingBackend_KubernetesReplicas_OutsValidationError

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

AutoScaler_ScalingBackend_KubernetesReplicas_OutsValidationError is the validation error returned by AutoScaler_ScalingBackend_KubernetesReplicas_Outs.Validate if the designated constraints aren't met.

func (AutoScaler_ScalingBackend_KubernetesReplicas_OutsValidationError) Cause

Cause function returns cause value.

func (AutoScaler_ScalingBackend_KubernetesReplicas_OutsValidationError) Error

Error satisfies the builtin error interface

func (AutoScaler_ScalingBackend_KubernetesReplicas_OutsValidationError) ErrorName

ErrorName returns error name.

func (AutoScaler_ScalingBackend_KubernetesReplicas_OutsValidationError) Field

Field function returns field value.

func (AutoScaler_ScalingBackend_KubernetesReplicas_OutsValidationError) Key

Key function returns key value.

func (AutoScaler_ScalingBackend_KubernetesReplicas_OutsValidationError) Reason

Reason function returns reason value.

type AutoScaler_ScalingParameters

type AutoScaler_ScalingParameters struct {

	// 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,3,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,4,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"
	/* 156-byte string literal not displayed */
	// Configuration for scale-out Alerter.
	ScaleOutAlerter *Alerter_Parameters `` // @gotags: validate:"required"
	/* 128-byte string literal not displayed */
	// Configuration for scale-in Alerter.
	ScaleInAlerter *Alerter_Parameters `protobuf:"bytes,7,opt,name=scale_in_alerter,json=scaleInAlerter,proto3" json:"scale_in_alerter,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

func (*AutoScaler_ScalingParameters) DeepCopy

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

func (*AutoScaler_ScalingParameters) DeepCopyInterface

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

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

func (*AutoScaler_ScalingParameters) DeepCopyInto

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

func (*AutoScaler_ScalingParameters) Descriptor deprecated

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

Deprecated: Use AutoScaler_ScalingParameters.ProtoReflect.Descriptor instead.

func (*AutoScaler_ScalingParameters) GetCooldownOverridePercentage

func (x *AutoScaler_ScalingParameters) GetCooldownOverridePercentage() float64

func (*AutoScaler_ScalingParameters) GetMaxScaleInPercentage

func (x *AutoScaler_ScalingParameters) GetMaxScaleInPercentage() float64

func (*AutoScaler_ScalingParameters) GetMaxScaleOutPercentage

func (x *AutoScaler_ScalingParameters) GetMaxScaleOutPercentage() float64

func (*AutoScaler_ScalingParameters) GetScaleInAlerter

func (x *AutoScaler_ScalingParameters) GetScaleInAlerter() *Alerter_Parameters

func (*AutoScaler_ScalingParameters) GetScaleInCooldown

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

func (*AutoScaler_ScalingParameters) GetScaleOutAlerter

func (x *AutoScaler_ScalingParameters) GetScaleOutAlerter() *Alerter_Parameters

func (*AutoScaler_ScalingParameters) GetScaleOutCooldown

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

func (*AutoScaler_ScalingParameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AutoScaler_ScalingParameters) ProtoMessage

func (*AutoScaler_ScalingParameters) ProtoMessage()

func (*AutoScaler_ScalingParameters) ProtoReflect

func (*AutoScaler_ScalingParameters) Reset

func (x *AutoScaler_ScalingParameters) Reset()

func (*AutoScaler_ScalingParameters) String

func (*AutoScaler_ScalingParameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaler_ScalingParameters) Validate

func (m *AutoScaler_ScalingParameters) Validate() error

Validate checks the field values on AutoScaler_ScalingParameters 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_ScalingParameters) ValidateAll

func (m *AutoScaler_ScalingParameters) ValidateAll() error

ValidateAll checks the field values on AutoScaler_ScalingParameters 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_ScalingParametersMultiError, or nil if none found.

type AutoScaler_ScalingParametersMultiError

type AutoScaler_ScalingParametersMultiError []error

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

func (AutoScaler_ScalingParametersMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AutoScaler_ScalingParametersMultiError) Error

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

type AutoScaler_ScalingParametersValidationError

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

AutoScaler_ScalingParametersValidationError is the validation error returned by AutoScaler_ScalingParameters.Validate if the designated constraints aren't met.

func (AutoScaler_ScalingParametersValidationError) Cause

Cause function returns cause value.

func (AutoScaler_ScalingParametersValidationError) Error

Error satisfies the builtin error interface

func (AutoScaler_ScalingParametersValidationError) ErrorName

ErrorName returns error name.

func (AutoScaler_ScalingParametersValidationError) Field

Field function returns field value.

func (AutoScaler_ScalingParametersValidationError) Key

Key function returns key value.

func (AutoScaler_ScalingParametersValidationError) Reason

Reason function returns reason value.

type BoolVariable added in v2.2.0

type BoolVariable struct {

	// Output ports for the BoolVariable component.
	OutPorts *BoolVariable_Outs `protobuf:"bytes,1,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// The constant Boolean signal emitted by this component. The value of the constant Boolean signal can be overridden at runtime through dynamic configuration.
	ConstantOutput bool `protobuf:"varint,2,opt,name=constant_output,json=constantOutput,proto3" json:"constant_output,omitempty"`
	// Configuration key for overriding value setting through dynamic configuration.
	ConfigKey string `protobuf:"bytes,3,opt,name=config_key,json=configKey,proto3" json:"config_key,omitempty"`
	// contains filtered or unexported fields
}

Component that emits a constant Boolean signal which can be changed at runtime through dynamic configuration.

func (*BoolVariable) DeepCopy added in v2.2.0

func (in *BoolVariable) DeepCopy() *BoolVariable

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

func (*BoolVariable) DeepCopyInterface added in v2.2.0

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

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

func (*BoolVariable) DeepCopyInto added in v2.2.0

func (in *BoolVariable) DeepCopyInto(out *BoolVariable)

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

func (*BoolVariable) Descriptor deprecated added in v2.2.0

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

Deprecated: Use BoolVariable.ProtoReflect.Descriptor instead.

func (*BoolVariable) GetConfigKey added in v2.2.0

func (x *BoolVariable) GetConfigKey() string

func (*BoolVariable) GetConstantOutput added in v2.2.0

func (x *BoolVariable) GetConstantOutput() bool

func (*BoolVariable) GetOutPorts added in v2.2.0

func (x *BoolVariable) GetOutPorts() *BoolVariable_Outs

func (*BoolVariable) MarshalJSON added in v2.2.0

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

MarshalJSON implements json.Marshaler

func (*BoolVariable) ProtoMessage added in v2.2.0

func (*BoolVariable) ProtoMessage()

func (*BoolVariable) ProtoReflect added in v2.2.0

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

func (*BoolVariable) Reset added in v2.2.0

func (x *BoolVariable) Reset()

func (*BoolVariable) String added in v2.2.0

func (x *BoolVariable) String() string

func (*BoolVariable) UnmarshalJSON added in v2.2.0

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

UnmarshalJSON implements json.Unmarshaler

func (*BoolVariable) Validate added in v2.2.0

func (m *BoolVariable) Validate() error

Validate checks the field values on BoolVariable 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 (*BoolVariable) ValidateAll added in v2.2.0

func (m *BoolVariable) ValidateAll() error

ValidateAll checks the field values on BoolVariable 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 BoolVariableMultiError, or nil if none found.

type BoolVariableMultiError added in v2.2.0

type BoolVariableMultiError []error

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

func (BoolVariableMultiError) AllErrors added in v2.2.0

func (m BoolVariableMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BoolVariableMultiError) Error added in v2.2.0

func (m BoolVariableMultiError) Error() string

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

type BoolVariableValidationError added in v2.2.0

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

BoolVariableValidationError is the validation error returned by BoolVariable.Validate if the designated constraints aren't met.

func (BoolVariableValidationError) Cause added in v2.2.0

Cause function returns cause value.

func (BoolVariableValidationError) Error added in v2.2.0

Error satisfies the builtin error interface

func (BoolVariableValidationError) ErrorName added in v2.2.0

func (e BoolVariableValidationError) ErrorName() string

ErrorName returns error name.

func (BoolVariableValidationError) Field added in v2.2.0

Field function returns field value.

func (BoolVariableValidationError) Key added in v2.2.0

Key function returns key value.

func (BoolVariableValidationError) Reason added in v2.2.0

Reason function returns reason value.

type BoolVariable_Outs added in v2.2.0

type BoolVariable_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 BoolVariable component.

func (*BoolVariable_Outs) DeepCopy added in v2.2.0

func (in *BoolVariable_Outs) DeepCopy() *BoolVariable_Outs

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

func (*BoolVariable_Outs) DeepCopyInterface added in v2.2.0

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

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

func (*BoolVariable_Outs) DeepCopyInto added in v2.2.0

func (in *BoolVariable_Outs) DeepCopyInto(out *BoolVariable_Outs)

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

func (*BoolVariable_Outs) Descriptor deprecated added in v2.2.0

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

Deprecated: Use BoolVariable_Outs.ProtoReflect.Descriptor instead.

func (*BoolVariable_Outs) GetOutput added in v2.2.0

func (x *BoolVariable_Outs) GetOutput() *OutPort

func (*BoolVariable_Outs) MarshalJSON added in v2.2.0

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

MarshalJSON implements json.Marshaler

func (*BoolVariable_Outs) ProtoMessage added in v2.2.0

func (*BoolVariable_Outs) ProtoMessage()

func (*BoolVariable_Outs) ProtoReflect added in v2.2.0

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

func (*BoolVariable_Outs) Reset added in v2.2.0

func (x *BoolVariable_Outs) Reset()

func (*BoolVariable_Outs) String added in v2.2.0

func (x *BoolVariable_Outs) String() string

func (*BoolVariable_Outs) UnmarshalJSON added in v2.2.0

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

UnmarshalJSON implements json.Unmarshaler

func (*BoolVariable_Outs) Validate added in v2.2.0

func (m *BoolVariable_Outs) Validate() error

Validate checks the field values on BoolVariable_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 (*BoolVariable_Outs) ValidateAll added in v2.2.0

func (m *BoolVariable_Outs) ValidateAll() error

ValidateAll checks the field values on BoolVariable_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 BoolVariable_OutsMultiError, or nil if none found.

type BoolVariable_OutsMultiError added in v2.2.0

type BoolVariable_OutsMultiError []error

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

func (BoolVariable_OutsMultiError) AllErrors added in v2.2.0

func (m BoolVariable_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BoolVariable_OutsMultiError) Error added in v2.2.0

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

type BoolVariable_OutsValidationError added in v2.2.0

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

BoolVariable_OutsValidationError is the validation error returned by BoolVariable_Outs.Validate if the designated constraints aren't met.

func (BoolVariable_OutsValidationError) Cause added in v2.2.0

Cause function returns cause value.

func (BoolVariable_OutsValidationError) Error added in v2.2.0

Error satisfies the builtin error interface

func (BoolVariable_OutsValidationError) ErrorName added in v2.2.0

ErrorName returns error name.

func (BoolVariable_OutsValidationError) Field added in v2.2.0

Field function returns field value.

func (BoolVariable_OutsValidationError) Key added in v2.2.0

Key function returns key value.

func (BoolVariable_OutsValidationError) Reason added in v2.2.0

Reason function returns reason value.

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

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

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

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

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

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

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

func (m CircuitMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CircuitMultiError) Error

func (m CircuitMultiError) Error() string

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

type CircuitValidationError

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

func (e CircuitValidationError) Cause() error

Cause function returns cause value.

func (CircuitValidationError) Error

func (e CircuitValidationError) Error() string

Error satisfies the builtin error interface

func (CircuitValidationError) ErrorName

func (e CircuitValidationError) ErrorName() string

ErrorName returns error name.

func (CircuitValidationError) Field

func (e CircuitValidationError) Field() string

Field function returns field value.

func (CircuitValidationError) Key

func (e CircuitValidationError) Key() bool

Key function returns key value.

func (CircuitValidationError) Reason

func (e CircuitValidationError) Reason() string

Reason function returns reason value.

type Classifier

type Classifier struct {

	// 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,gt=0,dive"` // @gotags: validate:"required,gt=0,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 selectors:

  • agent_group: demoapp service: service1-demo-app.demoapp.svc.cluster.local 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

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

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

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) GetRego

func (x *Classifier) GetRego() *Rego

func (*Classifier) GetRules

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

func (*Classifier) GetSelectors

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

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

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

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

func (m ClassifierMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClassifierMultiError) Error

func (m ClassifierMultiError) Error() string

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

type ClassifierValidationError

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

func (e ClassifierValidationError) Cause() error

Cause function returns cause value.

func (ClassifierValidationError) Error

Error satisfies the builtin error interface

func (ClassifierValidationError) ErrorName

func (e ClassifierValidationError) ErrorName() string

ErrorName returns error name.

func (ClassifierValidationError) Field

Field function returns field value.

func (ClassifierValidationError) Key

Key function returns key value.

func (ClassifierValidationError) Reason

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_BoolVariable
	//	*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.

:::

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

func (*Component) DeepCopy

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

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

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

func (x *Component) GetAlerter() *Alerter

func (*Component) GetAnd

func (x *Component) GetAnd() *And

func (*Component) GetArithmeticCombinator

func (x *Component) GetArithmeticCombinator() *ArithmeticCombinator

func (*Component) GetAutoScale

func (x *Component) GetAutoScale() *AutoScale

func (*Component) GetBoolVariable added in v2.2.0

func (x *Component) GetBoolVariable() *BoolVariable

func (*Component) GetComponent

func (m *Component) GetComponent() isComponent_Component

func (*Component) GetDecider

func (x *Component) GetDecider() *Decider

func (*Component) GetDifferentiator

func (x *Component) GetDifferentiator() *Differentiator

func (*Component) GetEma

func (x *Component) GetEma() *EMA

func (*Component) GetExtrapolator

func (x *Component) GetExtrapolator() *Extrapolator

func (*Component) GetFirstValid

func (x *Component) GetFirstValid() *FirstValid

func (*Component) GetFlowControl

func (x *Component) GetFlowControl() *FlowControl

func (*Component) GetGradientController

func (x *Component) GetGradientController() *GradientController

func (*Component) GetHolder

func (x *Component) GetHolder() *Holder

func (*Component) GetIntegrator

func (x *Component) GetIntegrator() *Integrator

func (*Component) GetInverter

func (x *Component) GetInverter() *Inverter

func (*Component) GetMax

func (x *Component) GetMax() *Max

func (*Component) GetMin

func (x *Component) GetMin() *Min

func (*Component) GetNestedCircuit

func (x *Component) GetNestedCircuit() *NestedCircuit

func (*Component) GetNestedSignalEgress

func (x *Component) GetNestedSignalEgress() *NestedSignalEgress

func (*Component) GetNestedSignalIngress

func (x *Component) GetNestedSignalIngress() *NestedSignalIngress

func (*Component) GetOr

func (x *Component) GetOr() *Or

func (*Component) GetPulseGenerator

func (x *Component) GetPulseGenerator() *PulseGenerator

func (*Component) GetQuery

func (x *Component) GetQuery() *Query

func (*Component) GetSignalGenerator

func (x *Component) GetSignalGenerator() *SignalGenerator

func (*Component) GetSma

func (x *Component) GetSma() *SMA

func (*Component) GetSwitcher

func (x *Component) GetSwitcher() *Switcher

func (*Component) GetUnaryOperator

func (x *Component) GetUnaryOperator() *UnaryOperator

func (*Component) GetVariable

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

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

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

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

func (m ComponentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ComponentMultiError) Error

func (m ComponentMultiError) Error() string

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

type ComponentValidationError

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

func (e ComponentValidationError) Cause() error

Cause function returns cause value.

func (ComponentValidationError) Error

func (e ComponentValidationError) Error() string

Error satisfies the builtin error interface

func (ComponentValidationError) ErrorName

func (e ComponentValidationError) ErrorName() string

ErrorName returns error name.

func (ComponentValidationError) Field

func (e ComponentValidationError) Field() string

Field function returns field value.

func (ComponentValidationError) Key

Key function returns key value.

func (ComponentValidationError) Reason

func (e ComponentValidationError) Reason() string

Reason function returns reason value.

type Component_Alerter

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

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

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_BoolVariable added in v2.2.0

type Component_BoolVariable struct {
	// BoolVariable emits a constant Boolean signal which can be changed at runtime via dynamic configuration.
	BoolVariable *BoolVariable `protobuf:"bytes,28,opt,name=bool_variable,json=boolVariable,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

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

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

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

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

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

type Component_Inverter

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

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

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

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

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

type Component_PulseGenerator

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

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

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

type Component_Sma

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

type Component_Switcher

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

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

type Component_Variable struct {
	// Emits a variable signal which can be changed at runtime via dynamic configuration.
	Variable *Variable `protobuf:"bytes,9,opt,name=variable,proto3,oneof"`
}

type ConstantSignal

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

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

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

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

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

func (*ConstantSignal) Descriptor deprecated

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

Deprecated: Use ConstantSignal.ProtoReflect.Descriptor instead.

func (*ConstantSignal) GetConst

func (m *ConstantSignal) GetConst() isConstantSignal_Const

func (*ConstantSignal) GetSpecialValue

func (x *ConstantSignal) GetSpecialValue() string

func (*ConstantSignal) GetValue

func (x *ConstantSignal) GetValue() float64

func (*ConstantSignal) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ConstantSignal) ProtoMessage

func (*ConstantSignal) ProtoMessage()

func (*ConstantSignal) ProtoReflect

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

func (*ConstantSignal) Reset

func (x *ConstantSignal) Reset()

func (*ConstantSignal) String

func (x *ConstantSignal) String() string

func (*ConstantSignal) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ConstantSignal) Validate

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

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

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

func (m ConstantSignalMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConstantSignalMultiError) Error

func (m ConstantSignalMultiError) Error() string

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

type ConstantSignalValidationError

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

Cause function returns cause value.

func (ConstantSignalValidationError) Error

Error satisfies the builtin error interface

func (ConstantSignalValidationError) ErrorName

func (e ConstantSignalValidationError) ErrorName() string

ErrorName returns error name.

func (ConstantSignalValidationError) Field

Field function returns field value.

func (ConstantSignalValidationError) Key

Key function returns key value.

func (ConstantSignalValidationError) Reason

Reason function returns reason value.

type ConstantSignal_SpecialValue

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

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

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

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

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

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

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

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

func (m DeciderMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeciderMultiError) Error

func (m DeciderMultiError) Error() string

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

type DeciderValidationError

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

func (e DeciderValidationError) Cause() error

Cause function returns cause value.

func (DeciderValidationError) Error

func (e DeciderValidationError) Error() string

Error satisfies the builtin error interface

func (DeciderValidationError) ErrorName

func (e DeciderValidationError) ErrorName() string

ErrorName returns error name.

func (DeciderValidationError) Field

func (e DeciderValidationError) Field() string

Field function returns field value.

func (DeciderValidationError) Key

func (e DeciderValidationError) Key() bool

Key function returns key value.

func (DeciderValidationError) Reason

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

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

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

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

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

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

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

func (m Decider_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Decider_InsMultiError) Error

func (m Decider_InsMultiError) Error() string

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

type Decider_InsValidationError

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

Cause function returns cause value.

func (Decider_InsValidationError) Error

Error satisfies the builtin error interface

func (Decider_InsValidationError) ErrorName

func (e Decider_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Decider_InsValidationError) Field

Field function returns field value.

func (Decider_InsValidationError) Key

Key function returns key value.

func (Decider_InsValidationError) Reason

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

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

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

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

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

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

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

func (m Decider_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Decider_OutsMultiError) Error

func (m Decider_OutsMultiError) Error() string

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

type Decider_OutsValidationError

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

Cause function returns cause value.

func (Decider_OutsValidationError) Error

Error satisfies the builtin error interface

func (Decider_OutsValidationError) ErrorName

func (e Decider_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Decider_OutsValidationError) Field

Field function returns field value.

func (Decider_OutsValidationError) Key

Key function returns key value.

func (Decider_OutsValidationError) Reason

Reason function returns reason value.

type DecreasingGradient

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

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

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

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

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

func (*DecreasingGradient) Descriptor deprecated

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

Deprecated: Use DecreasingGradient.ProtoReflect.Descriptor instead.

func (*DecreasingGradient) GetInPorts

func (x *DecreasingGradient) GetInPorts() *DecreasingGradient_Ins

func (*DecreasingGradient) GetParameters

func (*DecreasingGradient) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*DecreasingGradient) ProtoMessage

func (*DecreasingGradient) ProtoMessage()

func (*DecreasingGradient) ProtoReflect

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

func (*DecreasingGradient) Reset

func (x *DecreasingGradient) Reset()

func (*DecreasingGradient) String

func (x *DecreasingGradient) String() string

func (*DecreasingGradient) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*DecreasingGradient) Validate

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

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

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

func (m DecreasingGradientMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DecreasingGradientMultiError) Error

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

type DecreasingGradientValidationError

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

Cause function returns cause value.

func (DecreasingGradientValidationError) Error

Error satisfies the builtin error interface

func (DecreasingGradientValidationError) ErrorName

ErrorName returns error name.

func (DecreasingGradientValidationError) Field

Field function returns field value.

func (DecreasingGradientValidationError) Key

Key function returns key value.

func (DecreasingGradientValidationError) Reason

Reason function returns reason value.

type DecreasingGradient_Ins

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

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

func (*DecreasingGradient_Ins) DeepCopyInterface

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

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

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

Deprecated: Use DecreasingGradient_Ins.ProtoReflect.Descriptor instead.

func (*DecreasingGradient_Ins) GetSetpoint

func (x *DecreasingGradient_Ins) GetSetpoint() *InPort

func (*DecreasingGradient_Ins) GetSignal

func (x *DecreasingGradient_Ins) GetSignal() *InPort

func (*DecreasingGradient_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*DecreasingGradient_Ins) ProtoMessage

func (*DecreasingGradient_Ins) ProtoMessage()

func (*DecreasingGradient_Ins) ProtoReflect

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

func (*DecreasingGradient_Ins) Reset

func (x *DecreasingGradient_Ins) Reset()

func (*DecreasingGradient_Ins) String

func (x *DecreasingGradient_Ins) String() string

func (*DecreasingGradient_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*DecreasingGradient_Ins) Validate

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

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

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

func (m DecreasingGradient_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DecreasingGradient_InsMultiError) Error

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

type DecreasingGradient_InsValidationError

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

Cause function returns cause value.

func (DecreasingGradient_InsValidationError) Error

Error satisfies the builtin error interface

func (DecreasingGradient_InsValidationError) ErrorName

ErrorName returns error name.

func (DecreasingGradient_InsValidationError) Field

Field function returns field value.

func (DecreasingGradient_InsValidationError) Key

Key function returns key value.

func (DecreasingGradient_InsValidationError) Reason

Reason function returns reason value.

type DecreasingGradient_Parameters

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

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

func (*DecreasingGradient_Parameters) DeepCopyInterface

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

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

func (*DecreasingGradient_Parameters) Descriptor deprecated

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

Deprecated: Use DecreasingGradient_Parameters.ProtoReflect.Descriptor instead.

func (*DecreasingGradient_Parameters) GetMinGradient

func (x *DecreasingGradient_Parameters) GetMinGradient() float64

func (*DecreasingGradient_Parameters) GetSlope

func (x *DecreasingGradient_Parameters) GetSlope() float64

func (*DecreasingGradient_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*DecreasingGradient_Parameters) ProtoMessage

func (*DecreasingGradient_Parameters) ProtoMessage()

func (*DecreasingGradient_Parameters) ProtoReflect

func (*DecreasingGradient_Parameters) Reset

func (x *DecreasingGradient_Parameters) Reset()

func (*DecreasingGradient_Parameters) String

func (*DecreasingGradient_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*DecreasingGradient_Parameters) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (DecreasingGradient_ParametersMultiError) Error

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

type DecreasingGradient_ParametersValidationError

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

Cause function returns cause value.

func (DecreasingGradient_ParametersValidationError) Error

Error satisfies the builtin error interface

func (DecreasingGradient_ParametersValidationError) ErrorName

ErrorName returns error name.

func (DecreasingGradient_ParametersValidationError) Field

Field function returns field value.

func (DecreasingGradient_ParametersValidationError) Key

Key function returns key value.

func (DecreasingGradient_ParametersValidationError) Reason

Reason function returns reason value.

type DeletePolicyRequest

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

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

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

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

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

func (*DeletePolicyRequest) Descriptor deprecated

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

Deprecated: Use DeletePolicyRequest.ProtoReflect.Descriptor instead.

func (*DeletePolicyRequest) GetName

func (x *DeletePolicyRequest) GetName() string

func (*DeletePolicyRequest) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*DeletePolicyRequest) ProtoMessage

func (*DeletePolicyRequest) ProtoMessage()

func (*DeletePolicyRequest) ProtoReflect

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

func (*DeletePolicyRequest) Reset

func (x *DeletePolicyRequest) Reset()

func (*DeletePolicyRequest) String

func (x *DeletePolicyRequest) String() string

func (*DeletePolicyRequest) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*DeletePolicyRequest) Validate

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

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

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

func (m DeletePolicyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeletePolicyRequestMultiError) Error

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

type DeletePolicyRequestValidationError

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

Cause function returns cause value.

func (DeletePolicyRequestValidationError) Error

Error satisfies the builtin error interface

func (DeletePolicyRequestValidationError) ErrorName

ErrorName returns error name.

func (DeletePolicyRequestValidationError) Field

Field function returns field value.

func (DeletePolicyRequestValidationError) Key

Key function returns key value.

func (DeletePolicyRequestValidationError) Reason

Reason function returns reason value.

type Differentiator

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

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

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

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

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

func (*Differentiator) Descriptor deprecated

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

Deprecated: Use Differentiator.ProtoReflect.Descriptor instead.

func (*Differentiator) GetInPorts

func (x *Differentiator) GetInPorts() *Differentiator_Ins

func (*Differentiator) GetOutPorts

func (x *Differentiator) GetOutPorts() *Differentiator_Outs

func (*Differentiator) GetWindow

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

func (*Differentiator) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Differentiator) ProtoMessage

func (*Differentiator) ProtoMessage()

func (*Differentiator) ProtoReflect

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

func (*Differentiator) Reset

func (x *Differentiator) Reset()

func (*Differentiator) String

func (x *Differentiator) String() string

func (*Differentiator) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Differentiator) Validate

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

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

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

func (m DifferentiatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DifferentiatorMultiError) Error

func (m DifferentiatorMultiError) Error() string

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

type DifferentiatorValidationError

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

Cause function returns cause value.

func (DifferentiatorValidationError) Error

Error satisfies the builtin error interface

func (DifferentiatorValidationError) ErrorName

func (e DifferentiatorValidationError) ErrorName() string

ErrorName returns error name.

func (DifferentiatorValidationError) Field

Field function returns field value.

func (DifferentiatorValidationError) Key

Key function returns key value.

func (DifferentiatorValidationError) Reason

Reason function returns reason value.

type Differentiator_Ins

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

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

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

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

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

Deprecated: Use Differentiator_Ins.ProtoReflect.Descriptor instead.

func (*Differentiator_Ins) GetInput

func (x *Differentiator_Ins) GetInput() *InPort

func (*Differentiator_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Differentiator_Ins) ProtoMessage

func (*Differentiator_Ins) ProtoMessage()

func (*Differentiator_Ins) ProtoReflect

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

func (*Differentiator_Ins) Reset

func (x *Differentiator_Ins) Reset()

func (*Differentiator_Ins) String

func (x *Differentiator_Ins) String() string

func (*Differentiator_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Differentiator_Ins) Validate

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

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

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

func (m Differentiator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Differentiator_InsMultiError) Error

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

type Differentiator_InsValidationError

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

Cause function returns cause value.

func (Differentiator_InsValidationError) Error

Error satisfies the builtin error interface

func (Differentiator_InsValidationError) ErrorName

ErrorName returns error name.

func (Differentiator_InsValidationError) Field

Field function returns field value.

func (Differentiator_InsValidationError) Key

Key function returns key value.

func (Differentiator_InsValidationError) Reason

Reason function returns reason value.

type Differentiator_Outs

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

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

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

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

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

Deprecated: Use Differentiator_Outs.ProtoReflect.Descriptor instead.

func (*Differentiator_Outs) GetOutput

func (x *Differentiator_Outs) GetOutput() *OutPort

func (*Differentiator_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Differentiator_Outs) ProtoMessage

func (*Differentiator_Outs) ProtoMessage()

func (*Differentiator_Outs) ProtoReflect

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

func (*Differentiator_Outs) Reset

func (x *Differentiator_Outs) Reset()

func (*Differentiator_Outs) String

func (x *Differentiator_Outs) String() string

func (*Differentiator_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Differentiator_Outs) Validate

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

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

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

func (m Differentiator_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Differentiator_OutsMultiError) Error

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

type Differentiator_OutsValidationError

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

Cause function returns cause value.

func (Differentiator_OutsValidationError) Error

Error satisfies the builtin error interface

func (Differentiator_OutsValidationError) ErrorName

ErrorName returns error name.

func (Differentiator_OutsValidationError) Field

Field function returns field value.

func (Differentiator_OutsValidationError) Key

Key function returns key value.

func (Differentiator_OutsValidationError) Reason

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

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

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

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

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

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

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

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

func (m EMAMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EMAMultiError) Error

func (m EMAMultiError) Error() string

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

type EMAValidationError

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

func (e EMAValidationError) Cause() error

Cause function returns cause value.

func (EMAValidationError) Error

func (e EMAValidationError) Error() string

Error satisfies the builtin error interface

func (EMAValidationError) ErrorName

func (e EMAValidationError) ErrorName() string

ErrorName returns error name.

func (EMAValidationError) Field

func (e EMAValidationError) Field() string

Field function returns field value.

func (EMAValidationError) Key

func (e EMAValidationError) Key() bool

Key function returns key value.

func (EMAValidationError) Reason

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

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

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

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

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

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

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

func (m EMA_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EMA_InsMultiError) Error

func (m EMA_InsMultiError) Error() string

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

type EMA_InsValidationError

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

func (e EMA_InsValidationError) Cause() error

Cause function returns cause value.

func (EMA_InsValidationError) Error

func (e EMA_InsValidationError) Error() string

Error satisfies the builtin error interface

func (EMA_InsValidationError) ErrorName

func (e EMA_InsValidationError) ErrorName() string

ErrorName returns error name.

func (EMA_InsValidationError) Field

func (e EMA_InsValidationError) Field() string

Field function returns field value.

func (EMA_InsValidationError) Key

func (e EMA_InsValidationError) Key() bool

Key function returns key value.

func (EMA_InsValidationError) Reason

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

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

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

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

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

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

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

func (m EMA_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EMA_OutsMultiError) Error

func (m EMA_OutsMultiError) Error() string

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

type EMA_OutsValidationError

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

func (e EMA_OutsValidationError) Cause() error

Cause function returns cause value.

func (EMA_OutsValidationError) Error

func (e EMA_OutsValidationError) Error() string

Error satisfies the builtin error interface

func (EMA_OutsValidationError) ErrorName

func (e EMA_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (EMA_OutsValidationError) Field

func (e EMA_OutsValidationError) Field() string

Field function returns field value.

func (EMA_OutsValidationError) Key

func (e EMA_OutsValidationError) Key() bool

Key function returns key value.

func (EMA_OutsValidationError) Reason

func (e EMA_OutsValidationError) Reason() string

Reason function returns reason value.

type EMA_Parameters

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

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

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

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

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

Deprecated: Use EMA_Parameters.ProtoReflect.Descriptor instead.

func (*EMA_Parameters) GetCorrectionFactorOnMaxEnvelopeViolation

func (x *EMA_Parameters) GetCorrectionFactorOnMaxEnvelopeViolation() float64

func (*EMA_Parameters) GetCorrectionFactorOnMinEnvelopeViolation

func (x *EMA_Parameters) GetCorrectionFactorOnMinEnvelopeViolation() float64

func (*EMA_Parameters) GetEmaWindow

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

func (*EMA_Parameters) GetValidDuringWarmup

func (x *EMA_Parameters) GetValidDuringWarmup() bool

func (*EMA_Parameters) GetWarmupWindow

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

func (*EMA_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*EMA_Parameters) ProtoMessage

func (*EMA_Parameters) ProtoMessage()

func (*EMA_Parameters) ProtoReflect

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

func (*EMA_Parameters) Reset

func (x *EMA_Parameters) Reset()

func (*EMA_Parameters) String

func (x *EMA_Parameters) String() string

func (*EMA_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*EMA_Parameters) Validate

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

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

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

func (m EMA_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EMA_ParametersMultiError) Error

func (m EMA_ParametersMultiError) Error() string

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

type EMA_ParametersValidationError

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

Cause function returns cause value.

func (EMA_ParametersValidationError) Error

Error satisfies the builtin error interface

func (EMA_ParametersValidationError) ErrorName

func (e EMA_ParametersValidationError) ErrorName() string

ErrorName returns error name.

func (EMA_ParametersValidationError) Field

Field function returns field value.

func (EMA_ParametersValidationError) Key

Key function returns key value.

func (EMA_ParametersValidationError) Reason

Reason function returns reason value.

type EqualsMatchExpression

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

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

func (*EqualsMatchExpression) DeepCopyInterface

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

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

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

func (*EqualsMatchExpression) Descriptor deprecated

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

Deprecated: Use EqualsMatchExpression.ProtoReflect.Descriptor instead.

func (*EqualsMatchExpression) GetLabel

func (x *EqualsMatchExpression) GetLabel() string

func (*EqualsMatchExpression) GetValue

func (x *EqualsMatchExpression) GetValue() string

func (*EqualsMatchExpression) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*EqualsMatchExpression) ProtoMessage

func (*EqualsMatchExpression) ProtoMessage()

func (*EqualsMatchExpression) ProtoReflect

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

func (*EqualsMatchExpression) Reset

func (x *EqualsMatchExpression) Reset()

func (*EqualsMatchExpression) String

func (x *EqualsMatchExpression) String() string

func (*EqualsMatchExpression) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*EqualsMatchExpression) Validate

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

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

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

func (m EqualsMatchExpressionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EqualsMatchExpressionMultiError) Error

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

type EqualsMatchExpressionValidationError

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

Cause function returns cause value.

func (EqualsMatchExpressionValidationError) Error

Error satisfies the builtin error interface

func (EqualsMatchExpressionValidationError) ErrorName

ErrorName returns error name.

func (EqualsMatchExpressionValidationError) Field

Field function returns field value.

func (EqualsMatchExpressionValidationError) Key

Key function returns key value.

func (EqualsMatchExpressionValidationError) Reason

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

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

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

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

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

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

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

func (m ExtractorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExtractorMultiError) Error

func (m ExtractorMultiError) Error() string

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

type ExtractorValidationError

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

func (e ExtractorValidationError) Cause() error

Cause function returns cause value.

func (ExtractorValidationError) Error

func (e ExtractorValidationError) Error() string

Error satisfies the builtin error interface

func (ExtractorValidationError) ErrorName

func (e ExtractorValidationError) ErrorName() string

ErrorName returns error name.

func (ExtractorValidationError) Field

func (e ExtractorValidationError) Field() string

Field function returns field value.

func (ExtractorValidationError) Key

Key function returns key value.

func (ExtractorValidationError) Reason

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

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

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

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

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

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

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

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

func (m ExtrapolatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExtrapolatorMultiError) Error

func (m ExtrapolatorMultiError) Error() string

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

type ExtrapolatorValidationError

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

Cause function returns cause value.

func (ExtrapolatorValidationError) Error

Error satisfies the builtin error interface

func (ExtrapolatorValidationError) ErrorName

func (e ExtrapolatorValidationError) ErrorName() string

ErrorName returns error name.

func (ExtrapolatorValidationError) Field

Field function returns field value.

func (ExtrapolatorValidationError) Key

Key function returns key value.

func (ExtrapolatorValidationError) Reason

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

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

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

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

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

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

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

func (m Extrapolator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Extrapolator_InsMultiError) Error

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

type Extrapolator_InsValidationError

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

Cause function returns cause value.

func (Extrapolator_InsValidationError) Error

Error satisfies the builtin error interface

func (Extrapolator_InsValidationError) ErrorName

ErrorName returns error name.

func (Extrapolator_InsValidationError) Field

Field function returns field value.

func (Extrapolator_InsValidationError) Key

Key function returns key value.

func (Extrapolator_InsValidationError) Reason

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

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

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

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

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

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

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

func (m Extrapolator_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Extrapolator_OutsMultiError) Error

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

type Extrapolator_OutsValidationError

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

Cause function returns cause value.

func (Extrapolator_OutsValidationError) Error

Error satisfies the builtin error interface

func (Extrapolator_OutsValidationError) ErrorName

ErrorName returns error name.

func (Extrapolator_OutsValidationError) Field

Field function returns field value.

func (Extrapolator_OutsValidationError) Key

Key function returns key value.

func (Extrapolator_OutsValidationError) Reason

Reason function returns reason value.

type Extrapolator_Parameters

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

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

func (*Extrapolator_Parameters) DeepCopyInterface

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

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

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

Deprecated: Use Extrapolator_Parameters.ProtoReflect.Descriptor instead.

func (*Extrapolator_Parameters) GetMaxExtrapolationInterval

func (x *Extrapolator_Parameters) GetMaxExtrapolationInterval() *durationpb.Duration

func (*Extrapolator_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Extrapolator_Parameters) ProtoMessage

func (*Extrapolator_Parameters) ProtoMessage()

func (*Extrapolator_Parameters) ProtoReflect

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

func (*Extrapolator_Parameters) Reset

func (x *Extrapolator_Parameters) Reset()

func (*Extrapolator_Parameters) String

func (x *Extrapolator_Parameters) String() string

func (*Extrapolator_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Extrapolator_Parameters) Validate

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

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

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

func (m Extrapolator_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Extrapolator_ParametersMultiError) Error

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

type Extrapolator_ParametersValidationError

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

Cause function returns cause value.

func (Extrapolator_ParametersValidationError) Error

Error satisfies the builtin error interface

func (Extrapolator_ParametersValidationError) ErrorName

ErrorName returns error name.

func (Extrapolator_ParametersValidationError) Field

Field function returns field value.

func (Extrapolator_ParametersValidationError) Key

Key function returns key value.

func (Extrapolator_ParametersValidationError) Reason

Reason function returns reason value.

type FirstValid

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

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

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

func (in *FirstValid) DeepCopyInto(out *FirstValid)

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

func (*FirstValid) Descriptor deprecated

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

Deprecated: Use FirstValid.ProtoReflect.Descriptor instead.

func (*FirstValid) GetInPorts

func (x *FirstValid) GetInPorts() *FirstValid_Ins

func (*FirstValid) GetOutPorts

func (x *FirstValid) GetOutPorts() *FirstValid_Outs

func (*FirstValid) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*FirstValid) ProtoMessage

func (*FirstValid) ProtoMessage()

func (*FirstValid) ProtoReflect

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

func (*FirstValid) Reset

func (x *FirstValid) Reset()

func (*FirstValid) String

func (x *FirstValid) String() string

func (*FirstValid) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FirstValid) Validate

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

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

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

func (m FirstValidMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FirstValidMultiError) Error

func (m FirstValidMultiError) Error() string

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

type FirstValidValidationError

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

func (e FirstValidValidationError) Cause() error

Cause function returns cause value.

func (FirstValidValidationError) Error

Error satisfies the builtin error interface

func (FirstValidValidationError) ErrorName

func (e FirstValidValidationError) ErrorName() string

ErrorName returns error name.

func (FirstValidValidationError) Field

Field function returns field value.

func (FirstValidValidationError) Key

Key function returns key value.

func (FirstValidValidationError) Reason

func (e FirstValidValidationError) Reason() string

Reason function returns reason value.

type FirstValid_Ins

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

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

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

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

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

Deprecated: Use FirstValid_Ins.ProtoReflect.Descriptor instead.

func (*FirstValid_Ins) GetInputs

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

func (*FirstValid_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*FirstValid_Ins) ProtoMessage

func (*FirstValid_Ins) ProtoMessage()

func (*FirstValid_Ins) ProtoReflect

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

func (*FirstValid_Ins) Reset

func (x *FirstValid_Ins) Reset()

func (*FirstValid_Ins) String

func (x *FirstValid_Ins) String() string

func (*FirstValid_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FirstValid_Ins) Validate

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

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

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

func (m FirstValid_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FirstValid_InsMultiError) Error

func (m FirstValid_InsMultiError) Error() string

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

type FirstValid_InsValidationError

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

Cause function returns cause value.

func (FirstValid_InsValidationError) Error

Error satisfies the builtin error interface

func (FirstValid_InsValidationError) ErrorName

func (e FirstValid_InsValidationError) ErrorName() string

ErrorName returns error name.

func (FirstValid_InsValidationError) Field

Field function returns field value.

func (FirstValid_InsValidationError) Key

Key function returns key value.

func (FirstValid_InsValidationError) Reason

Reason function returns reason value.

type FirstValid_Outs

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

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

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

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

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

Deprecated: Use FirstValid_Outs.ProtoReflect.Descriptor instead.

func (*FirstValid_Outs) GetOutput

func (x *FirstValid_Outs) GetOutput() *OutPort

func (*FirstValid_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*FirstValid_Outs) ProtoMessage

func (*FirstValid_Outs) ProtoMessage()

func (*FirstValid_Outs) ProtoReflect

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

func (*FirstValid_Outs) Reset

func (x *FirstValid_Outs) Reset()

func (*FirstValid_Outs) String

func (x *FirstValid_Outs) String() string

func (*FirstValid_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FirstValid_Outs) Validate

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

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

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

func (m FirstValid_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FirstValid_OutsMultiError) Error

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

type FirstValid_OutsValidationError

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

Cause function returns cause value.

func (FirstValid_OutsValidationError) Error

Error satisfies the builtin error interface

func (FirstValid_OutsValidationError) ErrorName

func (e FirstValid_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (FirstValid_OutsValidationError) Field

Field function returns field value.

func (FirstValid_OutsValidationError) Key

Key function returns key value.

func (FirstValid_OutsValidationError) Reason

Reason function returns reason value.

type FlowControl

type FlowControl struct {

	// Types that are assignable to Component:
	//
	//	*FlowControl_QuotaScheduler
	//	*FlowControl_RateLimiter
	//	*FlowControl_LoadScheduler
	//	*FlowControl_AdaptiveLoadScheduler
	//	*FlowControl_Regulator
	//	*FlowControl_LoadRamp
	//	*FlowControl_LoadRampSeries
	//	*FlowControl_Private
	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

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

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

func (in *FlowControl) DeepCopyInto(out *FlowControl)

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

func (*FlowControl) Descriptor deprecated

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

Deprecated: Use FlowControl.ProtoReflect.Descriptor instead.

func (*FlowControl) GetAdaptiveLoadScheduler

func (x *FlowControl) GetAdaptiveLoadScheduler() *AdaptiveLoadScheduler

func (*FlowControl) GetComponent

func (m *FlowControl) GetComponent() isFlowControl_Component

func (*FlowControl) GetLoadRamp

func (x *FlowControl) GetLoadRamp() *LoadRamp

func (*FlowControl) GetLoadRampSeries

func (x *FlowControl) GetLoadRampSeries() *LoadRampSeries

func (*FlowControl) GetLoadScheduler

func (x *FlowControl) GetLoadScheduler() *LoadScheduler

func (*FlowControl) GetPrivate

func (x *FlowControl) GetPrivate() *anypb.Any

func (*FlowControl) GetQuotaScheduler added in v2.2.0

func (x *FlowControl) GetQuotaScheduler() *QuotaScheduler

func (*FlowControl) GetRateLimiter

func (x *FlowControl) GetRateLimiter() *RateLimiter

func (*FlowControl) GetRegulator

func (x *FlowControl) GetRegulator() *Regulator

func (*FlowControl) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*FlowControl) ProtoMessage

func (*FlowControl) ProtoMessage()

func (*FlowControl) ProtoReflect

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

func (*FlowControl) Reset

func (x *FlowControl) Reset()

func (*FlowControl) String

func (x *FlowControl) String() string

func (*FlowControl) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FlowControl) Validate

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

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

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

func (m FlowControlMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FlowControlMultiError) Error

func (m FlowControlMultiError) Error() string

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

type FlowControlResources

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

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

func (*FlowControlResources) DeepCopyInterface

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

func (in *FlowControlResources) DeepCopyInto(out *FlowControlResources)

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

func (*FlowControlResources) Descriptor deprecated

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

Deprecated: Use FlowControlResources.ProtoReflect.Descriptor instead.

func (*FlowControlResources) GetClassifiers

func (x *FlowControlResources) GetClassifiers() []*Classifier

func (*FlowControlResources) GetFluxMeters

func (x *FlowControlResources) GetFluxMeters() map[string]*FluxMeter

func (*FlowControlResources) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*FlowControlResources) ProtoMessage

func (*FlowControlResources) ProtoMessage()

func (*FlowControlResources) ProtoReflect

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

func (*FlowControlResources) Reset

func (x *FlowControlResources) Reset()

func (*FlowControlResources) String

func (x *FlowControlResources) String() string

func (*FlowControlResources) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FlowControlResources) Validate

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

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

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

func (m FlowControlResourcesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FlowControlResourcesMultiError) Error

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

type FlowControlResourcesValidationError

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

Cause function returns cause value.

func (FlowControlResourcesValidationError) Error

Error satisfies the builtin error interface

func (FlowControlResourcesValidationError) ErrorName

ErrorName returns error name.

func (FlowControlResourcesValidationError) Field

Field function returns field value.

func (FlowControlResourcesValidationError) Key

Key function returns key value.

func (FlowControlResourcesValidationError) Reason

Reason function returns reason value.

type FlowControlValidationError

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

Cause function returns cause value.

func (FlowControlValidationError) Error

Error satisfies the builtin error interface

func (FlowControlValidationError) ErrorName

func (e FlowControlValidationError) ErrorName() string

ErrorName returns error name.

func (FlowControlValidationError) Field

Field function returns field value.

func (FlowControlValidationError) Key

Key function returns key value.

func (FlowControlValidationError) Reason

Reason function returns reason value.

type FlowControl_AdaptiveLoadScheduler

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_LoadRamp

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

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

type FlowControl_LoadScheduler struct {
	// _Load Scheduler_ provides service protection by creating a prioritized workload queue in front of the service using Weighted Fair Queuing.
	LoadScheduler *LoadScheduler `protobuf:"bytes,7,opt,name=load_scheduler,json=loadScheduler,proto3,oneof"`
}

type FlowControl_Private

type FlowControl_Private struct {
	// Extends flow control with private components.
	Private *anypb.Any `protobuf:"bytes,1000,opt,name=private,proto3,oneof"`
}

type FlowControl_QuotaScheduler added in v2.2.0

type FlowControl_QuotaScheduler struct {
	QuotaScheduler *QuotaScheduler `protobuf:"bytes,1,opt,name=quota_scheduler,json=quotaScheduler,proto3,oneof"`
}

type FlowControl_RateLimiter

type FlowControl_RateLimiter struct {
	// _Rate Limiter_ provides service protection by applying rate limits using the token bucket algorithm.
	RateLimiter *RateLimiter `protobuf:"bytes,6,opt,name=rate_limiter,json=rateLimiter,proto3,oneof"`
}

type FlowControl_Regulator

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 FluxMeter

type FluxMeter struct {

	// 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](/integrations/flow-control/envoy/istio.md#envoy-filter)
	//
	// :::
	AttributeKey string `` // @gotags: default:"workload_duration_ms"
	/* 128-byte string literal not displayed */
	// Selectors for flows that will be metered by this _Flux Meter_.
	Selectors []*Selector `protobuf:"bytes,7,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required,gt=0,dive"` // @gotags: validate:"required,gt=0,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]

selectors:

  • agent_group: demoapp service: service1-demo-app.demoapp.svc.cluster.local control_point: ingress

attribute_key: response_duration_ms ```

func (*FluxMeter) DeepCopy

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

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

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

func (x *FluxMeter) GetAttributeKey() string

func (*FluxMeter) GetExponentialBuckets

func (x *FluxMeter) GetExponentialBuckets() *FluxMeter_ExponentialBuckets

func (*FluxMeter) GetExponentialBucketsRange

func (x *FluxMeter) GetExponentialBucketsRange() *FluxMeter_ExponentialBucketsRange

func (*FluxMeter) GetHistogramBuckets

func (m *FluxMeter) GetHistogramBuckets() isFluxMeter_HistogramBuckets

func (*FluxMeter) GetLinearBuckets

func (x *FluxMeter) GetLinearBuckets() *FluxMeter_LinearBuckets

func (*FluxMeter) GetSelectors

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

func (*FluxMeter) GetStaticBuckets

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

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

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

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

func (m FluxMeterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FluxMeterMultiError) Error

func (m FluxMeterMultiError) Error() string

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

type FluxMeterValidationError

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

func (e FluxMeterValidationError) Cause() error

Cause function returns cause value.

func (FluxMeterValidationError) Error

func (e FluxMeterValidationError) Error() string

Error satisfies the builtin error interface

func (FluxMeterValidationError) ErrorName

func (e FluxMeterValidationError) ErrorName() string

ErrorName returns error name.

func (FluxMeterValidationError) Field

func (e FluxMeterValidationError) Field() string

Field function returns field value.

func (FluxMeterValidationError) Key

Key function returns key value.

func (FluxMeterValidationError) Reason

func (e FluxMeterValidationError) Reason() string

Reason function returns reason value.

type FluxMeter_ExponentialBuckets

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

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

func (*FluxMeter_ExponentialBuckets) DeepCopyInterface

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

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

func (*FluxMeter_ExponentialBuckets) Descriptor deprecated

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

Deprecated: Use FluxMeter_ExponentialBuckets.ProtoReflect.Descriptor instead.

func (*FluxMeter_ExponentialBuckets) GetCount

func (x *FluxMeter_ExponentialBuckets) GetCount() int32

func (*FluxMeter_ExponentialBuckets) GetFactor

func (x *FluxMeter_ExponentialBuckets) GetFactor() float64

func (*FluxMeter_ExponentialBuckets) GetStart

func (x *FluxMeter_ExponentialBuckets) GetStart() float64

func (*FluxMeter_ExponentialBuckets) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*FluxMeter_ExponentialBuckets) ProtoMessage

func (*FluxMeter_ExponentialBuckets) ProtoMessage()

func (*FluxMeter_ExponentialBuckets) ProtoReflect

func (*FluxMeter_ExponentialBuckets) Reset

func (x *FluxMeter_ExponentialBuckets) Reset()

func (*FluxMeter_ExponentialBuckets) String

func (*FluxMeter_ExponentialBuckets) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FluxMeter_ExponentialBuckets) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (FluxMeter_ExponentialBucketsMultiError) Error

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

type FluxMeter_ExponentialBucketsRange

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

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

func (*FluxMeter_ExponentialBucketsRange) DeepCopyInterface

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

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

func (*FluxMeter_ExponentialBucketsRange) Descriptor deprecated

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

Deprecated: Use FluxMeter_ExponentialBucketsRange.ProtoReflect.Descriptor instead.

func (*FluxMeter_ExponentialBucketsRange) GetCount

func (*FluxMeter_ExponentialBucketsRange) GetMax

func (*FluxMeter_ExponentialBucketsRange) GetMin

func (*FluxMeter_ExponentialBucketsRange) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*FluxMeter_ExponentialBucketsRange) ProtoMessage

func (*FluxMeter_ExponentialBucketsRange) ProtoMessage()

func (*FluxMeter_ExponentialBucketsRange) ProtoReflect

func (*FluxMeter_ExponentialBucketsRange) Reset

func (*FluxMeter_ExponentialBucketsRange) String

func (*FluxMeter_ExponentialBucketsRange) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FluxMeter_ExponentialBucketsRange) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (FluxMeter_ExponentialBucketsRangeMultiError) Error

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

type FluxMeter_ExponentialBucketsRangeValidationError

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

Cause function returns cause value.

func (FluxMeter_ExponentialBucketsRangeValidationError) Error

Error satisfies the builtin error interface

func (FluxMeter_ExponentialBucketsRangeValidationError) ErrorName

ErrorName returns error name.

func (FluxMeter_ExponentialBucketsRangeValidationError) Field

Field function returns field value.

func (FluxMeter_ExponentialBucketsRangeValidationError) Key

Key function returns key value.

func (FluxMeter_ExponentialBucketsRangeValidationError) Reason

Reason function returns reason value.

type FluxMeter_ExponentialBucketsRange_

type FluxMeter_ExponentialBucketsRange_ struct {
	ExponentialBucketsRange *FluxMeter_ExponentialBucketsRange `protobuf:"bytes,5,opt,name=exponential_buckets_range,json=exponentialBucketsRange,proto3,oneof"`
}

type FluxMeter_ExponentialBucketsValidationError

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

Cause function returns cause value.

func (FluxMeter_ExponentialBucketsValidationError) Error

Error satisfies the builtin error interface

func (FluxMeter_ExponentialBucketsValidationError) ErrorName

ErrorName returns error name.

func (FluxMeter_ExponentialBucketsValidationError) Field

Field function returns field value.

func (FluxMeter_ExponentialBucketsValidationError) Key

Key function returns key value.

func (FluxMeter_ExponentialBucketsValidationError) Reason

Reason function returns reason value.

type FluxMeter_ExponentialBuckets_

type FluxMeter_ExponentialBuckets_ struct {
	ExponentialBuckets *FluxMeter_ExponentialBuckets `protobuf:"bytes,4,opt,name=exponential_buckets,json=exponentialBuckets,proto3,oneof"`
}

type FluxMeter_LinearBuckets

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

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

func (*FluxMeter_LinearBuckets) DeepCopyInterface

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

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

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

Deprecated: Use FluxMeter_LinearBuckets.ProtoReflect.Descriptor instead.

func (*FluxMeter_LinearBuckets) GetCount

func (x *FluxMeter_LinearBuckets) GetCount() int32

func (*FluxMeter_LinearBuckets) GetStart

func (x *FluxMeter_LinearBuckets) GetStart() float64

func (*FluxMeter_LinearBuckets) GetWidth

func (x *FluxMeter_LinearBuckets) GetWidth() float64

func (*FluxMeter_LinearBuckets) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*FluxMeter_LinearBuckets) ProtoMessage

func (*FluxMeter_LinearBuckets) ProtoMessage()

func (*FluxMeter_LinearBuckets) ProtoReflect

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

func (*FluxMeter_LinearBuckets) Reset

func (x *FluxMeter_LinearBuckets) Reset()

func (*FluxMeter_LinearBuckets) String

func (x *FluxMeter_LinearBuckets) String() string

func (*FluxMeter_LinearBuckets) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FluxMeter_LinearBuckets) Validate

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

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

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

func (m FluxMeter_LinearBucketsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FluxMeter_LinearBucketsMultiError) Error

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

type FluxMeter_LinearBucketsValidationError

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

Cause function returns cause value.

func (FluxMeter_LinearBucketsValidationError) Error

Error satisfies the builtin error interface

func (FluxMeter_LinearBucketsValidationError) ErrorName

ErrorName returns error name.

func (FluxMeter_LinearBucketsValidationError) Field

Field function returns field value.

func (FluxMeter_LinearBucketsValidationError) Key

Key function returns key value.

func (FluxMeter_LinearBucketsValidationError) Reason

Reason function returns reason value.

type FluxMeter_LinearBuckets_

type FluxMeter_LinearBuckets_ struct {
	LinearBuckets *FluxMeter_LinearBuckets `protobuf:"bytes,3,opt,name=linear_buckets,json=linearBuckets,proto3,oneof"`
}

type FluxMeter_StaticBuckets

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

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

func (*FluxMeter_StaticBuckets) DeepCopyInterface

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

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

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

Deprecated: Use FluxMeter_StaticBuckets.ProtoReflect.Descriptor instead.

func (*FluxMeter_StaticBuckets) GetBuckets

func (x *FluxMeter_StaticBuckets) GetBuckets() []float64

func (*FluxMeter_StaticBuckets) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*FluxMeter_StaticBuckets) ProtoMessage

func (*FluxMeter_StaticBuckets) ProtoMessage()

func (*FluxMeter_StaticBuckets) ProtoReflect

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

func (*FluxMeter_StaticBuckets) Reset

func (x *FluxMeter_StaticBuckets) Reset()

func (*FluxMeter_StaticBuckets) String

func (x *FluxMeter_StaticBuckets) String() string

func (*FluxMeter_StaticBuckets) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FluxMeter_StaticBuckets) Validate

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

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

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

func (m FluxMeter_StaticBucketsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FluxMeter_StaticBucketsMultiError) Error

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

type FluxMeter_StaticBucketsValidationError

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

Cause function returns cause value.

func (FluxMeter_StaticBucketsValidationError) Error

Error satisfies the builtin error interface

func (FluxMeter_StaticBucketsValidationError) ErrorName

ErrorName returns error name.

func (FluxMeter_StaticBucketsValidationError) Field

Field function returns field value.

func (FluxMeter_StaticBucketsValidationError) Key

Key function returns key value.

func (FluxMeter_StaticBucketsValidationError) Reason

Reason function returns reason value.

type FluxMeter_StaticBuckets_

type FluxMeter_StaticBuckets_ struct {
	StaticBuckets *FluxMeter_StaticBuckets `protobuf:"bytes,2,opt,name=static_buckets,json=staticBuckets,proto3,oneof"`
}

type GetPoliciesResponse

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

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

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

func (in *GetPoliciesResponse) DeepCopyInto(out *GetPoliciesResponse)

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

func (*GetPoliciesResponse) Descriptor deprecated

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

Deprecated: Use GetPoliciesResponse.ProtoReflect.Descriptor instead.

func (*GetPoliciesResponse) GetPolicies

func (x *GetPoliciesResponse) GetPolicies() *Policies

func (*GetPoliciesResponse) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*GetPoliciesResponse) ProtoMessage

func (*GetPoliciesResponse) ProtoMessage()

func (*GetPoliciesResponse) ProtoReflect

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

func (*GetPoliciesResponse) Reset

func (x *GetPoliciesResponse) Reset()

func (*GetPoliciesResponse) String

func (x *GetPoliciesResponse) String() string

func (*GetPoliciesResponse) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*GetPoliciesResponse) Validate

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

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

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

func (m GetPoliciesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPoliciesResponseMultiError) Error

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

type GetPoliciesResponseValidationError

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

Cause function returns cause value.

func (GetPoliciesResponseValidationError) Error

Error satisfies the builtin error interface

func (GetPoliciesResponseValidationError) ErrorName

ErrorName returns error name.

func (GetPoliciesResponseValidationError) Field

Field function returns field value.

func (GetPoliciesResponseValidationError) Key

Key function returns key value.

func (GetPoliciesResponseValidationError) Reason

Reason function returns reason value.

type GetPolicyRequest

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

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

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

func (in *GetPolicyRequest) DeepCopyInto(out *GetPolicyRequest)

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

func (*GetPolicyRequest) Descriptor deprecated

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

Deprecated: Use GetPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetPolicyRequest) GetName

func (x *GetPolicyRequest) GetName() string

func (*GetPolicyRequest) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*GetPolicyRequest) ProtoMessage

func (*GetPolicyRequest) ProtoMessage()

func (*GetPolicyRequest) ProtoReflect

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

func (*GetPolicyRequest) Reset

func (x *GetPolicyRequest) Reset()

func (*GetPolicyRequest) String

func (x *GetPolicyRequest) String() string

func (*GetPolicyRequest) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*GetPolicyRequest) Validate

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

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

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

func (m GetPolicyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPolicyRequestMultiError) Error

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

type GetPolicyRequestValidationError

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

Cause function returns cause value.

func (GetPolicyRequestValidationError) Error

Error satisfies the builtin error interface

func (GetPolicyRequestValidationError) ErrorName

ErrorName returns error name.

func (GetPolicyRequestValidationError) Field

Field function returns field value.

func (GetPolicyRequestValidationError) Key

Key function returns key value.

func (GetPolicyRequestValidationError) Reason

Reason function returns reason value.

type GetPolicyResponse

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

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

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

func (in *GetPolicyResponse) DeepCopyInto(out *GetPolicyResponse)

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

func (*GetPolicyResponse) Descriptor deprecated

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

Deprecated: Use GetPolicyResponse.ProtoReflect.Descriptor instead.

func (*GetPolicyResponse) GetPolicy

func (x *GetPolicyResponse) GetPolicy() *Policy

func (*GetPolicyResponse) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*GetPolicyResponse) ProtoMessage

func (*GetPolicyResponse) ProtoMessage()

func (*GetPolicyResponse) ProtoReflect

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

func (*GetPolicyResponse) Reset

func (x *GetPolicyResponse) Reset()

func (*GetPolicyResponse) String

func (x *GetPolicyResponse) String() string

func (*GetPolicyResponse) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*GetPolicyResponse) Validate

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

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

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

func (m GetPolicyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPolicyResponseMultiError) Error

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

type GetPolicyResponseValidationError

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

Cause function returns cause value.

func (GetPolicyResponseValidationError) Error

Error satisfies the builtin error interface

func (GetPolicyResponseValidationError) ErrorName

ErrorName returns error name.

func (GetPolicyResponseValidationError) Field

Field function returns field value.

func (GetPolicyResponseValidationError) Key

Key function returns key value.

func (GetPolicyResponseValidationError) Reason

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"
	// In manual mode, the controller does not adjust the control variable. It emits the same output as the control variable input. This setting can be adjusted at runtime through dynamic configuration without restarting the policy.
	ManualMode bool `protobuf:"varint,4,opt,name=manual_mode,json=manualMode,proto3" json:"manual_mode,omitempty"`
	// Configuration key for overriding `manual_mode` setting through dynamic configuration.
	ManualModeConfigKey string `protobuf:"bytes,5,opt,name=manual_mode_config_key,json=manualModeConfigKey,proto3" json:"manual_mode_config_key,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

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

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

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) GetInPorts

func (x *GradientController) GetInPorts() *GradientController_Ins

func (*GradientController) GetManualMode added in v2.2.0

func (x *GradientController) GetManualMode() bool

func (*GradientController) GetManualModeConfigKey added in v2.2.0

func (x *GradientController) GetManualModeConfigKey() string

func (*GradientController) GetOutPorts

func (x *GradientController) GetOutPorts() *GradientController_Outs

func (*GradientController) GetParameters

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

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

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

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

func (m GradientControllerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GradientControllerMultiError) Error

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

type GradientControllerValidationError

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

Cause function returns cause value.

func (GradientControllerValidationError) Error

Error satisfies the builtin error interface

func (GradientControllerValidationError) ErrorName

ErrorName returns error name.

func (GradientControllerValidationError) Field

Field function returns field value.

func (GradientControllerValidationError) Key

Key function returns key value.

func (GradientControllerValidationError) Reason

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"`
	// Maximum value to limit the output signal.
	Max *InPort `protobuf:"bytes,3,opt,name=max,proto3" json:"max,omitempty"`
	// Minimum value to limit the output signal.
	Min *InPort `protobuf:"bytes,4,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,5,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

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

func (*GradientController_Ins) DeepCopyInterface

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

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) 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

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

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

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

func (m GradientController_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GradientController_InsMultiError) Error

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

type GradientController_InsValidationError

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

Cause function returns cause value.

func (GradientController_InsValidationError) Error

Error satisfies the builtin error interface

func (GradientController_InsValidationError) ErrorName

ErrorName returns error name.

func (GradientController_InsValidationError) Field

Field function returns field value.

func (GradientController_InsValidationError) Key

Key function returns key value.

func (GradientController_InsValidationError) Reason

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

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

func (*GradientController_Outs) DeepCopyInterface

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

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

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

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

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

func (m GradientController_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GradientController_OutsMultiError) Error

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

type GradientController_OutsValidationError

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

Cause function returns cause value.

func (GradientController_OutsValidationError) Error

Error satisfies the builtin error interface

func (GradientController_OutsValidationError) ErrorName

ErrorName returns error name.

func (GradientController_OutsValidationError) Field

Field function returns field value.

func (GradientController_OutsValidationError) Key

Key function returns key value.

func (GradientController_OutsValidationError) Reason

Reason function returns reason value.

type GradientController_Parameters

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

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

func (*GradientController_Parameters) DeepCopyInterface

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

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

func (*GradientController_Parameters) Descriptor deprecated

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

Deprecated: Use GradientController_Parameters.ProtoReflect.Descriptor instead.

func (*GradientController_Parameters) GetMaxGradient

func (x *GradientController_Parameters) GetMaxGradient() float64

func (*GradientController_Parameters) GetMinGradient

func (x *GradientController_Parameters) GetMinGradient() float64

func (*GradientController_Parameters) GetSlope

func (x *GradientController_Parameters) GetSlope() float64

func (*GradientController_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*GradientController_Parameters) ProtoMessage

func (*GradientController_Parameters) ProtoMessage()

func (*GradientController_Parameters) ProtoReflect

func (*GradientController_Parameters) Reset

func (x *GradientController_Parameters) Reset()

func (*GradientController_Parameters) String

func (*GradientController_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*GradientController_Parameters) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (GradientController_ParametersMultiError) Error

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

type GradientController_ParametersValidationError

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

Cause function returns cause value.

func (GradientController_ParametersValidationError) Error

Error satisfies the builtin error interface

func (GradientController_ParametersValidationError) ErrorName

ErrorName returns error name.

func (GradientController_ParametersValidationError) Field

Field function returns field value.

func (GradientController_ParametersValidationError) Key

Key function returns key value.

func (GradientController_ParametersValidationError) Reason

Reason function returns reason value.

type Holder

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

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

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

func (in *Holder) DeepCopyInto(out *Holder)

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

func (*Holder) Descriptor deprecated

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

Deprecated: Use Holder.ProtoReflect.Descriptor instead.

func (*Holder) GetHoldFor

func (x *Holder) GetHoldFor() *durationpb.Duration

func (*Holder) GetInPorts

func (x *Holder) GetInPorts() *Holder_Ins

func (*Holder) GetOutPorts

func (x *Holder) GetOutPorts() *Holder_Outs

func (*Holder) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Holder) ProtoMessage

func (*Holder) ProtoMessage()

func (*Holder) ProtoReflect

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

func (*Holder) Reset

func (x *Holder) Reset()

func (*Holder) String

func (x *Holder) String() string

func (*Holder) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Holder) Validate

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

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

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

func (m HolderMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HolderMultiError) Error

func (m HolderMultiError) Error() string

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

type HolderValidationError

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

func (e HolderValidationError) Cause() error

Cause function returns cause value.

func (HolderValidationError) Error

func (e HolderValidationError) Error() string

Error satisfies the builtin error interface

func (HolderValidationError) ErrorName

func (e HolderValidationError) ErrorName() string

ErrorName returns error name.

func (HolderValidationError) Field

func (e HolderValidationError) Field() string

Field function returns field value.

func (HolderValidationError) Key

func (e HolderValidationError) Key() bool

Key function returns key value.

func (HolderValidationError) Reason

func (e HolderValidationError) Reason() string

Reason function returns reason value.

type Holder_Ins

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

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

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

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

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

Deprecated: Use Holder_Ins.ProtoReflect.Descriptor instead.

func (*Holder_Ins) GetInput

func (x *Holder_Ins) GetInput() *InPort

func (*Holder_Ins) GetReset_

func (x *Holder_Ins) GetReset_() *InPort

func (*Holder_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Holder_Ins) ProtoMessage

func (*Holder_Ins) ProtoMessage()

func (*Holder_Ins) ProtoReflect

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

func (*Holder_Ins) Reset

func (x *Holder_Ins) Reset()

func (*Holder_Ins) String

func (x *Holder_Ins) String() string

func (*Holder_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Holder_Ins) Validate

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

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

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

func (m Holder_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Holder_InsMultiError) Error

func (m Holder_InsMultiError) Error() string

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

type Holder_InsValidationError

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

func (e Holder_InsValidationError) Cause() error

Cause function returns cause value.

func (Holder_InsValidationError) Error

Error satisfies the builtin error interface

func (Holder_InsValidationError) ErrorName

func (e Holder_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Holder_InsValidationError) Field

Field function returns field value.

func (Holder_InsValidationError) Key

Key function returns key value.

func (Holder_InsValidationError) Reason

func (e Holder_InsValidationError) Reason() string

Reason function returns reason value.

type Holder_Outs

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

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

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

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

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

Deprecated: Use Holder_Outs.ProtoReflect.Descriptor instead.

func (*Holder_Outs) GetOutput

func (x *Holder_Outs) GetOutput() *OutPort

func (*Holder_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Holder_Outs) ProtoMessage

func (*Holder_Outs) ProtoMessage()

func (*Holder_Outs) ProtoReflect

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

func (*Holder_Outs) Reset

func (x *Holder_Outs) Reset()

func (*Holder_Outs) String

func (x *Holder_Outs) String() string

func (*Holder_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Holder_Outs) Validate

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

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

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

func (m Holder_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Holder_OutsMultiError) Error

func (m Holder_OutsMultiError) Error() string

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

type Holder_OutsValidationError

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

Cause function returns cause value.

func (Holder_OutsValidationError) Error

Error satisfies the builtin error interface

func (Holder_OutsValidationError) ErrorName

func (e Holder_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Holder_OutsValidationError) Field

Field function returns field value.

func (Holder_OutsValidationError) Key

Key function returns key value.

func (Holder_OutsValidationError) Reason

Reason function returns reason value.

type InPort

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

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

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

func (in *InPort) DeepCopyInto(out *InPort)

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

func (*InPort) Descriptor deprecated

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

Deprecated: Use InPort.ProtoReflect.Descriptor instead.

func (*InPort) GetConstantSignal

func (x *InPort) GetConstantSignal() *ConstantSignal

func (*InPort) GetSignalName

func (x *InPort) GetSignalName() string

func (*InPort) GetValue

func (m *InPort) GetValue() isInPort_Value

func (*InPort) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*InPort) ProtoMessage

func (*InPort) ProtoMessage()

func (*InPort) ProtoReflect

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

func (*InPort) Reset

func (x *InPort) Reset()

func (*InPort) String

func (x *InPort) String() string

func (*InPort) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*InPort) Validate

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

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

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

func (m InPortMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InPortMultiError) Error

func (m InPortMultiError) Error() string

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

type InPortValidationError

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

func (e InPortValidationError) Cause() error

Cause function returns cause value.

func (InPortValidationError) Error

func (e InPortValidationError) Error() string

Error satisfies the builtin error interface

func (InPortValidationError) ErrorName

func (e InPortValidationError) ErrorName() string

ErrorName returns error name.

func (InPortValidationError) Field

func (e InPortValidationError) Field() string

Field function returns field value.

func (InPortValidationError) Key

func (e InPortValidationError) Key() bool

Key function returns key value.

func (InPortValidationError) Reason

func (e InPortValidationError) Reason() string

Reason function returns reason value.

type InPort_ConstantSignal

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

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

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

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

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

func (in *IncreasingGradient) DeepCopyInto(out *IncreasingGradient)

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

func (*IncreasingGradient) Descriptor deprecated

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

Deprecated: Use IncreasingGradient.ProtoReflect.Descriptor instead.

func (*IncreasingGradient) GetInPorts

func (x *IncreasingGradient) GetInPorts() *IncreasingGradient_Ins

func (*IncreasingGradient) GetParameters

func (*IncreasingGradient) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*IncreasingGradient) ProtoMessage

func (*IncreasingGradient) ProtoMessage()

func (*IncreasingGradient) ProtoReflect

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

func (*IncreasingGradient) Reset

func (x *IncreasingGradient) Reset()

func (*IncreasingGradient) String

func (x *IncreasingGradient) String() string

func (*IncreasingGradient) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*IncreasingGradient) Validate

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

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

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

func (m IncreasingGradientMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IncreasingGradientMultiError) Error

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

type IncreasingGradientValidationError

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

Cause function returns cause value.

func (IncreasingGradientValidationError) Error

Error satisfies the builtin error interface

func (IncreasingGradientValidationError) ErrorName

ErrorName returns error name.

func (IncreasingGradientValidationError) Field

Field function returns field value.

func (IncreasingGradientValidationError) Key

Key function returns key value.

func (IncreasingGradientValidationError) Reason

Reason function returns reason value.

type IncreasingGradient_Ins

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

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

func (*IncreasingGradient_Ins) DeepCopyInterface

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

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

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

Deprecated: Use IncreasingGradient_Ins.ProtoReflect.Descriptor instead.

func (*IncreasingGradient_Ins) GetSetpoint

func (x *IncreasingGradient_Ins) GetSetpoint() *InPort

func (*IncreasingGradient_Ins) GetSignal

func (x *IncreasingGradient_Ins) GetSignal() *InPort

func (*IncreasingGradient_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*IncreasingGradient_Ins) ProtoMessage

func (*IncreasingGradient_Ins) ProtoMessage()

func (*IncreasingGradient_Ins) ProtoReflect

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

func (*IncreasingGradient_Ins) Reset

func (x *IncreasingGradient_Ins) Reset()

func (*IncreasingGradient_Ins) String

func (x *IncreasingGradient_Ins) String() string

func (*IncreasingGradient_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*IncreasingGradient_Ins) Validate

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

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

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

func (m IncreasingGradient_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IncreasingGradient_InsMultiError) Error

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

type IncreasingGradient_InsValidationError

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

Cause function returns cause value.

func (IncreasingGradient_InsValidationError) Error

Error satisfies the builtin error interface

func (IncreasingGradient_InsValidationError) ErrorName

ErrorName returns error name.

func (IncreasingGradient_InsValidationError) Field

Field function returns field value.

func (IncreasingGradient_InsValidationError) Key

Key function returns key value.

func (IncreasingGradient_InsValidationError) Reason

Reason function returns reason value.

type IncreasingGradient_Parameters

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

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

func (*IncreasingGradient_Parameters) DeepCopyInterface

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

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

func (*IncreasingGradient_Parameters) Descriptor deprecated

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

Deprecated: Use IncreasingGradient_Parameters.ProtoReflect.Descriptor instead.

func (*IncreasingGradient_Parameters) GetMaxGradient

func (x *IncreasingGradient_Parameters) GetMaxGradient() float64

func (*IncreasingGradient_Parameters) GetSlope

func (x *IncreasingGradient_Parameters) GetSlope() float64

func (*IncreasingGradient_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*IncreasingGradient_Parameters) ProtoMessage

func (*IncreasingGradient_Parameters) ProtoMessage()

func (*IncreasingGradient_Parameters) ProtoReflect

func (*IncreasingGradient_Parameters) Reset

func (x *IncreasingGradient_Parameters) Reset()

func (*IncreasingGradient_Parameters) String

func (*IncreasingGradient_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*IncreasingGradient_Parameters) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (IncreasingGradient_ParametersMultiError) Error

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

type IncreasingGradient_ParametersValidationError

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

Cause function returns cause value.

func (IncreasingGradient_ParametersValidationError) Error

Error satisfies the builtin error interface

func (IncreasingGradient_ParametersValidationError) ErrorName

ErrorName returns error name.

func (IncreasingGradient_ParametersValidationError) Field

Field function returns field value.

func (IncreasingGradient_ParametersValidationError) Key

Key function returns key value.

func (IncreasingGradient_ParametersValidationError) Reason

Reason function returns reason value.

type InfraMeter

type InfraMeter struct {

	// Receivers define receivers to be used in custom metrics pipelines. This should
	// be in [OTel format](https://opentelemetry.io/docs/collector/configuration/#receivers).
	Receivers map[string]*structpb.Struct `` /* 159-byte string literal not displayed */
	// Processors define processors to be used in custom metrics pipelines. This should
	// be in [OTel format](https://opentelemetry.io/docs/collector/configuration/#processors).
	Processors map[string]*structpb.Struct `` /* 161-byte string literal not displayed */
	// Pipeline is an OTel metrics pipeline definition, which **only** uses receivers
	// and processors defined above. Exporter would be added automatically.
	//
	// If there are no processors defined or only one processor is defined, the
	// pipeline definition can be omitted. In such cases, the pipeline will
	// automatically use all given receivers and the defined processor (if
	// any).  However, if there are more than one processor, the pipeline must
	// be defined explicitly.
	Pipeline *InfraMeter_MetricsPipeline `protobuf:"bytes,3,opt,name=pipeline,proto3" json:"pipeline,omitempty" validate:"required"` // @gotags: validate:"required"
	// PerAgentGroup marks the pipeline to be instantiated only once per agent
	// group. This is helpful for receivers that scrape for example, some cluster-wide
	// metrics. When not set, pipeline will be instantiated on every Agent.
	PerAgentGroup bool `protobuf:"varint,4,opt,name=per_agent_group,json=perAgentGroup,proto3" json:"per_agent_group,omitempty" default:"false"` // @gotags: default:"false"
	// contains filtered or unexported fields
}

InfraMeter is a resource that sets up OpenTelemetry pipelines. It defines receivers, processors, and a single metrics pipeline which will be exported to the configured Prometheus instance. Environment variables can be used in the configuration using format `${ENV_VAR_NAME}`.

:::info

See also [Get Started / Setup Integrations / Metrics](/integrations/metrics/metrics.md).

:::

func (*InfraMeter) DeepCopy

func (in *InfraMeter) DeepCopy() *InfraMeter

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

func (*InfraMeter) DeepCopyInterface

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

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

func (*InfraMeter) DeepCopyInto

func (in *InfraMeter) DeepCopyInto(out *InfraMeter)

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

func (*InfraMeter) Descriptor deprecated

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

Deprecated: Use InfraMeter.ProtoReflect.Descriptor instead.

func (*InfraMeter) GetPerAgentGroup

func (x *InfraMeter) GetPerAgentGroup() bool

func (*InfraMeter) GetPipeline

func (x *InfraMeter) GetPipeline() *InfraMeter_MetricsPipeline

func (*InfraMeter) GetProcessors

func (x *InfraMeter) GetProcessors() map[string]*structpb.Struct

func (*InfraMeter) GetReceivers

func (x *InfraMeter) GetReceivers() map[string]*structpb.Struct

func (*InfraMeter) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*InfraMeter) ProtoMessage

func (*InfraMeter) ProtoMessage()

func (*InfraMeter) ProtoReflect

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

func (*InfraMeter) Reset

func (x *InfraMeter) Reset()

func (*InfraMeter) String

func (x *InfraMeter) String() string

func (*InfraMeter) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*InfraMeter) Validate

func (m *InfraMeter) Validate() error

Validate checks the field values on InfraMeter 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 (*InfraMeter) ValidateAll

func (m *InfraMeter) ValidateAll() error

ValidateAll checks the field values on InfraMeter 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 InfraMeterMultiError, or nil if none found.

type InfraMeterMultiError

type InfraMeterMultiError []error

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

func (InfraMeterMultiError) AllErrors

func (m InfraMeterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InfraMeterMultiError) Error

func (m InfraMeterMultiError) Error() string

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

type InfraMeterValidationError

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

InfraMeterValidationError is the validation error returned by InfraMeter.Validate if the designated constraints aren't met.

func (InfraMeterValidationError) Cause

func (e InfraMeterValidationError) Cause() error

Cause function returns cause value.

func (InfraMeterValidationError) Error

Error satisfies the builtin error interface

func (InfraMeterValidationError) ErrorName

func (e InfraMeterValidationError) ErrorName() string

ErrorName returns error name.

func (InfraMeterValidationError) Field

Field function returns field value.

func (InfraMeterValidationError) Key

Key function returns key value.

func (InfraMeterValidationError) Reason

func (e InfraMeterValidationError) Reason() string

Reason function returns reason value.

type InfraMeter_MetricsPipeline

type InfraMeter_MetricsPipeline struct {
	Receivers  []string `protobuf:"bytes,1,rep,name=receivers,proto3" json:"receivers,omitempty"`
	Processors []string `protobuf:"bytes,2,rep,name=processors,proto3" json:"processors,omitempty"`
	// contains filtered or unexported fields
}

MetricsPipelineConfig defines a custom metrics pipeline.

func (*InfraMeter_MetricsPipeline) DeepCopy

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

func (*InfraMeter_MetricsPipeline) DeepCopyInterface

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

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

func (*InfraMeter_MetricsPipeline) DeepCopyInto

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

func (*InfraMeter_MetricsPipeline) Descriptor deprecated

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

Deprecated: Use InfraMeter_MetricsPipeline.ProtoReflect.Descriptor instead.

func (*InfraMeter_MetricsPipeline) GetProcessors

func (x *InfraMeter_MetricsPipeline) GetProcessors() []string

func (*InfraMeter_MetricsPipeline) GetReceivers

func (x *InfraMeter_MetricsPipeline) GetReceivers() []string

func (*InfraMeter_MetricsPipeline) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*InfraMeter_MetricsPipeline) ProtoMessage

func (*InfraMeter_MetricsPipeline) ProtoMessage()

func (*InfraMeter_MetricsPipeline) ProtoReflect

func (*InfraMeter_MetricsPipeline) Reset

func (x *InfraMeter_MetricsPipeline) Reset()

func (*InfraMeter_MetricsPipeline) String

func (x *InfraMeter_MetricsPipeline) String() string

func (*InfraMeter_MetricsPipeline) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*InfraMeter_MetricsPipeline) Validate

func (m *InfraMeter_MetricsPipeline) Validate() error

Validate checks the field values on InfraMeter_MetricsPipeline 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 (*InfraMeter_MetricsPipeline) ValidateAll

func (m *InfraMeter_MetricsPipeline) ValidateAll() error

ValidateAll checks the field values on InfraMeter_MetricsPipeline 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 InfraMeter_MetricsPipelineMultiError, or nil if none found.

type InfraMeter_MetricsPipelineMultiError

type InfraMeter_MetricsPipelineMultiError []error

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

func (InfraMeter_MetricsPipelineMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (InfraMeter_MetricsPipelineMultiError) Error

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

type InfraMeter_MetricsPipelineValidationError

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

InfraMeter_MetricsPipelineValidationError is the validation error returned by InfraMeter_MetricsPipeline.Validate if the designated constraints aren't met.

func (InfraMeter_MetricsPipelineValidationError) Cause

Cause function returns cause value.

func (InfraMeter_MetricsPipelineValidationError) Error

Error satisfies the builtin error interface

func (InfraMeter_MetricsPipelineValidationError) ErrorName

ErrorName returns error name.

func (InfraMeter_MetricsPipelineValidationError) Field

Field function returns field value.

func (InfraMeter_MetricsPipelineValidationError) Key

Key function returns key value.

func (InfraMeter_MetricsPipelineValidationError) Reason

Reason function returns reason value.

type Integrator

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"`
	// Initial value of the integrator.
	InitialValue float64 `protobuf:"fixed64,3,opt,name=initial_value,json=initialValue,proto3" json:"initial_value,omitempty" default:"0"` // @gotags: default:"0"
	// contains filtered or unexported fields
}

Accumulates sum of signal every tick.

func (*Integrator) DeepCopy

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

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

func (in *Integrator) DeepCopyInto(out *Integrator)

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

func (*Integrator) Descriptor deprecated

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

Deprecated: Use Integrator.ProtoReflect.Descriptor instead.

func (*Integrator) GetInPorts

func (x *Integrator) GetInPorts() *Integrator_Ins

func (*Integrator) GetInitialValue

func (x *Integrator) GetInitialValue() float64

func (*Integrator) GetOutPorts

func (x *Integrator) GetOutPorts() *Integrator_Outs

func (*Integrator) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Integrator) ProtoMessage

func (*Integrator) ProtoMessage()

func (*Integrator) ProtoReflect

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

func (*Integrator) Reset

func (x *Integrator) Reset()

func (*Integrator) String

func (x *Integrator) String() string

func (*Integrator) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Integrator) Validate

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

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

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

func (m IntegratorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IntegratorMultiError) Error

func (m IntegratorMultiError) Error() string

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

type IntegratorValidationError

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

func (e IntegratorValidationError) Cause() error

Cause function returns cause value.

func (IntegratorValidationError) Error

Error satisfies the builtin error interface

func (IntegratorValidationError) ErrorName

func (e IntegratorValidationError) ErrorName() string

ErrorName returns error name.

func (IntegratorValidationError) Field

Field function returns field value.

func (IntegratorValidationError) Key

Key function returns key value.

func (IntegratorValidationError) Reason

func (e IntegratorValidationError) Reason() string

Reason function returns reason value.

type Integrator_Ins

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

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

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

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

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

Deprecated: Use Integrator_Ins.ProtoReflect.Descriptor instead.

func (*Integrator_Ins) GetInput

func (x *Integrator_Ins) GetInput() *InPort

func (*Integrator_Ins) GetMax

func (x *Integrator_Ins) GetMax() *InPort

func (*Integrator_Ins) GetMin

func (x *Integrator_Ins) GetMin() *InPort

func (*Integrator_Ins) GetReset_

func (x *Integrator_Ins) GetReset_() *InPort

func (*Integrator_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Integrator_Ins) ProtoMessage

func (*Integrator_Ins) ProtoMessage()

func (*Integrator_Ins) ProtoReflect

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

func (*Integrator_Ins) Reset

func (x *Integrator_Ins) Reset()

func (*Integrator_Ins) String

func (x *Integrator_Ins) String() string

func (*Integrator_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Integrator_Ins) Validate

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

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

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

func (m Integrator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Integrator_InsMultiError) Error

func (m Integrator_InsMultiError) Error() string

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

type Integrator_InsValidationError

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

Cause function returns cause value.

func (Integrator_InsValidationError) Error

Error satisfies the builtin error interface

func (Integrator_InsValidationError) ErrorName

func (e Integrator_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Integrator_InsValidationError) Field

Field function returns field value.

func (Integrator_InsValidationError) Key

Key function returns key value.

func (Integrator_InsValidationError) Reason

Reason function returns reason value.

type Integrator_Outs

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

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

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

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

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

Deprecated: Use Integrator_Outs.ProtoReflect.Descriptor instead.

func (*Integrator_Outs) GetOutput

func (x *Integrator_Outs) GetOutput() *OutPort

func (*Integrator_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Integrator_Outs) ProtoMessage

func (*Integrator_Outs) ProtoMessage()

func (*Integrator_Outs) ProtoReflect

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

func (*Integrator_Outs) Reset

func (x *Integrator_Outs) Reset()

func (*Integrator_Outs) String

func (x *Integrator_Outs) String() string

func (*Integrator_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Integrator_Outs) Validate

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

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

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

func (m Integrator_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Integrator_OutsMultiError) Error

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

type Integrator_OutsValidationError

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

Cause function returns cause value.

func (Integrator_OutsValidationError) Error

Error satisfies the builtin error interface

func (Integrator_OutsValidationError) ErrorName

func (e Integrator_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Integrator_OutsValidationError) Field

Field function returns field value.

func (Integrator_OutsValidationError) Key

Key function returns key value.

func (Integrator_OutsValidationError) Reason

Reason function returns reason value.

type Inverter

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

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

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

func (in *Inverter) DeepCopyInto(out *Inverter)

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

func (*Inverter) Descriptor deprecated

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

Deprecated: Use Inverter.ProtoReflect.Descriptor instead.

func (*Inverter) GetInPorts

func (x *Inverter) GetInPorts() *Inverter_Ins

func (*Inverter) GetOutPorts

func (x *Inverter) GetOutPorts() *Inverter_Outs

func (*Inverter) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Inverter) ProtoMessage

func (*Inverter) ProtoMessage()

func (*Inverter) ProtoReflect

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

func (*Inverter) Reset

func (x *Inverter) Reset()

func (*Inverter) String

func (x *Inverter) String() string

func (*Inverter) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Inverter) Validate

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

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

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

func (m InverterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InverterMultiError) Error

func (m InverterMultiError) Error() string

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

type InverterValidationError

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

func (e InverterValidationError) Cause() error

Cause function returns cause value.

func (InverterValidationError) Error

func (e InverterValidationError) Error() string

Error satisfies the builtin error interface

func (InverterValidationError) ErrorName

func (e InverterValidationError) ErrorName() string

ErrorName returns error name.

func (InverterValidationError) Field

func (e InverterValidationError) Field() string

Field function returns field value.

func (InverterValidationError) Key

func (e InverterValidationError) Key() bool

Key function returns key value.

func (InverterValidationError) Reason

func (e InverterValidationError) Reason() string

Reason function returns reason value.

type Inverter_Ins

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

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

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

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

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

Deprecated: Use Inverter_Ins.ProtoReflect.Descriptor instead.

func (*Inverter_Ins) GetInput

func (x *Inverter_Ins) GetInput() *InPort

func (*Inverter_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Inverter_Ins) ProtoMessage

func (*Inverter_Ins) ProtoMessage()

func (*Inverter_Ins) ProtoReflect

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

func (*Inverter_Ins) Reset

func (x *Inverter_Ins) Reset()

func (*Inverter_Ins) String

func (x *Inverter_Ins) String() string

func (*Inverter_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Inverter_Ins) Validate

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

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

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

func (m Inverter_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Inverter_InsMultiError) Error

func (m Inverter_InsMultiError) Error() string

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

type Inverter_InsValidationError

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

Cause function returns cause value.

func (Inverter_InsValidationError) Error

Error satisfies the builtin error interface

func (Inverter_InsValidationError) ErrorName

func (e Inverter_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Inverter_InsValidationError) Field

Field function returns field value.

func (Inverter_InsValidationError) Key

Key function returns key value.

func (Inverter_InsValidationError) Reason

Reason function returns reason value.

type Inverter_Outs

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

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

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

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

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

Deprecated: Use Inverter_Outs.ProtoReflect.Descriptor instead.

func (*Inverter_Outs) GetOutput

func (x *Inverter_Outs) GetOutput() *OutPort

func (*Inverter_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Inverter_Outs) ProtoMessage

func (*Inverter_Outs) ProtoMessage()

func (*Inverter_Outs) ProtoReflect

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

func (*Inverter_Outs) Reset

func (x *Inverter_Outs) Reset()

func (*Inverter_Outs) String

func (x *Inverter_Outs) String() string

func (*Inverter_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Inverter_Outs) Validate

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

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

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

func (m Inverter_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Inverter_OutsMultiError) Error

func (m Inverter_OutsMultiError) Error() string

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

type Inverter_OutsValidationError

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

Cause function returns cause value.

func (Inverter_OutsValidationError) Error

Error satisfies the builtin error interface

func (Inverter_OutsValidationError) ErrorName

func (e Inverter_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Inverter_OutsValidationError) Field

Field function returns field value.

func (Inverter_OutsValidationError) Key

Key function returns key value.

func (Inverter_OutsValidationError) Reason

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

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

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

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

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

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

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

func (m JSONExtractorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JSONExtractorMultiError) Error

func (m JSONExtractorMultiError) Error() string

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

type JSONExtractorValidationError

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

Cause function returns cause value.

func (JSONExtractorValidationError) Error

Error satisfies the builtin error interface

func (JSONExtractorValidationError) ErrorName

func (e JSONExtractorValidationError) ErrorName() string

ErrorName returns error name.

func (JSONExtractorValidationError) Field

Field function returns field value.

func (JSONExtractorValidationError) Key

Key function returns key value.

func (JSONExtractorValidationError) Reason

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

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

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

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

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

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

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

func (m JWTExtractorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JWTExtractorMultiError) Error

func (m JWTExtractorMultiError) Error() string

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

type JWTExtractorValidationError

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

Cause function returns cause value.

func (JWTExtractorValidationError) Error

Error satisfies the builtin error interface

func (JWTExtractorValidationError) ErrorName

func (e JWTExtractorValidationError) ErrorName() string

ErrorName returns error name.

func (JWTExtractorValidationError) Field

Field function returns field value.

func (JWTExtractorValidationError) Key

Key function returns key value.

func (JWTExtractorValidationError) Reason

Reason function returns reason value.

type K8SLabelMatcherRequirement

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

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

func (*K8SLabelMatcherRequirement) DeepCopyInterface

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

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

func (*K8SLabelMatcherRequirement) Descriptor deprecated

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

Deprecated: Use K8SLabelMatcherRequirement.ProtoReflect.Descriptor instead.

func (*K8SLabelMatcherRequirement) GetKey

func (x *K8SLabelMatcherRequirement) GetKey() string

func (*K8SLabelMatcherRequirement) GetOperator

func (x *K8SLabelMatcherRequirement) GetOperator() string

func (*K8SLabelMatcherRequirement) GetValues

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

func (*K8SLabelMatcherRequirement) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*K8SLabelMatcherRequirement) ProtoMessage

func (*K8SLabelMatcherRequirement) ProtoMessage()

func (*K8SLabelMatcherRequirement) ProtoReflect

func (*K8SLabelMatcherRequirement) Reset

func (x *K8SLabelMatcherRequirement) Reset()

func (*K8SLabelMatcherRequirement) String

func (x *K8SLabelMatcherRequirement) String() string

func (*K8SLabelMatcherRequirement) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*K8SLabelMatcherRequirement) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (K8SLabelMatcherRequirementMultiError) Error

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

type K8SLabelMatcherRequirementValidationError

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

Cause function returns cause value.

func (K8SLabelMatcherRequirementValidationError) Error

Error satisfies the builtin error interface

func (K8SLabelMatcherRequirementValidationError) ErrorName

ErrorName returns error name.

func (K8SLabelMatcherRequirementValidationError) Field

Field function returns field value.

func (K8SLabelMatcherRequirementValidationError) Key

Key function returns key value.

func (K8SLabelMatcherRequirementValidationError) Reason

Reason function returns reason value.

type KubernetesObjectSelector

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

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

func (*KubernetesObjectSelector) DeepCopyInterface

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

func (in *KubernetesObjectSelector) DeepCopyInto(out *KubernetesObjectSelector)

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

func (*KubernetesObjectSelector) Descriptor deprecated

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

Deprecated: Use KubernetesObjectSelector.ProtoReflect.Descriptor instead.

func (*KubernetesObjectSelector) GetAgentGroup

func (x *KubernetesObjectSelector) GetAgentGroup() string

func (*KubernetesObjectSelector) GetApiVersion

func (x *KubernetesObjectSelector) GetApiVersion() string

func (*KubernetesObjectSelector) GetKind

func (x *KubernetesObjectSelector) GetKind() string

func (*KubernetesObjectSelector) GetName

func (x *KubernetesObjectSelector) GetName() string

func (*KubernetesObjectSelector) GetNamespace

func (x *KubernetesObjectSelector) GetNamespace() string

func (*KubernetesObjectSelector) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*KubernetesObjectSelector) ProtoMessage

func (*KubernetesObjectSelector) ProtoMessage()

func (*KubernetesObjectSelector) ProtoReflect

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

func (*KubernetesObjectSelector) Reset

func (x *KubernetesObjectSelector) Reset()

func (*KubernetesObjectSelector) String

func (x *KubernetesObjectSelector) String() string

func (*KubernetesObjectSelector) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*KubernetesObjectSelector) Validate

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

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

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

func (m KubernetesObjectSelectorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KubernetesObjectSelectorMultiError) Error

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

type KubernetesObjectSelectorValidationError

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

Cause function returns cause value.

func (KubernetesObjectSelectorValidationError) Error

Error satisfies the builtin error interface

func (KubernetesObjectSelectorValidationError) ErrorName

ErrorName returns error name.

func (KubernetesObjectSelectorValidationError) Field

Field function returns field value.

func (KubernetesObjectSelectorValidationError) Key

Key function returns key value.

func (KubernetesObjectSelectorValidationError) Reason

Reason function returns reason value.

type LabelMatcher

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

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

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

func (in *LabelMatcher) DeepCopyInto(out *LabelMatcher)

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

func (*LabelMatcher) Descriptor deprecated

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

Deprecated: Use LabelMatcher.ProtoReflect.Descriptor instead.

func (*LabelMatcher) GetExpression

func (x *LabelMatcher) GetExpression() *MatchExpression

func (*LabelMatcher) GetMatchExpressions

func (x *LabelMatcher) GetMatchExpressions() []*K8SLabelMatcherRequirement

func (*LabelMatcher) GetMatchLabels

func (x *LabelMatcher) GetMatchLabels() map[string]string

func (*LabelMatcher) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LabelMatcher) ProtoMessage

func (*LabelMatcher) ProtoMessage()

func (*LabelMatcher) ProtoReflect

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

func (*LabelMatcher) Reset

func (x *LabelMatcher) Reset()

func (*LabelMatcher) String

func (x *LabelMatcher) String() string

func (*LabelMatcher) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LabelMatcher) Validate

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

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

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

func (m LabelMatcherMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LabelMatcherMultiError) Error

func (m LabelMatcherMultiError) Error() string

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

type LabelMatcherValidationError

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

Cause function returns cause value.

func (LabelMatcherValidationError) Error

Error satisfies the builtin error interface

func (LabelMatcherValidationError) ErrorName

func (e LabelMatcherValidationError) ErrorName() string

ErrorName returns error name.

func (LabelMatcherValidationError) Field

Field function returns field value.

func (LabelMatcherValidationError) Key

Key function returns key value.

func (LabelMatcherValidationError) Reason

Reason function returns reason value.

type LoadRamp

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"
	// Specify certain label values to be always accepted by the _Regulator_ regardless of accept percentage.
	PassThroughLabelValues []string `` /* 131-byte string literal not displayed */
	// Configuration key for setting pass through label values through dynamic configuration.
	PassThroughLabelValuesConfigKey string `` /* 162-byte string literal not displayed */
	// 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

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

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

func (in *LoadRamp) DeepCopyInto(out *LoadRamp)

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

func (*LoadRamp) Descriptor deprecated

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

Deprecated: Use LoadRamp.ProtoReflect.Descriptor instead.

func (*LoadRamp) GetInPorts

func (x *LoadRamp) GetInPorts() *LoadRamp_Ins

func (*LoadRamp) GetOutPorts

func (x *LoadRamp) GetOutPorts() *LoadRamp_Outs

func (*LoadRamp) GetParameters

func (x *LoadRamp) GetParameters() *LoadRamp_Parameters

func (*LoadRamp) GetPassThroughLabelValues added in v2.2.0

func (x *LoadRamp) GetPassThroughLabelValues() []string

func (*LoadRamp) GetPassThroughLabelValuesConfigKey added in v2.2.0

func (x *LoadRamp) GetPassThroughLabelValuesConfigKey() string

func (*LoadRamp) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadRamp) ProtoMessage

func (*LoadRamp) ProtoMessage()

func (*LoadRamp) ProtoReflect

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

func (*LoadRamp) Reset

func (x *LoadRamp) Reset()

func (*LoadRamp) String

func (x *LoadRamp) String() string

func (*LoadRamp) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadRamp) Validate

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

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

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

func (m LoadRampMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadRampMultiError) Error

func (m LoadRampMultiError) Error() string

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

type LoadRampSeries

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

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

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

func (in *LoadRampSeries) DeepCopyInto(out *LoadRampSeries)

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

func (*LoadRampSeries) Descriptor deprecated

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

Deprecated: Use LoadRampSeries.ProtoReflect.Descriptor instead.

func (*LoadRampSeries) GetInPorts

func (x *LoadRampSeries) GetInPorts() *LoadRampSeries_Ins

func (*LoadRampSeries) GetParameters

func (x *LoadRampSeries) GetParameters() *LoadRampSeries_Parameters

func (*LoadRampSeries) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadRampSeries) ProtoMessage

func (*LoadRampSeries) ProtoMessage()

func (*LoadRampSeries) ProtoReflect

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

func (*LoadRampSeries) Reset

func (x *LoadRampSeries) Reset()

func (*LoadRampSeries) String

func (x *LoadRampSeries) String() string

func (*LoadRampSeries) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadRampSeries) Validate

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

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

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

func (m LoadRampSeriesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadRampSeriesMultiError) Error

func (m LoadRampSeriesMultiError) Error() string

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

type LoadRampSeriesValidationError

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

Cause function returns cause value.

func (LoadRampSeriesValidationError) Error

Error satisfies the builtin error interface

func (LoadRampSeriesValidationError) ErrorName

func (e LoadRampSeriesValidationError) ErrorName() string

ErrorName returns error name.

func (LoadRampSeriesValidationError) Field

Field function returns field value.

func (LoadRampSeriesValidationError) Key

Key function returns key value.

func (LoadRampSeriesValidationError) Reason

Reason function returns reason value.

type LoadRampSeries_Ins

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

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

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

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

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

Deprecated: Use LoadRampSeries_Ins.ProtoReflect.Descriptor instead.

func (*LoadRampSeries_Ins) GetBackward

func (x *LoadRampSeries_Ins) GetBackward() *InPort

func (*LoadRampSeries_Ins) GetForward

func (x *LoadRampSeries_Ins) GetForward() *InPort

func (*LoadRampSeries_Ins) GetReset_

func (x *LoadRampSeries_Ins) GetReset_() *InPort

func (*LoadRampSeries_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadRampSeries_Ins) ProtoMessage

func (*LoadRampSeries_Ins) ProtoMessage()

func (*LoadRampSeries_Ins) ProtoReflect

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

func (*LoadRampSeries_Ins) Reset

func (x *LoadRampSeries_Ins) Reset()

func (*LoadRampSeries_Ins) String

func (x *LoadRampSeries_Ins) String() string

func (*LoadRampSeries_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadRampSeries_Ins) Validate

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

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

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

func (m LoadRampSeries_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadRampSeries_InsMultiError) Error

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

type LoadRampSeries_InsValidationError

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

Cause function returns cause value.

func (LoadRampSeries_InsValidationError) Error

Error satisfies the builtin error interface

func (LoadRampSeries_InsValidationError) ErrorName

ErrorName returns error name.

func (LoadRampSeries_InsValidationError) Field

Field function returns field value.

func (LoadRampSeries_InsValidationError) Key

Key function returns key value.

func (LoadRampSeries_InsValidationError) Reason

Reason function returns reason value.

type LoadRampSeries_LoadRampInstance

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

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

func (*LoadRampSeries_LoadRampInstance) DeepCopyInterface

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

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

func (*LoadRampSeries_LoadRampInstance) Descriptor deprecated

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

Deprecated: Use LoadRampSeries_LoadRampInstance.ProtoReflect.Descriptor instead.

func (*LoadRampSeries_LoadRampInstance) GetLoadRamp

func (*LoadRampSeries_LoadRampInstance) GetOutPorts

func (*LoadRampSeries_LoadRampInstance) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadRampSeries_LoadRampInstance) ProtoMessage

func (*LoadRampSeries_LoadRampInstance) ProtoMessage()

func (*LoadRampSeries_LoadRampInstance) ProtoReflect

func (*LoadRampSeries_LoadRampInstance) Reset

func (*LoadRampSeries_LoadRampInstance) String

func (*LoadRampSeries_LoadRampInstance) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadRampSeries_LoadRampInstance) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (LoadRampSeries_LoadRampInstanceMultiError) Error

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

type LoadRampSeries_LoadRampInstanceValidationError

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

Cause function returns cause value.

func (LoadRampSeries_LoadRampInstanceValidationError) Error

Error satisfies the builtin error interface

func (LoadRampSeries_LoadRampInstanceValidationError) ErrorName

ErrorName returns error name.

func (LoadRampSeries_LoadRampInstanceValidationError) Field

Field function returns field value.

func (LoadRampSeries_LoadRampInstanceValidationError) Key

Key function returns key value.

func (LoadRampSeries_LoadRampInstanceValidationError) Reason

Reason function returns reason value.

type LoadRampSeries_Parameters

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

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

func (*LoadRampSeries_Parameters) DeepCopyInterface

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

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

func (*LoadRampSeries_Parameters) Descriptor deprecated

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

Deprecated: Use LoadRampSeries_Parameters.ProtoReflect.Descriptor instead.

func (*LoadRampSeries_Parameters) GetLoadRamps

func (*LoadRampSeries_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadRampSeries_Parameters) ProtoMessage

func (*LoadRampSeries_Parameters) ProtoMessage()

func (*LoadRampSeries_Parameters) ProtoReflect

func (*LoadRampSeries_Parameters) Reset

func (x *LoadRampSeries_Parameters) Reset()

func (*LoadRampSeries_Parameters) String

func (x *LoadRampSeries_Parameters) String() string

func (*LoadRampSeries_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadRampSeries_Parameters) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (LoadRampSeries_ParametersMultiError) Error

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

type LoadRampSeries_ParametersValidationError

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

Cause function returns cause value.

func (LoadRampSeries_ParametersValidationError) Error

Error satisfies the builtin error interface

func (LoadRampSeries_ParametersValidationError) ErrorName

ErrorName returns error name.

func (LoadRampSeries_ParametersValidationError) Field

Field function returns field value.

func (LoadRampSeries_ParametersValidationError) Key

Key function returns key value.

func (LoadRampSeries_ParametersValidationError) Reason

Reason function returns reason value.

type LoadRampValidationError

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

func (e LoadRampValidationError) Cause() error

Cause function returns cause value.

func (LoadRampValidationError) Error

func (e LoadRampValidationError) Error() string

Error satisfies the builtin error interface

func (LoadRampValidationError) ErrorName

func (e LoadRampValidationError) ErrorName() string

ErrorName returns error name.

func (LoadRampValidationError) Field

func (e LoadRampValidationError) Field() string

Field function returns field value.

func (LoadRampValidationError) Key

func (e LoadRampValidationError) Key() bool

Key function returns key value.

func (LoadRampValidationError) Reason

func (e LoadRampValidationError) Reason() string

Reason function returns reason value.

type LoadRamp_Ins

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

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

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

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

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

Deprecated: Use LoadRamp_Ins.ProtoReflect.Descriptor instead.

func (*LoadRamp_Ins) GetBackward

func (x *LoadRamp_Ins) GetBackward() *InPort

func (*LoadRamp_Ins) GetForward

func (x *LoadRamp_Ins) GetForward() *InPort

func (*LoadRamp_Ins) GetReset_

func (x *LoadRamp_Ins) GetReset_() *InPort

func (*LoadRamp_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadRamp_Ins) ProtoMessage

func (*LoadRamp_Ins) ProtoMessage()

func (*LoadRamp_Ins) ProtoReflect

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

func (*LoadRamp_Ins) Reset

func (x *LoadRamp_Ins) Reset()

func (*LoadRamp_Ins) String

func (x *LoadRamp_Ins) String() string

func (*LoadRamp_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadRamp_Ins) Validate

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

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

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

func (m LoadRamp_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadRamp_InsMultiError) Error

func (m LoadRamp_InsMultiError) Error() string

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

type LoadRamp_InsValidationError

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

Cause function returns cause value.

func (LoadRamp_InsValidationError) Error

Error satisfies the builtin error interface

func (LoadRamp_InsValidationError) ErrorName

func (e LoadRamp_InsValidationError) ErrorName() string

ErrorName returns error name.

func (LoadRamp_InsValidationError) Field

Field function returns field value.

func (LoadRamp_InsValidationError) Key

Key function returns key value.

func (LoadRamp_InsValidationError) Reason

Reason function returns reason value.

type LoadRamp_Outs

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

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

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

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

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

Deprecated: Use LoadRamp_Outs.ProtoReflect.Descriptor instead.

func (*LoadRamp_Outs) GetAcceptPercentage

func (x *LoadRamp_Outs) GetAcceptPercentage() *OutPort

func (*LoadRamp_Outs) GetAtEnd

func (x *LoadRamp_Outs) GetAtEnd() *OutPort

func (*LoadRamp_Outs) GetAtStart

func (x *LoadRamp_Outs) GetAtStart() *OutPort

func (*LoadRamp_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadRamp_Outs) ProtoMessage

func (*LoadRamp_Outs) ProtoMessage()

func (*LoadRamp_Outs) ProtoReflect

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

func (*LoadRamp_Outs) Reset

func (x *LoadRamp_Outs) Reset()

func (*LoadRamp_Outs) String

func (x *LoadRamp_Outs) String() string

func (*LoadRamp_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadRamp_Outs) Validate

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

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

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

func (m LoadRamp_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadRamp_OutsMultiError) Error

func (m LoadRamp_OutsMultiError) Error() string

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

type LoadRamp_OutsValidationError

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

Cause function returns cause value.

func (LoadRamp_OutsValidationError) Error

Error satisfies the builtin error interface

func (LoadRamp_OutsValidationError) ErrorName

func (e LoadRamp_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (LoadRamp_OutsValidationError) Field

Field function returns field value.

func (LoadRamp_OutsValidationError) Key

Key function returns key value.

func (LoadRamp_OutsValidationError) Reason

Reason function returns reason value.

type LoadRamp_Parameters

type LoadRamp_Parameters struct {

	// Parameters for the _Regulator_.
	Regulator *Regulator_Parameters       `protobuf:"bytes,1,opt,name=regulator,proto3" json:"regulator,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

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

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

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

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

Deprecated: Use LoadRamp_Parameters.ProtoReflect.Descriptor instead.

func (*LoadRamp_Parameters) GetRegulator

func (x *LoadRamp_Parameters) GetRegulator() *Regulator_Parameters

func (*LoadRamp_Parameters) GetSteps

func (*LoadRamp_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadRamp_Parameters) ProtoMessage

func (*LoadRamp_Parameters) ProtoMessage()

func (*LoadRamp_Parameters) ProtoReflect

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

func (*LoadRamp_Parameters) Reset

func (x *LoadRamp_Parameters) Reset()

func (*LoadRamp_Parameters) String

func (x *LoadRamp_Parameters) String() string

func (*LoadRamp_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadRamp_Parameters) Validate

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

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

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

func (m LoadRamp_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadRamp_ParametersMultiError) Error

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

type LoadRamp_ParametersValidationError

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

Cause function returns cause value.

func (LoadRamp_ParametersValidationError) Error

Error satisfies the builtin error interface

func (LoadRamp_ParametersValidationError) ErrorName

ErrorName returns error name.

func (LoadRamp_ParametersValidationError) Field

Field function returns field value.

func (LoadRamp_ParametersValidationError) Key

Key function returns key value.

func (LoadRamp_ParametersValidationError) Reason

Reason function returns reason value.

type LoadRamp_Parameters_Step

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

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

func (*LoadRamp_Parameters_Step) DeepCopyInterface

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

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

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

Deprecated: Use LoadRamp_Parameters_Step.ProtoReflect.Descriptor instead.

func (*LoadRamp_Parameters_Step) GetDuration

func (x *LoadRamp_Parameters_Step) GetDuration() *durationpb.Duration

func (*LoadRamp_Parameters_Step) GetTargetAcceptPercentage

func (x *LoadRamp_Parameters_Step) GetTargetAcceptPercentage() float64

func (*LoadRamp_Parameters_Step) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadRamp_Parameters_Step) ProtoMessage

func (*LoadRamp_Parameters_Step) ProtoMessage()

func (*LoadRamp_Parameters_Step) ProtoReflect

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

func (*LoadRamp_Parameters_Step) Reset

func (x *LoadRamp_Parameters_Step) Reset()

func (*LoadRamp_Parameters_Step) String

func (x *LoadRamp_Parameters_Step) String() string

func (*LoadRamp_Parameters_Step) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadRamp_Parameters_Step) Validate

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

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

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

func (m LoadRamp_Parameters_StepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadRamp_Parameters_StepMultiError) Error

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

type LoadRamp_Parameters_StepValidationError

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

Cause function returns cause value.

func (LoadRamp_Parameters_StepValidationError) Error

Error satisfies the builtin error interface

func (LoadRamp_Parameters_StepValidationError) ErrorName

ErrorName returns error name.

func (LoadRamp_Parameters_StepValidationError) Field

Field function returns field value.

func (LoadRamp_Parameters_StepValidationError) Key

Key function returns key value.

func (LoadRamp_Parameters_StepValidationError) Reason

Reason function returns reason value.

type LoadScheduler

type LoadScheduler struct {

	// Input ports for the LoadScheduler component.
	InPorts *LoadScheduler_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty" validate:"required"` // @gotags: validate:"required"
	// Output ports for the LoadScheduler component.
	OutPorts   *LoadScheduler_Outs       `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	Parameters *LoadScheduler_Parameters `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// Decides whether to run the load scheduler in dry-run mode. In dry run mode the scheduler acts as pass through to all flow and does not queue flows.
	// It is useful for observing the behavior of load scheduler without disrupting any real traffic.
	DryRun bool `protobuf:"varint,6,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// Configuration key for setting dry run mode through dynamic configuration.
	DryRunConfigKey string `protobuf:"bytes,7,opt,name=dry_run_config_key,json=dryRunConfigKey,proto3" json:"dry_run_config_key,omitempty"`
	// contains filtered or unexported fields
}

_Load Scheduler_ creates a queue for flows in front of a service to provide active service protection

:::info

See also [_Load Scheduler_ overview](/concepts/flow-control/components/load-scheduler.md).

:::

To make scheduling decisions the Flows are mapped into Workloads by providing match rules. A workload determines the priority and cost of admitting each Flow that belongs to it. Scheduling of Flows is based on Weighted Fair Queuing principles. _Load Scheduler_ 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.

The signal at port `load_multiplier` determines the fraction of incoming tokens that get admitted.

func (*LoadScheduler) DeepCopy

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

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

func (in *LoadScheduler) DeepCopyInto(out *LoadScheduler)

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

func (*LoadScheduler) Descriptor deprecated

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

Deprecated: Use LoadScheduler.ProtoReflect.Descriptor instead.

func (*LoadScheduler) GetDryRun added in v2.2.0

func (x *LoadScheduler) GetDryRun() bool

func (*LoadScheduler) GetDryRunConfigKey added in v2.2.0

func (x *LoadScheduler) GetDryRunConfigKey() string

func (*LoadScheduler) GetInPorts

func (x *LoadScheduler) GetInPorts() *LoadScheduler_Ins

func (*LoadScheduler) GetOutPorts

func (x *LoadScheduler) GetOutPorts() *LoadScheduler_Outs

func (*LoadScheduler) GetParameters

func (x *LoadScheduler) GetParameters() *LoadScheduler_Parameters

func (*LoadScheduler) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadScheduler) ProtoMessage

func (*LoadScheduler) ProtoMessage()

func (*LoadScheduler) ProtoReflect

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

func (*LoadScheduler) Reset

func (x *LoadScheduler) Reset()

func (*LoadScheduler) String

func (x *LoadScheduler) String() string

func (*LoadScheduler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadScheduler) Validate

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

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

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

func (m LoadSchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadSchedulerMultiError) Error

func (m LoadSchedulerMultiError) Error() string

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

type LoadSchedulerValidationError

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

Cause function returns cause value.

func (LoadSchedulerValidationError) Error

Error satisfies the builtin error interface

func (LoadSchedulerValidationError) ErrorName

func (e LoadSchedulerValidationError) ErrorName() string

ErrorName returns error name.

func (LoadSchedulerValidationError) Field

Field function returns field value.

func (LoadSchedulerValidationError) Key

Key function returns key value.

func (LoadSchedulerValidationError) Reason

Reason function returns reason value.

type LoadScheduler_Ins

type LoadScheduler_Ins struct {

	// Load multiplier is proportion of incoming
	// token rate 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 LoadScheduler component.

func (*LoadScheduler_Ins) DeepCopy

func (in *LoadScheduler_Ins) DeepCopy() *LoadScheduler_Ins

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

func (*LoadScheduler_Ins) DeepCopyInterface

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

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

func (*LoadScheduler_Ins) DeepCopyInto

func (in *LoadScheduler_Ins) DeepCopyInto(out *LoadScheduler_Ins)

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

func (*LoadScheduler_Ins) Descriptor deprecated

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

Deprecated: Use LoadScheduler_Ins.ProtoReflect.Descriptor instead.

func (*LoadScheduler_Ins) GetLoadMultiplier

func (x *LoadScheduler_Ins) GetLoadMultiplier() *InPort

func (*LoadScheduler_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadScheduler_Ins) ProtoMessage

func (*LoadScheduler_Ins) ProtoMessage()

func (*LoadScheduler_Ins) ProtoReflect

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

func (*LoadScheduler_Ins) Reset

func (x *LoadScheduler_Ins) Reset()

func (*LoadScheduler_Ins) String

func (x *LoadScheduler_Ins) String() string

func (*LoadScheduler_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadScheduler_Ins) Validate

func (m *LoadScheduler_Ins) Validate() error

Validate checks the field values on LoadScheduler_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_Ins) ValidateAll

func (m *LoadScheduler_Ins) ValidateAll() error

ValidateAll checks the field values on LoadScheduler_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_InsMultiError, or nil if none found.

type LoadScheduler_InsMultiError

type LoadScheduler_InsMultiError []error

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

func (LoadScheduler_InsMultiError) AllErrors

func (m LoadScheduler_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadScheduler_InsMultiError) Error

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

type LoadScheduler_InsValidationError

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

LoadScheduler_InsValidationError is the validation error returned by LoadScheduler_Ins.Validate if the designated constraints aren't met.

func (LoadScheduler_InsValidationError) Cause

Cause function returns cause value.

func (LoadScheduler_InsValidationError) Error

Error satisfies the builtin error interface

func (LoadScheduler_InsValidationError) ErrorName

ErrorName returns error name.

func (LoadScheduler_InsValidationError) Field

Field function returns field value.

func (LoadScheduler_InsValidationError) Key

Key function returns key value.

func (LoadScheduler_InsValidationError) Reason

Reason function returns reason value.

type LoadScheduler_Outs

type LoadScheduler_Outs struct {

	// Observed load multiplier is the proportion of incoming token rate that is being accepted.
	ObservedLoadMultiplier *OutPort `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Output for the LoadScheduler component.

func (*LoadScheduler_Outs) DeepCopy

func (in *LoadScheduler_Outs) DeepCopy() *LoadScheduler_Outs

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

func (*LoadScheduler_Outs) DeepCopyInterface

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

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

func (*LoadScheduler_Outs) DeepCopyInto

func (in *LoadScheduler_Outs) DeepCopyInto(out *LoadScheduler_Outs)

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

func (*LoadScheduler_Outs) Descriptor deprecated

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

Deprecated: Use LoadScheduler_Outs.ProtoReflect.Descriptor instead.

func (*LoadScheduler_Outs) GetObservedLoadMultiplier

func (x *LoadScheduler_Outs) GetObservedLoadMultiplier() *OutPort

func (*LoadScheduler_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadScheduler_Outs) ProtoMessage

func (*LoadScheduler_Outs) ProtoMessage()

func (*LoadScheduler_Outs) ProtoReflect

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

func (*LoadScheduler_Outs) Reset

func (x *LoadScheduler_Outs) Reset()

func (*LoadScheduler_Outs) String

func (x *LoadScheduler_Outs) String() string

func (*LoadScheduler_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadScheduler_Outs) Validate

func (m *LoadScheduler_Outs) Validate() error

Validate checks the field values on LoadScheduler_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_Outs) ValidateAll

func (m *LoadScheduler_Outs) ValidateAll() error

ValidateAll checks the field values on LoadScheduler_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_OutsMultiError, or nil if none found.

type LoadScheduler_OutsMultiError

type LoadScheduler_OutsMultiError []error

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

func (LoadScheduler_OutsMultiError) AllErrors

func (m LoadScheduler_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadScheduler_OutsMultiError) Error

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

type LoadScheduler_OutsValidationError

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

LoadScheduler_OutsValidationError is the validation error returned by LoadScheduler_Outs.Validate if the designated constraints aren't met.

func (LoadScheduler_OutsValidationError) Cause

Cause function returns cause value.

func (LoadScheduler_OutsValidationError) Error

Error satisfies the builtin error interface

func (LoadScheduler_OutsValidationError) ErrorName

ErrorName returns error name.

func (LoadScheduler_OutsValidationError) Field

Field function returns field value.

func (LoadScheduler_OutsValidationError) Key

Key function returns key value.

func (LoadScheduler_OutsValidationError) Reason

Reason function returns reason value.

type LoadScheduler_Parameters

type LoadScheduler_Parameters struct {

	// Automatically estimate the size flows within each workload, based on
	// historical latency. Each workload's `tokens` will be set to average
	// latency of flows in that workload during the 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 takes a lower precedence
	// than the value of `tokens` specified in the workload definition
	// and `tokens` explicitly specified in the flow labels.
	WorkloadLatencyBasedTokens bool `` // @gotags: default:"true"
	/* 159-byte string literal not displayed */
	// Configuration of Weighted Fair Queuing-based workload scheduler.
	//
	// Contains configuration of per-agent scheduler
	Scheduler *Scheduler `protobuf:"bytes,2,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
	// Selectors for the component.
	Selectors []*Selector `protobuf:"bytes,3,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required,gt=0,dive"` // @gotags: validate:"required,gt=0,dive"
	// contains filtered or unexported fields
}

Parameters for _Load Scheduler_ component

func (*LoadScheduler_Parameters) DeepCopy

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

func (*LoadScheduler_Parameters) DeepCopyInterface

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

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

func (*LoadScheduler_Parameters) DeepCopyInto

func (in *LoadScheduler_Parameters) DeepCopyInto(out *LoadScheduler_Parameters)

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

func (*LoadScheduler_Parameters) Descriptor deprecated

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

Deprecated: Use LoadScheduler_Parameters.ProtoReflect.Descriptor instead.

func (*LoadScheduler_Parameters) GetScheduler

func (x *LoadScheduler_Parameters) GetScheduler() *Scheduler

func (*LoadScheduler_Parameters) GetSelectors

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

func (*LoadScheduler_Parameters) GetWorkloadLatencyBasedTokens

func (x *LoadScheduler_Parameters) GetWorkloadLatencyBasedTokens() bool

func (*LoadScheduler_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadScheduler_Parameters) ProtoMessage

func (*LoadScheduler_Parameters) ProtoMessage()

func (*LoadScheduler_Parameters) ProtoReflect

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

func (*LoadScheduler_Parameters) Reset

func (x *LoadScheduler_Parameters) Reset()

func (*LoadScheduler_Parameters) String

func (x *LoadScheduler_Parameters) String() string

func (*LoadScheduler_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadScheduler_Parameters) Validate

func (m *LoadScheduler_Parameters) Validate() error

Validate checks the field values on LoadScheduler_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_Parameters) ValidateAll

func (m *LoadScheduler_Parameters) ValidateAll() error

ValidateAll checks the field values on LoadScheduler_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_ParametersMultiError, or nil if none found.

type LoadScheduler_ParametersMultiError

type LoadScheduler_ParametersMultiError []error

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

func (LoadScheduler_ParametersMultiError) AllErrors

func (m LoadScheduler_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadScheduler_ParametersMultiError) Error

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

type LoadScheduler_ParametersValidationError

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

LoadScheduler_ParametersValidationError is the validation error returned by LoadScheduler_Parameters.Validate if the designated constraints aren't met.

func (LoadScheduler_ParametersValidationError) Cause

Cause function returns cause value.

func (LoadScheduler_ParametersValidationError) Error

Error satisfies the builtin error interface

func (LoadScheduler_ParametersValidationError) ErrorName

ErrorName returns error name.

func (LoadScheduler_ParametersValidationError) Field

Field function returns field value.

func (LoadScheduler_ParametersValidationError) Key

Key function returns key value.

func (LoadScheduler_ParametersValidationError) Reason

Reason function returns reason value.

type MatchExpression

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

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

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

func (in *MatchExpression) DeepCopyInto(out *MatchExpression)

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

func (*MatchExpression) Descriptor deprecated

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

Deprecated: Use MatchExpression.ProtoReflect.Descriptor instead.

func (*MatchExpression) GetAll

func (*MatchExpression) GetAny

func (*MatchExpression) GetLabelEquals

func (x *MatchExpression) GetLabelEquals() *EqualsMatchExpression

func (*MatchExpression) GetLabelExists

func (x *MatchExpression) GetLabelExists() string

func (*MatchExpression) GetLabelMatches

func (x *MatchExpression) GetLabelMatches() *MatchesMatchExpression

func (*MatchExpression) GetNot

func (x *MatchExpression) GetNot() *MatchExpression

func (*MatchExpression) GetVariant

func (m *MatchExpression) GetVariant() isMatchExpression_Variant

func (*MatchExpression) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*MatchExpression) ProtoMessage

func (*MatchExpression) ProtoMessage()

func (*MatchExpression) ProtoReflect

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

func (*MatchExpression) Reset

func (x *MatchExpression) Reset()

func (*MatchExpression) String

func (x *MatchExpression) String() string

func (*MatchExpression) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*MatchExpression) Validate

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

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

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

func (m MatchExpressionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MatchExpressionMultiError) Error

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

type MatchExpressionValidationError

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

Cause function returns cause value.

func (MatchExpressionValidationError) Error

Error satisfies the builtin error interface

func (MatchExpressionValidationError) ErrorName

func (e MatchExpressionValidationError) ErrorName() string

ErrorName returns error name.

func (MatchExpressionValidationError) Field

Field function returns field value.

func (MatchExpressionValidationError) Key

Key function returns key value.

func (MatchExpressionValidationError) Reason

Reason function returns reason value.

type MatchExpression_All

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

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

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

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"`
}

type MatchExpression_LabelMatches

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

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

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

func (*MatchExpression_List) DeepCopyInterface

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

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

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

Deprecated: Use MatchExpression_List.ProtoReflect.Descriptor instead.

func (*MatchExpression_List) GetOf

func (x *MatchExpression_List) GetOf() []*MatchExpression

func (*MatchExpression_List) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*MatchExpression_List) ProtoMessage

func (*MatchExpression_List) ProtoMessage()

func (*MatchExpression_List) ProtoReflect

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

func (*MatchExpression_List) Reset

func (x *MatchExpression_List) Reset()

func (*MatchExpression_List) String

func (x *MatchExpression_List) String() string

func (*MatchExpression_List) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*MatchExpression_List) Validate

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

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

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

func (m MatchExpression_ListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MatchExpression_ListMultiError) Error

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

type MatchExpression_ListValidationError

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

Cause function returns cause value.

func (MatchExpression_ListValidationError) Error

Error satisfies the builtin error interface

func (MatchExpression_ListValidationError) ErrorName

ErrorName returns error name.

func (MatchExpression_ListValidationError) Field

Field function returns field value.

func (MatchExpression_ListValidationError) Key

Key function returns key value.

func (MatchExpression_ListValidationError) Reason

Reason function returns reason value.

type MatchExpression_Not

type MatchExpression_Not struct {
	// The expression negates the result of sub expression.
	Not *MatchExpression `protobuf:"bytes,1,opt,name=not,proto3,oneof"`
}

type MatchesMatchExpression

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

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

func (*MatchesMatchExpression) DeepCopyInterface

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

func (in *MatchesMatchExpression) DeepCopyInto(out *MatchesMatchExpression)

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

func (*MatchesMatchExpression) Descriptor deprecated

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

Deprecated: Use MatchesMatchExpression.ProtoReflect.Descriptor instead.

func (*MatchesMatchExpression) GetLabel

func (x *MatchesMatchExpression) GetLabel() string

func (*MatchesMatchExpression) GetRegex

func (x *MatchesMatchExpression) GetRegex() string

func (*MatchesMatchExpression) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*MatchesMatchExpression) ProtoMessage

func (*MatchesMatchExpression) ProtoMessage()

func (*MatchesMatchExpression) ProtoReflect

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

func (*MatchesMatchExpression) Reset

func (x *MatchesMatchExpression) Reset()

func (*MatchesMatchExpression) String

func (x *MatchesMatchExpression) String() string

func (*MatchesMatchExpression) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*MatchesMatchExpression) Validate

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

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

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

func (m MatchesMatchExpressionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MatchesMatchExpressionMultiError) Error

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

type MatchesMatchExpressionValidationError

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

Cause function returns cause value.

func (MatchesMatchExpressionValidationError) Error

Error satisfies the builtin error interface

func (MatchesMatchExpressionValidationError) ErrorName

ErrorName returns error name.

func (MatchesMatchExpressionValidationError) Field

Field function returns field value.

func (MatchesMatchExpressionValidationError) Key

Key function returns key value.

func (MatchesMatchExpressionValidationError) Reason

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

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

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

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

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

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

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

func (m MaxMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MaxMultiError) Error

func (m MaxMultiError) Error() string

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

type MaxValidationError

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

func (e MaxValidationError) Cause() error

Cause function returns cause value.

func (MaxValidationError) Error

func (e MaxValidationError) Error() string

Error satisfies the builtin error interface

func (MaxValidationError) ErrorName

func (e MaxValidationError) ErrorName() string

ErrorName returns error name.

func (MaxValidationError) Field

func (e MaxValidationError) Field() string

Field function returns field value.

func (MaxValidationError) Key

func (e MaxValidationError) Key() bool

Key function returns key value.

func (MaxValidationError) Reason

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

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

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

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

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

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

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

func (m Max_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Max_InsMultiError) Error

func (m Max_InsMultiError) Error() string

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

type Max_InsValidationError

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

func (e Max_InsValidationError) Cause() error

Cause function returns cause value.

func (Max_InsValidationError) Error

func (e Max_InsValidationError) Error() string

Error satisfies the builtin error interface

func (Max_InsValidationError) ErrorName

func (e Max_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Max_InsValidationError) Field

func (e Max_InsValidationError) Field() string

Field function returns field value.

func (Max_InsValidationError) Key

func (e Max_InsValidationError) Key() bool

Key function returns key value.

func (Max_InsValidationError) Reason

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

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

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

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

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

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

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

func (m Max_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Max_OutsMultiError) Error

func (m Max_OutsMultiError) Error() string

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

type Max_OutsValidationError

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

func (e Max_OutsValidationError) Cause() error

Cause function returns cause value.

func (Max_OutsValidationError) Error

func (e Max_OutsValidationError) Error() string

Error satisfies the builtin error interface

func (Max_OutsValidationError) ErrorName

func (e Max_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Max_OutsValidationError) Field

func (e Max_OutsValidationError) Field() string

Field function returns field value.

func (Max_OutsValidationError) Key

func (e Max_OutsValidationError) Key() bool

Key function returns key value.

func (Max_OutsValidationError) Reason

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

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

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

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

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

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

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

func (m MinMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MinMultiError) Error

func (m MinMultiError) Error() string

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

type MinValidationError

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

func (e MinValidationError) Cause() error

Cause function returns cause value.

func (MinValidationError) Error

func (e MinValidationError) Error() string

Error satisfies the builtin error interface

func (MinValidationError) ErrorName

func (e MinValidationError) ErrorName() string

ErrorName returns error name.

func (MinValidationError) Field

func (e MinValidationError) Field() string

Field function returns field value.

func (MinValidationError) Key

func (e MinValidationError) Key() bool

Key function returns key value.

func (MinValidationError) Reason

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

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

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

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

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

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

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

func (m Min_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Min_InsMultiError) Error

func (m Min_InsMultiError) Error() string

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

type Min_InsValidationError

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

func (e Min_InsValidationError) Cause() error

Cause function returns cause value.

func (Min_InsValidationError) Error

func (e Min_InsValidationError) Error() string

Error satisfies the builtin error interface

func (Min_InsValidationError) ErrorName

func (e Min_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Min_InsValidationError) Field

func (e Min_InsValidationError) Field() string

Field function returns field value.

func (Min_InsValidationError) Key

func (e Min_InsValidationError) Key() bool

Key function returns key value.

func (Min_InsValidationError) Reason

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

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

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

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

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

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

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

func (m Min_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Min_OutsMultiError) Error

func (m Min_OutsMultiError) Error() string

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

type Min_OutsValidationError

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

func (e Min_OutsValidationError) Cause() error

Cause function returns cause value.

func (Min_OutsValidationError) Error

func (e Min_OutsValidationError) Error() string

Error satisfies the builtin error interface

func (Min_OutsValidationError) ErrorName

func (e Min_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Min_OutsValidationError) Field

func (e Min_OutsValidationError) Field() string

Field function returns field value.

func (Min_OutsValidationError) Key

func (e Min_OutsValidationError) Key() bool

Key function returns key value.

func (Min_OutsValidationError) Reason

func (e Min_OutsValidationError) Reason() string

Reason function returns reason value.

type NestedCircuit

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

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

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

func (in *NestedCircuit) DeepCopyInto(out *NestedCircuit)

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

func (*NestedCircuit) Descriptor deprecated

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

Deprecated: Use NestedCircuit.ProtoReflect.Descriptor instead.

func (*NestedCircuit) GetComponents

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

func (*NestedCircuit) GetInPortsMap

func (x *NestedCircuit) GetInPortsMap() map[string]*InPort

func (*NestedCircuit) GetName

func (x *NestedCircuit) GetName() string

func (*NestedCircuit) GetOutPortsMap

func (x *NestedCircuit) GetOutPortsMap() map[string]*OutPort

func (*NestedCircuit) GetShortDescription

func (x *NestedCircuit) GetShortDescription() string

func (*NestedCircuit) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*NestedCircuit) ProtoMessage

func (*NestedCircuit) ProtoMessage()

func (*NestedCircuit) ProtoReflect

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

func (*NestedCircuit) Reset

func (x *NestedCircuit) Reset()

func (*NestedCircuit) String

func (x *NestedCircuit) String() string

func (*NestedCircuit) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*NestedCircuit) Validate

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

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

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

func (m NestedCircuitMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NestedCircuitMultiError) Error

func (m NestedCircuitMultiError) Error() string

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

type NestedCircuitValidationError

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

Cause function returns cause value.

func (NestedCircuitValidationError) Error

Error satisfies the builtin error interface

func (NestedCircuitValidationError) ErrorName

func (e NestedCircuitValidationError) ErrorName() string

ErrorName returns error name.

func (NestedCircuitValidationError) Field

Field function returns field value.

func (NestedCircuitValidationError) Key

Key function returns key value.

func (NestedCircuitValidationError) Reason

Reason function returns reason value.

type NestedSignalEgress

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

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

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

func (in *NestedSignalEgress) DeepCopyInto(out *NestedSignalEgress)

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

func (*NestedSignalEgress) Descriptor deprecated

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

Deprecated: Use NestedSignalEgress.ProtoReflect.Descriptor instead.

func (*NestedSignalEgress) GetInPorts

func (x *NestedSignalEgress) GetInPorts() *NestedSignalEgress_Ins

func (*NestedSignalEgress) GetPortName

func (x *NestedSignalEgress) GetPortName() string

func (*NestedSignalEgress) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*NestedSignalEgress) ProtoMessage

func (*NestedSignalEgress) ProtoMessage()

func (*NestedSignalEgress) ProtoReflect

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

func (*NestedSignalEgress) Reset

func (x *NestedSignalEgress) Reset()

func (*NestedSignalEgress) String

func (x *NestedSignalEgress) String() string

func (*NestedSignalEgress) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*NestedSignalEgress) Validate

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

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

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

func (m NestedSignalEgressMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NestedSignalEgressMultiError) Error

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

type NestedSignalEgressValidationError

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

Cause function returns cause value.

func (NestedSignalEgressValidationError) Error

Error satisfies the builtin error interface

func (NestedSignalEgressValidationError) ErrorName

ErrorName returns error name.

func (NestedSignalEgressValidationError) Field

Field function returns field value.

func (NestedSignalEgressValidationError) Key

Key function returns key value.

func (NestedSignalEgressValidationError) Reason

Reason function returns reason value.

type NestedSignalEgress_Ins

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

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

func (*NestedSignalEgress_Ins) DeepCopyInterface

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

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

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

Deprecated: Use NestedSignalEgress_Ins.ProtoReflect.Descriptor instead.

func (*NestedSignalEgress_Ins) GetSignal

func (x *NestedSignalEgress_Ins) GetSignal() *InPort

func (*NestedSignalEgress_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*NestedSignalEgress_Ins) ProtoMessage

func (*NestedSignalEgress_Ins) ProtoMessage()

func (*NestedSignalEgress_Ins) ProtoReflect

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

func (*NestedSignalEgress_Ins) Reset

func (x *NestedSignalEgress_Ins) Reset()

func (*NestedSignalEgress_Ins) String

func (x *NestedSignalEgress_Ins) String() string

func (*NestedSignalEgress_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*NestedSignalEgress_Ins) Validate

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

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

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

func (m NestedSignalEgress_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NestedSignalEgress_InsMultiError) Error

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

type NestedSignalEgress_InsValidationError

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

Cause function returns cause value.

func (NestedSignalEgress_InsValidationError) Error

Error satisfies the builtin error interface

func (NestedSignalEgress_InsValidationError) ErrorName

ErrorName returns error name.

func (NestedSignalEgress_InsValidationError) Field

Field function returns field value.

func (NestedSignalEgress_InsValidationError) Key

Key function returns key value.

func (NestedSignalEgress_InsValidationError) Reason

Reason function returns reason value.

type NestedSignalIngress

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

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

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

func (in *NestedSignalIngress) DeepCopyInto(out *NestedSignalIngress)

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

func (*NestedSignalIngress) Descriptor deprecated

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

Deprecated: Use NestedSignalIngress.ProtoReflect.Descriptor instead.

func (*NestedSignalIngress) GetOutPorts

func (*NestedSignalIngress) GetPortName

func (x *NestedSignalIngress) GetPortName() string

func (*NestedSignalIngress) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*NestedSignalIngress) ProtoMessage

func (*NestedSignalIngress) ProtoMessage()

func (*NestedSignalIngress) ProtoReflect

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

func (*NestedSignalIngress) Reset

func (x *NestedSignalIngress) Reset()

func (*NestedSignalIngress) String

func (x *NestedSignalIngress) String() string

func (*NestedSignalIngress) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*NestedSignalIngress) Validate

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

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

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

func (m NestedSignalIngressMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NestedSignalIngressMultiError) Error

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

type NestedSignalIngressValidationError

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

Cause function returns cause value.

func (NestedSignalIngressValidationError) Error

Error satisfies the builtin error interface

func (NestedSignalIngressValidationError) ErrorName

ErrorName returns error name.

func (NestedSignalIngressValidationError) Field

Field function returns field value.

func (NestedSignalIngressValidationError) Key

Key function returns key value.

func (NestedSignalIngressValidationError) Reason

Reason function returns reason value.

type NestedSignalIngress_Outs

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

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

func (*NestedSignalIngress_Outs) DeepCopyInterface

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

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

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

Deprecated: Use NestedSignalIngress_Outs.ProtoReflect.Descriptor instead.

func (*NestedSignalIngress_Outs) GetSignal

func (x *NestedSignalIngress_Outs) GetSignal() *OutPort

func (*NestedSignalIngress_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*NestedSignalIngress_Outs) ProtoMessage

func (*NestedSignalIngress_Outs) ProtoMessage()

func (*NestedSignalIngress_Outs) ProtoReflect

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

func (*NestedSignalIngress_Outs) Reset

func (x *NestedSignalIngress_Outs) Reset()

func (*NestedSignalIngress_Outs) String

func (x *NestedSignalIngress_Outs) String() string

func (*NestedSignalIngress_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*NestedSignalIngress_Outs) Validate

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

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

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

func (m NestedSignalIngress_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NestedSignalIngress_OutsMultiError) Error

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

type NestedSignalIngress_OutsValidationError

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

Cause function returns cause value.

func (NestedSignalIngress_OutsValidationError) Error

Error satisfies the builtin error interface

func (NestedSignalIngress_OutsValidationError) ErrorName

ErrorName returns error name.

func (NestedSignalIngress_OutsValidationError) Field

Field function returns field value.

func (NestedSignalIngress_OutsValidationError) Key

Key function returns key value.

func (NestedSignalIngress_OutsValidationError) Reason

Reason function returns reason value.

type Or

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

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

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

func (in *Or) DeepCopyInto(out *Or)

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

func (*Or) Descriptor deprecated

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

Deprecated: Use Or.ProtoReflect.Descriptor instead.

func (*Or) GetInPorts

func (x *Or) GetInPorts() *Or_Ins

func (*Or) GetOutPorts

func (x *Or) GetOutPorts() *Or_Outs

func (*Or) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Or) ProtoMessage

func (*Or) ProtoMessage()

func (*Or) ProtoReflect

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

func (*Or) Reset

func (x *Or) Reset()

func (*Or) String

func (x *Or) String() string

func (*Or) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Or) Validate

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

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

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

func (m OrMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OrMultiError) Error

func (m OrMultiError) Error() string

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

type OrValidationError

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

func (e OrValidationError) Cause() error

Cause function returns cause value.

func (OrValidationError) Error

func (e OrValidationError) Error() string

Error satisfies the builtin error interface

func (OrValidationError) ErrorName

func (e OrValidationError) ErrorName() string

ErrorName returns error name.

func (OrValidationError) Field

func (e OrValidationError) Field() string

Field function returns field value.

func (OrValidationError) Key

func (e OrValidationError) Key() bool

Key function returns key value.

func (OrValidationError) Reason

func (e OrValidationError) Reason() string

Reason function returns reason value.

type Or_Ins

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

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

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

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

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

Deprecated: Use Or_Ins.ProtoReflect.Descriptor instead.

func (*Or_Ins) GetInputs

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

func (*Or_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Or_Ins) ProtoMessage

func (*Or_Ins) ProtoMessage()

func (*Or_Ins) ProtoReflect

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

func (*Or_Ins) Reset

func (x *Or_Ins) Reset()

func (*Or_Ins) String

func (x *Or_Ins) String() string

func (*Or_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Or_Ins) Validate

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

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

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

func (m Or_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Or_InsMultiError) Error

func (m Or_InsMultiError) Error() string

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

type Or_InsValidationError

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

func (e Or_InsValidationError) Cause() error

Cause function returns cause value.

func (Or_InsValidationError) Error

func (e Or_InsValidationError) Error() string

Error satisfies the builtin error interface

func (Or_InsValidationError) ErrorName

func (e Or_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Or_InsValidationError) Field

func (e Or_InsValidationError) Field() string

Field function returns field value.

func (Or_InsValidationError) Key

func (e Or_InsValidationError) Key() bool

Key function returns key value.

func (Or_InsValidationError) Reason

func (e Or_InsValidationError) Reason() string

Reason function returns reason value.

type Or_Outs

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

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

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

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

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

Deprecated: Use Or_Outs.ProtoReflect.Descriptor instead.

func (*Or_Outs) GetOutput

func (x *Or_Outs) GetOutput() *OutPort

func (*Or_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Or_Outs) ProtoMessage

func (*Or_Outs) ProtoMessage()

func (*Or_Outs) ProtoReflect

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

func (*Or_Outs) Reset

func (x *Or_Outs) Reset()

func (*Or_Outs) String

func (x *Or_Outs) String() string

func (*Or_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Or_Outs) Validate

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

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

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

func (m Or_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Or_OutsMultiError) Error

func (m Or_OutsMultiError) Error() string

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

type Or_OutsValidationError

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

func (e Or_OutsValidationError) Cause() error

Cause function returns cause value.

func (Or_OutsValidationError) Error

func (e Or_OutsValidationError) Error() string

Error satisfies the builtin error interface

func (Or_OutsValidationError) ErrorName

func (e Or_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Or_OutsValidationError) Field

func (e Or_OutsValidationError) Field() string

Field function returns field value.

func (Or_OutsValidationError) Key

func (e Or_OutsValidationError) Key() bool

Key function returns key value.

func (Or_OutsValidationError) Reason

func (e Or_OutsValidationError) Reason() string

Reason function returns reason value.

type OutPort

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

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

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

func (in *OutPort) DeepCopyInto(out *OutPort)

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

func (*OutPort) Descriptor deprecated

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

Deprecated: Use OutPort.ProtoReflect.Descriptor instead.

func (*OutPort) GetSignalName

func (x *OutPort) GetSignalName() string

func (*OutPort) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*OutPort) ProtoMessage

func (*OutPort) ProtoMessage()

func (*OutPort) ProtoReflect

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

func (*OutPort) Reset

func (x *OutPort) Reset()

func (*OutPort) String

func (x *OutPort) String() string

func (*OutPort) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*OutPort) Validate

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

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

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

func (m OutPortMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OutPortMultiError) Error

func (m OutPortMultiError) Error() string

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

type OutPortValidationError

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

func (e OutPortValidationError) Cause() error

Cause function returns cause value.

func (OutPortValidationError) Error

func (e OutPortValidationError) Error() string

Error satisfies the builtin error interface

func (OutPortValidationError) ErrorName

func (e OutPortValidationError) ErrorName() string

ErrorName returns error name.

func (OutPortValidationError) Field

func (e OutPortValidationError) Field() string

Field function returns field value.

func (OutPortValidationError) Key

func (e OutPortValidationError) Key() bool

Key function returns key value.

func (OutPortValidationError) Reason

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

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

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

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

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

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

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

func (m PathTemplateMatcherMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PathTemplateMatcherMultiError) Error

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

type PathTemplateMatcherValidationError

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

Cause function returns cause value.

func (PathTemplateMatcherValidationError) Error

Error satisfies the builtin error interface

func (PathTemplateMatcherValidationError) ErrorName

ErrorName returns error name.

func (PathTemplateMatcherValidationError) Field

Field function returns field value.

func (PathTemplateMatcherValidationError) Key

Key function returns key value.

func (PathTemplateMatcherValidationError) Reason

Reason function returns reason value.

type PeriodicDecrease

type PeriodicDecrease struct {

	// The period of the timer.
	Period *durationpb.Duration `protobuf:"bytes,1,opt,name=period,proto3" json:"period,omitempty" validate:"required"` // @gotags: validate:"required"
	// The percentage of scale to reduce.
	ScaleInPercentage float64 `` // @gotags: validate:"required,gte=0,lte=100"
	/* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

PeriodicDecrease defines a controller for scaling in based on a periodic timer.

func (*PeriodicDecrease) DeepCopy

func (in *PeriodicDecrease) DeepCopy() *PeriodicDecrease

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

func (*PeriodicDecrease) DeepCopyInterface

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

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

func (*PeriodicDecrease) DeepCopyInto

func (in *PeriodicDecrease) DeepCopyInto(out *PeriodicDecrease)

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

func (*PeriodicDecrease) Descriptor deprecated

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

Deprecated: Use PeriodicDecrease.ProtoReflect.Descriptor instead.

func (*PeriodicDecrease) GetPeriod added in v2.1.1

func (x *PeriodicDecrease) GetPeriod() *durationpb.Duration

func (*PeriodicDecrease) GetScaleInPercentage added in v2.1.1

func (x *PeriodicDecrease) GetScaleInPercentage() float64

func (*PeriodicDecrease) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PeriodicDecrease) ProtoMessage

func (*PeriodicDecrease) ProtoMessage()

func (*PeriodicDecrease) ProtoReflect

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

func (*PeriodicDecrease) Reset

func (x *PeriodicDecrease) Reset()

func (*PeriodicDecrease) String

func (x *PeriodicDecrease) String() string

func (*PeriodicDecrease) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PeriodicDecrease) Validate

func (m *PeriodicDecrease) Validate() error

Validate checks the field values on PeriodicDecrease 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 (*PeriodicDecrease) ValidateAll

func (m *PeriodicDecrease) ValidateAll() error

ValidateAll checks the field values on PeriodicDecrease 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 PeriodicDecreaseMultiError, or nil if none found.

type PeriodicDecreaseMultiError

type PeriodicDecreaseMultiError []error

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

func (PeriodicDecreaseMultiError) AllErrors

func (m PeriodicDecreaseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PeriodicDecreaseMultiError) Error

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

type PeriodicDecreaseValidationError

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

PeriodicDecreaseValidationError is the validation error returned by PeriodicDecrease.Validate if the designated constraints aren't met.

func (PeriodicDecreaseValidationError) Cause

Cause function returns cause value.

func (PeriodicDecreaseValidationError) Error

Error satisfies the builtin error interface

func (PeriodicDecreaseValidationError) ErrorName

ErrorName returns error name.

func (PeriodicDecreaseValidationError) Field

Field function returns field value.

func (PeriodicDecreaseValidationError) Key

Key function returns key value.

func (PeriodicDecreaseValidationError) Reason

Reason function returns reason value.

type PodScaler

type PodScaler struct {

	// Input ports for the PodScaler component.
	InPorts *PodScaler_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the PodScaler component.
	OutPorts *PodScaler_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Dry run mode ensures that no scaling is invoked by this pod scaler.
	// This is useful for observing the behavior of pod scaler without disrupting any real deployment.
	// This parameter sets the default value of dry run setting which can be overridden at runtime using dynamic configuration.
	DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// Configuration key for overriding dry run setting through dynamic configuration.
	DryRunConfigKey string `protobuf:"bytes,4,opt,name=dry_run_config_key,json=dryRunConfigKey,proto3" json:"dry_run_config_key,omitempty"`
	// The Kubernetes object to which this pod scaler applies.
	KubernetesObjectSelector *KubernetesObjectSelector `` // @gotags: validate:"required"
	/* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Component for scaling pods based on a signal.

func (*PodScaler) DeepCopy

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

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

func (in *PodScaler) DeepCopyInto(out *PodScaler)

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

func (*PodScaler) Descriptor deprecated

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

Deprecated: Use PodScaler.ProtoReflect.Descriptor instead.

func (*PodScaler) GetDryRun

func (x *PodScaler) GetDryRun() bool

func (*PodScaler) GetDryRunConfigKey

func (x *PodScaler) GetDryRunConfigKey() string

func (*PodScaler) GetInPorts

func (x *PodScaler) GetInPorts() *PodScaler_Ins

func (*PodScaler) GetKubernetesObjectSelector

func (x *PodScaler) GetKubernetesObjectSelector() *KubernetesObjectSelector

func (*PodScaler) GetOutPorts

func (x *PodScaler) GetOutPorts() *PodScaler_Outs

func (*PodScaler) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PodScaler) ProtoMessage

func (*PodScaler) ProtoMessage()

func (*PodScaler) ProtoReflect

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

func (*PodScaler) Reset

func (x *PodScaler) Reset()

func (*PodScaler) String

func (x *PodScaler) String() string

func (*PodScaler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PodScaler) Validate

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

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

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

func (m PodScalerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PodScalerMultiError) Error

func (m PodScalerMultiError) Error() string

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

type PodScalerValidationError

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

func (e PodScalerValidationError) Cause() error

Cause function returns cause value.

func (PodScalerValidationError) Error

func (e PodScalerValidationError) Error() string

Error satisfies the builtin error interface

func (PodScalerValidationError) ErrorName

func (e PodScalerValidationError) ErrorName() string

ErrorName returns error name.

func (PodScalerValidationError) Field

func (e PodScalerValidationError) Field() string

Field function returns field value.

func (PodScalerValidationError) Key

Key function returns key value.

func (PodScalerValidationError) Reason

func (e PodScalerValidationError) Reason() string

Reason function returns reason value.

type PodScaler_Ins

type PodScaler_Ins struct {

	// The number of replicas to configure for the Kubernetes resource
	Replicas *InPort `protobuf:"bytes,1,opt,name=replicas,proto3" json:"replicas,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the PodScaler component.

func (*PodScaler_Ins) DeepCopy

func (in *PodScaler_Ins) DeepCopy() *PodScaler_Ins

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

func (*PodScaler_Ins) DeepCopyInterface

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

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

func (*PodScaler_Ins) DeepCopyInto

func (in *PodScaler_Ins) DeepCopyInto(out *PodScaler_Ins)

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

func (*PodScaler_Ins) Descriptor deprecated

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

Deprecated: Use PodScaler_Ins.ProtoReflect.Descriptor instead.

func (*PodScaler_Ins) GetReplicas

func (x *PodScaler_Ins) GetReplicas() *InPort

func (*PodScaler_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PodScaler_Ins) ProtoMessage

func (*PodScaler_Ins) ProtoMessage()

func (*PodScaler_Ins) ProtoReflect

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

func (*PodScaler_Ins) Reset

func (x *PodScaler_Ins) Reset()

func (*PodScaler_Ins) String

func (x *PodScaler_Ins) String() string

func (*PodScaler_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PodScaler_Ins) Validate

func (m *PodScaler_Ins) Validate() error

Validate checks the field values on PodScaler_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_Ins) ValidateAll

func (m *PodScaler_Ins) ValidateAll() error

ValidateAll checks the field values on PodScaler_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_InsMultiError, or nil if none found.

type PodScaler_InsMultiError

type PodScaler_InsMultiError []error

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

func (PodScaler_InsMultiError) AllErrors

func (m PodScaler_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PodScaler_InsMultiError) Error

func (m PodScaler_InsMultiError) Error() string

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

type PodScaler_InsValidationError

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

PodScaler_InsValidationError is the validation error returned by PodScaler_Ins.Validate if the designated constraints aren't met.

func (PodScaler_InsValidationError) Cause

Cause function returns cause value.

func (PodScaler_InsValidationError) Error

Error satisfies the builtin error interface

func (PodScaler_InsValidationError) ErrorName

func (e PodScaler_InsValidationError) ErrorName() string

ErrorName returns error name.

func (PodScaler_InsValidationError) Field

Field function returns field value.

func (PodScaler_InsValidationError) Key

Key function returns key value.

func (PodScaler_InsValidationError) Reason

Reason function returns reason value.

type PodScaler_Outs

type PodScaler_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_Outs) DeepCopy

func (in *PodScaler_Outs) DeepCopy() *PodScaler_Outs

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

func (*PodScaler_Outs) DeepCopyInterface

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

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

func (*PodScaler_Outs) DeepCopyInto

func (in *PodScaler_Outs) DeepCopyInto(out *PodScaler_Outs)

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

func (*PodScaler_Outs) Descriptor deprecated

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

Deprecated: Use PodScaler_Outs.ProtoReflect.Descriptor instead.

func (*PodScaler_Outs) GetActualReplicas

func (x *PodScaler_Outs) GetActualReplicas() *OutPort

func (*PodScaler_Outs) GetConfiguredReplicas

func (x *PodScaler_Outs) GetConfiguredReplicas() *OutPort

func (*PodScaler_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PodScaler_Outs) ProtoMessage

func (*PodScaler_Outs) ProtoMessage()

func (*PodScaler_Outs) ProtoReflect

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

func (*PodScaler_Outs) Reset

func (x *PodScaler_Outs) Reset()

func (*PodScaler_Outs) String

func (x *PodScaler_Outs) String() string

func (*PodScaler_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PodScaler_Outs) Validate

func (m *PodScaler_Outs) Validate() error

Validate checks the field values on PodScaler_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_Outs) ValidateAll

func (m *PodScaler_Outs) ValidateAll() error

ValidateAll checks the field values on PodScaler_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_OutsMultiError, or nil if none found.

type PodScaler_OutsMultiError

type PodScaler_OutsMultiError []error

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

func (PodScaler_OutsMultiError) AllErrors

func (m PodScaler_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PodScaler_OutsMultiError) Error

func (m PodScaler_OutsMultiError) Error() string

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

type PodScaler_OutsValidationError

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

PodScaler_OutsValidationError is the validation error returned by PodScaler_Outs.Validate if the designated constraints aren't met.

func (PodScaler_OutsValidationError) Cause

Cause function returns cause value.

func (PodScaler_OutsValidationError) Error

Error satisfies the builtin error interface

func (PodScaler_OutsValidationError) ErrorName

func (e PodScaler_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (PodScaler_OutsValidationError) Field

Field function returns field value.

func (PodScaler_OutsValidationError) Key

Key function returns key value.

func (PodScaler_OutsValidationError) Reason

Reason function returns reason value.

type Policies

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

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

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

func (in *Policies) DeepCopyInto(out *Policies)

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

func (*Policies) Descriptor deprecated

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

Deprecated: Use Policies.ProtoReflect.Descriptor instead.

func (*Policies) GetPolicies

func (x *Policies) GetPolicies() map[string]*Policy

func (*Policies) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Policies) ProtoMessage

func (*Policies) ProtoMessage()

func (*Policies) ProtoReflect

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

func (*Policies) Reset

func (x *Policies) Reset()

func (*Policies) String

func (x *Policies) String() string

func (*Policies) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Policies) Validate

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

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

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

func (m PoliciesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PoliciesMultiError) Error

func (m PoliciesMultiError) Error() string

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

type PoliciesValidationError

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

func (e PoliciesValidationError) Cause() error

Cause function returns cause value.

func (PoliciesValidationError) Error

func (e PoliciesValidationError) Error() string

Error satisfies the builtin error interface

func (PoliciesValidationError) ErrorName

func (e PoliciesValidationError) ErrorName() string

ErrorName returns error name.

func (PoliciesValidationError) Field

func (e PoliciesValidationError) Field() string

Field function returns field value.

func (PoliciesValidationError) Key

func (e PoliciesValidationError) Key() bool

Key function returns key value.

func (PoliciesValidationError) Reason

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

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

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

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

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

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 PolicyMetadata added in v2.3.0

type PolicyMetadata struct {
	BlueprintsUri string `protobuf:"bytes,1,opt,name=blueprints_uri,json=blueprintsUri,proto3" json:"blueprints_uri,omitempty"`
	BlueprintName string `protobuf:"bytes,2,opt,name=blueprint_name,json=blueprintName,proto3" json:"blueprint_name,omitempty"`
	Values        string `protobuf:"bytes,3,opt,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyMetadata) DeepCopy added in v2.3.0

func (in *PolicyMetadata) DeepCopy() *PolicyMetadata

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

func (*PolicyMetadata) DeepCopyInterface added in v2.3.0

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

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

func (*PolicyMetadata) DeepCopyInto added in v2.3.0

func (in *PolicyMetadata) DeepCopyInto(out *PolicyMetadata)

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

func (*PolicyMetadata) Descriptor deprecated added in v2.3.0

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

Deprecated: Use PolicyMetadata.ProtoReflect.Descriptor instead.

func (*PolicyMetadata) GetBlueprintName added in v2.3.0

func (x *PolicyMetadata) GetBlueprintName() string

func (*PolicyMetadata) GetBlueprintsUri added in v2.3.0

func (x *PolicyMetadata) GetBlueprintsUri() string

func (*PolicyMetadata) GetValues added in v2.3.0

func (x *PolicyMetadata) GetValues() string

func (*PolicyMetadata) MarshalJSON added in v2.3.0

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

MarshalJSON implements json.Marshaler

func (*PolicyMetadata) ProtoMessage added in v2.3.0

func (*PolicyMetadata) ProtoMessage()

func (*PolicyMetadata) ProtoReflect added in v2.3.0

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

func (*PolicyMetadata) Reset added in v2.3.0

func (x *PolicyMetadata) Reset()

func (*PolicyMetadata) String added in v2.3.0

func (x *PolicyMetadata) String() string

func (*PolicyMetadata) UnmarshalJSON added in v2.3.0

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

UnmarshalJSON implements json.Unmarshaler

func (*PolicyMetadata) Validate added in v2.3.0

func (m *PolicyMetadata) Validate() error

Validate checks the field values on PolicyMetadata 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 (*PolicyMetadata) ValidateAll added in v2.3.0

func (m *PolicyMetadata) ValidateAll() error

ValidateAll checks the field values on PolicyMetadata 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 PolicyMetadataMultiError, or nil if none found.

type PolicyMetadataMultiError added in v2.3.0

type PolicyMetadataMultiError []error

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

func (PolicyMetadataMultiError) AllErrors added in v2.3.0

func (m PolicyMetadataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PolicyMetadataMultiError) Error added in v2.3.0

func (m PolicyMetadataMultiError) Error() string

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

type PolicyMetadataValidationError added in v2.3.0

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

PolicyMetadataValidationError is the validation error returned by PolicyMetadata.Validate if the designated constraints aren't met.

func (PolicyMetadataValidationError) Cause added in v2.3.0

Cause function returns cause value.

func (PolicyMetadataValidationError) Error added in v2.3.0

Error satisfies the builtin error interface

func (PolicyMetadataValidationError) ErrorName added in v2.3.0

func (e PolicyMetadataValidationError) ErrorName() string

ErrorName returns error name.

func (PolicyMetadataValidationError) Field added in v2.3.0

Field function returns field value.

func (PolicyMetadataValidationError) Key added in v2.3.0

Key function returns key value.

func (PolicyMetadataValidationError) Reason added in v2.3.0

Reason function returns reason value.

type PolicyMultiError

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

func (m PolicyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PolicyMultiError) Error

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 configuration 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 configuration 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

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

func (e PolicyValidationError) Cause() error

Cause function returns cause value.

func (PolicyValidationError) Error

func (e PolicyValidationError) Error() string

Error satisfies the builtin error interface

func (PolicyValidationError) ErrorName

func (e PolicyValidationError) ErrorName() string

ErrorName returns error name.

func (PolicyValidationError) Field

func (e PolicyValidationError) Field() string

Field function returns field value.

func (PolicyValidationError) Key

func (e PolicyValidationError) Key() bool

Key function returns key value.

func (PolicyValidationError) Reason

func (e PolicyValidationError) Reason() string

Reason function returns reason value.

type PostDynamicConfigRequest

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 configuration for Policy.

func (*PostDynamicConfigRequest) DeepCopy

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

func (*PostDynamicConfigRequest) DeepCopyInterface

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

func (in *PostDynamicConfigRequest) DeepCopyInto(out *PostDynamicConfigRequest)

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

func (*PostDynamicConfigRequest) Descriptor deprecated

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

Deprecated: Use PostDynamicConfigRequest.ProtoReflect.Descriptor instead.

func (*PostDynamicConfigRequest) GetDynamicConfig

func (x *PostDynamicConfigRequest) GetDynamicConfig() *structpb.Struct

func (*PostDynamicConfigRequest) GetPolicyName

func (x *PostDynamicConfigRequest) GetPolicyName() string

func (*PostDynamicConfigRequest) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PostDynamicConfigRequest) ProtoMessage

func (*PostDynamicConfigRequest) ProtoMessage()

func (*PostDynamicConfigRequest) ProtoReflect

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

func (*PostDynamicConfigRequest) Reset

func (x *PostDynamicConfigRequest) Reset()

func (*PostDynamicConfigRequest) String

func (x *PostDynamicConfigRequest) String() string

func (*PostDynamicConfigRequest) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PostDynamicConfigRequest) Validate

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

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

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

func (m PostDynamicConfigRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PostDynamicConfigRequestMultiError) Error

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

type PostDynamicConfigRequestValidationError

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

Cause function returns cause value.

func (PostDynamicConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (PostDynamicConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (PostDynamicConfigRequestValidationError) Field

Field function returns field value.

func (PostDynamicConfigRequestValidationError) Key

Key function returns key value.

func (PostDynamicConfigRequestValidationError) Reason

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](/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

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

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

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

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

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

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

func (m PromQLMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PromQLMultiError) Error

func (m PromQLMultiError) Error() string

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

type PromQLValidationError

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

func (e PromQLValidationError) Cause() error

Cause function returns cause value.

func (PromQLValidationError) Error

func (e PromQLValidationError) Error() string

Error satisfies the builtin error interface

func (PromQLValidationError) ErrorName

func (e PromQLValidationError) ErrorName() string

ErrorName returns error name.

func (PromQLValidationError) Field

func (e PromQLValidationError) Field() string

Field function returns field value.

func (PromQLValidationError) Key

func (e PromQLValidationError) Key() bool

Key function returns key value.

func (PromQLValidationError) Reason

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

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

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

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

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

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

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

func (m PromQL_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PromQL_OutsMultiError) Error

func (m PromQL_OutsMultiError) Error() string

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

type PromQL_OutsValidationError

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

Cause function returns cause value.

func (PromQL_OutsValidationError) Error

Error satisfies the builtin error interface

func (PromQL_OutsValidationError) ErrorName

func (e PromQL_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (PromQL_OutsValidationError) Field

Field function returns field value.

func (PromQL_OutsValidationError) Key

Key function returns key value.

func (PromQL_OutsValidationError) Reason

Reason function returns reason value.

type PulseGenerator

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

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

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

func (in *PulseGenerator) DeepCopyInto(out *PulseGenerator)

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

func (*PulseGenerator) Descriptor deprecated

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

Deprecated: Use PulseGenerator.ProtoReflect.Descriptor instead.

func (*PulseGenerator) GetFalseFor

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

func (*PulseGenerator) GetOutPorts

func (x *PulseGenerator) GetOutPorts() *PulseGenerator_Outs

func (*PulseGenerator) GetTrueFor

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

func (*PulseGenerator) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PulseGenerator) ProtoMessage

func (*PulseGenerator) ProtoMessage()

func (*PulseGenerator) ProtoReflect

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

func (*PulseGenerator) Reset

func (x *PulseGenerator) Reset()

func (*PulseGenerator) String

func (x *PulseGenerator) String() string

func (*PulseGenerator) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PulseGenerator) Validate

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

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

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

func (m PulseGeneratorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PulseGeneratorMultiError) Error

func (m PulseGeneratorMultiError) Error() string

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

type PulseGeneratorValidationError

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

Cause function returns cause value.

func (PulseGeneratorValidationError) Error

Error satisfies the builtin error interface

func (PulseGeneratorValidationError) ErrorName

func (e PulseGeneratorValidationError) ErrorName() string

ErrorName returns error name.

func (PulseGeneratorValidationError) Field

Field function returns field value.

func (PulseGeneratorValidationError) Key

Key function returns key value.

func (PulseGeneratorValidationError) Reason

Reason function returns reason value.

type PulseGenerator_Outs

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

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

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

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

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

Deprecated: Use PulseGenerator_Outs.ProtoReflect.Descriptor instead.

func (*PulseGenerator_Outs) GetOutput

func (x *PulseGenerator_Outs) GetOutput() *OutPort

func (*PulseGenerator_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PulseGenerator_Outs) ProtoMessage

func (*PulseGenerator_Outs) ProtoMessage()

func (*PulseGenerator_Outs) ProtoReflect

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

func (*PulseGenerator_Outs) Reset

func (x *PulseGenerator_Outs) Reset()

func (*PulseGenerator_Outs) String

func (x *PulseGenerator_Outs) String() string

func (*PulseGenerator_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PulseGenerator_Outs) Validate

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

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

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

func (m PulseGenerator_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PulseGenerator_OutsMultiError) Error

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

type PulseGenerator_OutsValidationError

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

Cause function returns cause value.

func (PulseGenerator_OutsValidationError) Error

Error satisfies the builtin error interface

func (PulseGenerator_OutsValidationError) ErrorName

ErrorName returns error name.

func (PulseGenerator_OutsValidationError) Field

Field function returns field value.

func (PulseGenerator_OutsValidationError) Key

Key function returns key value.

func (PulseGenerator_OutsValidationError) Reason

Reason function returns reason value.

type Query

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

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

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

func (in *Query) DeepCopyInto(out *Query)

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

func (*Query) Descriptor deprecated

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

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) GetComponent

func (m *Query) GetComponent() isQuery_Component

func (*Query) GetPromql

func (x *Query) GetPromql() *PromQL

func (*Query) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) ProtoReflect

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

func (*Query) Reset

func (x *Query) Reset()

func (*Query) String

func (x *Query) String() string

func (*Query) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Query) Validate

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

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

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

func (m QueryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryMultiError) Error

func (m QueryMultiError) Error() string

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

type QueryValidationError

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

func (e QueryValidationError) Cause() error

Cause function returns cause value.

func (QueryValidationError) Error

func (e QueryValidationError) Error() string

Error satisfies the builtin error interface

func (QueryValidationError) ErrorName

func (e QueryValidationError) ErrorName() string

ErrorName returns error name.

func (QueryValidationError) Field

func (e QueryValidationError) Field() string

Field function returns field value.

func (QueryValidationError) Key

func (e QueryValidationError) Key() bool

Key function returns key value.

func (QueryValidationError) Reason

func (e QueryValidationError) Reason() string

Reason function returns reason value.

type Query_Promql

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 QuotaScheduler added in v2.2.0

type QuotaScheduler struct {
	InPorts     *RateLimiter_Ins        `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty" validate:"required"`             // @gotags: validate:"required"
	Selectors   []*Selector             `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required,gt=0,dive"`              // @gotags: validate:"required,gt=0,dive"
	RateLimiter *RateLimiter_Parameters `protobuf:"bytes,3,opt,name=rate_limiter,json=rateLimiter,proto3" json:"rate_limiter,omitempty" validate:"required"` // @gotags: validate:"required"
	Scheduler   *Scheduler              `protobuf:"bytes,4,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
	// contains filtered or unexported fields
}

Schedules the traffic based on token-bucket based quotas.

func (*QuotaScheduler) DeepCopy added in v2.2.0

func (in *QuotaScheduler) DeepCopy() *QuotaScheduler

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

func (*QuotaScheduler) DeepCopyInterface added in v2.2.0

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

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

func (*QuotaScheduler) DeepCopyInto added in v2.2.0

func (in *QuotaScheduler) DeepCopyInto(out *QuotaScheduler)

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

func (*QuotaScheduler) Descriptor deprecated added in v2.2.0

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

Deprecated: Use QuotaScheduler.ProtoReflect.Descriptor instead.

func (*QuotaScheduler) GetInPorts added in v2.2.0

func (x *QuotaScheduler) GetInPorts() *RateLimiter_Ins

func (*QuotaScheduler) GetRateLimiter added in v2.2.0

func (x *QuotaScheduler) GetRateLimiter() *RateLimiter_Parameters

func (*QuotaScheduler) GetScheduler added in v2.2.0

func (x *QuotaScheduler) GetScheduler() *Scheduler

func (*QuotaScheduler) GetSelectors added in v2.2.0

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

func (*QuotaScheduler) MarshalJSON added in v2.2.0

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

MarshalJSON implements json.Marshaler

func (*QuotaScheduler) ProtoMessage added in v2.2.0

func (*QuotaScheduler) ProtoMessage()

func (*QuotaScheduler) ProtoReflect added in v2.2.0

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

func (*QuotaScheduler) Reset added in v2.2.0

func (x *QuotaScheduler) Reset()

func (*QuotaScheduler) String added in v2.2.0

func (x *QuotaScheduler) String() string

func (*QuotaScheduler) UnmarshalJSON added in v2.2.0

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

UnmarshalJSON implements json.Unmarshaler

func (*QuotaScheduler) Validate added in v2.2.0

func (m *QuotaScheduler) Validate() error

Validate checks the field values on QuotaScheduler 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 (*QuotaScheduler) ValidateAll added in v2.2.0

func (m *QuotaScheduler) ValidateAll() error

ValidateAll checks the field values on QuotaScheduler 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 QuotaSchedulerMultiError, or nil if none found.

type QuotaSchedulerMultiError added in v2.2.0

type QuotaSchedulerMultiError []error

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

func (QuotaSchedulerMultiError) AllErrors added in v2.2.0

func (m QuotaSchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QuotaSchedulerMultiError) Error added in v2.2.0

func (m QuotaSchedulerMultiError) Error() string

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

type QuotaSchedulerValidationError added in v2.2.0

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

QuotaSchedulerValidationError is the validation error returned by QuotaScheduler.Validate if the designated constraints aren't met.

func (QuotaSchedulerValidationError) Cause added in v2.2.0

Cause function returns cause value.

func (QuotaSchedulerValidationError) Error added in v2.2.0

Error satisfies the builtin error interface

func (QuotaSchedulerValidationError) ErrorName added in v2.2.0

func (e QuotaSchedulerValidationError) ErrorName() string

ErrorName returns error name.

func (QuotaSchedulerValidationError) Field added in v2.2.0

Field function returns field value.

func (QuotaSchedulerValidationError) Key added in v2.2.0

Key function returns key value.

func (QuotaSchedulerValidationError) Reason added in v2.2.0

Reason function returns reason value.

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"
	// Parameters for the RateLimiter component
	Parameters *RateLimiter_Parameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// Selectors for the component.
	Selectors []*Selector `protobuf:"bytes,3,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required,gt=0,dive"` // @gotags: validate:"required,gt=0,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 (`label_key`) basis and it uses the _Token Bucket Algorithm_.

func (*RateLimiter) DeepCopy

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

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

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) GetInPorts

func (x *RateLimiter) GetInPorts() *RateLimiter_Ins

func (*RateLimiter) GetParameters

func (x *RateLimiter) GetParameters() *RateLimiter_Parameters

func (*RateLimiter) GetSelectors

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

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

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

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

func (m RateLimiterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RateLimiterMultiError) Error

func (m RateLimiterMultiError) Error() string

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

type RateLimiterValidationError

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

Cause function returns cause value.

func (RateLimiterValidationError) Error

Error satisfies the builtin error interface

func (RateLimiterValidationError) ErrorName

func (e RateLimiterValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimiterValidationError) Field

Field function returns field value.

func (RateLimiterValidationError) Key

Key function returns key value.

func (RateLimiterValidationError) Reason

Reason function returns reason value.

type RateLimiter_Ins

type RateLimiter_Ins struct {

	// Capacity of the bucket.
	BucketCapacity *InPort `protobuf:"bytes,1,opt,name=bucket_capacity,json=bucketCapacity,proto3" json:"bucket_capacity,omitempty" validate:"required"` // @gotags: validate:"required"
	// Number of tokens to fill within an `interval`.
	FillAmount *InPort `protobuf:"bytes,2,opt,name=fill_amount,json=fillAmount,proto3" json:"fill_amount,omitempty" validate:"required"` // @gotags: validate:"required"
	// PassThrough port determines whether all requests
	PassThrough *InPort `protobuf:"bytes,3,opt,name=pass_through,json=passThrough,proto3" json:"pass_through,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the RateLimiter component

func (*RateLimiter_Ins) DeepCopy

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

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

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) GetBucketCapacity added in v2.2.0

func (x *RateLimiter_Ins) GetBucketCapacity() *InPort

func (*RateLimiter_Ins) GetFillAmount added in v2.2.0

func (x *RateLimiter_Ins) GetFillAmount() *InPort

func (*RateLimiter_Ins) GetPassThrough added in v2.2.0

func (x *RateLimiter_Ins) GetPassThrough() *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

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

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

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

func (m RateLimiter_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RateLimiter_InsMultiError) Error

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

type RateLimiter_InsValidationError

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

Cause function returns cause value.

func (RateLimiter_InsValidationError) Error

Error satisfies the builtin error interface

func (RateLimiter_InsValidationError) ErrorName

func (e RateLimiter_InsValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimiter_InsValidationError) Field

Field function returns field value.

func (RateLimiter_InsValidationError) Key

Key function returns key value.

func (RateLimiter_InsValidationError) Reason

Reason function returns reason value.

type RateLimiter_Parameters

type RateLimiter_Parameters struct {

	// 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"`.
	// If no label key is specified, then all requests matching the
	// selectors will be rate limited based on the global bucket.
	LabelKey string `protobuf:"bytes,1,opt,name=label_key,json=labelKey,proto3" json:"label_key,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,2,opt,name=tokens_label_key,json=tokensLabelKey,proto3" json:"tokens_label_key,omitempty" default:"tokens"` // @gotags: default:"tokens"
	// Interval defines the time interval in which the token bucket
	// will fill tokens specified by `fill_amount` signal.
	Interval *durationpb.Duration `protobuf:"bytes,3,opt,name=interval,proto3" json:"interval,omitempty" validate:"required"` // @gotags: validate:"required"
	// Continuous fill determines whether the token bucket should be filled
	// continuously or only on discrete intervals.
	ContinuousFill bool `protobuf:"varint,4,opt,name=continuous_fill,json=continuousFill,proto3" json:"continuous_fill,omitempty" default:"true"` // @gotags: default:"true"
	// Max idle time before token bucket state for a label is removed.
	// If set to 0, the state is never removed.
	MaxIdleTime *durationpb.Duration `protobuf:"bytes,5,opt,name=max_idle_time,json=maxIdleTime,proto3" json:"max_idle_time,omitempty" default:"7200s"` // @gotags: default:"7200s"
	// Configuration of lazy-syncing behavior of rate limiter
	LazySync *RateLimiter_Parameters_LazySync `protobuf:"bytes,6,opt,name=lazy_sync,json=lazySync,proto3" json:"lazy_sync,omitempty"`
	// contains filtered or unexported fields
}

func (*RateLimiter_Parameters) DeepCopy

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

func (*RateLimiter_Parameters) DeepCopyInterface

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

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

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

Deprecated: Use RateLimiter_Parameters.ProtoReflect.Descriptor instead.

func (*RateLimiter_Parameters) GetContinuousFill added in v2.2.0

func (x *RateLimiter_Parameters) GetContinuousFill() bool

func (*RateLimiter_Parameters) GetInterval added in v2.2.0

func (x *RateLimiter_Parameters) GetInterval() *durationpb.Duration

func (*RateLimiter_Parameters) GetLabelKey

func (x *RateLimiter_Parameters) GetLabelKey() string

func (*RateLimiter_Parameters) GetLazySync

func (*RateLimiter_Parameters) GetMaxIdleTime added in v2.2.0

func (x *RateLimiter_Parameters) GetMaxIdleTime() *durationpb.Duration

func (*RateLimiter_Parameters) GetTokensLabelKey

func (x *RateLimiter_Parameters) GetTokensLabelKey() string

func (*RateLimiter_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RateLimiter_Parameters) ProtoMessage

func (*RateLimiter_Parameters) ProtoMessage()

func (*RateLimiter_Parameters) ProtoReflect

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

func (*RateLimiter_Parameters) Reset

func (x *RateLimiter_Parameters) Reset()

func (*RateLimiter_Parameters) String

func (x *RateLimiter_Parameters) String() string

func (*RateLimiter_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*RateLimiter_Parameters) Validate

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

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

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

func (m RateLimiter_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RateLimiter_ParametersMultiError) Error

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

type RateLimiter_ParametersValidationError

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

Cause function returns cause value.

func (RateLimiter_ParametersValidationError) Error

Error satisfies the builtin error interface

func (RateLimiter_ParametersValidationError) ErrorName

ErrorName returns error name.

func (RateLimiter_ParametersValidationError) Field

Field function returns field value.

func (RateLimiter_ParametersValidationError) Key

Key function returns key value.

func (RateLimiter_ParametersValidationError) Reason

Reason function returns reason value.

type RateLimiter_Parameters_LazySync

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 `interval`.
	NumSync uint32 `protobuf:"varint,2,opt,name=num_sync,json=numSync,proto3" json:"num_sync,omitempty" default:"4" validate:"gt=0"` // @gotags: default:"4" validate:"gt=0"
	// contains filtered or unexported fields
}

func (*RateLimiter_Parameters_LazySync) DeepCopy

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

func (*RateLimiter_Parameters_LazySync) DeepCopyInterface

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

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

func (*RateLimiter_Parameters_LazySync) Descriptor deprecated

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

Deprecated: Use RateLimiter_Parameters_LazySync.ProtoReflect.Descriptor instead.

func (*RateLimiter_Parameters_LazySync) GetEnabled

func (x *RateLimiter_Parameters_LazySync) GetEnabled() bool

func (*RateLimiter_Parameters_LazySync) GetNumSync

func (x *RateLimiter_Parameters_LazySync) GetNumSync() uint32

func (*RateLimiter_Parameters_LazySync) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RateLimiter_Parameters_LazySync) ProtoMessage

func (*RateLimiter_Parameters_LazySync) ProtoMessage()

func (*RateLimiter_Parameters_LazySync) ProtoReflect

func (*RateLimiter_Parameters_LazySync) Reset

func (*RateLimiter_Parameters_LazySync) String

func (*RateLimiter_Parameters_LazySync) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*RateLimiter_Parameters_LazySync) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (RateLimiter_Parameters_LazySyncMultiError) Error

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

type RateLimiter_Parameters_LazySyncValidationError

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

Cause function returns cause value.

func (RateLimiter_Parameters_LazySyncValidationError) Error

Error satisfies the builtin error interface

func (RateLimiter_Parameters_LazySyncValidationError) ErrorName

ErrorName returns error name.

func (RateLimiter_Parameters_LazySyncValidationError) Field

Field function returns field value.

func (RateLimiter_Parameters_LazySyncValidationError) Key

Key function returns key value.

func (RateLimiter_Parameters_LazySyncValidationError) Reason

Reason function returns reason value.

type Rego

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

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

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

func (in *Rego) DeepCopyInto(out *Rego)

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

func (*Rego) Descriptor deprecated

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

Deprecated: Use Rego.ProtoReflect.Descriptor instead.

func (*Rego) GetLabels

func (x *Rego) GetLabels() map[string]*Rego_LabelProperties

func (*Rego) GetModule

func (x *Rego) GetModule() string

func (*Rego) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Rego) ProtoMessage

func (*Rego) ProtoMessage()

func (*Rego) ProtoReflect

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

func (*Rego) Reset

func (x *Rego) Reset()

func (*Rego) String

func (x *Rego) String() string

func (*Rego) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Rego) Validate

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

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

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

func (m RegoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegoMultiError) Error

func (m RegoMultiError) Error() string

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

type RegoValidationError

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

func (e RegoValidationError) Cause() error

Cause function returns cause value.

func (RegoValidationError) Error

func (e RegoValidationError) Error() string

Error satisfies the builtin error interface

func (RegoValidationError) ErrorName

func (e RegoValidationError) ErrorName() string

ErrorName returns error name.

func (RegoValidationError) Field

func (e RegoValidationError) Field() string

Field function returns field value.

func (RegoValidationError) Key

func (e RegoValidationError) Key() bool

Key function returns key value.

func (RegoValidationError) Reason

func (e RegoValidationError) Reason() string

Reason function returns reason value.

type Rego_LabelProperties

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

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

func (*Rego_LabelProperties) DeepCopyInterface

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

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

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

Deprecated: Use Rego_LabelProperties.ProtoReflect.Descriptor instead.

func (*Rego_LabelProperties) GetTelemetry

func (x *Rego_LabelProperties) GetTelemetry() bool

func (*Rego_LabelProperties) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Rego_LabelProperties) ProtoMessage

func (*Rego_LabelProperties) ProtoMessage()

func (*Rego_LabelProperties) ProtoReflect

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

func (*Rego_LabelProperties) Reset

func (x *Rego_LabelProperties) Reset()

func (*Rego_LabelProperties) String

func (x *Rego_LabelProperties) String() string

func (*Rego_LabelProperties) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Rego_LabelProperties) Validate

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

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

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

func (m Rego_LabelPropertiesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Rego_LabelPropertiesMultiError) Error

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

type Rego_LabelPropertiesValidationError

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

Cause function returns cause value.

func (Rego_LabelPropertiesValidationError) Error

Error satisfies the builtin error interface

func (Rego_LabelPropertiesValidationError) ErrorName

ErrorName returns error name.

func (Rego_LabelPropertiesValidationError) Field

Field function returns field value.

func (Rego_LabelPropertiesValidationError) Key

Key function returns key value.

func (Rego_LabelPropertiesValidationError) Reason

Reason function returns reason value.

type Regulator

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"`
	// Specify certain label values to be always accepted by this _Regulator_ regardless of accept percentage.
	PassThroughLabelValues []string `` /* 131-byte string literal not displayed */
	// Configuration key for setting pass through label values through dynamic configuration.
	PassThroughLabelValuesConfigKey string `` /* 162-byte string literal not displayed */
	// 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

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

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

func (in *Regulator) DeepCopyInto(out *Regulator)

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

func (*Regulator) Descriptor deprecated

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

Deprecated: Use Regulator.ProtoReflect.Descriptor instead.

func (*Regulator) GetInPorts

func (x *Regulator) GetInPorts() *Regulator_Ins

func (*Regulator) GetParameters

func (x *Regulator) GetParameters() *Regulator_Parameters

func (*Regulator) GetPassThroughLabelValues added in v2.2.0

func (x *Regulator) GetPassThroughLabelValues() []string

func (*Regulator) GetPassThroughLabelValuesConfigKey added in v2.2.0

func (x *Regulator) GetPassThroughLabelValuesConfigKey() string

func (*Regulator) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Regulator) ProtoMessage

func (*Regulator) ProtoMessage()

func (*Regulator) ProtoReflect

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

func (*Regulator) Reset

func (x *Regulator) Reset()

func (*Regulator) String

func (x *Regulator) String() string

func (*Regulator) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Regulator) Validate

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

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

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

func (m RegulatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegulatorMultiError) Error

func (m RegulatorMultiError) Error() string

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

type RegulatorValidationError

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

func (e RegulatorValidationError) Cause() error

Cause function returns cause value.

func (RegulatorValidationError) Error

func (e RegulatorValidationError) Error() string

Error satisfies the builtin error interface

func (RegulatorValidationError) ErrorName

func (e RegulatorValidationError) ErrorName() string

ErrorName returns error name.

func (RegulatorValidationError) Field

func (e RegulatorValidationError) Field() string

Field function returns field value.

func (RegulatorValidationError) Key

Key function returns key value.

func (RegulatorValidationError) Reason

func (e RegulatorValidationError) Reason() string

Reason function returns reason value.

type Regulator_Ins

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

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

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

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

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

Deprecated: Use Regulator_Ins.ProtoReflect.Descriptor instead.

func (*Regulator_Ins) GetAcceptPercentage

func (x *Regulator_Ins) GetAcceptPercentage() *InPort

func (*Regulator_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Regulator_Ins) ProtoMessage

func (*Regulator_Ins) ProtoMessage()

func (*Regulator_Ins) ProtoReflect

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

func (*Regulator_Ins) Reset

func (x *Regulator_Ins) Reset()

func (*Regulator_Ins) String

func (x *Regulator_Ins) String() string

func (*Regulator_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Regulator_Ins) Validate

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

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

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

func (m Regulator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Regulator_InsMultiError) Error

func (m Regulator_InsMultiError) Error() string

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

type Regulator_InsValidationError

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

Cause function returns cause value.

func (Regulator_InsValidationError) Error

Error satisfies the builtin error interface

func (Regulator_InsValidationError) ErrorName

func (e Regulator_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Regulator_InsValidationError) Field

Field function returns field value.

func (Regulator_InsValidationError) Key

Key function returns key value.

func (Regulator_InsValidationError) Reason

Reason function returns reason value.

type Regulator_Parameters

type Regulator_Parameters struct {

	// 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,gt=0,dive"` // @gotags: validate:"required,gt=0,dive"
	// contains filtered or unexported fields
}

func (*Regulator_Parameters) DeepCopy

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

func (*Regulator_Parameters) DeepCopyInterface

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

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

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

Deprecated: Use Regulator_Parameters.ProtoReflect.Descriptor instead.

func (*Regulator_Parameters) GetLabelKey

func (x *Regulator_Parameters) GetLabelKey() string

func (*Regulator_Parameters) GetSelectors

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

func (*Regulator_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Regulator_Parameters) ProtoMessage

func (*Regulator_Parameters) ProtoMessage()

func (*Regulator_Parameters) ProtoReflect

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

func (*Regulator_Parameters) Reset

func (x *Regulator_Parameters) Reset()

func (*Regulator_Parameters) String

func (x *Regulator_Parameters) String() string

func (*Regulator_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Regulator_Parameters) Validate

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

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

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

func (m Regulator_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Regulator_ParametersMultiError) Error

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

type Regulator_ParametersValidationError

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

Cause function returns cause value.

func (Regulator_ParametersValidationError) Error

Error satisfies the builtin error interface

func (Regulator_ParametersValidationError) ErrorName

ErrorName returns error name.

func (Regulator_ParametersValidationError) Field

Field function returns field value.

func (Regulator_ParametersValidationError) Key

Key function returns key value.

func (Regulator_ParametersValidationError) Reason

Reason function returns reason value.

type Resources

type Resources struct {

	// TelemetryCollector configures OpenTelemetry collector integration.
	TelemetryCollectors []*TelemetryCollector `protobuf:"bytes,1,rep,name=telemetry_collectors,json=telemetryCollectors,proto3" json:"telemetry_collectors,omitempty"`
	// 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

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

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

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

func (x *Resources) GetFlowControl() *FlowControlResources

func (*Resources) GetTelemetryCollectors

func (x *Resources) GetTelemetryCollectors() []*TelemetryCollector

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

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

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

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

func (m ResourcesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResourcesMultiError) Error

func (m ResourcesMultiError) Error() string

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

type ResourcesValidationError

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

func (e ResourcesValidationError) Cause() error

Cause function returns cause value.

func (ResourcesValidationError) Error

func (e ResourcesValidationError) Error() string

Error satisfies the builtin error interface

func (ResourcesValidationError) ErrorName

func (e ResourcesValidationError) ErrorName() string

ErrorName returns error name.

func (ResourcesValidationError) Field

func (e ResourcesValidationError) Field() string

Field function returns field value.

func (ResourcesValidationError) Key

Key function returns key value.

func (ResourcesValidationError) Reason

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

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

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

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

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

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

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

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

func (m RuleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RuleMultiError) Error

func (m RuleMultiError) Error() string

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

type RuleValidationError

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

func (e RuleValidationError) Cause() error

Cause function returns cause value.

func (RuleValidationError) Error

func (e RuleValidationError) Error() string

Error satisfies the builtin error interface

func (RuleValidationError) ErrorName

func (e RuleValidationError) ErrorName() string

ErrorName returns error name.

func (RuleValidationError) Field

func (e RuleValidationError) Field() string

Field function returns field value.

func (RuleValidationError) Key

func (e RuleValidationError) Key() bool

Key function returns key value.

func (RuleValidationError) Reason

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

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

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

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

func (in *SMA) DeepCopyInto(out *SMA)

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

func (*SMA) Descriptor deprecated

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

Deprecated: Use SMA.ProtoReflect.Descriptor instead.

func (*SMA) GetInPorts

func (x *SMA) GetInPorts() *SMA_Ins

func (*SMA) GetOutPorts

func (x *SMA) GetOutPorts() *SMA_Outs

func (*SMA) GetParameters

func (x *SMA) GetParameters() *SMA_Parameters

func (*SMA) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*SMA) ProtoMessage

func (*SMA) ProtoMessage()

func (*SMA) ProtoReflect

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

func (*SMA) Reset

func (x *SMA) Reset()

func (*SMA) String

func (x *SMA) String() string

func (*SMA) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*SMA) Validate

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

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

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

func (m SMAMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SMAMultiError) Error

func (m SMAMultiError) Error() string

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

type SMAValidationError

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

func (e SMAValidationError) Cause() error

Cause function returns cause value.

func (SMAValidationError) Error

func (e SMAValidationError) Error() string

Error satisfies the builtin error interface

func (SMAValidationError) ErrorName

func (e SMAValidationError) ErrorName() string

ErrorName returns error name.

func (SMAValidationError) Field

func (e SMAValidationError) Field() string

Field function returns field value.

func (SMAValidationError) Key

func (e SMAValidationError) Key() bool

Key function returns key value.

func (SMAValidationError) Reason

func (e SMAValidationError) Reason() string

Reason function returns reason value.

type SMA_Ins

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

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

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

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

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

Deprecated: Use SMA_Ins.ProtoReflect.Descriptor instead.

func (*SMA_Ins) GetInput

func (x *SMA_Ins) GetInput() *InPort

func (*SMA_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*SMA_Ins) ProtoMessage

func (*SMA_Ins) ProtoMessage()

func (*SMA_Ins) ProtoReflect

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

func (*SMA_Ins) Reset

func (x *SMA_Ins) Reset()

func (*SMA_Ins) String

func (x *SMA_Ins) String() string

func (*SMA_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*SMA_Ins) Validate

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

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

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

func (m SMA_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SMA_InsMultiError) Error

func (m SMA_InsMultiError) Error() string

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

type SMA_InsValidationError

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

func (e SMA_InsValidationError) Cause() error

Cause function returns cause value.

func (SMA_InsValidationError) Error

func (e SMA_InsValidationError) Error() string

Error satisfies the builtin error interface

func (SMA_InsValidationError) ErrorName

func (e SMA_InsValidationError) ErrorName() string

ErrorName returns error name.

func (SMA_InsValidationError) Field

func (e SMA_InsValidationError) Field() string

Field function returns field value.

func (SMA_InsValidationError) Key

func (e SMA_InsValidationError) Key() bool

Key function returns key value.

func (SMA_InsValidationError) Reason

func (e SMA_InsValidationError) Reason() string

Reason function returns reason value.

type SMA_Outs

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

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

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

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

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

Deprecated: Use SMA_Outs.ProtoReflect.Descriptor instead.

func (*SMA_Outs) GetOutput

func (x *SMA_Outs) GetOutput() *OutPort

func (*SMA_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*SMA_Outs) ProtoMessage

func (*SMA_Outs) ProtoMessage()

func (*SMA_Outs) ProtoReflect

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

func (*SMA_Outs) Reset

func (x *SMA_Outs) Reset()

func (*SMA_Outs) String

func (x *SMA_Outs) String() string

func (*SMA_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*SMA_Outs) Validate

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

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

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

func (m SMA_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SMA_OutsMultiError) Error

func (m SMA_OutsMultiError) Error() string

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

type SMA_OutsValidationError

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

func (e SMA_OutsValidationError) Cause() error

Cause function returns cause value.

func (SMA_OutsValidationError) Error

func (e SMA_OutsValidationError) Error() string

Error satisfies the builtin error interface

func (SMA_OutsValidationError) ErrorName

func (e SMA_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (SMA_OutsValidationError) Field

func (e SMA_OutsValidationError) Field() string

Field function returns field value.

func (SMA_OutsValidationError) Key

func (e SMA_OutsValidationError) Key() bool

Key function returns key value.

func (SMA_OutsValidationError) Reason

func (e SMA_OutsValidationError) Reason() string

Reason function returns reason value.

type SMA_Parameters

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

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

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

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

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

Deprecated: Use SMA_Parameters.ProtoReflect.Descriptor instead.

func (*SMA_Parameters) GetSmaWindow

func (x *SMA_Parameters) GetSmaWindow() *durationpb.Duration

func (*SMA_Parameters) GetValidDuringWarmup

func (x *SMA_Parameters) GetValidDuringWarmup() bool

func (*SMA_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*SMA_Parameters) ProtoMessage

func (*SMA_Parameters) ProtoMessage()

func (*SMA_Parameters) ProtoReflect

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

func (*SMA_Parameters) Reset

func (x *SMA_Parameters) Reset()

func (*SMA_Parameters) String

func (x *SMA_Parameters) String() string

func (*SMA_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*SMA_Parameters) Validate

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

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

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

func (m SMA_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SMA_ParametersMultiError) Error

func (m SMA_ParametersMultiError) Error() string

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

type SMA_ParametersValidationError

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

Cause function returns cause value.

func (SMA_ParametersValidationError) Error

Error satisfies the builtin error interface

func (SMA_ParametersValidationError) ErrorName

func (e SMA_ParametersValidationError) ErrorName() string

ErrorName returns error name.

func (SMA_ParametersValidationError) Field

Field function returns field value.

func (SMA_ParametersValidationError) Key

Key function returns key value.

func (SMA_ParametersValidationError) Reason

Reason function returns reason value.

type ScaleInController

type ScaleInController struct {

	// Controller
	Controller *ScaleInController_Controller `protobuf:"bytes,1,opt,name=controller,proto3" json:"controller,omitempty" validate:"required"` // @gotags: validate:"required"
	// Configuration for embedded Alerter.
	Alerter *Alerter_Parameters `protobuf:"bytes,2,opt,name=alerter,proto3" json:"alerter,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

func (*ScaleInController) DeepCopy

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

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

func (in *ScaleInController) DeepCopyInto(out *ScaleInController)

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

func (*ScaleInController) Descriptor deprecated

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

Deprecated: Use ScaleInController.ProtoReflect.Descriptor instead.

func (*ScaleInController) GetAlerter

func (x *ScaleInController) GetAlerter() *Alerter_Parameters

func (*ScaleInController) GetController

func (x *ScaleInController) GetController() *ScaleInController_Controller

func (*ScaleInController) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ScaleInController) ProtoMessage

func (*ScaleInController) ProtoMessage()

func (*ScaleInController) ProtoReflect

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

func (*ScaleInController) Reset

func (x *ScaleInController) Reset()

func (*ScaleInController) String

func (x *ScaleInController) String() string

func (*ScaleInController) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ScaleInController) Validate

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

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

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

func (m ScaleInControllerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ScaleInControllerMultiError) Error

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

type ScaleInControllerValidationError

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

Cause function returns cause value.

func (ScaleInControllerValidationError) Error

Error satisfies the builtin error interface

func (ScaleInControllerValidationError) ErrorName

ErrorName returns error name.

func (ScaleInControllerValidationError) Field

Field function returns field value.

func (ScaleInControllerValidationError) Key

Key function returns key value.

func (ScaleInControllerValidationError) Reason

Reason function returns reason value.

type ScaleInController_Controller

type ScaleInController_Controller struct {

	// Types that are assignable to Controller:
	//
	//	*ScaleInController_Controller_Gradient
	//	*ScaleInController_Controller_Periodic
	Controller isScaleInController_Controller_Controller `protobuf_oneof:"controller"`
	// contains filtered or unexported fields
}

func (*ScaleInController_Controller) DeepCopy

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

func (*ScaleInController_Controller) DeepCopyInterface

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

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

func (*ScaleInController_Controller) Descriptor deprecated

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

Deprecated: Use ScaleInController_Controller.ProtoReflect.Descriptor instead.

func (*ScaleInController_Controller) GetController

func (m *ScaleInController_Controller) GetController() isScaleInController_Controller_Controller

func (*ScaleInController_Controller) GetGradient

func (*ScaleInController_Controller) GetPeriodic

func (*ScaleInController_Controller) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ScaleInController_Controller) ProtoMessage

func (*ScaleInController_Controller) ProtoMessage()

func (*ScaleInController_Controller) ProtoReflect

func (*ScaleInController_Controller) Reset

func (x *ScaleInController_Controller) Reset()

func (*ScaleInController_Controller) String

func (*ScaleInController_Controller) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ScaleInController_Controller) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (ScaleInController_ControllerMultiError) Error

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

type ScaleInController_ControllerValidationError

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

Cause function returns cause value.

func (ScaleInController_ControllerValidationError) Error

Error satisfies the builtin error interface

func (ScaleInController_ControllerValidationError) ErrorName

ErrorName returns error name.

func (ScaleInController_ControllerValidationError) Field

Field function returns field value.

func (ScaleInController_ControllerValidationError) Key

Key function returns key value.

func (ScaleInController_ControllerValidationError) Reason

Reason function returns reason value.

type ScaleInController_Controller_Gradient

type ScaleInController_Controller_Gradient struct {
	Gradient *DecreasingGradient `protobuf:"bytes,1,opt,name=gradient,proto3,oneof"`
}

type ScaleInController_Controller_Periodic

type ScaleInController_Controller_Periodic struct {
	Periodic *PeriodicDecrease `protobuf:"bytes,2,opt,name=periodic,proto3,oneof"`
}

type ScaleOutController

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.
	Alerter *Alerter_Parameters `protobuf:"bytes,2,opt,name=alerter,proto3" json:"alerter,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

func (*ScaleOutController) DeepCopy

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

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

func (in *ScaleOutController) DeepCopyInto(out *ScaleOutController)

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

func (*ScaleOutController) Descriptor deprecated

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

Deprecated: Use ScaleOutController.ProtoReflect.Descriptor instead.

func (*ScaleOutController) GetAlerter

func (x *ScaleOutController) GetAlerter() *Alerter_Parameters

func (*ScaleOutController) GetController

func (*ScaleOutController) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ScaleOutController) ProtoMessage

func (*ScaleOutController) ProtoMessage()

func (*ScaleOutController) ProtoReflect

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

func (*ScaleOutController) Reset

func (x *ScaleOutController) Reset()

func (*ScaleOutController) String

func (x *ScaleOutController) String() string

func (*ScaleOutController) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ScaleOutController) Validate

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

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

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

func (m ScaleOutControllerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ScaleOutControllerMultiError) Error

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

type ScaleOutControllerValidationError

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

Cause function returns cause value.

func (ScaleOutControllerValidationError) Error

Error satisfies the builtin error interface

func (ScaleOutControllerValidationError) ErrorName

ErrorName returns error name.

func (ScaleOutControllerValidationError) Field

Field function returns field value.

func (ScaleOutControllerValidationError) Key

Key function returns key value.

func (ScaleOutControllerValidationError) Reason

Reason function returns reason value.

type ScaleOutController_Controller

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

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

func (*ScaleOutController_Controller) DeepCopyInterface

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

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

func (*ScaleOutController_Controller) Descriptor deprecated

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

Deprecated: Use ScaleOutController_Controller.ProtoReflect.Descriptor instead.

func (*ScaleOutController_Controller) GetController

func (m *ScaleOutController_Controller) GetController() isScaleOutController_Controller_Controller

func (*ScaleOutController_Controller) GetGradient

func (*ScaleOutController_Controller) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ScaleOutController_Controller) ProtoMessage

func (*ScaleOutController_Controller) ProtoMessage()

func (*ScaleOutController_Controller) ProtoReflect

func (*ScaleOutController_Controller) Reset

func (x *ScaleOutController_Controller) Reset()

func (*ScaleOutController_Controller) String

func (*ScaleOutController_Controller) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ScaleOutController_Controller) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (ScaleOutController_ControllerMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ScaleOutController_ControllerValidationError

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

Cause function returns cause value.

func (ScaleOutController_ControllerValidationError) Error

Error satisfies the builtin error interface

func (ScaleOutController_ControllerValidationError) ErrorName

ErrorName returns error name.

func (ScaleOutController_ControllerValidationError) Field

Field function returns field value.

func (ScaleOutController_ControllerValidationError) Key

Key function returns key value.

func (ScaleOutController_ControllerValidationError) Reason

Reason function returns reason value.

type ScaleOutController_Controller_Gradient

type ScaleOutController_Controller_Gradient struct {
	Gradient *IncreasingGradient `protobuf:"bytes,1,opt,name=gradient,proto3,oneof"`
}

type Scheduler

type Scheduler struct {

	// List of workloads to be used in scheduler.
	//
	// Categorizing [flows](/concepts/flow-control/flow-control.md#flow) into workloads
	// allows for load throttling to be "intelligent" instead of queueing flows in an arbitrary order.
	// 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 */
	// 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
}

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

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

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

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) GetDecisionDeadlineMargin

func (x *Scheduler) GetDecisionDeadlineMargin() *durationpb.Duration

func (*Scheduler) GetDefaultWorkloadParameters

func (x *Scheduler) GetDefaultWorkloadParameters() *Scheduler_Workload_Parameters

func (*Scheduler) GetTokensLabelKey

func (x *Scheduler) GetTokensLabelKey() string

func (*Scheduler) GetWorkloads

func (x *Scheduler) GetWorkloads() []*Scheduler_Workload

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

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

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

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

func (m SchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SchedulerMultiError) Error

func (m SchedulerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SchedulerValidationError

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

func (e SchedulerValidationError) Cause() error

Cause function returns cause value.

func (SchedulerValidationError) Error

func (e SchedulerValidationError) Error() string

Error satisfies the builtin error interface

func (SchedulerValidationError) ErrorName

func (e SchedulerValidationError) ErrorName() string

ErrorName returns error name.

func (SchedulerValidationError) Field

func (e SchedulerValidationError) Field() string

Field function returns field value.

func (SchedulerValidationError) Key

Key function returns key value.

func (SchedulerValidationError) Reason

func (e SchedulerValidationError) Reason() string

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"`
	// 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"
	// Name of the workload.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// 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

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

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

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

func (x *Scheduler_Workload) GetLabelMatcher() *LabelMatcher

func (*Scheduler_Workload) GetName added in v2.3.0

func (x *Scheduler_Workload) GetName() string

func (*Scheduler_Workload) GetParameters

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

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

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

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

func (m Scheduler_WorkloadMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Scheduler_WorkloadMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type Scheduler_WorkloadValidationError

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

Cause function returns cause value.

func (Scheduler_WorkloadValidationError) Error

Error satisfies the builtin error interface

func (Scheduler_WorkloadValidationError) ErrorName

ErrorName returns error name.

func (Scheduler_WorkloadValidationError) Field

Field function returns field value.

func (Scheduler_WorkloadValidationError) Key

Key function returns key value.

func (Scheduler_WorkloadValidationError) Reason

Reason function returns reason value.

type Scheduler_Workload_Parameters

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduler_Workload_Parameters. Required by controller-gen.

func (*Scheduler_Workload_Parameters) DeepCopyInterface

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

DeepCopyInto supports using Scheduler_Workload_Parameters within kubernetes types, where deepcopy-gen is used.

func (*Scheduler_Workload_Parameters) Descriptor deprecated

func (*Scheduler_Workload_Parameters) Descriptor() ([]byte, []int)

Deprecated: Use Scheduler_Workload_Parameters.ProtoReflect.Descriptor instead.

func (*Scheduler_Workload_Parameters) GetFairnessKey

func (x *Scheduler_Workload_Parameters) GetFairnessKey() string

func (*Scheduler_Workload_Parameters) GetPriority

func (x *Scheduler_Workload_Parameters) GetPriority() uint32

func (*Scheduler_Workload_Parameters) GetTokens

func (x *Scheduler_Workload_Parameters) GetTokens() uint64

func (*Scheduler_Workload_Parameters) MarshalJSON

func (msg *Scheduler_Workload_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Scheduler_Workload_Parameters) ProtoMessage

func (*Scheduler_Workload_Parameters) ProtoMessage()

func (*Scheduler_Workload_Parameters) ProtoReflect

func (*Scheduler_Workload_Parameters) Reset

func (x *Scheduler_Workload_Parameters) Reset()

func (*Scheduler_Workload_Parameters) String

func (*Scheduler_Workload_Parameters) UnmarshalJSON

func (msg *Scheduler_Workload_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Scheduler_Workload_Parameters) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (Scheduler_Workload_ParametersMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type Scheduler_Workload_ParametersValidationError

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

Cause function returns cause value.

func (Scheduler_Workload_ParametersValidationError) Error

Error satisfies the builtin error interface

func (Scheduler_Workload_ParametersValidationError) ErrorName

ErrorName returns error name.

func (Scheduler_Workload_ParametersValidationError) Field

Field function returns field value.

func (Scheduler_Workload_ParametersValidationError) Key

Key function returns key value.

func (Scheduler_Workload_ParametersValidationError) Reason

Reason function returns reason value.

type Selector

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

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

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

func (in *Selector) DeepCopyInto(out *Selector)

DeepCopyInto supports using Selector within kubernetes types, where deepcopy-gen is used.

func (*Selector) Descriptor deprecated

func (*Selector) Descriptor() ([]byte, []int)

Deprecated: Use Selector.ProtoReflect.Descriptor instead.

func (*Selector) GetAgentGroup

func (x *Selector) GetAgentGroup() string

func (*Selector) GetControlPoint

func (x *Selector) GetControlPoint() string

func (*Selector) GetLabelMatcher

func (x *Selector) GetLabelMatcher() *LabelMatcher

func (*Selector) GetService

func (x *Selector) GetService() string

func (*Selector) MarshalJSON

func (msg *Selector) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Selector) ProtoMessage

func (*Selector) ProtoMessage()

func (*Selector) ProtoReflect

func (x *Selector) ProtoReflect() protoreflect.Message

func (*Selector) Reset

func (x *Selector) Reset()

func (*Selector) String

func (x *Selector) String() string

func (*Selector) UnmarshalJSON

func (msg *Selector) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Selector) Validate

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

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

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

func (m SelectorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SelectorMultiError) Error

func (m SelectorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SelectorValidationError

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

func (e SelectorValidationError) Cause() error

Cause function returns cause value.

func (SelectorValidationError) Error

func (e SelectorValidationError) Error() string

Error satisfies the builtin error interface

func (SelectorValidationError) ErrorName

func (e SelectorValidationError) ErrorName() string

ErrorName returns error name.

func (SelectorValidationError) Field

func (e SelectorValidationError) Field() string

Field function returns field value.

func (SelectorValidationError) Key

func (e SelectorValidationError) Key() bool

Key function returns key value.

func (SelectorValidationError) Reason

func (e SelectorValidationError) Reason() string

Reason function returns reason value.

type SignalGenerator

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

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

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

func (in *SignalGenerator) DeepCopyInto(out *SignalGenerator)

DeepCopyInto supports using SignalGenerator within kubernetes types, where deepcopy-gen is used.

func (*SignalGenerator) Descriptor deprecated

func (*SignalGenerator) Descriptor() ([]byte, []int)

Deprecated: Use SignalGenerator.ProtoReflect.Descriptor instead.

func (*SignalGenerator) GetInPorts

func (x *SignalGenerator) GetInPorts() *SignalGenerator_Ins

func (*SignalGenerator) GetOutPorts

func (x *SignalGenerator) GetOutPorts() *SignalGenerator_Outs

func (*SignalGenerator) GetParameters

func (x *SignalGenerator) GetParameters() *SignalGenerator_Parameters

func (*SignalGenerator) MarshalJSON

func (msg *SignalGenerator) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SignalGenerator) ProtoMessage

func (*SignalGenerator) ProtoMessage()

func (*SignalGenerator) ProtoReflect

func (x *SignalGenerator) ProtoReflect() protoreflect.Message

func (*SignalGenerator) Reset

func (x *SignalGenerator) Reset()

func (*SignalGenerator) String

func (x *SignalGenerator) String() string

func (*SignalGenerator) UnmarshalJSON

func (msg *SignalGenerator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SignalGenerator) Validate

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

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

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

func (m SignalGeneratorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SignalGeneratorMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SignalGeneratorValidationError

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

Cause function returns cause value.

func (SignalGeneratorValidationError) Error

Error satisfies the builtin error interface

func (SignalGeneratorValidationError) ErrorName

func (e SignalGeneratorValidationError) ErrorName() string

ErrorName returns error name.

func (SignalGeneratorValidationError) Field

Field function returns field value.

func (SignalGeneratorValidationError) Key

Key function returns key value.

func (SignalGeneratorValidationError) Reason

Reason function returns reason value.

type SignalGenerator_Ins

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

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

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

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

func (*SignalGenerator_Ins) Descriptor() ([]byte, []int)

Deprecated: Use SignalGenerator_Ins.ProtoReflect.Descriptor instead.

func (*SignalGenerator_Ins) GetBackward

func (x *SignalGenerator_Ins) GetBackward() *InPort

func (*SignalGenerator_Ins) GetForward

func (x *SignalGenerator_Ins) GetForward() *InPort

func (*SignalGenerator_Ins) GetReset_

func (x *SignalGenerator_Ins) GetReset_() *InPort

func (*SignalGenerator_Ins) MarshalJSON

func (msg *SignalGenerator_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SignalGenerator_Ins) ProtoMessage

func (*SignalGenerator_Ins) ProtoMessage()

func (*SignalGenerator_Ins) ProtoReflect

func (x *SignalGenerator_Ins) ProtoReflect() protoreflect.Message

func (*SignalGenerator_Ins) Reset

func (x *SignalGenerator_Ins) Reset()

func (*SignalGenerator_Ins) String

func (x *SignalGenerator_Ins) String() string

func (*SignalGenerator_Ins) UnmarshalJSON

func (msg *SignalGenerator_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SignalGenerator_Ins) Validate

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

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

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

func (m SignalGenerator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SignalGenerator_InsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SignalGenerator_InsValidationError

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

Cause function returns cause value.

func (SignalGenerator_InsValidationError) Error

Error satisfies the builtin error interface

func (SignalGenerator_InsValidationError) ErrorName

ErrorName returns error name.

func (SignalGenerator_InsValidationError) Field

Field function returns field value.

func (SignalGenerator_InsValidationError) Key

Key function returns key value.

func (SignalGenerator_InsValidationError) Reason

Reason function returns reason value.

type SignalGenerator_Outs

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignalGenerator_Outs. Required by controller-gen.

func (*SignalGenerator_Outs) DeepCopyInterface

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

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

func (*SignalGenerator_Outs) Descriptor() ([]byte, []int)

Deprecated: Use SignalGenerator_Outs.ProtoReflect.Descriptor instead.

func (*SignalGenerator_Outs) GetAtEnd

func (x *SignalGenerator_Outs) GetAtEnd() *OutPort

func (*SignalGenerator_Outs) GetAtStart

func (x *SignalGenerator_Outs) GetAtStart() *OutPort

func (*SignalGenerator_Outs) GetOutput

func (x *SignalGenerator_Outs) GetOutput() *OutPort

func (*SignalGenerator_Outs) MarshalJSON

func (msg *SignalGenerator_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SignalGenerator_Outs) ProtoMessage

func (*SignalGenerator_Outs) ProtoMessage()

func (*SignalGenerator_Outs) ProtoReflect

func (x *SignalGenerator_Outs) ProtoReflect() protoreflect.Message

func (*SignalGenerator_Outs) Reset

func (x *SignalGenerator_Outs) Reset()

func (*SignalGenerator_Outs) String

func (x *SignalGenerator_Outs) String() string

func (*SignalGenerator_Outs) UnmarshalJSON

func (msg *SignalGenerator_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SignalGenerator_Outs) Validate

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

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

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

func (m SignalGenerator_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SignalGenerator_OutsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SignalGenerator_OutsValidationError

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

Cause function returns cause value.

func (SignalGenerator_OutsValidationError) Error

Error satisfies the builtin error interface

func (SignalGenerator_OutsValidationError) ErrorName

ErrorName returns error name.

func (SignalGenerator_OutsValidationError) Field

Field function returns field value.

func (SignalGenerator_OutsValidationError) Key

Key function returns key value.

func (SignalGenerator_OutsValidationError) Reason

Reason function returns reason value.

type SignalGenerator_Parameters

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignalGenerator_Parameters. Required by controller-gen.

func (*SignalGenerator_Parameters) DeepCopyInterface

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

DeepCopyInto supports using SignalGenerator_Parameters within kubernetes types, where deepcopy-gen is used.

func (*SignalGenerator_Parameters) Descriptor deprecated

func (*SignalGenerator_Parameters) Descriptor() ([]byte, []int)

Deprecated: Use SignalGenerator_Parameters.ProtoReflect.Descriptor instead.

func (*SignalGenerator_Parameters) GetSteps

func (*SignalGenerator_Parameters) MarshalJSON

func (msg *SignalGenerator_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SignalGenerator_Parameters) ProtoMessage

func (*SignalGenerator_Parameters) ProtoMessage()

func (*SignalGenerator_Parameters) ProtoReflect

func (*SignalGenerator_Parameters) Reset

func (x *SignalGenerator_Parameters) Reset()

func (*SignalGenerator_Parameters) String

func (x *SignalGenerator_Parameters) String() string

func (*SignalGenerator_Parameters) UnmarshalJSON

func (msg *SignalGenerator_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SignalGenerator_Parameters) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (SignalGenerator_ParametersMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SignalGenerator_ParametersValidationError

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

Cause function returns cause value.

func (SignalGenerator_ParametersValidationError) Error

Error satisfies the builtin error interface

func (SignalGenerator_ParametersValidationError) ErrorName

ErrorName returns error name.

func (SignalGenerator_ParametersValidationError) Field

Field function returns field value.

func (SignalGenerator_ParametersValidationError) Key

Key function returns key value.

func (SignalGenerator_ParametersValidationError) Reason

Reason function returns reason value.

type SignalGenerator_Parameters_Step

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignalGenerator_Parameters_Step. Required by controller-gen.

func (*SignalGenerator_Parameters_Step) DeepCopyInterface

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

DeepCopyInto supports using SignalGenerator_Parameters_Step within kubernetes types, where deepcopy-gen is used.

func (*SignalGenerator_Parameters_Step) Descriptor deprecated

func (*SignalGenerator_Parameters_Step) Descriptor() ([]byte, []int)

Deprecated: Use SignalGenerator_Parameters_Step.ProtoReflect.Descriptor instead.

func (*SignalGenerator_Parameters_Step) GetDuration

func (*SignalGenerator_Parameters_Step) GetTargetOutput

func (x *SignalGenerator_Parameters_Step) GetTargetOutput() *ConstantSignal

func (*SignalGenerator_Parameters_Step) MarshalJSON

func (msg *SignalGenerator_Parameters_Step) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SignalGenerator_Parameters_Step) ProtoMessage

func (*SignalGenerator_Parameters_Step) ProtoMessage()

func (*SignalGenerator_Parameters_Step) ProtoReflect

func (*SignalGenerator_Parameters_Step) Reset

func (*SignalGenerator_Parameters_Step) String

func (*SignalGenerator_Parameters_Step) UnmarshalJSON

func (msg *SignalGenerator_Parameters_Step) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SignalGenerator_Parameters_Step) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (SignalGenerator_Parameters_StepMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SignalGenerator_Parameters_StepValidationError

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

Cause function returns cause value.

func (SignalGenerator_Parameters_StepValidationError) Error

Error satisfies the builtin error interface

func (SignalGenerator_Parameters_StepValidationError) ErrorName

ErrorName returns error name.

func (SignalGenerator_Parameters_StepValidationError) Field

Field function returns field value.

func (SignalGenerator_Parameters_StepValidationError) Key

Key function returns key value.

func (SignalGenerator_Parameters_StepValidationError) Reason

Reason function returns reason value.

type Switcher

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

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

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

func (in *Switcher) DeepCopyInto(out *Switcher)

DeepCopyInto supports using Switcher within kubernetes types, where deepcopy-gen is used.

func (*Switcher) Descriptor deprecated

func (*Switcher) Descriptor() ([]byte, []int)

Deprecated: Use Switcher.ProtoReflect.Descriptor instead.

func (*Switcher) GetInPorts

func (x *Switcher) GetInPorts() *Switcher_Ins

func (*Switcher) GetOutPorts

func (x *Switcher) GetOutPorts() *Switcher_Outs

func (*Switcher) MarshalJSON

func (msg *Switcher) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Switcher) ProtoMessage

func (*Switcher) ProtoMessage()

func (*Switcher) ProtoReflect

func (x *Switcher) ProtoReflect() protoreflect.Message

func (*Switcher) Reset

func (x *Switcher) Reset()

func (*Switcher) String

func (x *Switcher) String() string

func (*Switcher) UnmarshalJSON

func (msg *Switcher) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Switcher) Validate

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

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

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

func (m SwitcherMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SwitcherMultiError) Error

func (m SwitcherMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SwitcherValidationError

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

func (e SwitcherValidationError) Cause() error

Cause function returns cause value.

func (SwitcherValidationError) Error

func (e SwitcherValidationError) Error() string

Error satisfies the builtin error interface

func (SwitcherValidationError) ErrorName

func (e SwitcherValidationError) ErrorName() string

ErrorName returns error name.

func (SwitcherValidationError) Field

func (e SwitcherValidationError) Field() string

Field function returns field value.

func (SwitcherValidationError) Key

func (e SwitcherValidationError) Key() bool

Key function returns key value.

func (SwitcherValidationError) Reason

func (e SwitcherValidationError) Reason() string

Reason function returns reason value.

type Switcher_Ins

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

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

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

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

func (*Switcher_Ins) Descriptor() ([]byte, []int)

Deprecated: Use Switcher_Ins.ProtoReflect.Descriptor instead.

func (*Switcher_Ins) GetOffSignal

func (x *Switcher_Ins) GetOffSignal() *InPort

func (*Switcher_Ins) GetOnSignal

func (x *Switcher_Ins) GetOnSignal() *InPort

func (*Switcher_Ins) GetSwitch

func (x *Switcher_Ins) GetSwitch() *InPort

func (*Switcher_Ins) MarshalJSON

func (msg *Switcher_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Switcher_Ins) ProtoMessage

func (*Switcher_Ins) ProtoMessage()

func (*Switcher_Ins) ProtoReflect

func (x *Switcher_Ins) ProtoReflect() protoreflect.Message

func (*Switcher_Ins) Reset

func (x *Switcher_Ins) Reset()

func (*Switcher_Ins) String

func (x *Switcher_Ins) String() string

func (*Switcher_Ins) UnmarshalJSON

func (msg *Switcher_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Switcher_Ins) Validate

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

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

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

func (m Switcher_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Switcher_InsMultiError) Error

func (m Switcher_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Switcher_InsValidationError

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

Cause function returns cause value.

func (Switcher_InsValidationError) Error

Error satisfies the builtin error interface

func (Switcher_InsValidationError) ErrorName

func (e Switcher_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Switcher_InsValidationError) Field

Field function returns field value.

func (Switcher_InsValidationError) Key

Key function returns key value.

func (Switcher_InsValidationError) Reason

Reason function returns reason value.

type Switcher_Outs

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

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

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

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

func (*Switcher_Outs) Descriptor() ([]byte, []int)

Deprecated: Use Switcher_Outs.ProtoReflect.Descriptor instead.

func (*Switcher_Outs) GetOutput

func (x *Switcher_Outs) GetOutput() *OutPort

func (*Switcher_Outs) MarshalJSON

func (msg *Switcher_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Switcher_Outs) ProtoMessage

func (*Switcher_Outs) ProtoMessage()

func (*Switcher_Outs) ProtoReflect

func (x *Switcher_Outs) ProtoReflect() protoreflect.Message

func (*Switcher_Outs) Reset

func (x *Switcher_Outs) Reset()

func (*Switcher_Outs) String

func (x *Switcher_Outs) String() string

func (*Switcher_Outs) UnmarshalJSON

func (msg *Switcher_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Switcher_Outs) Validate

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

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

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

func (m Switcher_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Switcher_OutsMultiError) Error

func (m Switcher_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Switcher_OutsValidationError

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

Cause function returns cause value.

func (Switcher_OutsValidationError) Error

Error satisfies the builtin error interface

func (Switcher_OutsValidationError) ErrorName

func (e Switcher_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Switcher_OutsValidationError) Field

Field function returns field value.

func (Switcher_OutsValidationError) Key

Key function returns key value.

func (Switcher_OutsValidationError) Reason

Reason function returns reason value.

type TelemetryCollector

type TelemetryCollector struct {
	AgentGroup string `protobuf:"bytes,1,opt,name=agent_group,json=agentGroup,proto3" json:"agent_group,omitempty" default:"default"` // @gotags: default:"default"
	// _Infra Meters_ configure custom metrics OpenTelemetry collector pipelines, which will
	// receive and process telemetry at the agents and send metrics to the configured Prometheus.
	// Key in this map refers to OTel pipeline name. Prefixing pipeline name with `metrics/`
	// is optional, as all the components and pipeline names would be normalized.
	//
	// Example:
	//
	// “`yaml
	//
	//	 telemetry_collectors:
	//	   - agent_group: default
	//	     infra_meters:
	//		      rabbitmq:
	//		        processors:
	//		          batch:
	//		            send_batch_size: 10
	//		            timeout: 10s
	//		        receivers:
	//		          rabbitmq:
	//		            collection_interval: 10s
	//		            endpoint: http://<rabbitmq-svc-fqdn>:15672
	//		            password: secretpassword
	//		            username: admin
	//		        per_agent_group: true
	//
	// “`
	//
	// :::caution
	//
	// Validate the OTel configuration before applying it to the
	// production cluster.
	// Incorrect configuration will get rejected at the agents and might cause
	// shutdown of the agent(s).
	//
	// :::
	InfraMeters map[string]*InfraMeter `` /* 182-byte string literal not displayed */
	// contains filtered or unexported fields
}

TelemetryCollector defines the telemetry configuration to be synced with the agents. It consists of two parts: - Agent Group: Agent group to sync telemetry configuration with - Infra Meters: OTel compatible metrics pipelines

func (*TelemetryCollector) DeepCopy

func (in *TelemetryCollector) DeepCopy() *TelemetryCollector

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TelemetryCollector. Required by controller-gen.

func (*TelemetryCollector) DeepCopyInterface

func (in *TelemetryCollector) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new TelemetryCollector. Required by controller-gen.

func (*TelemetryCollector) DeepCopyInto

func (in *TelemetryCollector) DeepCopyInto(out *TelemetryCollector)

DeepCopyInto supports using TelemetryCollector within kubernetes types, where deepcopy-gen is used.

func (*TelemetryCollector) Descriptor deprecated

func (*TelemetryCollector) Descriptor() ([]byte, []int)

Deprecated: Use TelemetryCollector.ProtoReflect.Descriptor instead.

func (*TelemetryCollector) GetAgentGroup

func (x *TelemetryCollector) GetAgentGroup() string

func (*TelemetryCollector) GetInfraMeters

func (x *TelemetryCollector) GetInfraMeters() map[string]*InfraMeter

func (*TelemetryCollector) MarshalJSON

func (msg *TelemetryCollector) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*TelemetryCollector) ProtoMessage

func (*TelemetryCollector) ProtoMessage()

func (*TelemetryCollector) ProtoReflect

func (x *TelemetryCollector) ProtoReflect() protoreflect.Message

func (*TelemetryCollector) Reset

func (x *TelemetryCollector) Reset()

func (*TelemetryCollector) String

func (x *TelemetryCollector) String() string

func (*TelemetryCollector) UnmarshalJSON

func (msg *TelemetryCollector) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*TelemetryCollector) Validate

func (m *TelemetryCollector) Validate() error

Validate checks the field values on TelemetryCollector 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 (*TelemetryCollector) ValidateAll

func (m *TelemetryCollector) ValidateAll() error

ValidateAll checks the field values on TelemetryCollector 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 TelemetryCollectorMultiError, or nil if none found.

type TelemetryCollectorMultiError

type TelemetryCollectorMultiError []error

TelemetryCollectorMultiError is an error wrapping multiple validation errors returned by TelemetryCollector.ValidateAll() if the designated constraints aren't met.

func (TelemetryCollectorMultiError) AllErrors

func (m TelemetryCollectorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TelemetryCollectorMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type TelemetryCollectorValidationError

type TelemetryCollectorValidationError struct {
	// contains filtered or unexported fields
}

TelemetryCollectorValidationError is the validation error returned by TelemetryCollector.Validate if the designated constraints aren't met.

func (TelemetryCollectorValidationError) Cause

Cause function returns cause value.

func (TelemetryCollectorValidationError) Error

Error satisfies the builtin error interface

func (TelemetryCollectorValidationError) ErrorName

ErrorName returns error name.

func (TelemetryCollectorValidationError) Field

Field function returns field value.

func (TelemetryCollectorValidationError) Key

Key function returns key value.

func (TelemetryCollectorValidationError) Reason

Reason function returns reason value.

type UnaryOperator

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

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

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

func (in *UnaryOperator) DeepCopyInto(out *UnaryOperator)

DeepCopyInto supports using UnaryOperator within kubernetes types, where deepcopy-gen is used.

func (*UnaryOperator) Descriptor deprecated

func (*UnaryOperator) Descriptor() ([]byte, []int)

Deprecated: Use UnaryOperator.ProtoReflect.Descriptor instead.

func (*UnaryOperator) GetInPorts

func (x *UnaryOperator) GetInPorts() *UnaryOperator_Ins

func (*UnaryOperator) GetOperator

func (x *UnaryOperator) GetOperator() string

func (*UnaryOperator) GetOutPorts

func (x *UnaryOperator) GetOutPorts() *UnaryOperator_Outs

func (*UnaryOperator) MarshalJSON

func (msg *UnaryOperator) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UnaryOperator) ProtoMessage

func (*UnaryOperator) ProtoMessage()

func (*UnaryOperator) ProtoReflect

func (x *UnaryOperator) ProtoReflect() protoreflect.Message

func (*UnaryOperator) Reset

func (x *UnaryOperator) Reset()

func (*UnaryOperator) String

func (x *UnaryOperator) String() string

func (*UnaryOperator) UnmarshalJSON

func (msg *UnaryOperator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UnaryOperator) Validate

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

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

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

func (m UnaryOperatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UnaryOperatorMultiError) Error

func (m UnaryOperatorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UnaryOperatorValidationError

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

Cause function returns cause value.

func (UnaryOperatorValidationError) Error

Error satisfies the builtin error interface

func (UnaryOperatorValidationError) ErrorName

func (e UnaryOperatorValidationError) ErrorName() string

ErrorName returns error name.

func (UnaryOperatorValidationError) Field

Field function returns field value.

func (UnaryOperatorValidationError) Key

Key function returns key value.

func (UnaryOperatorValidationError) Reason

Reason function returns reason value.

type UnaryOperator_Ins

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

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

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

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

func (*UnaryOperator_Ins) Descriptor() ([]byte, []int)

Deprecated: Use UnaryOperator_Ins.ProtoReflect.Descriptor instead.

func (*UnaryOperator_Ins) GetInput

func (x *UnaryOperator_Ins) GetInput() *InPort

func (*UnaryOperator_Ins) MarshalJSON

func (msg *UnaryOperator_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UnaryOperator_Ins) ProtoMessage

func (*UnaryOperator_Ins) ProtoMessage()

func (*UnaryOperator_Ins) ProtoReflect

func (x *UnaryOperator_Ins) ProtoReflect() protoreflect.Message

func (*UnaryOperator_Ins) Reset

func (x *UnaryOperator_Ins) Reset()

func (*UnaryOperator_Ins) String

func (x *UnaryOperator_Ins) String() string

func (*UnaryOperator_Ins) UnmarshalJSON

func (msg *UnaryOperator_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UnaryOperator_Ins) Validate

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

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

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

func (m UnaryOperator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UnaryOperator_InsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UnaryOperator_InsValidationError

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

Cause function returns cause value.

func (UnaryOperator_InsValidationError) Error

Error satisfies the builtin error interface

func (UnaryOperator_InsValidationError) ErrorName

ErrorName returns error name.

func (UnaryOperator_InsValidationError) Field

Field function returns field value.

func (UnaryOperator_InsValidationError) Key

Key function returns key value.

func (UnaryOperator_InsValidationError) Reason

Reason function returns reason value.

type UnaryOperator_Outs

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

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

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

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

func (*UnaryOperator_Outs) Descriptor() ([]byte, []int)

Deprecated: Use UnaryOperator_Outs.ProtoReflect.Descriptor instead.

func (*UnaryOperator_Outs) GetOutput

func (x *UnaryOperator_Outs) GetOutput() *OutPort

func (*UnaryOperator_Outs) MarshalJSON

func (msg *UnaryOperator_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UnaryOperator_Outs) ProtoMessage

func (*UnaryOperator_Outs) ProtoMessage()

func (*UnaryOperator_Outs) ProtoReflect

func (x *UnaryOperator_Outs) ProtoReflect() protoreflect.Message

func (*UnaryOperator_Outs) Reset

func (x *UnaryOperator_Outs) Reset()

func (*UnaryOperator_Outs) String

func (x *UnaryOperator_Outs) String() string

func (*UnaryOperator_Outs) UnmarshalJSON

func (msg *UnaryOperator_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UnaryOperator_Outs) Validate

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

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

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

func (m UnaryOperator_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UnaryOperator_OutsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UnaryOperator_OutsValidationError

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

Cause function returns cause value.

func (UnaryOperator_OutsValidationError) Error

Error satisfies the builtin error interface

func (UnaryOperator_OutsValidationError) ErrorName

ErrorName returns error name.

func (UnaryOperator_OutsValidationError) Field

Field function returns field value.

func (UnaryOperator_OutsValidationError) Key

Key function returns key value.

func (UnaryOperator_OutsValidationError) Reason

Reason function returns reason value.

type UnimplementedPolicyServiceServer

type UnimplementedPolicyServiceServer struct {
}

UnimplementedPolicyServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedPolicyServiceServer) DeletePolicy

func (UnimplementedPolicyServiceServer) GetPolicies

func (UnimplementedPolicyServiceServer) GetPolicy

func (UnimplementedPolicyServiceServer) PostDynamicConfig

func (UnimplementedPolicyServiceServer) UpsertPolicy

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

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"`
	PolicyMetadata *PolicyMetadata        `protobuf:"bytes,4,opt,name=policy_metadata,json=policyMetadata,proto3" json:"policy_metadata,omitempty"`
	// contains filtered or unexported fields
}

PostPolicyRequest is a request to create or update Policy.

func (*UpsertPolicyRequest) DeepCopy

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

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

func (in *UpsertPolicyRequest) DeepCopyInto(out *UpsertPolicyRequest)

DeepCopyInto supports using UpsertPolicyRequest within kubernetes types, where deepcopy-gen is used.

func (*UpsertPolicyRequest) Descriptor deprecated

func (*UpsertPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpsertPolicyRequest.ProtoReflect.Descriptor instead.

func (*UpsertPolicyRequest) GetPolicy

func (x *UpsertPolicyRequest) GetPolicy() *Policy

func (*UpsertPolicyRequest) GetPolicyMetadata added in v2.3.0

func (x *UpsertPolicyRequest) GetPolicyMetadata() *PolicyMetadata

func (*UpsertPolicyRequest) GetPolicyName

func (x *UpsertPolicyRequest) GetPolicyName() string

func (*UpsertPolicyRequest) GetUpdateMask

func (x *UpsertPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpsertPolicyRequest) MarshalJSON

func (msg *UpsertPolicyRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UpsertPolicyRequest) ProtoMessage

func (*UpsertPolicyRequest) ProtoMessage()

func (*UpsertPolicyRequest) ProtoReflect

func (x *UpsertPolicyRequest) ProtoReflect() protoreflect.Message

func (*UpsertPolicyRequest) Reset

func (x *UpsertPolicyRequest) Reset()

func (*UpsertPolicyRequest) String

func (x *UpsertPolicyRequest) String() string

func (*UpsertPolicyRequest) UnmarshalJSON

func (msg *UpsertPolicyRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UpsertPolicyRequest) Validate

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

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

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

func (m UpsertPolicyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpsertPolicyRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpsertPolicyRequestValidationError

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

Cause function returns cause value.

func (UpsertPolicyRequestValidationError) Error

Error satisfies the builtin error interface

func (UpsertPolicyRequestValidationError) ErrorName

ErrorName returns error name.

func (UpsertPolicyRequestValidationError) Field

Field function returns field value.

func (UpsertPolicyRequestValidationError) Key

Key function returns key value.

func (UpsertPolicyRequestValidationError) Reason

Reason function returns reason value.

type Variable

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"`
	// The constant signal emitted by this component. The value of the constant signal can be overridden at runtime through dynamic configuration.
	ConstantOutput *ConstantSignal `protobuf:"bytes,2,opt,name=constant_output,json=constantOutput,proto3" json:"constant_output,omitempty" validate:"required"` // @gotags: validate:"required"
	// Configuration key for overriding value setting through dynamic configuration.
	ConfigKey string `protobuf:"bytes,3,opt,name=config_key,json=configKey,proto3" json:"config_key,omitempty"`
	// contains filtered or unexported fields
}

Component that emits a constant signal which can be changed at runtime through dynamic configuration.

func (*Variable) DeepCopy

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

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

func (in *Variable) DeepCopyInto(out *Variable)

DeepCopyInto supports using Variable within kubernetes types, where deepcopy-gen is used.

func (*Variable) Descriptor deprecated

func (*Variable) Descriptor() ([]byte, []int)

Deprecated: Use Variable.ProtoReflect.Descriptor instead.

func (*Variable) GetConfigKey added in v2.2.0

func (x *Variable) GetConfigKey() string

func (*Variable) GetConstantOutput added in v2.2.0

func (x *Variable) GetConstantOutput() *ConstantSignal

func (*Variable) GetOutPorts

func (x *Variable) GetOutPorts() *Variable_Outs

func (*Variable) MarshalJSON

func (msg *Variable) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Variable) ProtoMessage

func (*Variable) ProtoMessage()

func (*Variable) ProtoReflect

func (x *Variable) ProtoReflect() protoreflect.Message

func (*Variable) Reset

func (x *Variable) Reset()

func (*Variable) String

func (x *Variable) String() string

func (*Variable) UnmarshalJSON

func (msg *Variable) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Variable) Validate

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

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

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

func (m VariableMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VariableMultiError) Error

func (m VariableMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type VariableValidationError

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

func (e VariableValidationError) Cause() error

Cause function returns cause value.

func (VariableValidationError) Error

func (e VariableValidationError) Error() string

Error satisfies the builtin error interface

func (VariableValidationError) ErrorName

func (e VariableValidationError) ErrorName() string

ErrorName returns error name.

func (VariableValidationError) Field

func (e VariableValidationError) Field() string

Field function returns field value.

func (VariableValidationError) Key

func (e VariableValidationError) Key() bool

Key function returns key value.

func (VariableValidationError) Reason

func (e VariableValidationError) Reason() string

Reason function returns reason value.

type Variable_Outs

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

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

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

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

func (*Variable_Outs) Descriptor() ([]byte, []int)

Deprecated: Use Variable_Outs.ProtoReflect.Descriptor instead.

func (*Variable_Outs) GetOutput

func (x *Variable_Outs) GetOutput() *OutPort

func (*Variable_Outs) MarshalJSON

func (msg *Variable_Outs) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Variable_Outs) ProtoMessage

func (*Variable_Outs) ProtoMessage()

func (*Variable_Outs) ProtoReflect

func (x *Variable_Outs) ProtoReflect() protoreflect.Message

func (*Variable_Outs) Reset

func (x *Variable_Outs) Reset()

func (*Variable_Outs) String

func (x *Variable_Outs) String() string

func (*Variable_Outs) UnmarshalJSON

func (msg *Variable_Outs) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Variable_Outs) Validate

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

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

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

func (m Variable_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Variable_OutsMultiError) Error

func (m Variable_OutsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Variable_OutsValidationError

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

Cause function returns cause value.

func (Variable_OutsValidationError) Error

Error satisfies the builtin error interface

func (Variable_OutsValidationError) ErrorName

func (e Variable_OutsValidationError) ErrorName() string

ErrorName returns error name.

func (Variable_OutsValidationError) Field

Field function returns field value.

func (Variable_OutsValidationError) Key

Key function returns key value.

func (Variable_OutsValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL