languagev1

package
v2.0.0-...-d8f0e26 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: Apache-2.0 Imports: 38 Imported by: 44

Documentation

Overview

Package languagev1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

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_GetDynamicConfig_FullMethodName    = "/aperture.policy.language.v1.PolicyService/GetDynamicConfig"
	PolicyService_DeleteDynamicConfig_FullMethodName = "/aperture.policy.language.v1.PolicyService/DeleteDynamicConfig"
	PolicyService_DeletePolicy_FullMethodName        = "/aperture.policy.language.v1.PolicyService/DeletePolicy"
	PolicyService_GetDecisions_FullMethodName        = "/aperture.policy.language.v1.PolicyService/GetDecisions"
)

Variables

View Source
var (
	GetPolicyResponse_Status_name = map[int32]string{
		0: "VALID",
		1: "INVALID",
		2: "NOT_LOADED",
		3: "STALE",
		4: "OUTDATED",
	}
	GetPolicyResponse_Status_value = map[string]int32{
		"VALID":      0,
		"INVALID":    1,
		"NOT_LOADED": 2,
		"STALE":      3,
		"OUTDATED":   4,
	}
)

Enum value maps for GetPolicyResponse_Status.

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
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: "GetDynamicConfig",
			Handler:    _PolicyService_GetDynamicConfig_Handler,
		},
		{
			MethodName: "DeleteDynamicConfig",
			Handler:    _PolicyService_DeleteDynamicConfig_Handler,
		},
		{
			MethodName: "DeletePolicy",
			Handler:    _PolicyService_DeletePolicy_Handler,
		},
		{
			MethodName: "GetDecisions",
			Handler:    _PolicyService_GetDecisions_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 AIADLoadScheduler

type AIADLoadScheduler struct {

	// Input ports for the _AIAD Load Scheduler_.
	InPorts *AIADLoadScheduler_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the _AIAD Load Scheduler_.
	OutPorts *AIADLoadScheduler_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Parameters for the _AIAD Load Scheduler_.
	Parameters *AIADLoadScheduler_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,4,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,5,opt,name=dry_run_config_key,json=dryRunConfigKey,proto3" json:"dry_run_config_key,omitempty"`
	// Overload condition determines the criteria to determine overload state. The default condition is "gt", that is, when the signal is greater than the setpoint. The condition must be one of:
	// <!-- vale off -->
	// - "gt": greater than
	// - "lt": less than
	// - "gte": greater than or equal to
	// - "lte": less than or equal to
	// <!-- vale on -->
	OverloadCondition string `` // @gotags: default:"gt" validate:"required,oneof=gt lt gte lte"
	/* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

_AIAD Load Scheduler_ reduces the token rate linearly over time while in overload state. During recovery, it increases the token rate linearly until the system is not overloaded.

func (*AIADLoadScheduler) Descriptor deprecated

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

Deprecated: Use AIADLoadScheduler.ProtoReflect.Descriptor instead.

func (*AIADLoadScheduler) GetDryRun

func (x *AIADLoadScheduler) GetDryRun() bool

func (*AIADLoadScheduler) GetDryRunConfigKey

func (x *AIADLoadScheduler) GetDryRunConfigKey() string

func (*AIADLoadScheduler) GetInPorts

func (x *AIADLoadScheduler) GetInPorts() *AIADLoadScheduler_Ins

func (*AIADLoadScheduler) GetOutPorts

func (x *AIADLoadScheduler) GetOutPorts() *AIADLoadScheduler_Outs

func (*AIADLoadScheduler) GetOverloadCondition

func (x *AIADLoadScheduler) GetOverloadCondition() string

func (*AIADLoadScheduler) GetParameters

func (x *AIADLoadScheduler) GetParameters() *AIADLoadScheduler_Parameters

func (*AIADLoadScheduler) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AIADLoadScheduler) MarshalToSizedBufferVT

func (m *AIADLoadScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AIADLoadScheduler) MarshalToVT

func (m *AIADLoadScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*AIADLoadScheduler) MarshalVT

func (m *AIADLoadScheduler) MarshalVT() (dAtA []byte, err error)

func (*AIADLoadScheduler) ProtoMessage

func (*AIADLoadScheduler) ProtoMessage()

func (*AIADLoadScheduler) ProtoReflect

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

func (*AIADLoadScheduler) Reset

func (x *AIADLoadScheduler) Reset()

func (*AIADLoadScheduler) SizeVT

func (m *AIADLoadScheduler) SizeVT() (n int)

func (*AIADLoadScheduler) String

func (x *AIADLoadScheduler) String() string

func (*AIADLoadScheduler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AIADLoadScheduler) UnmarshalVT

func (m *AIADLoadScheduler) UnmarshalVT(dAtA []byte) error

func (*AIADLoadScheduler) Validate

func (m *AIADLoadScheduler) Validate() error

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

func (*AIADLoadScheduler) ValidateAll

func (m *AIADLoadScheduler) ValidateAll() error

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

type AIADLoadSchedulerMultiError

type AIADLoadSchedulerMultiError []error

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

func (AIADLoadSchedulerMultiError) AllErrors

func (m AIADLoadSchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AIADLoadSchedulerMultiError) Error

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

type AIADLoadSchedulerValidationError

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

AIADLoadSchedulerValidationError is the validation error returned by AIADLoadScheduler.Validate if the designated constraints aren't met.

func (AIADLoadSchedulerValidationError) Cause

Cause function returns cause value.

func (AIADLoadSchedulerValidationError) Error

Error satisfies the builtin error interface

func (AIADLoadSchedulerValidationError) ErrorName

ErrorName returns error name.

func (AIADLoadSchedulerValidationError) Field

Field function returns field value.

func (AIADLoadSchedulerValidationError) Key

Key function returns key value.

func (AIADLoadSchedulerValidationError) Reason

Reason function returns reason value.

type AIADLoadScheduler_Ins

type AIADLoadScheduler_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 _AIAD Load Scheduler_.

func (*AIADLoadScheduler_Ins) Descriptor deprecated

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

Deprecated: Use AIADLoadScheduler_Ins.ProtoReflect.Descriptor instead.

func (*AIADLoadScheduler_Ins) GetOverloadConfirmation

func (x *AIADLoadScheduler_Ins) GetOverloadConfirmation() *InPort

func (*AIADLoadScheduler_Ins) GetSetpoint

func (x *AIADLoadScheduler_Ins) GetSetpoint() *InPort

func (*AIADLoadScheduler_Ins) GetSignal

func (x *AIADLoadScheduler_Ins) GetSignal() *InPort

func (*AIADLoadScheduler_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AIADLoadScheduler_Ins) MarshalToSizedBufferVT

func (m *AIADLoadScheduler_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AIADLoadScheduler_Ins) MarshalToVT

func (m *AIADLoadScheduler_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*AIADLoadScheduler_Ins) MarshalVT

func (m *AIADLoadScheduler_Ins) MarshalVT() (dAtA []byte, err error)

func (*AIADLoadScheduler_Ins) ProtoMessage

func (*AIADLoadScheduler_Ins) ProtoMessage()

func (*AIADLoadScheduler_Ins) ProtoReflect

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

func (*AIADLoadScheduler_Ins) Reset

func (x *AIADLoadScheduler_Ins) Reset()

func (*AIADLoadScheduler_Ins) SizeVT

func (m *AIADLoadScheduler_Ins) SizeVT() (n int)

func (*AIADLoadScheduler_Ins) String

func (x *AIADLoadScheduler_Ins) String() string

func (*AIADLoadScheduler_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AIADLoadScheduler_Ins) UnmarshalVT

func (m *AIADLoadScheduler_Ins) UnmarshalVT(dAtA []byte) error

func (*AIADLoadScheduler_Ins) Validate

func (m *AIADLoadScheduler_Ins) Validate() error

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

func (m *AIADLoadScheduler_Ins) ValidateAll() error

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

type AIADLoadScheduler_InsMultiError

type AIADLoadScheduler_InsMultiError []error

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

func (AIADLoadScheduler_InsMultiError) AllErrors

func (m AIADLoadScheduler_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AIADLoadScheduler_InsMultiError) Error

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

type AIADLoadScheduler_InsValidationError

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

AIADLoadScheduler_InsValidationError is the validation error returned by AIADLoadScheduler_Ins.Validate if the designated constraints aren't met.

func (AIADLoadScheduler_InsValidationError) Cause

Cause function returns cause value.

func (AIADLoadScheduler_InsValidationError) Error

Error satisfies the builtin error interface

func (AIADLoadScheduler_InsValidationError) ErrorName

ErrorName returns error name.

func (AIADLoadScheduler_InsValidationError) Field

Field function returns field value.

func (AIADLoadScheduler_InsValidationError) Key

Key function returns key value.

func (AIADLoadScheduler_InsValidationError) Reason

Reason function returns reason value.

type AIADLoadScheduler_Outs

type AIADLoadScheduler_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 _AIAD Load Scheduler_.

func (*AIADLoadScheduler_Outs) Descriptor deprecated

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

Deprecated: Use AIADLoadScheduler_Outs.ProtoReflect.Descriptor instead.

func (*AIADLoadScheduler_Outs) GetDesiredLoadMultiplier

func (x *AIADLoadScheduler_Outs) GetDesiredLoadMultiplier() *OutPort

func (*AIADLoadScheduler_Outs) GetIsOverload

func (x *AIADLoadScheduler_Outs) GetIsOverload() *OutPort

func (*AIADLoadScheduler_Outs) GetObservedLoadMultiplier

func (x *AIADLoadScheduler_Outs) GetObservedLoadMultiplier() *OutPort

func (*AIADLoadScheduler_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AIADLoadScheduler_Outs) MarshalToSizedBufferVT

func (m *AIADLoadScheduler_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AIADLoadScheduler_Outs) MarshalToVT

func (m *AIADLoadScheduler_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*AIADLoadScheduler_Outs) MarshalVT

func (m *AIADLoadScheduler_Outs) MarshalVT() (dAtA []byte, err error)

func (*AIADLoadScheduler_Outs) ProtoMessage

func (*AIADLoadScheduler_Outs) ProtoMessage()

func (*AIADLoadScheduler_Outs) ProtoReflect

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

func (*AIADLoadScheduler_Outs) Reset

func (x *AIADLoadScheduler_Outs) Reset()

func (*AIADLoadScheduler_Outs) SizeVT

func (m *AIADLoadScheduler_Outs) SizeVT() (n int)

func (*AIADLoadScheduler_Outs) String

func (x *AIADLoadScheduler_Outs) String() string

func (*AIADLoadScheduler_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AIADLoadScheduler_Outs) UnmarshalVT

func (m *AIADLoadScheduler_Outs) UnmarshalVT(dAtA []byte) error

func (*AIADLoadScheduler_Outs) Validate

func (m *AIADLoadScheduler_Outs) Validate() error

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

func (m *AIADLoadScheduler_Outs) ValidateAll() error

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

type AIADLoadScheduler_OutsMultiError

type AIADLoadScheduler_OutsMultiError []error

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

func (AIADLoadScheduler_OutsMultiError) AllErrors

func (m AIADLoadScheduler_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AIADLoadScheduler_OutsMultiError) Error

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

type AIADLoadScheduler_OutsValidationError

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

AIADLoadScheduler_OutsValidationError is the validation error returned by AIADLoadScheduler_Outs.Validate if the designated constraints aren't met.

func (AIADLoadScheduler_OutsValidationError) Cause

Cause function returns cause value.

func (AIADLoadScheduler_OutsValidationError) Error

Error satisfies the builtin error interface

func (AIADLoadScheduler_OutsValidationError) ErrorName

ErrorName returns error name.

func (AIADLoadScheduler_OutsValidationError) Field

Field function returns field value.

func (AIADLoadScheduler_OutsValidationError) Key

Key function returns key value.

func (AIADLoadScheduler_OutsValidationError) Reason

Reason function returns reason value.

type AIADLoadScheduler_Parameters

type AIADLoadScheduler_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"
	// The minimum load multiplier that can be reached during an overload state.
	MinLoadMultiplier float64 `` // @gotags: default:"0.0" validate:"gte=0"
	/* 147-byte string literal not displayed */
	// Linear decrement to load multiplier every 10 seconds while the system is
	// in the overloaded state, up until the `min_load_multiplier` is reached.
	LoadMultiplierLinearDecrement float64 `` // @gotags: default:"0.05" validate:"gte=0"
	/* 186-byte string literal not displayed */
	// 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.
	// - The pass-through mode gets disabled if the system enters the overload state again.
	MaxLoadMultiplier float64 `` // @gotags: default:"2.0" validate:"gte=0"
	/* 147-byte string literal not displayed */
	// Linear increment to load multiplier every 10 seconds while the system is
	// not in the overloaded state, up until the `max_load_multiplier` is reached.
	LoadMultiplierLinearIncrement float64 `` // @gotags: default:"0.025" validate:"gte=0"
	/* 187-byte string literal not displayed */
	// Configuration parameters for the embedded Alerter.
	Alerter *Alerter_Parameters `protobuf:"bytes,7,opt,name=alerter,proto3" json:"alerter,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

func (*AIADLoadScheduler_Parameters) Descriptor deprecated

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

Deprecated: Use AIADLoadScheduler_Parameters.ProtoReflect.Descriptor instead.

func (*AIADLoadScheduler_Parameters) GetAlerter

func (*AIADLoadScheduler_Parameters) GetLoadMultiplierLinearDecrement

func (x *AIADLoadScheduler_Parameters) GetLoadMultiplierLinearDecrement() float64

func (*AIADLoadScheduler_Parameters) GetLoadMultiplierLinearIncrement

func (x *AIADLoadScheduler_Parameters) GetLoadMultiplierLinearIncrement() float64

func (*AIADLoadScheduler_Parameters) GetLoadScheduler

func (*AIADLoadScheduler_Parameters) GetMaxLoadMultiplier

func (x *AIADLoadScheduler_Parameters) GetMaxLoadMultiplier() float64

func (*AIADLoadScheduler_Parameters) GetMinLoadMultiplier

func (x *AIADLoadScheduler_Parameters) GetMinLoadMultiplier() float64

func (*AIADLoadScheduler_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AIADLoadScheduler_Parameters) MarshalToSizedBufferVT

func (m *AIADLoadScheduler_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AIADLoadScheduler_Parameters) MarshalToVT

func (m *AIADLoadScheduler_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*AIADLoadScheduler_Parameters) MarshalVT

func (m *AIADLoadScheduler_Parameters) MarshalVT() (dAtA []byte, err error)

func (*AIADLoadScheduler_Parameters) ProtoMessage

func (*AIADLoadScheduler_Parameters) ProtoMessage()

func (*AIADLoadScheduler_Parameters) ProtoReflect

func (*AIADLoadScheduler_Parameters) Reset

func (x *AIADLoadScheduler_Parameters) Reset()

func (*AIADLoadScheduler_Parameters) SizeVT

func (m *AIADLoadScheduler_Parameters) SizeVT() (n int)

func (*AIADLoadScheduler_Parameters) String

func (*AIADLoadScheduler_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AIADLoadScheduler_Parameters) UnmarshalVT

func (m *AIADLoadScheduler_Parameters) UnmarshalVT(dAtA []byte) error

func (*AIADLoadScheduler_Parameters) Validate

func (m *AIADLoadScheduler_Parameters) Validate() error

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

func (m *AIADLoadScheduler_Parameters) ValidateAll() error

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

type AIADLoadScheduler_ParametersMultiError

type AIADLoadScheduler_ParametersMultiError []error

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

func (AIADLoadScheduler_ParametersMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AIADLoadScheduler_ParametersMultiError) Error

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

type AIADLoadScheduler_ParametersValidationError

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

AIADLoadScheduler_ParametersValidationError is the validation error returned by AIADLoadScheduler_Parameters.Validate if the designated constraints aren't met.

func (AIADLoadScheduler_ParametersValidationError) Cause

Cause function returns cause value.

func (AIADLoadScheduler_ParametersValidationError) Error

Error satisfies the builtin error interface

func (AIADLoadScheduler_ParametersValidationError) ErrorName

ErrorName returns error name.

func (AIADLoadScheduler_ParametersValidationError) Field

Field function returns field value.

func (AIADLoadScheduler_ParametersValidationError) Key

Key function returns key value.

func (AIADLoadScheduler_ParametersValidationError) Reason

Reason function returns reason value.

type AIMDLoadScheduler

type AIMDLoadScheduler struct {

	// Input ports for the _AIMD Load Scheduler_.
	InPorts *AIMDLoadScheduler_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the _AIMD Load Scheduler_.
	OutPorts *AIMDLoadScheduler_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Parameters for the _AIMD Load Scheduler_.
	Parameters *AIMDLoadScheduler_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,4,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,5,opt,name=dry_run_config_key,json=dryRunConfigKey,proto3" json:"dry_run_config_key,omitempty"`
	// contains filtered or unexported fields
}

_AIMD Load Scheduler_ uses a Gradient Controller to throttle the token rate based on the deviation of the signal from the setpoint. 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. During recovery, it increases the token rate linearly until the system is not overloaded.

func (*AIMDLoadScheduler) Descriptor deprecated

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

Deprecated: Use AIMDLoadScheduler.ProtoReflect.Descriptor instead.

func (*AIMDLoadScheduler) GetDryRun

func (x *AIMDLoadScheduler) GetDryRun() bool

func (*AIMDLoadScheduler) GetDryRunConfigKey

func (x *AIMDLoadScheduler) GetDryRunConfigKey() string

func (*AIMDLoadScheduler) GetInPorts

func (x *AIMDLoadScheduler) GetInPorts() *AIMDLoadScheduler_Ins

func (*AIMDLoadScheduler) GetOutPorts

func (x *AIMDLoadScheduler) GetOutPorts() *AIMDLoadScheduler_Outs

func (*AIMDLoadScheduler) GetParameters

func (x *AIMDLoadScheduler) GetParameters() *AIMDLoadScheduler_Parameters

func (*AIMDLoadScheduler) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AIMDLoadScheduler) MarshalToSizedBufferVT

func (m *AIMDLoadScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AIMDLoadScheduler) MarshalToVT

func (m *AIMDLoadScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*AIMDLoadScheduler) MarshalVT

func (m *AIMDLoadScheduler) MarshalVT() (dAtA []byte, err error)

func (*AIMDLoadScheduler) ProtoMessage

func (*AIMDLoadScheduler) ProtoMessage()

func (*AIMDLoadScheduler) ProtoReflect

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

func (*AIMDLoadScheduler) Reset

func (x *AIMDLoadScheduler) Reset()

func (*AIMDLoadScheduler) SizeVT

func (m *AIMDLoadScheduler) SizeVT() (n int)

func (*AIMDLoadScheduler) String

func (x *AIMDLoadScheduler) String() string

func (*AIMDLoadScheduler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AIMDLoadScheduler) UnmarshalVT

func (m *AIMDLoadScheduler) UnmarshalVT(dAtA []byte) error

func (*AIMDLoadScheduler) Validate

func (m *AIMDLoadScheduler) Validate() error

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

func (*AIMDLoadScheduler) ValidateAll

func (m *AIMDLoadScheduler) ValidateAll() error

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

type AIMDLoadSchedulerMultiError

type AIMDLoadSchedulerMultiError []error

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

func (AIMDLoadSchedulerMultiError) AllErrors

func (m AIMDLoadSchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AIMDLoadSchedulerMultiError) Error

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

type AIMDLoadSchedulerValidationError

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

AIMDLoadSchedulerValidationError is the validation error returned by AIMDLoadScheduler.Validate if the designated constraints aren't met.

func (AIMDLoadSchedulerValidationError) Cause

Cause function returns cause value.

func (AIMDLoadSchedulerValidationError) Error

Error satisfies the builtin error interface

func (AIMDLoadSchedulerValidationError) ErrorName

ErrorName returns error name.

func (AIMDLoadSchedulerValidationError) Field

Field function returns field value.

func (AIMDLoadSchedulerValidationError) Key

Key function returns key value.

func (AIMDLoadSchedulerValidationError) Reason

Reason function returns reason value.

type AIMDLoadScheduler_Ins

type AIMDLoadScheduler_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 _AIMD Load Scheduler_.

func (*AIMDLoadScheduler_Ins) Descriptor deprecated

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

Deprecated: Use AIMDLoadScheduler_Ins.ProtoReflect.Descriptor instead.

func (*AIMDLoadScheduler_Ins) GetOverloadConfirmation

func (x *AIMDLoadScheduler_Ins) GetOverloadConfirmation() *InPort

func (*AIMDLoadScheduler_Ins) GetSetpoint

func (x *AIMDLoadScheduler_Ins) GetSetpoint() *InPort

func (*AIMDLoadScheduler_Ins) GetSignal

func (x *AIMDLoadScheduler_Ins) GetSignal() *InPort

func (*AIMDLoadScheduler_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AIMDLoadScheduler_Ins) MarshalToSizedBufferVT

func (m *AIMDLoadScheduler_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AIMDLoadScheduler_Ins) MarshalToVT

func (m *AIMDLoadScheduler_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*AIMDLoadScheduler_Ins) MarshalVT

func (m *AIMDLoadScheduler_Ins) MarshalVT() (dAtA []byte, err error)

func (*AIMDLoadScheduler_Ins) ProtoMessage

func (*AIMDLoadScheduler_Ins) ProtoMessage()

func (*AIMDLoadScheduler_Ins) ProtoReflect

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

func (*AIMDLoadScheduler_Ins) Reset

func (x *AIMDLoadScheduler_Ins) Reset()

func (*AIMDLoadScheduler_Ins) SizeVT

func (m *AIMDLoadScheduler_Ins) SizeVT() (n int)

func (*AIMDLoadScheduler_Ins) String

func (x *AIMDLoadScheduler_Ins) String() string

func (*AIMDLoadScheduler_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AIMDLoadScheduler_Ins) UnmarshalVT

func (m *AIMDLoadScheduler_Ins) UnmarshalVT(dAtA []byte) error

func (*AIMDLoadScheduler_Ins) Validate

func (m *AIMDLoadScheduler_Ins) Validate() error

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

func (m *AIMDLoadScheduler_Ins) ValidateAll() error

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

type AIMDLoadScheduler_InsMultiError

type AIMDLoadScheduler_InsMultiError []error

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

func (AIMDLoadScheduler_InsMultiError) AllErrors

func (m AIMDLoadScheduler_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AIMDLoadScheduler_InsMultiError) Error

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

type AIMDLoadScheduler_InsValidationError

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

AIMDLoadScheduler_InsValidationError is the validation error returned by AIMDLoadScheduler_Ins.Validate if the designated constraints aren't met.

func (AIMDLoadScheduler_InsValidationError) Cause

Cause function returns cause value.

func (AIMDLoadScheduler_InsValidationError) Error

Error satisfies the builtin error interface

func (AIMDLoadScheduler_InsValidationError) ErrorName

ErrorName returns error name.

func (AIMDLoadScheduler_InsValidationError) Field

Field function returns field value.

func (AIMDLoadScheduler_InsValidationError) Key

Key function returns key value.

func (AIMDLoadScheduler_InsValidationError) Reason

Reason function returns reason value.

type AIMDLoadScheduler_Outs

type AIMDLoadScheduler_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 _AIMD Load Scheduler_.

func (*AIMDLoadScheduler_Outs) Descriptor deprecated

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

Deprecated: Use AIMDLoadScheduler_Outs.ProtoReflect.Descriptor instead.

func (*AIMDLoadScheduler_Outs) GetDesiredLoadMultiplier

func (x *AIMDLoadScheduler_Outs) GetDesiredLoadMultiplier() *OutPort

func (*AIMDLoadScheduler_Outs) GetIsOverload

func (x *AIMDLoadScheduler_Outs) GetIsOverload() *OutPort

func (*AIMDLoadScheduler_Outs) GetObservedLoadMultiplier

func (x *AIMDLoadScheduler_Outs) GetObservedLoadMultiplier() *OutPort

func (*AIMDLoadScheduler_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AIMDLoadScheduler_Outs) MarshalToSizedBufferVT

func (m *AIMDLoadScheduler_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AIMDLoadScheduler_Outs) MarshalToVT

func (m *AIMDLoadScheduler_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*AIMDLoadScheduler_Outs) MarshalVT

func (m *AIMDLoadScheduler_Outs) MarshalVT() (dAtA []byte, err error)

func (*AIMDLoadScheduler_Outs) ProtoMessage

func (*AIMDLoadScheduler_Outs) ProtoMessage()

func (*AIMDLoadScheduler_Outs) ProtoReflect

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

func (*AIMDLoadScheduler_Outs) Reset

func (x *AIMDLoadScheduler_Outs) Reset()

func (*AIMDLoadScheduler_Outs) SizeVT

func (m *AIMDLoadScheduler_Outs) SizeVT() (n int)

func (*AIMDLoadScheduler_Outs) String

func (x *AIMDLoadScheduler_Outs) String() string

func (*AIMDLoadScheduler_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AIMDLoadScheduler_Outs) UnmarshalVT

func (m *AIMDLoadScheduler_Outs) UnmarshalVT(dAtA []byte) error

func (*AIMDLoadScheduler_Outs) Validate

func (m *AIMDLoadScheduler_Outs) Validate() error

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

func (m *AIMDLoadScheduler_Outs) ValidateAll() error

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

type AIMDLoadScheduler_OutsMultiError

type AIMDLoadScheduler_OutsMultiError []error

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

func (AIMDLoadScheduler_OutsMultiError) AllErrors

func (m AIMDLoadScheduler_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AIMDLoadScheduler_OutsMultiError) Error

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

type AIMDLoadScheduler_OutsValidationError

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

AIMDLoadScheduler_OutsValidationError is the validation error returned by AIMDLoadScheduler_Outs.Validate if the designated constraints aren't met.

func (AIMDLoadScheduler_OutsValidationError) Cause

Cause function returns cause value.

func (AIMDLoadScheduler_OutsValidationError) Error

Error satisfies the builtin error interface

func (AIMDLoadScheduler_OutsValidationError) ErrorName

ErrorName returns error name.

func (AIMDLoadScheduler_OutsValidationError) Field

Field function returns field value.

func (AIMDLoadScheduler_OutsValidationError) Key

Key function returns key value.

func (AIMDLoadScheduler_OutsValidationError) Reason

Reason function returns reason value.

type AIMDLoadScheduler_Parameters

type AIMDLoadScheduler_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.
	// - The pass-through mode gets disabled if the system enters the overload state again.
	MaxLoadMultiplier float64 `` // @gotags: default:"2.0" validate:"gt=0"
	/* 146-byte string literal not displayed */
	// Linear increment to load multiplier every 10 seconds while the system is
	// not in the overloaded state, up until the `max_load_multiplier` is reached.
	LoadMultiplierLinearIncrement float64 `` // @gotags: default:"0.025" validate:"gte=0"
	/* 187-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
}

func (*AIMDLoadScheduler_Parameters) Descriptor deprecated

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

Deprecated: Use AIMDLoadScheduler_Parameters.ProtoReflect.Descriptor instead.

func (*AIMDLoadScheduler_Parameters) GetAlerter

func (*AIMDLoadScheduler_Parameters) GetGradient

func (*AIMDLoadScheduler_Parameters) GetLoadMultiplierLinearIncrement

func (x *AIMDLoadScheduler_Parameters) GetLoadMultiplierLinearIncrement() float64

func (*AIMDLoadScheduler_Parameters) GetLoadScheduler

func (*AIMDLoadScheduler_Parameters) GetMaxLoadMultiplier

func (x *AIMDLoadScheduler_Parameters) GetMaxLoadMultiplier() float64

func (*AIMDLoadScheduler_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AIMDLoadScheduler_Parameters) MarshalToSizedBufferVT

func (m *AIMDLoadScheduler_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AIMDLoadScheduler_Parameters) MarshalToVT

func (m *AIMDLoadScheduler_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*AIMDLoadScheduler_Parameters) MarshalVT

func (m *AIMDLoadScheduler_Parameters) MarshalVT() (dAtA []byte, err error)

func (*AIMDLoadScheduler_Parameters) ProtoMessage

func (*AIMDLoadScheduler_Parameters) ProtoMessage()

func (*AIMDLoadScheduler_Parameters) ProtoReflect

func (*AIMDLoadScheduler_Parameters) Reset

func (x *AIMDLoadScheduler_Parameters) Reset()

func (*AIMDLoadScheduler_Parameters) SizeVT

func (m *AIMDLoadScheduler_Parameters) SizeVT() (n int)

func (*AIMDLoadScheduler_Parameters) String

func (*AIMDLoadScheduler_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AIMDLoadScheduler_Parameters) UnmarshalVT

func (m *AIMDLoadScheduler_Parameters) UnmarshalVT(dAtA []byte) error

func (*AIMDLoadScheduler_Parameters) Validate

func (m *AIMDLoadScheduler_Parameters) Validate() error

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

func (m *AIMDLoadScheduler_Parameters) ValidateAll() error

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

type AIMDLoadScheduler_ParametersMultiError

type AIMDLoadScheduler_ParametersMultiError []error

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

func (AIMDLoadScheduler_ParametersMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AIMDLoadScheduler_ParametersMultiError) Error

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

type AIMDLoadScheduler_ParametersValidationError

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

AIMDLoadScheduler_ParametersValidationError is the validation error returned by AIMDLoadScheduler_Parameters.Validate if the designated constraints aren't met.

func (AIMDLoadScheduler_ParametersValidationError) Cause

Cause function returns cause value.

func (AIMDLoadScheduler_ParametersValidationError) Error

Error satisfies the builtin error interface

func (AIMDLoadScheduler_ParametersValidationError) ErrorName

ErrorName returns error name.

func (AIMDLoadScheduler_ParametersValidationError) Field

Field function returns field value.

func (AIMDLoadScheduler_ParametersValidationError) Key

Key function returns key value.

func (AIMDLoadScheduler_ParametersValidationError) Reason

Reason function returns reason value.

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. Deprecated: v3.0.0. Use `AIMDLoadScheduler` instead.

func (*AdaptiveLoadScheduler) Descriptor deprecated

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

Deprecated: Use AdaptiveLoadScheduler.ProtoReflect.Descriptor instead.

func (*AdaptiveLoadScheduler) GetDryRun

func (x *AdaptiveLoadScheduler) GetDryRun() bool

func (*AdaptiveLoadScheduler) GetDryRunConfigKey

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

func (m *AdaptiveLoadScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AdaptiveLoadScheduler) MarshalToVT

func (m *AdaptiveLoadScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*AdaptiveLoadScheduler) MarshalVT

func (m *AdaptiveLoadScheduler) MarshalVT() (dAtA []byte, err error)

func (*AdaptiveLoadScheduler) ProtoMessage

func (*AdaptiveLoadScheduler) ProtoMessage()

func (*AdaptiveLoadScheduler) ProtoReflect

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

func (*AdaptiveLoadScheduler) Reset

func (x *AdaptiveLoadScheduler) Reset()

func (*AdaptiveLoadScheduler) SizeVT

func (m *AdaptiveLoadScheduler) SizeVT() (n int)

func (*AdaptiveLoadScheduler) String

func (x *AdaptiveLoadScheduler) String() string

func (*AdaptiveLoadScheduler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AdaptiveLoadScheduler) UnmarshalVT

func (m *AdaptiveLoadScheduler) UnmarshalVT(dAtA []byte) error

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

func (m *AdaptiveLoadScheduler_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AdaptiveLoadScheduler_Ins) MarshalToVT

func (m *AdaptiveLoadScheduler_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*AdaptiveLoadScheduler_Ins) MarshalVT

func (m *AdaptiveLoadScheduler_Ins) MarshalVT() (dAtA []byte, err error)

func (*AdaptiveLoadScheduler_Ins) ProtoMessage

func (*AdaptiveLoadScheduler_Ins) ProtoMessage()

func (*AdaptiveLoadScheduler_Ins) ProtoReflect

func (*AdaptiveLoadScheduler_Ins) Reset

func (x *AdaptiveLoadScheduler_Ins) Reset()

func (*AdaptiveLoadScheduler_Ins) SizeVT

func (m *AdaptiveLoadScheduler_Ins) SizeVT() (n int)

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

func (m *AdaptiveLoadScheduler_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *AdaptiveLoadScheduler_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AdaptiveLoadScheduler_Outs) MarshalToVT

func (m *AdaptiveLoadScheduler_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*AdaptiveLoadScheduler_Outs) MarshalVT

func (m *AdaptiveLoadScheduler_Outs) MarshalVT() (dAtA []byte, err error)

func (*AdaptiveLoadScheduler_Outs) ProtoMessage

func (*AdaptiveLoadScheduler_Outs) ProtoMessage()

func (*AdaptiveLoadScheduler_Outs) ProtoReflect

func (*AdaptiveLoadScheduler_Outs) Reset

func (x *AdaptiveLoadScheduler_Outs) Reset()

func (*AdaptiveLoadScheduler_Outs) SizeVT

func (m *AdaptiveLoadScheduler_Outs) SizeVT() (n int)

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

func (m *AdaptiveLoadScheduler_Outs) UnmarshalVT(dAtA []byte) error

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.
	// - The pass-through mode gets disabled if the system enters the overload state again.
	MaxLoadMultiplier float64 `` // @gotags: default:"2.0"
	/* 130-byte string literal not displayed */
	// Linear increment to load multiplier every 10 seconds while 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) 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) MarshalToSizedBufferVT

func (m *AdaptiveLoadScheduler_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AdaptiveLoadScheduler_Parameters) MarshalToVT

func (m *AdaptiveLoadScheduler_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*AdaptiveLoadScheduler_Parameters) MarshalVT

func (m *AdaptiveLoadScheduler_Parameters) MarshalVT() (dAtA []byte, err error)

func (*AdaptiveLoadScheduler_Parameters) ProtoMessage

func (*AdaptiveLoadScheduler_Parameters) ProtoMessage()

func (*AdaptiveLoadScheduler_Parameters) ProtoReflect

func (*AdaptiveLoadScheduler_Parameters) Reset

func (*AdaptiveLoadScheduler_Parameters) SizeVT

func (m *AdaptiveLoadScheduler_Parameters) SizeVT() (n int)

func (*AdaptiveLoadScheduler_Parameters) String

func (*AdaptiveLoadScheduler_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AdaptiveLoadScheduler_Parameters) UnmarshalVT

func (m *AdaptiveLoadScheduler_Parameters) UnmarshalVT(dAtA []byte) error

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

func (m *AddressExtractor) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AddressExtractor) MarshalToVT

func (m *AddressExtractor) MarshalToVT(dAtA []byte) (int, error)

func (*AddressExtractor) MarshalVT

func (m *AddressExtractor) MarshalVT() (dAtA []byte, err error)

func (*AddressExtractor) ProtoMessage

func (*AddressExtractor) ProtoMessage()

func (*AddressExtractor) ProtoReflect

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

func (*AddressExtractor) Reset

func (x *AddressExtractor) Reset()

func (*AddressExtractor) SizeVT

func (m *AddressExtractor) SizeVT() (n int)

func (*AddressExtractor) String

func (x *AddressExtractor) String() string

func (*AddressExtractor) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AddressExtractor) UnmarshalVT

func (m *AddressExtractor) UnmarshalVT(dAtA []byte) error

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

func (m *Alerter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Alerter) MarshalToVT

func (m *Alerter) MarshalToVT(dAtA []byte) (int, error)

func (*Alerter) MarshalVT

func (m *Alerter) MarshalVT() (dAtA []byte, err error)

func (*Alerter) ProtoMessage

func (*Alerter) ProtoMessage()

func (*Alerter) ProtoReflect

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

func (*Alerter) Reset

func (x *Alerter) Reset()

func (*Alerter) SizeVT

func (m *Alerter) SizeVT() (n int)

func (*Alerter) String

func (x *Alerter) String() string

func (*Alerter) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Alerter) UnmarshalVT

func (m *Alerter) UnmarshalVT(dAtA []byte) error

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

func (m *Alerter_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Alerter_Ins) MarshalToVT

func (m *Alerter_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Alerter_Ins) MarshalVT

func (m *Alerter_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *Alerter_Ins) SizeVT() (n int)

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

func (m *Alerter_Ins) UnmarshalVT(dAtA []byte) error

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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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) 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) MarshalToSizedBufferVT

func (m *Alerter_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Alerter_Parameters) MarshalToVT

func (m *Alerter_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*Alerter_Parameters) MarshalVT

func (m *Alerter_Parameters) MarshalVT() (dAtA []byte, err error)

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

func (m *Alerter_Parameters) SizeVT() (n int)

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

func (m *Alerter_Parameters) UnmarshalVT(dAtA []byte) error

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

func (m *And) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*And) MarshalToVT

func (m *And) MarshalToVT(dAtA []byte) (int, error)

func (*And) MarshalVT

func (m *And) MarshalVT() (dAtA []byte, err error)

func (*And) ProtoMessage

func (*And) ProtoMessage()

func (*And) ProtoReflect

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

func (*And) Reset

func (x *And) Reset()

func (*And) SizeVT

func (m *And) SizeVT() (n int)

func (*And) String

func (x *And) String() string

func (*And) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*And) UnmarshalVT

func (m *And) UnmarshalVT(dAtA []byte) error

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

func (m *And_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*And_Ins) MarshalToVT

func (m *And_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*And_Ins) MarshalVT

func (m *And_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *And_Ins) SizeVT() (n int)

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

func (m *And_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *And_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*And_Outs) MarshalToVT

func (m *And_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*And_Outs) MarshalVT

func (m *And_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *And_Outs) SizeVT() (n int)

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

func (m *And_Outs) UnmarshalVT(dAtA []byte) error

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

func (m *ArithmeticCombinator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ArithmeticCombinator) MarshalToVT

func (m *ArithmeticCombinator) MarshalToVT(dAtA []byte) (int, error)

func (*ArithmeticCombinator) MarshalVT

func (m *ArithmeticCombinator) MarshalVT() (dAtA []byte, err error)

func (*ArithmeticCombinator) ProtoMessage

func (*ArithmeticCombinator) ProtoMessage()

func (*ArithmeticCombinator) ProtoReflect

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

func (*ArithmeticCombinator) Reset

func (x *ArithmeticCombinator) Reset()

func (*ArithmeticCombinator) SizeVT

func (m *ArithmeticCombinator) SizeVT() (n int)

func (*ArithmeticCombinator) String

func (x *ArithmeticCombinator) String() string

func (*ArithmeticCombinator) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ArithmeticCombinator) UnmarshalVT

func (m *ArithmeticCombinator) UnmarshalVT(dAtA []byte) error

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

func (m *ArithmeticCombinator_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ArithmeticCombinator_Ins) MarshalToVT

func (m *ArithmeticCombinator_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*ArithmeticCombinator_Ins) MarshalVT

func (m *ArithmeticCombinator_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *ArithmeticCombinator_Ins) SizeVT() (n int)

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

func (m *ArithmeticCombinator_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *ArithmeticCombinator_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ArithmeticCombinator_Outs) MarshalToVT

func (m *ArithmeticCombinator_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*ArithmeticCombinator_Outs) MarshalVT

func (m *ArithmeticCombinator_Outs) MarshalVT() (dAtA []byte, err error)

func (*ArithmeticCombinator_Outs) ProtoMessage

func (*ArithmeticCombinator_Outs) ProtoMessage()

func (*ArithmeticCombinator_Outs) ProtoReflect

func (*ArithmeticCombinator_Outs) Reset

func (x *ArithmeticCombinator_Outs) Reset()

func (*ArithmeticCombinator_Outs) SizeVT

func (m *ArithmeticCombinator_Outs) SizeVT() (n int)

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

func (m *ArithmeticCombinator_Outs) UnmarshalVT(dAtA []byte) error

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

func (m *AutoScale) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AutoScale) MarshalToVT

func (m *AutoScale) MarshalToVT(dAtA []byte) (int, error)

func (*AutoScale) MarshalVT

func (m *AutoScale) MarshalVT() (dAtA []byte, err error)

func (*AutoScale) ProtoMessage

func (*AutoScale) ProtoMessage()

func (*AutoScale) ProtoReflect

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

func (*AutoScale) Reset

func (x *AutoScale) Reset()

func (*AutoScale) SizeVT

func (m *AutoScale) SizeVT() (n int)

func (*AutoScale) String

func (x *AutoScale) String() string

func (*AutoScale) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AutoScale) UnmarshalVT

func (m *AutoScale) UnmarshalVT(dAtA []byte) error

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

func (*AutoScale_AutoScaler) MarshalToSizedBufferVT

func (m *AutoScale_AutoScaler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AutoScale_AutoScaler) MarshalToVT

func (m *AutoScale_AutoScaler) MarshalToVT(dAtA []byte) (int, error)

func (*AutoScale_AutoScaler) SizeVT

func (m *AutoScale_AutoScaler) SizeVT() (n int)

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

func (*AutoScale_PodScaler) MarshalToSizedBufferVT

func (m *AutoScale_PodScaler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AutoScale_PodScaler) MarshalToVT

func (m *AutoScale_PodScaler) MarshalToVT(dAtA []byte) (int, error)

func (*AutoScale_PodScaler) SizeVT

func (m *AutoScale_PodScaler) SizeVT() (n int)

type AutoScale_Private

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

func (*AutoScale_Private) MarshalToSizedBufferVT

func (m *AutoScale_Private) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AutoScale_Private) MarshalToVT

func (m *AutoScale_Private) MarshalToVT(dAtA []byte) (int, error)

func (*AutoScale_Private) SizeVT

func (m *AutoScale_Private) SizeVT() (n int)

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

func (m *AutoScaler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AutoScaler) MarshalToVT

func (m *AutoScaler) MarshalToVT(dAtA []byte) (int, error)

func (*AutoScaler) MarshalVT

func (m *AutoScaler) MarshalVT() (dAtA []byte, err error)

func (*AutoScaler) ProtoMessage

func (*AutoScaler) ProtoMessage()

func (*AutoScaler) ProtoReflect

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

func (*AutoScaler) Reset

func (x *AutoScaler) Reset()

func (*AutoScaler) SizeVT

func (m *AutoScaler) SizeVT() (n int)

func (*AutoScaler) String

func (x *AutoScaler) String() string

func (*AutoScaler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaler) UnmarshalVT

func (m *AutoScaler) UnmarshalVT(dAtA []byte) error

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

func (m *AutoScaler_ScalingBackend) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AutoScaler_ScalingBackend) MarshalToVT

func (m *AutoScaler_ScalingBackend) MarshalToVT(dAtA []byte) (int, error)

func (*AutoScaler_ScalingBackend) MarshalVT

func (m *AutoScaler_ScalingBackend) MarshalVT() (dAtA []byte, err error)

func (*AutoScaler_ScalingBackend) ProtoMessage

func (*AutoScaler_ScalingBackend) ProtoMessage()

func (*AutoScaler_ScalingBackend) ProtoReflect

func (*AutoScaler_ScalingBackend) Reset

func (x *AutoScaler_ScalingBackend) Reset()

func (*AutoScaler_ScalingBackend) SizeVT

func (m *AutoScaler_ScalingBackend) SizeVT() (n int)

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

func (m *AutoScaler_ScalingBackend) UnmarshalVT(dAtA []byte) error

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

func (m *AutoScaler_ScalingBackend_KubernetesReplicas) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AutoScaler_ScalingBackend_KubernetesReplicas) MarshalToVT

func (m *AutoScaler_ScalingBackend_KubernetesReplicas) MarshalToVT(dAtA []byte) (int, error)

func (*AutoScaler_ScalingBackend_KubernetesReplicas) MarshalVT

func (m *AutoScaler_ScalingBackend_KubernetesReplicas) MarshalVT() (dAtA []byte, err error)

func (*AutoScaler_ScalingBackend_KubernetesReplicas) ProtoMessage

func (*AutoScaler_ScalingBackend_KubernetesReplicas) ProtoReflect

func (*AutoScaler_ScalingBackend_KubernetesReplicas) Reset

func (*AutoScaler_ScalingBackend_KubernetesReplicas) SizeVT

func (*AutoScaler_ScalingBackend_KubernetesReplicas) String

func (*AutoScaler_ScalingBackend_KubernetesReplicas) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaler_ScalingBackend_KubernetesReplicas) UnmarshalVT

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

func (*AutoScaler_ScalingBackend_KubernetesReplicas_) MarshalToSizedBufferVT

func (m *AutoScaler_ScalingBackend_KubernetesReplicas_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AutoScaler_ScalingBackend_KubernetesReplicas_) MarshalToVT

func (m *AutoScaler_ScalingBackend_KubernetesReplicas_) MarshalToVT(dAtA []byte) (int, error)

func (*AutoScaler_ScalingBackend_KubernetesReplicas_) SizeVT

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

func (m *AutoScaler_ScalingBackend_KubernetesReplicas_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) MarshalToVT

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) MarshalVT

func (m *AutoScaler_ScalingBackend_KubernetesReplicas_Outs) MarshalVT() (dAtA []byte, err error)

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) ProtoMessage

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) ProtoReflect

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) Reset

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) SizeVT

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) String

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) UnmarshalVT

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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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 canceled. 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) 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) MarshalToSizedBufferVT

func (m *AutoScaler_ScalingParameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AutoScaler_ScalingParameters) MarshalToVT

func (m *AutoScaler_ScalingParameters) MarshalToVT(dAtA []byte) (int, error)

func (*AutoScaler_ScalingParameters) MarshalVT

func (m *AutoScaler_ScalingParameters) MarshalVT() (dAtA []byte, err error)

func (*AutoScaler_ScalingParameters) ProtoMessage

func (*AutoScaler_ScalingParameters) ProtoMessage()

func (*AutoScaler_ScalingParameters) ProtoReflect

func (*AutoScaler_ScalingParameters) Reset

func (x *AutoScaler_ScalingParameters) Reset()

func (*AutoScaler_ScalingParameters) SizeVT

func (m *AutoScaler_ScalingParameters) SizeVT() (n int)

func (*AutoScaler_ScalingParameters) String

func (*AutoScaler_ScalingParameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaler_ScalingParameters) UnmarshalVT

func (m *AutoScaler_ScalingParameters) UnmarshalVT(dAtA []byte) error

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

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

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

Deprecated: Use BoolVariable.ProtoReflect.Descriptor instead.

func (*BoolVariable) GetConfigKey

func (x *BoolVariable) GetConfigKey() string

func (*BoolVariable) GetConstantOutput

func (x *BoolVariable) GetConstantOutput() bool

func (*BoolVariable) GetOutPorts

func (x *BoolVariable) GetOutPorts() *BoolVariable_Outs

func (*BoolVariable) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*BoolVariable) MarshalToSizedBufferVT

func (m *BoolVariable) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BoolVariable) MarshalToVT

func (m *BoolVariable) MarshalToVT(dAtA []byte) (int, error)

func (*BoolVariable) MarshalVT

func (m *BoolVariable) MarshalVT() (dAtA []byte, err error)

func (*BoolVariable) ProtoMessage

func (*BoolVariable) ProtoMessage()

func (*BoolVariable) ProtoReflect

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

func (*BoolVariable) Reset

func (x *BoolVariable) Reset()

func (*BoolVariable) SizeVT

func (m *BoolVariable) SizeVT() (n int)

func (*BoolVariable) String

func (x *BoolVariable) String() string

func (*BoolVariable) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*BoolVariable) UnmarshalVT

func (m *BoolVariable) UnmarshalVT(dAtA []byte) error

func (*BoolVariable) Validate

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

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

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

func (m BoolVariableMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BoolVariableMultiError) Error

func (m BoolVariableMultiError) Error() string

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

type BoolVariableValidationError

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

Cause function returns cause value.

func (BoolVariableValidationError) Error

Error satisfies the builtin error interface

func (BoolVariableValidationError) ErrorName

func (e BoolVariableValidationError) ErrorName() string

ErrorName returns error name.

func (BoolVariableValidationError) Field

Field function returns field value.

func (BoolVariableValidationError) Key

Key function returns key value.

func (BoolVariableValidationError) Reason

Reason function returns reason value.

type BoolVariable_Outs

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

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

Deprecated: Use BoolVariable_Outs.ProtoReflect.Descriptor instead.

func (*BoolVariable_Outs) GetOutput

func (x *BoolVariable_Outs) GetOutput() *OutPort

func (*BoolVariable_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*BoolVariable_Outs) MarshalToSizedBufferVT

func (m *BoolVariable_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BoolVariable_Outs) MarshalToVT

func (m *BoolVariable_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*BoolVariable_Outs) MarshalVT

func (m *BoolVariable_Outs) MarshalVT() (dAtA []byte, err error)

func (*BoolVariable_Outs) ProtoMessage

func (*BoolVariable_Outs) ProtoMessage()

func (*BoolVariable_Outs) ProtoReflect

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

func (*BoolVariable_Outs) Reset

func (x *BoolVariable_Outs) Reset()

func (*BoolVariable_Outs) SizeVT

func (m *BoolVariable_Outs) SizeVT() (n int)

func (*BoolVariable_Outs) String

func (x *BoolVariable_Outs) String() string

func (*BoolVariable_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*BoolVariable_Outs) UnmarshalVT

func (m *BoolVariable_Outs) UnmarshalVT(dAtA []byte) error

func (*BoolVariable_Outs) Validate

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

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

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

func (m BoolVariable_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BoolVariable_OutsMultiError) Error

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

type BoolVariable_OutsValidationError

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

Cause function returns cause value.

func (BoolVariable_OutsValidationError) Error

Error satisfies the builtin error interface

func (BoolVariable_OutsValidationError) ErrorName

ErrorName returns error name.

func (BoolVariable_OutsValidationError) Field

Field function returns field value.

func (BoolVariable_OutsValidationError) Key

Key function returns key value.

func (BoolVariable_OutsValidationError) Reason

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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	EvaluationInterval *durationpb.Duration `` // @gotags: default:"1s"
	/* 128-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/advanced/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) 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) MarshalToSizedBufferVT

func (m *Circuit) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Circuit) MarshalToVT

func (m *Circuit) MarshalToVT(dAtA []byte) (int, error)

func (*Circuit) MarshalVT

func (m *Circuit) MarshalVT() (dAtA []byte, err error)

func (*Circuit) ProtoMessage

func (*Circuit) ProtoMessage()

func (*Circuit) ProtoReflect

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

func (*Circuit) Reset

func (x *Circuit) Reset()

func (*Circuit) SizeVT

func (m *Circuit) SizeVT() (n int)

func (*Circuit) String

func (x *Circuit) String() string

func (*Circuit) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Circuit) UnmarshalVT

func (m *Circuit) UnmarshalVT(dAtA []byte) error

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-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/advanced/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) 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) MarshalToSizedBufferVT

func (m *Classifier) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Classifier) MarshalToVT

func (m *Classifier) MarshalToVT(dAtA []byte) (int, error)

func (*Classifier) MarshalVT

func (m *Classifier) MarshalVT() (dAtA []byte, err error)

func (*Classifier) ProtoMessage

func (*Classifier) ProtoMessage()

func (*Classifier) ProtoReflect

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

func (*Classifier) Reset

func (x *Classifier) Reset()

func (*Classifier) SizeVT

func (m *Classifier) SizeVT() (n int)

func (*Classifier) String

func (x *Classifier) String() string

func (*Classifier) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Classifier) UnmarshalVT

func (m *Classifier) UnmarshalVT(dAtA []byte) error

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_PidController
	//	*Component_PolynomialRangeFunction
	//	*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/advanced/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) 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

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

func (x *Component) GetPidController() *PIDController

func (*Component) GetPolynomialRangeFunction

func (x *Component) GetPolynomialRangeFunction() *PolynomialRangeFunction

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

func (m *Component) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component) MarshalToVT

func (m *Component) MarshalToVT(dAtA []byte) (int, error)

func (*Component) MarshalVT

func (m *Component) MarshalVT() (dAtA []byte, err error)

func (*Component) ProtoMessage

func (*Component) ProtoMessage()

func (*Component) ProtoReflect

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

func (*Component) Reset

func (x *Component) Reset()

func (*Component) SizeVT

func (m *Component) SizeVT() (n int)

func (*Component) String

func (x *Component) String() string

func (*Component) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Component) UnmarshalVT

func (m *Component) UnmarshalVT(dAtA []byte) error

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

func (*Component_Alerter) MarshalToSizedBufferVT

func (m *Component_Alerter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Alerter) MarshalToVT

func (m *Component_Alerter) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Alerter) SizeVT

func (m *Component_Alerter) SizeVT() (n int)

type Component_And

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

func (*Component_And) MarshalToSizedBufferVT

func (m *Component_And) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_And) MarshalToVT

func (m *Component_And) MarshalToVT(dAtA []byte) (int, error)

func (*Component_And) SizeVT

func (m *Component_And) SizeVT() (n int)

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

func (*Component_ArithmeticCombinator) MarshalToSizedBufferVT

func (m *Component_ArithmeticCombinator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_ArithmeticCombinator) MarshalToVT

func (m *Component_ArithmeticCombinator) MarshalToVT(dAtA []byte) (int, error)

func (*Component_ArithmeticCombinator) SizeVT

func (m *Component_ArithmeticCombinator) SizeVT() (n int)

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

func (*Component_AutoScale) MarshalToSizedBufferVT

func (m *Component_AutoScale) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_AutoScale) MarshalToVT

func (m *Component_AutoScale) MarshalToVT(dAtA []byte) (int, error)

func (*Component_AutoScale) SizeVT

func (m *Component_AutoScale) SizeVT() (n int)

type Component_BoolVariable

type Component_BoolVariable struct {
	// BoolVariable emits a constant Boolean signal which can be changed at runtime through dynamic configuration.
	BoolVariable *BoolVariable `protobuf:"bytes,28,opt,name=bool_variable,json=boolVariable,proto3,oneof"`
}

func (*Component_BoolVariable) MarshalToSizedBufferVT

func (m *Component_BoolVariable) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_BoolVariable) MarshalToVT

func (m *Component_BoolVariable) MarshalToVT(dAtA []byte) (int, error)

func (*Component_BoolVariable) SizeVT

func (m *Component_BoolVariable) SizeVT() (n int)

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

func (*Component_Decider) MarshalToSizedBufferVT

func (m *Component_Decider) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Decider) MarshalToVT

func (m *Component_Decider) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Decider) SizeVT

func (m *Component_Decider) SizeVT() (n int)

type Component_Differentiator

type Component_Differentiator struct {
	// Differentiator calculates rate of change per tick.
	// Deprecated: v3.0.0. Use `PIDController` instead.
	Differentiator *Differentiator `protobuf:"bytes,17,opt,name=differentiator,proto3,oneof" validate:"deprecated"` // @gotags: validate:"deprecated"
}

func (*Component_Differentiator) MarshalToSizedBufferVT

func (m *Component_Differentiator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Differentiator) MarshalToVT

func (m *Component_Differentiator) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Differentiator) SizeVT

func (m *Component_Differentiator) SizeVT() (n int)

type Component_Ema

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

func (*Component_Ema) MarshalToSizedBufferVT

func (m *Component_Ema) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Ema) MarshalToVT

func (m *Component_Ema) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Ema) SizeVT

func (m *Component_Ema) SizeVT() (n int)

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

func (*Component_Extrapolator) MarshalToSizedBufferVT

func (m *Component_Extrapolator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Extrapolator) MarshalToVT

func (m *Component_Extrapolator) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Extrapolator) SizeVT

func (m *Component_Extrapolator) SizeVT() (n int)

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

func (*Component_FirstValid) MarshalToSizedBufferVT

func (m *Component_FirstValid) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_FirstValid) MarshalToVT

func (m *Component_FirstValid) MarshalToVT(dAtA []byte) (int, error)

func (*Component_FirstValid) SizeVT

func (m *Component_FirstValid) SizeVT() (n int)

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

func (*Component_FlowControl) MarshalToSizedBufferVT

func (m *Component_FlowControl) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_FlowControl) MarshalToVT

func (m *Component_FlowControl) MarshalToVT(dAtA []byte) (int, error)

func (*Component_FlowControl) SizeVT

func (m *Component_FlowControl) SizeVT() (n int)

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

func (*Component_GradientController) MarshalToSizedBufferVT

func (m *Component_GradientController) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_GradientController) MarshalToVT

func (m *Component_GradientController) MarshalToVT(dAtA []byte) (int, error)

func (*Component_GradientController) SizeVT

func (m *Component_GradientController) SizeVT() (n int)

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

func (*Component_Holder) MarshalToSizedBufferVT

func (m *Component_Holder) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Holder) MarshalToVT

func (m *Component_Holder) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Holder) SizeVT

func (m *Component_Holder) SizeVT() (n int)

type Component_Integrator

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

func (*Component_Integrator) MarshalToSizedBufferVT

func (m *Component_Integrator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Integrator) MarshalToVT

func (m *Component_Integrator) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Integrator) SizeVT

func (m *Component_Integrator) SizeVT() (n int)

type Component_Inverter

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

func (*Component_Inverter) MarshalToSizedBufferVT

func (m *Component_Inverter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Inverter) MarshalToVT

func (m *Component_Inverter) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Inverter) SizeVT

func (m *Component_Inverter) SizeVT() (n int)

type Component_Max

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

func (*Component_Max) MarshalToSizedBufferVT

func (m *Component_Max) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Max) MarshalToVT

func (m *Component_Max) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Max) SizeVT

func (m *Component_Max) SizeVT() (n int)

type Component_Min

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

func (*Component_Min) MarshalToSizedBufferVT

func (m *Component_Min) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Min) MarshalToVT

func (m *Component_Min) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Min) SizeVT

func (m *Component_Min) SizeVT() (n int)

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

func (*Component_NestedCircuit) MarshalToSizedBufferVT

func (m *Component_NestedCircuit) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_NestedCircuit) MarshalToVT

func (m *Component_NestedCircuit) MarshalToVT(dAtA []byte) (int, error)

func (*Component_NestedCircuit) SizeVT

func (m *Component_NestedCircuit) SizeVT() (n int)

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

func (*Component_NestedSignalEgress) MarshalToSizedBufferVT

func (m *Component_NestedSignalEgress) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_NestedSignalEgress) MarshalToVT

func (m *Component_NestedSignalEgress) MarshalToVT(dAtA []byte) (int, error)

func (*Component_NestedSignalEgress) SizeVT

func (m *Component_NestedSignalEgress) SizeVT() (n int)

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

func (*Component_NestedSignalIngress) MarshalToSizedBufferVT

func (m *Component_NestedSignalIngress) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_NestedSignalIngress) MarshalToVT

func (m *Component_NestedSignalIngress) MarshalToVT(dAtA []byte) (int, error)

func (*Component_NestedSignalIngress) SizeVT

func (m *Component_NestedSignalIngress) SizeVT() (n int)

type Component_Or

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

func (*Component_Or) MarshalToSizedBufferVT

func (m *Component_Or) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Or) MarshalToVT

func (m *Component_Or) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Or) SizeVT

func (m *Component_Or) SizeVT() (n int)

type Component_PidController

type Component_PidController struct {
	// PID Controller is a proportional–integral–derivative controller.
	PidController *PIDController `protobuf:"bytes,29,opt,name=pid_controller,json=pidController,proto3,oneof"`
}

func (*Component_PidController) MarshalToSizedBufferVT

func (m *Component_PidController) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_PidController) MarshalToVT

func (m *Component_PidController) MarshalToVT(dAtA []byte) (int, error)

func (*Component_PidController) SizeVT

func (m *Component_PidController) SizeVT() (n int)

type Component_PolynomialRangeFunction

type Component_PolynomialRangeFunction struct {
	// Polynomial Range Function is a function that maps a signal to a range of values following a polynomial function.
	PolynomialRangeFunction *PolynomialRangeFunction `protobuf:"bytes,30,opt,name=polynomial_range_function,json=polynomialRangeFunction,proto3,oneof"`
}

func (*Component_PolynomialRangeFunction) MarshalToSizedBufferVT

func (m *Component_PolynomialRangeFunction) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_PolynomialRangeFunction) MarshalToVT

func (m *Component_PolynomialRangeFunction) MarshalToVT(dAtA []byte) (int, error)

func (*Component_PolynomialRangeFunction) SizeVT

func (m *Component_PolynomialRangeFunction) SizeVT() (n int)

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

func (*Component_PulseGenerator) MarshalToSizedBufferVT

func (m *Component_PulseGenerator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_PulseGenerator) MarshalToVT

func (m *Component_PulseGenerator) MarshalToVT(dAtA []byte) (int, error)

func (*Component_PulseGenerator) SizeVT

func (m *Component_PulseGenerator) SizeVT() (n int)

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

func (*Component_Query) MarshalToSizedBufferVT

func (m *Component_Query) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Query) MarshalToVT

func (m *Component_Query) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Query) SizeVT

func (m *Component_Query) SizeVT() (n int)

type Component_SignalGenerator

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

func (*Component_SignalGenerator) MarshalToSizedBufferVT

func (m *Component_SignalGenerator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_SignalGenerator) MarshalToVT

func (m *Component_SignalGenerator) MarshalToVT(dAtA []byte) (int, error)

func (*Component_SignalGenerator) SizeVT

func (m *Component_SignalGenerator) SizeVT() (n int)

type Component_Sma

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

func (*Component_Sma) MarshalToSizedBufferVT

func (m *Component_Sma) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Sma) MarshalToVT

func (m *Component_Sma) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Sma) SizeVT

func (m *Component_Sma) SizeVT() (n int)

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

func (*Component_Switcher) MarshalToSizedBufferVT

func (m *Component_Switcher) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Switcher) MarshalToVT

func (m *Component_Switcher) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Switcher) SizeVT

func (m *Component_Switcher) SizeVT() (n int)

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

func (*Component_UnaryOperator) MarshalToSizedBufferVT

func (m *Component_UnaryOperator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_UnaryOperator) MarshalToVT

func (m *Component_UnaryOperator) MarshalToVT(dAtA []byte) (int, error)

func (*Component_UnaryOperator) SizeVT

func (m *Component_UnaryOperator) SizeVT() (n int)

type Component_Variable

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

func (*Component_Variable) MarshalToSizedBufferVT

func (m *Component_Variable) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Component_Variable) MarshalToVT

func (m *Component_Variable) MarshalToVT(dAtA []byte) (int, error)

func (*Component_Variable) SizeVT

func (m *Component_Variable) SizeVT() (n int)

type ConcurrencyLimiter

type ConcurrencyLimiter struct {

	// Input ports for the _Concurrency Limiter_ component.
	InPorts *ConcurrencyLimiter_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty" validate:"required"` // @gotags: validate:"required"
	// Parameters for the _Concurrency Limiter_ component.
	Parameters *ConcurrencyLimiter_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"
	// RequestParameters for the component
	RequestParameters *ConcurrencyLimiter_RequestParameters `protobuf:"bytes,4,opt,name=request_parameters,json=requestParameters,proto3" json:"request_parameters,omitempty"`
	// Output ports for the _Concurrency Limiter_ component.
	OutPorts *ConcurrencyLimiter_Outs `protobuf:"bytes,5,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

func (*ConcurrencyLimiter) Descriptor deprecated

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

Deprecated: Use ConcurrencyLimiter.ProtoReflect.Descriptor instead.

func (*ConcurrencyLimiter) GetInPorts

func (x *ConcurrencyLimiter) GetInPorts() *ConcurrencyLimiter_Ins

func (*ConcurrencyLimiter) GetOutPorts

func (x *ConcurrencyLimiter) GetOutPorts() *ConcurrencyLimiter_Outs

func (*ConcurrencyLimiter) GetParameters

func (*ConcurrencyLimiter) GetRequestParameters

func (x *ConcurrencyLimiter) GetRequestParameters() *ConcurrencyLimiter_RequestParameters

func (*ConcurrencyLimiter) GetSelectors

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

func (*ConcurrencyLimiter) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ConcurrencyLimiter) MarshalToSizedBufferVT

func (m *ConcurrencyLimiter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ConcurrencyLimiter) MarshalToVT

func (m *ConcurrencyLimiter) MarshalToVT(dAtA []byte) (int, error)

func (*ConcurrencyLimiter) MarshalVT

func (m *ConcurrencyLimiter) MarshalVT() (dAtA []byte, err error)

func (*ConcurrencyLimiter) ProtoMessage

func (*ConcurrencyLimiter) ProtoMessage()

func (*ConcurrencyLimiter) ProtoReflect

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

func (*ConcurrencyLimiter) Reset

func (x *ConcurrencyLimiter) Reset()

func (*ConcurrencyLimiter) SizeVT

func (m *ConcurrencyLimiter) SizeVT() (n int)

func (*ConcurrencyLimiter) String

func (x *ConcurrencyLimiter) String() string

func (*ConcurrencyLimiter) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ConcurrencyLimiter) UnmarshalVT

func (m *ConcurrencyLimiter) UnmarshalVT(dAtA []byte) error

func (*ConcurrencyLimiter) Validate

func (m *ConcurrencyLimiter) Validate() error

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

func (*ConcurrencyLimiter) ValidateAll

func (m *ConcurrencyLimiter) ValidateAll() error

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

type ConcurrencyLimiterMultiError

type ConcurrencyLimiterMultiError []error

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

func (ConcurrencyLimiterMultiError) AllErrors

func (m ConcurrencyLimiterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConcurrencyLimiterMultiError) Error

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

type ConcurrencyLimiterValidationError

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

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

func (ConcurrencyLimiterValidationError) Cause

Cause function returns cause value.

func (ConcurrencyLimiterValidationError) Error

Error satisfies the builtin error interface

func (ConcurrencyLimiterValidationError) ErrorName

ErrorName returns error name.

func (ConcurrencyLimiterValidationError) Field

Field function returns field value.

func (ConcurrencyLimiterValidationError) Key

Key function returns key value.

func (ConcurrencyLimiterValidationError) Reason

Reason function returns reason value.

type ConcurrencyLimiter_Ins

type ConcurrencyLimiter_Ins struct {

	// The maximum number of concurrent requests to be allowed.
	MaxConcurrency *InPort `protobuf:"bytes,1,opt,name=max_concurrency,json=maxConcurrency,proto3" json:"max_concurrency,omitempty" validate:"required"` // @gotags: validate:"required"
	// PassThrough port determines whether to accept all requests instantaneously
	PassThrough *InPort `protobuf:"bytes,2,opt,name=pass_through,json=passThrough,proto3" json:"pass_through,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the _Concurrency Limiter_ or _Concurrency Scheduler_ component

func (*ConcurrencyLimiter_Ins) Descriptor deprecated

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

Deprecated: Use ConcurrencyLimiter_Ins.ProtoReflect.Descriptor instead.

func (*ConcurrencyLimiter_Ins) GetMaxConcurrency

func (x *ConcurrencyLimiter_Ins) GetMaxConcurrency() *InPort

func (*ConcurrencyLimiter_Ins) GetPassThrough

func (x *ConcurrencyLimiter_Ins) GetPassThrough() *InPort

func (*ConcurrencyLimiter_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ConcurrencyLimiter_Ins) MarshalToSizedBufferVT

func (m *ConcurrencyLimiter_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ConcurrencyLimiter_Ins) MarshalToVT

func (m *ConcurrencyLimiter_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*ConcurrencyLimiter_Ins) MarshalVT

func (m *ConcurrencyLimiter_Ins) MarshalVT() (dAtA []byte, err error)

func (*ConcurrencyLimiter_Ins) ProtoMessage

func (*ConcurrencyLimiter_Ins) ProtoMessage()

func (*ConcurrencyLimiter_Ins) ProtoReflect

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

func (*ConcurrencyLimiter_Ins) Reset

func (x *ConcurrencyLimiter_Ins) Reset()

func (*ConcurrencyLimiter_Ins) SizeVT

func (m *ConcurrencyLimiter_Ins) SizeVT() (n int)

func (*ConcurrencyLimiter_Ins) String

func (x *ConcurrencyLimiter_Ins) String() string

func (*ConcurrencyLimiter_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ConcurrencyLimiter_Ins) UnmarshalVT

func (m *ConcurrencyLimiter_Ins) UnmarshalVT(dAtA []byte) error

func (*ConcurrencyLimiter_Ins) Validate

func (m *ConcurrencyLimiter_Ins) Validate() error

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

func (m *ConcurrencyLimiter_Ins) ValidateAll() error

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

type ConcurrencyLimiter_InsMultiError

type ConcurrencyLimiter_InsMultiError []error

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

func (ConcurrencyLimiter_InsMultiError) AllErrors

func (m ConcurrencyLimiter_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConcurrencyLimiter_InsMultiError) Error

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

type ConcurrencyLimiter_InsValidationError

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

ConcurrencyLimiter_InsValidationError is the validation error returned by ConcurrencyLimiter_Ins.Validate if the designated constraints aren't met.

func (ConcurrencyLimiter_InsValidationError) Cause

Cause function returns cause value.

func (ConcurrencyLimiter_InsValidationError) Error

Error satisfies the builtin error interface

func (ConcurrencyLimiter_InsValidationError) ErrorName

ErrorName returns error name.

func (ConcurrencyLimiter_InsValidationError) Field

Field function returns field value.

func (ConcurrencyLimiter_InsValidationError) Key

Key function returns key value.

func (ConcurrencyLimiter_InsValidationError) Reason

Reason function returns reason value.

type ConcurrencyLimiter_Outs

type ConcurrencyLimiter_Outs struct {

	// The percentage of flows being accepted by the _Concurrency Limiter_.
	AcceptPercentage *OutPort `protobuf:"bytes,1,opt,name=accept_percentage,json=acceptPercentage,proto3" json:"accept_percentage,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the _Concurrency Limiter_ or _Concurrency Scheduler_ component.

func (*ConcurrencyLimiter_Outs) Descriptor deprecated

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

Deprecated: Use ConcurrencyLimiter_Outs.ProtoReflect.Descriptor instead.

func (*ConcurrencyLimiter_Outs) GetAcceptPercentage

func (x *ConcurrencyLimiter_Outs) GetAcceptPercentage() *OutPort

func (*ConcurrencyLimiter_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ConcurrencyLimiter_Outs) MarshalToSizedBufferVT

func (m *ConcurrencyLimiter_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ConcurrencyLimiter_Outs) MarshalToVT

func (m *ConcurrencyLimiter_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*ConcurrencyLimiter_Outs) MarshalVT

func (m *ConcurrencyLimiter_Outs) MarshalVT() (dAtA []byte, err error)

func (*ConcurrencyLimiter_Outs) ProtoMessage

func (*ConcurrencyLimiter_Outs) ProtoMessage()

func (*ConcurrencyLimiter_Outs) ProtoReflect

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

func (*ConcurrencyLimiter_Outs) Reset

func (x *ConcurrencyLimiter_Outs) Reset()

func (*ConcurrencyLimiter_Outs) SizeVT

func (m *ConcurrencyLimiter_Outs) SizeVT() (n int)

func (*ConcurrencyLimiter_Outs) String

func (x *ConcurrencyLimiter_Outs) String() string

func (*ConcurrencyLimiter_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ConcurrencyLimiter_Outs) UnmarshalVT

func (m *ConcurrencyLimiter_Outs) UnmarshalVT(dAtA []byte) error

func (*ConcurrencyLimiter_Outs) Validate

func (m *ConcurrencyLimiter_Outs) Validate() error

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

func (m *ConcurrencyLimiter_Outs) ValidateAll() error

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

type ConcurrencyLimiter_OutsMultiError

type ConcurrencyLimiter_OutsMultiError []error

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

func (ConcurrencyLimiter_OutsMultiError) AllErrors

func (m ConcurrencyLimiter_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConcurrencyLimiter_OutsMultiError) Error

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

type ConcurrencyLimiter_OutsValidationError

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

ConcurrencyLimiter_OutsValidationError is the validation error returned by ConcurrencyLimiter_Outs.Validate if the designated constraints aren't met.

func (ConcurrencyLimiter_OutsValidationError) Cause

Cause function returns cause value.

func (ConcurrencyLimiter_OutsValidationError) Error

Error satisfies the builtin error interface

func (ConcurrencyLimiter_OutsValidationError) ErrorName

ErrorName returns error name.

func (ConcurrencyLimiter_OutsValidationError) Field

Field function returns field value.

func (ConcurrencyLimiter_OutsValidationError) Key

Key function returns key value.

func (ConcurrencyLimiter_OutsValidationError) Reason

Reason function returns reason value.

type ConcurrencyLimiter_Parameters

type ConcurrencyLimiter_Parameters struct {

	// Specifies which label the concurrency calculation should be keyed by.
	//
	// Concurrency limiting is done independently for each value of the
	// [label](/concepts/flow-label.md) with given key.
	// For example, to give each API Key a separate limit, assuming you
	// have a `api_key` flow
	// label set up, set `limit_by_label_key: "api_key"`.
	// If no label key is specified, then all requests matching the
	// selectors will be concurrency limited based on the global concurrency count.
	LimitByLabelKey string `protobuf:"bytes,1,opt,name=limit_by_label_key,json=limitByLabelKey,proto3" json:"limit_by_label_key,omitempty"`
	// The time duration after which flow is assumed to have ended in case the end call gets missed.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	MaxInflightDuration *durationpb.Duration `` // @gotags: validate:"required"
	/* 140-byte string literal not displayed */
	// Max idle time before concurrency count for a label is removed.
	// If set to 0, the state is never removed.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	MaxIdleTime *durationpb.Duration `protobuf:"bytes,3,opt,name=max_idle_time,json=maxIdleTime,proto3" json:"max_idle_time,omitempty" default:"7200s"` // @gotags: default:"7200s"
	// contains filtered or unexported fields
}

func (*ConcurrencyLimiter_Parameters) Descriptor deprecated

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

Deprecated: Use ConcurrencyLimiter_Parameters.ProtoReflect.Descriptor instead.

func (*ConcurrencyLimiter_Parameters) GetLimitByLabelKey

func (x *ConcurrencyLimiter_Parameters) GetLimitByLabelKey() string

func (*ConcurrencyLimiter_Parameters) GetMaxIdleTime

func (x *ConcurrencyLimiter_Parameters) GetMaxIdleTime() *durationpb.Duration

func (*ConcurrencyLimiter_Parameters) GetMaxInflightDuration

func (x *ConcurrencyLimiter_Parameters) GetMaxInflightDuration() *durationpb.Duration

func (*ConcurrencyLimiter_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ConcurrencyLimiter_Parameters) MarshalToSizedBufferVT

func (m *ConcurrencyLimiter_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ConcurrencyLimiter_Parameters) MarshalToVT

func (m *ConcurrencyLimiter_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*ConcurrencyLimiter_Parameters) MarshalVT

func (m *ConcurrencyLimiter_Parameters) MarshalVT() (dAtA []byte, err error)

func (*ConcurrencyLimiter_Parameters) ProtoMessage

func (*ConcurrencyLimiter_Parameters) ProtoMessage()

func (*ConcurrencyLimiter_Parameters) ProtoReflect

func (*ConcurrencyLimiter_Parameters) Reset

func (x *ConcurrencyLimiter_Parameters) Reset()

func (*ConcurrencyLimiter_Parameters) SizeVT

func (m *ConcurrencyLimiter_Parameters) SizeVT() (n int)

func (*ConcurrencyLimiter_Parameters) String

func (*ConcurrencyLimiter_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ConcurrencyLimiter_Parameters) UnmarshalVT

func (m *ConcurrencyLimiter_Parameters) UnmarshalVT(dAtA []byte) error

func (*ConcurrencyLimiter_Parameters) Validate

func (m *ConcurrencyLimiter_Parameters) Validate() error

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

func (m *ConcurrencyLimiter_Parameters) ValidateAll() error

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

type ConcurrencyLimiter_ParametersMultiError

type ConcurrencyLimiter_ParametersMultiError []error

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

func (ConcurrencyLimiter_ParametersMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ConcurrencyLimiter_ParametersMultiError) Error

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

type ConcurrencyLimiter_ParametersValidationError

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

ConcurrencyLimiter_ParametersValidationError is the validation error returned by ConcurrencyLimiter_Parameters.Validate if the designated constraints aren't met.

func (ConcurrencyLimiter_ParametersValidationError) Cause

Cause function returns cause value.

func (ConcurrencyLimiter_ParametersValidationError) Error

Error satisfies the builtin error interface

func (ConcurrencyLimiter_ParametersValidationError) ErrorName

ErrorName returns error name.

func (ConcurrencyLimiter_ParametersValidationError) Field

Field function returns field value.

func (ConcurrencyLimiter_ParametersValidationError) Key

Key function returns key value.

func (ConcurrencyLimiter_ParametersValidationError) Reason

Reason function returns reason value.

type ConcurrencyLimiter_RequestParameters

type ConcurrencyLimiter_RequestParameters struct {

	// 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 number.
	TokensLabelKey string `protobuf:"bytes,1,opt,name=tokens_label_key,json=tokensLabelKey,proto3" json:"tokens_label_key,omitempty"`
	// This field allows you to override the default HTTP status code (`429 Too Many Requests`) that is returned when a request is denied.
	DeniedResponseStatusCode v1.StatusCode `` // @gotags: default:"TooManyRequests"
	/* 210-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConcurrencyLimiter_RequestParameters) Descriptor deprecated

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

Deprecated: Use ConcurrencyLimiter_RequestParameters.ProtoReflect.Descriptor instead.

func (*ConcurrencyLimiter_RequestParameters) GetDeniedResponseStatusCode

func (x *ConcurrencyLimiter_RequestParameters) GetDeniedResponseStatusCode() v1.StatusCode

func (*ConcurrencyLimiter_RequestParameters) GetTokensLabelKey

func (x *ConcurrencyLimiter_RequestParameters) GetTokensLabelKey() string

func (*ConcurrencyLimiter_RequestParameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ConcurrencyLimiter_RequestParameters) MarshalToSizedBufferVT

func (m *ConcurrencyLimiter_RequestParameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ConcurrencyLimiter_RequestParameters) MarshalToVT

func (m *ConcurrencyLimiter_RequestParameters) MarshalToVT(dAtA []byte) (int, error)

func (*ConcurrencyLimiter_RequestParameters) MarshalVT

func (m *ConcurrencyLimiter_RequestParameters) MarshalVT() (dAtA []byte, err error)

func (*ConcurrencyLimiter_RequestParameters) ProtoMessage

func (*ConcurrencyLimiter_RequestParameters) ProtoMessage()

func (*ConcurrencyLimiter_RequestParameters) ProtoReflect

func (*ConcurrencyLimiter_RequestParameters) Reset

func (*ConcurrencyLimiter_RequestParameters) SizeVT

func (m *ConcurrencyLimiter_RequestParameters) SizeVT() (n int)

func (*ConcurrencyLimiter_RequestParameters) String

func (*ConcurrencyLimiter_RequestParameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ConcurrencyLimiter_RequestParameters) UnmarshalVT

func (m *ConcurrencyLimiter_RequestParameters) UnmarshalVT(dAtA []byte) error

func (*ConcurrencyLimiter_RequestParameters) Validate

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

func (*ConcurrencyLimiter_RequestParameters) ValidateAll

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

type ConcurrencyLimiter_RequestParametersMultiError

type ConcurrencyLimiter_RequestParametersMultiError []error

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

func (ConcurrencyLimiter_RequestParametersMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ConcurrencyLimiter_RequestParametersMultiError) Error

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

type ConcurrencyLimiter_RequestParametersValidationError

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

ConcurrencyLimiter_RequestParametersValidationError is the validation error returned by ConcurrencyLimiter_RequestParameters.Validate if the designated constraints aren't met.

func (ConcurrencyLimiter_RequestParametersValidationError) Cause

Cause function returns cause value.

func (ConcurrencyLimiter_RequestParametersValidationError) Error

Error satisfies the builtin error interface

func (ConcurrencyLimiter_RequestParametersValidationError) ErrorName

ErrorName returns error name.

func (ConcurrencyLimiter_RequestParametersValidationError) Field

Field function returns field value.

func (ConcurrencyLimiter_RequestParametersValidationError) Key

Key function returns key value.

func (ConcurrencyLimiter_RequestParametersValidationError) Reason

Reason function returns reason value.

type ConcurrencyScheduler

type ConcurrencyScheduler struct {

	// Input ports for the _Concurrency Scheduler_ component
	InPorts *ConcurrencyLimiter_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty" validate:"required"` // @gotags: validate:"required"
	// Flow selection criteria.
	Selectors []*Selector `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required,gt=0,dive"` // @gotags: validate:"required,gt=0,dive"
	// Parameter to configure concurrency limiting.
	ConcurrencyLimiter *ConcurrencyLimiter_Parameters `` // @gotags: validate:"required"
	/* 135-byte string literal not displayed */
	// Scheduler is used to schedule the requests when the concurrency limit is reached.
	Scheduler *Scheduler `protobuf:"bytes,4,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
	// Output ports for the _Concurrency Scheduler_ component.
	OutPorts *ConcurrencyLimiter_Outs `protobuf:"bytes,5,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

Schedules the traffic based on in-flight request concurrency.

func (*ConcurrencyScheduler) Descriptor deprecated

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

Deprecated: Use ConcurrencyScheduler.ProtoReflect.Descriptor instead.

func (*ConcurrencyScheduler) GetConcurrencyLimiter

func (x *ConcurrencyScheduler) GetConcurrencyLimiter() *ConcurrencyLimiter_Parameters

func (*ConcurrencyScheduler) GetInPorts

func (*ConcurrencyScheduler) GetOutPorts

func (*ConcurrencyScheduler) GetScheduler

func (x *ConcurrencyScheduler) GetScheduler() *Scheduler

func (*ConcurrencyScheduler) GetSelectors

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

func (*ConcurrencyScheduler) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ConcurrencyScheduler) MarshalToSizedBufferVT

func (m *ConcurrencyScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ConcurrencyScheduler) MarshalToVT

func (m *ConcurrencyScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*ConcurrencyScheduler) MarshalVT

func (m *ConcurrencyScheduler) MarshalVT() (dAtA []byte, err error)

func (*ConcurrencyScheduler) ProtoMessage

func (*ConcurrencyScheduler) ProtoMessage()

func (*ConcurrencyScheduler) ProtoReflect

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

func (*ConcurrencyScheduler) Reset

func (x *ConcurrencyScheduler) Reset()

func (*ConcurrencyScheduler) SizeVT

func (m *ConcurrencyScheduler) SizeVT() (n int)

func (*ConcurrencyScheduler) String

func (x *ConcurrencyScheduler) String() string

func (*ConcurrencyScheduler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ConcurrencyScheduler) UnmarshalVT

func (m *ConcurrencyScheduler) UnmarshalVT(dAtA []byte) error

func (*ConcurrencyScheduler) Validate

func (m *ConcurrencyScheduler) Validate() error

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

func (*ConcurrencyScheduler) ValidateAll

func (m *ConcurrencyScheduler) ValidateAll() error

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

type ConcurrencySchedulerMultiError

type ConcurrencySchedulerMultiError []error

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

func (ConcurrencySchedulerMultiError) AllErrors

func (m ConcurrencySchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConcurrencySchedulerMultiError) Error

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

type ConcurrencySchedulerValidationError

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

ConcurrencySchedulerValidationError is the validation error returned by ConcurrencyScheduler.Validate if the designated constraints aren't met.

func (ConcurrencySchedulerValidationError) Cause

Cause function returns cause value.

func (ConcurrencySchedulerValidationError) Error

Error satisfies the builtin error interface

func (ConcurrencySchedulerValidationError) ErrorName

ErrorName returns error name.

func (ConcurrencySchedulerValidationError) Field

Field function returns field value.

func (ConcurrencySchedulerValidationError) Key

Key function returns key value.

func (ConcurrencySchedulerValidationError) Reason

Reason function returns reason value.

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

func (m *ConstantSignal) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ConstantSignal) MarshalToVT

func (m *ConstantSignal) MarshalToVT(dAtA []byte) (int, error)

func (*ConstantSignal) MarshalVT

func (m *ConstantSignal) MarshalVT() (dAtA []byte, err error)

func (*ConstantSignal) ProtoMessage

func (*ConstantSignal) ProtoMessage()

func (*ConstantSignal) ProtoReflect

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

func (*ConstantSignal) Reset

func (x *ConstantSignal) Reset()

func (*ConstantSignal) SizeVT

func (m *ConstantSignal) SizeVT() (n int)

func (*ConstantSignal) String

func (x *ConstantSignal) String() string

func (*ConstantSignal) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ConstantSignal) UnmarshalVT

func (m *ConstantSignal) UnmarshalVT(dAtA []byte) error

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

func (*ConstantSignal_SpecialValue) MarshalToSizedBufferVT

func (m *ConstantSignal_SpecialValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ConstantSignal_SpecialValue) MarshalToVT

func (m *ConstantSignal_SpecialValue) MarshalToVT(dAtA []byte) (int, error)

func (*ConstantSignal_SpecialValue) SizeVT

func (m *ConstantSignal_SpecialValue) SizeVT() (n int)

type ConstantSignal_Value

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

func (*ConstantSignal_Value) MarshalToSizedBufferVT

func (m *ConstantSignal_Value) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ConstantSignal_Value) MarshalToVT

func (m *ConstantSignal_Value) MarshalToVT(dAtA []byte) (int, error)

func (*ConstantSignal_Value) SizeVT

func (m *ConstantSignal_Value) SizeVT() (n int)

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.“`
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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) 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) MarshalToSizedBufferVT

func (m *Decider) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Decider) MarshalToVT

func (m *Decider) MarshalToVT(dAtA []byte) (int, error)

func (*Decider) MarshalVT

func (m *Decider) MarshalVT() (dAtA []byte, err error)

func (*Decider) ProtoMessage

func (*Decider) ProtoMessage()

func (*Decider) ProtoReflect

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

func (*Decider) Reset

func (x *Decider) Reset()

func (*Decider) SizeVT

func (m *Decider) SizeVT() (n int)

func (*Decider) String

func (x *Decider) String() string

func (*Decider) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Decider) UnmarshalVT

func (m *Decider) UnmarshalVT(dAtA []byte) error

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

func (m *Decider_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Decider_Ins) MarshalToVT

func (m *Decider_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Decider_Ins) MarshalVT

func (m *Decider_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *Decider_Ins) SizeVT() (n int)

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

func (m *Decider_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *Decider_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Decider_Outs) MarshalToVT

func (m *Decider_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*Decider_Outs) MarshalVT

func (m *Decider_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *Decider_Outs) SizeVT() (n int)

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

func (m *Decider_Outs) UnmarshalVT(dAtA []byte) error

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

func (m *DecreasingGradient) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DecreasingGradient) MarshalToVT

func (m *DecreasingGradient) MarshalToVT(dAtA []byte) (int, error)

func (*DecreasingGradient) MarshalVT

func (m *DecreasingGradient) MarshalVT() (dAtA []byte, err error)

func (*DecreasingGradient) ProtoMessage

func (*DecreasingGradient) ProtoMessage()

func (*DecreasingGradient) ProtoReflect

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

func (*DecreasingGradient) Reset

func (x *DecreasingGradient) Reset()

func (*DecreasingGradient) SizeVT

func (m *DecreasingGradient) SizeVT() (n int)

func (*DecreasingGradient) String

func (x *DecreasingGradient) String() string

func (*DecreasingGradient) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*DecreasingGradient) UnmarshalVT

func (m *DecreasingGradient) UnmarshalVT(dAtA []byte) error

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

func (m *DecreasingGradient_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DecreasingGradient_Ins) MarshalToVT

func (m *DecreasingGradient_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*DecreasingGradient_Ins) MarshalVT

func (m *DecreasingGradient_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *DecreasingGradient_Ins) SizeVT() (n int)

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

func (m *DecreasingGradient_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *DecreasingGradient_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DecreasingGradient_Parameters) MarshalToVT

func (m *DecreasingGradient_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*DecreasingGradient_Parameters) MarshalVT

func (m *DecreasingGradient_Parameters) MarshalVT() (dAtA []byte, err error)

func (*DecreasingGradient_Parameters) ProtoMessage

func (*DecreasingGradient_Parameters) ProtoMessage()

func (*DecreasingGradient_Parameters) ProtoReflect

func (*DecreasingGradient_Parameters) Reset

func (x *DecreasingGradient_Parameters) Reset()

func (*DecreasingGradient_Parameters) SizeVT

func (m *DecreasingGradient_Parameters) SizeVT() (n int)

func (*DecreasingGradient_Parameters) String

func (*DecreasingGradient_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*DecreasingGradient_Parameters) UnmarshalVT

func (m *DecreasingGradient_Parameters) UnmarshalVT(dAtA []byte) error

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 DeleteDynamicConfigRequest

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

DeleteDynamicConfigRequest is a request to delete dynamic configuration of Policy.

func (*DeleteDynamicConfigRequest) Descriptor deprecated

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

Deprecated: Use DeleteDynamicConfigRequest.ProtoReflect.Descriptor instead.

func (*DeleteDynamicConfigRequest) GetPolicyName

func (x *DeleteDynamicConfigRequest) GetPolicyName() string

func (*DeleteDynamicConfigRequest) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*DeleteDynamicConfigRequest) MarshalToSizedBufferVT

func (m *DeleteDynamicConfigRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeleteDynamicConfigRequest) MarshalToVT

func (m *DeleteDynamicConfigRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DeleteDynamicConfigRequest) MarshalVT

func (m *DeleteDynamicConfigRequest) MarshalVT() (dAtA []byte, err error)

func (*DeleteDynamicConfigRequest) ProtoMessage

func (*DeleteDynamicConfigRequest) ProtoMessage()

func (*DeleteDynamicConfigRequest) ProtoReflect

func (*DeleteDynamicConfigRequest) Reset

func (x *DeleteDynamicConfigRequest) Reset()

func (*DeleteDynamicConfigRequest) SizeVT

func (m *DeleteDynamicConfigRequest) SizeVT() (n int)

func (*DeleteDynamicConfigRequest) String

func (x *DeleteDynamicConfigRequest) String() string

func (*DeleteDynamicConfigRequest) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*DeleteDynamicConfigRequest) UnmarshalVT

func (m *DeleteDynamicConfigRequest) UnmarshalVT(dAtA []byte) error

func (*DeleteDynamicConfigRequest) Validate

func (m *DeleteDynamicConfigRequest) Validate() error

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

func (*DeleteDynamicConfigRequest) ValidateAll

func (m *DeleteDynamicConfigRequest) ValidateAll() error

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

type DeleteDynamicConfigRequestMultiError

type DeleteDynamicConfigRequestMultiError []error

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

func (DeleteDynamicConfigRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteDynamicConfigRequestMultiError) Error

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

type DeleteDynamicConfigRequestValidationError

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

DeleteDynamicConfigRequestValidationError is the validation error returned by DeleteDynamicConfigRequest.Validate if the designated constraints aren't met.

func (DeleteDynamicConfigRequestValidationError) Cause

Cause function returns cause value.

func (DeleteDynamicConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteDynamicConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteDynamicConfigRequestValidationError) Field

Field function returns field value.

func (DeleteDynamicConfigRequestValidationError) Key

Key function returns key value.

func (DeleteDynamicConfigRequestValidationError) 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) 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) MarshalToSizedBufferVT

func (m *DeletePolicyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeletePolicyRequest) MarshalToVT

func (m *DeletePolicyRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DeletePolicyRequest) MarshalVT

func (m *DeletePolicyRequest) MarshalVT() (dAtA []byte, err error)

func (*DeletePolicyRequest) ProtoMessage

func (*DeletePolicyRequest) ProtoMessage()

func (*DeletePolicyRequest) ProtoReflect

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

func (*DeletePolicyRequest) Reset

func (x *DeletePolicyRequest) Reset()

func (*DeletePolicyRequest) SizeVT

func (m *DeletePolicyRequest) SizeVT() (n int)

func (*DeletePolicyRequest) String

func (x *DeletePolicyRequest) String() string

func (*DeletePolicyRequest) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*DeletePolicyRequest) UnmarshalVT

func (m *DeletePolicyRequest) UnmarshalVT(dAtA []byte) error

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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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) 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) MarshalToSizedBufferVT

func (m *Differentiator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Differentiator) MarshalToVT

func (m *Differentiator) MarshalToVT(dAtA []byte) (int, error)

func (*Differentiator) MarshalVT

func (m *Differentiator) MarshalVT() (dAtA []byte, err error)

func (*Differentiator) ProtoMessage

func (*Differentiator) ProtoMessage()

func (*Differentiator) ProtoReflect

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

func (*Differentiator) Reset

func (x *Differentiator) Reset()

func (*Differentiator) SizeVT

func (m *Differentiator) SizeVT() (n int)

func (*Differentiator) String

func (x *Differentiator) String() string

func (*Differentiator) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Differentiator) UnmarshalVT

func (m *Differentiator) UnmarshalVT(dAtA []byte) error

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

func (m *Differentiator_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Differentiator_Ins) MarshalToVT

func (m *Differentiator_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Differentiator_Ins) MarshalVT

func (m *Differentiator_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *Differentiator_Ins) SizeVT() (n int)

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

func (m *Differentiator_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *Differentiator_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Differentiator_Outs) MarshalToVT

func (m *Differentiator_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*Differentiator_Outs) MarshalVT

func (m *Differentiator_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *Differentiator_Outs) SizeVT() (n int)

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

func (m *Differentiator_Outs) UnmarshalVT(dAtA []byte) error

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

func (m *EMA) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EMA) MarshalToVT

func (m *EMA) MarshalToVT(dAtA []byte) (int, error)

func (*EMA) MarshalVT

func (m *EMA) MarshalVT() (dAtA []byte, err error)

func (*EMA) ProtoMessage

func (*EMA) ProtoMessage()

func (*EMA) ProtoReflect

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

func (*EMA) Reset

func (x *EMA) Reset()

func (*EMA) SizeVT

func (m *EMA) SizeVT() (n int)

func (*EMA) String

func (x *EMA) String() string

func (*EMA) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*EMA) UnmarshalVT

func (m *EMA) UnmarshalVT(dAtA []byte) error

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

func (m *EMA_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EMA_Ins) MarshalToVT

func (m *EMA_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*EMA_Ins) MarshalVT

func (m *EMA_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *EMA_Ins) SizeVT() (n int)

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

func (m *EMA_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *EMA_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EMA_Outs) MarshalToVT

func (m *EMA_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*EMA_Outs) MarshalVT

func (m *EMA_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *EMA_Outs) SizeVT() (n int)

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

func (m *EMA_Outs) UnmarshalVT(dAtA []byte) error

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 {

	// EMA window duration.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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) 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) MarshalToSizedBufferVT

func (m *EMA_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EMA_Parameters) MarshalToVT

func (m *EMA_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*EMA_Parameters) MarshalVT

func (m *EMA_Parameters) MarshalVT() (dAtA []byte, err error)

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

func (m *EMA_Parameters) SizeVT() (n int)

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

func (m *EMA_Parameters) UnmarshalVT(dAtA []byte) error

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 EqualsExpression

type EqualsExpression 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 (*EqualsExpression) Descriptor deprecated

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

Deprecated: Use EqualsExpression.ProtoReflect.Descriptor instead.

func (*EqualsExpression) GetLabel

func (x *EqualsExpression) GetLabel() string

func (*EqualsExpression) GetValue

func (x *EqualsExpression) GetValue() string

func (*EqualsExpression) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*EqualsExpression) MarshalToSizedBufferVT

func (m *EqualsExpression) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EqualsExpression) MarshalToVT

func (m *EqualsExpression) MarshalToVT(dAtA []byte) (int, error)

func (*EqualsExpression) MarshalVT

func (m *EqualsExpression) MarshalVT() (dAtA []byte, err error)

func (*EqualsExpression) ProtoMessage

func (*EqualsExpression) ProtoMessage()

func (*EqualsExpression) ProtoReflect

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

func (*EqualsExpression) Reset

func (x *EqualsExpression) Reset()

func (*EqualsExpression) SizeVT

func (m *EqualsExpression) SizeVT() (n int)

func (*EqualsExpression) String

func (x *EqualsExpression) String() string

func (*EqualsExpression) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*EqualsExpression) UnmarshalVT

func (m *EqualsExpression) UnmarshalVT(dAtA []byte) error

func (*EqualsExpression) Validate

func (m *EqualsExpression) Validate() error

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

func (*EqualsExpression) ValidateAll

func (m *EqualsExpression) ValidateAll() error

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

type EqualsExpressionMultiError

type EqualsExpressionMultiError []error

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

func (EqualsExpressionMultiError) AllErrors

func (m EqualsExpressionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EqualsExpressionMultiError) Error

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

type EqualsExpressionValidationError

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

EqualsExpressionValidationError is the validation error returned by EqualsExpression.Validate if the designated constraints aren't met.

func (EqualsExpressionValidationError) Cause

Cause function returns cause value.

func (EqualsExpressionValidationError) Error

Error satisfies the builtin error interface

func (EqualsExpressionValidationError) ErrorName

ErrorName returns error name.

func (EqualsExpressionValidationError) Field

Field function returns field value.

func (EqualsExpressionValidationError) Key

Key function returns key value.

func (EqualsExpressionValidationError) Reason

Reason function returns reason value.

type Expression

type Expression struct {

	// @gotags: validate:"required"
	//
	// Types that are assignable to Variant:
	//
	//	*Expression_Not
	//	*Expression_All
	//	*Expression_Any
	//	*Expression_LabelExists
	//	*Expression_LabelEquals
	//	*Expression_LabelMatches
	Variant isExpression_Variant `protobuf_oneof:"variant" validate:"required"`
	// contains filtered or unexported fields
}

Expression has multiple variants, exactly one should be set.

Example: ```yaml all:

of:
  - label_exists: foo
  - label_equals:
      label: app
      value: frobnicator

```

func (*Expression) Descriptor deprecated

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

Deprecated: Use Expression.ProtoReflect.Descriptor instead.

func (*Expression) GetAll

func (x *Expression) GetAll() *Expression_List

func (*Expression) GetAny

func (x *Expression) GetAny() *Expression_List

func (*Expression) GetLabelEquals

func (x *Expression) GetLabelEquals() *EqualsExpression

func (*Expression) GetLabelExists

func (x *Expression) GetLabelExists() string

func (*Expression) GetLabelMatches

func (x *Expression) GetLabelMatches() *MatchesExpression

func (*Expression) GetNot

func (x *Expression) GetNot() *Expression

func (*Expression) GetVariant

func (m *Expression) GetVariant() isExpression_Variant

func (*Expression) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Expression) MarshalToSizedBufferVT

func (m *Expression) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Expression) MarshalToVT

func (m *Expression) MarshalToVT(dAtA []byte) (int, error)

func (*Expression) MarshalVT

func (m *Expression) MarshalVT() (dAtA []byte, err error)

func (*Expression) ProtoMessage

func (*Expression) ProtoMessage()

func (*Expression) ProtoReflect

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

func (*Expression) Reset

func (x *Expression) Reset()

func (*Expression) SizeVT

func (m *Expression) SizeVT() (n int)

func (*Expression) String

func (x *Expression) String() string

func (*Expression) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Expression) UnmarshalVT

func (m *Expression) UnmarshalVT(dAtA []byte) error

func (*Expression) Validate

func (m *Expression) Validate() error

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

func (*Expression) ValidateAll

func (m *Expression) ValidateAll() error

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

type ExpressionMultiError

type ExpressionMultiError []error

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

func (ExpressionMultiError) AllErrors

func (m ExpressionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExpressionMultiError) Error

func (m ExpressionMultiError) Error() string

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

type ExpressionValidationError

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

ExpressionValidationError is the validation error returned by Expression.Validate if the designated constraints aren't met.

func (ExpressionValidationError) Cause

func (e ExpressionValidationError) Cause() error

Cause function returns cause value.

func (ExpressionValidationError) Error

Error satisfies the builtin error interface

func (ExpressionValidationError) ErrorName

func (e ExpressionValidationError) ErrorName() string

ErrorName returns error name.

func (ExpressionValidationError) Field

Field function returns field value.

func (ExpressionValidationError) Key

Key function returns key value.

func (ExpressionValidationError) Reason

func (e ExpressionValidationError) Reason() string

Reason function returns reason value.

type Expression_All

type Expression_All struct {
	// The expression is true when all sub expressions are true.
	All *Expression_List `protobuf:"bytes,2,opt,name=all,proto3,oneof"`
}

func (*Expression_All) MarshalToSizedBufferVT

func (m *Expression_All) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Expression_All) MarshalToVT

func (m *Expression_All) MarshalToVT(dAtA []byte) (int, error)

func (*Expression_All) SizeVT

func (m *Expression_All) SizeVT() (n int)

type Expression_Any

type Expression_Any struct {
	// The expression is true when any sub expression is true.
	Any *Expression_List `protobuf:"bytes,3,opt,name=any,proto3,oneof"`
}

func (*Expression_Any) MarshalToSizedBufferVT

func (m *Expression_Any) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Expression_Any) MarshalToVT

func (m *Expression_Any) MarshalToVT(dAtA []byte) (int, error)

func (*Expression_Any) SizeVT

func (m *Expression_Any) SizeVT() (n int)

type Expression_LabelEquals

type Expression_LabelEquals struct {
	// The expression is true when label value equals given value.
	LabelEquals *EqualsExpression `protobuf:"bytes,5,opt,name=label_equals,json=labelEquals,proto3,oneof"`
}

func (*Expression_LabelEquals) MarshalToSizedBufferVT

func (m *Expression_LabelEquals) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Expression_LabelEquals) MarshalToVT

func (m *Expression_LabelEquals) MarshalToVT(dAtA []byte) (int, error)

func (*Expression_LabelEquals) SizeVT

func (m *Expression_LabelEquals) SizeVT() (n int)

type Expression_LabelExists

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

func (*Expression_LabelExists) MarshalToSizedBufferVT

func (m *Expression_LabelExists) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Expression_LabelExists) MarshalToVT

func (m *Expression_LabelExists) MarshalToVT(dAtA []byte) (int, error)

func (*Expression_LabelExists) SizeVT

func (m *Expression_LabelExists) SizeVT() (n int)

type Expression_LabelMatches

type Expression_LabelMatches struct {
	// The expression is true when label matches given regular expression.
	LabelMatches *MatchesExpression `protobuf:"bytes,6,opt,name=label_matches,json=labelMatches,proto3,oneof"`
}

func (*Expression_LabelMatches) MarshalToSizedBufferVT

func (m *Expression_LabelMatches) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Expression_LabelMatches) MarshalToVT

func (m *Expression_LabelMatches) MarshalToVT(dAtA []byte) (int, error)

func (*Expression_LabelMatches) SizeVT

func (m *Expression_LabelMatches) SizeVT() (n int)

type Expression_List

type Expression_List struct {

	// List of sub expressions of the match expression.
	Of []*Expression `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 (*Expression_List) Descriptor deprecated

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

Deprecated: Use Expression_List.ProtoReflect.Descriptor instead.

func (*Expression_List) GetOf

func (x *Expression_List) GetOf() []*Expression

func (*Expression_List) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Expression_List) MarshalToSizedBufferVT

func (m *Expression_List) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Expression_List) MarshalToVT

func (m *Expression_List) MarshalToVT(dAtA []byte) (int, error)

func (*Expression_List) MarshalVT

func (m *Expression_List) MarshalVT() (dAtA []byte, err error)

func (*Expression_List) ProtoMessage

func (*Expression_List) ProtoMessage()

func (*Expression_List) ProtoReflect

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

func (*Expression_List) Reset

func (x *Expression_List) Reset()

func (*Expression_List) SizeVT

func (m *Expression_List) SizeVT() (n int)

func (*Expression_List) String

func (x *Expression_List) String() string

func (*Expression_List) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Expression_List) UnmarshalVT

func (m *Expression_List) UnmarshalVT(dAtA []byte) error

func (*Expression_List) Validate

func (m *Expression_List) Validate() error

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

func (m *Expression_List) ValidateAll() error

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

type Expression_ListMultiError

type Expression_ListMultiError []error

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

func (Expression_ListMultiError) AllErrors

func (m Expression_ListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Expression_ListMultiError) Error

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

type Expression_ListValidationError

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

Expression_ListValidationError is the validation error returned by Expression_List.Validate if the designated constraints aren't met.

func (Expression_ListValidationError) Cause

Cause function returns cause value.

func (Expression_ListValidationError) Error

Error satisfies the builtin error interface

func (Expression_ListValidationError) ErrorName

func (e Expression_ListValidationError) ErrorName() string

ErrorName returns error name.

func (Expression_ListValidationError) Field

Field function returns field value.

func (Expression_ListValidationError) Key

Key function returns key value.

func (Expression_ListValidationError) Reason

Reason function returns reason value.

type Expression_Not

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

func (*Expression_Not) MarshalToSizedBufferVT

func (m *Expression_Not) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Expression_Not) MarshalToVT

func (m *Expression_Not) MarshalToVT(dAtA []byte) (int, error)

func (*Expression_Not) SizeVT

func (m *Expression_Not) SizeVT() (n int)

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

func (m *Extractor) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Extractor) MarshalToVT

func (m *Extractor) MarshalToVT(dAtA []byte) (int, error)

func (*Extractor) MarshalVT

func (m *Extractor) MarshalVT() (dAtA []byte, err error)

func (*Extractor) ProtoMessage

func (*Extractor) ProtoMessage()

func (*Extractor) ProtoReflect

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

func (*Extractor) Reset

func (x *Extractor) Reset()

func (*Extractor) SizeVT

func (m *Extractor) SizeVT() (n int)

func (*Extractor) String

func (x *Extractor) String() string

func (*Extractor) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Extractor) UnmarshalVT

func (m *Extractor) UnmarshalVT(dAtA []byte) error

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

func (*Extractor_Address) MarshalToSizedBufferVT

func (m *Extractor_Address) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Extractor_Address) MarshalToVT

func (m *Extractor_Address) MarshalToVT(dAtA []byte) (int, error)

func (*Extractor_Address) SizeVT

func (m *Extractor_Address) SizeVT() (n int)

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

func (*Extractor_From) MarshalToSizedBufferVT

func (m *Extractor_From) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Extractor_From) MarshalToVT

func (m *Extractor_From) MarshalToVT(dAtA []byte) (int, error)

func (*Extractor_From) SizeVT

func (m *Extractor_From) SizeVT() (n int)

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

func (*Extractor_Json) MarshalToSizedBufferVT

func (m *Extractor_Json) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Extractor_Json) MarshalToVT

func (m *Extractor_Json) MarshalToVT(dAtA []byte) (int, error)

func (*Extractor_Json) SizeVT

func (m *Extractor_Json) SizeVT() (n int)

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

func (*Extractor_Jwt) MarshalToSizedBufferVT

func (m *Extractor_Jwt) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Extractor_Jwt) MarshalToVT

func (m *Extractor_Jwt) MarshalToVT(dAtA []byte) (int, error)

func (*Extractor_Jwt) SizeVT

func (m *Extractor_Jwt) SizeVT() (n int)

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

func (*Extractor_PathTemplates) MarshalToSizedBufferVT

func (m *Extractor_PathTemplates) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Extractor_PathTemplates) MarshalToVT

func (m *Extractor_PathTemplates) MarshalToVT(dAtA []byte) (int, error)

func (*Extractor_PathTemplates) SizeVT

func (m *Extractor_PathTemplates) SizeVT() (n int)

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

func (m *Extrapolator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Extrapolator) MarshalToVT

func (m *Extrapolator) MarshalToVT(dAtA []byte) (int, error)

func (*Extrapolator) MarshalVT

func (m *Extrapolator) MarshalVT() (dAtA []byte, err error)

func (*Extrapolator) ProtoMessage

func (*Extrapolator) ProtoMessage()

func (*Extrapolator) ProtoReflect

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

func (*Extrapolator) Reset

func (x *Extrapolator) Reset()

func (*Extrapolator) SizeVT

func (m *Extrapolator) SizeVT() (n int)

func (*Extrapolator) String

func (x *Extrapolator) String() string

func (*Extrapolator) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Extrapolator) UnmarshalVT

func (m *Extrapolator) UnmarshalVT(dAtA []byte) error

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

func (m *Extrapolator_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Extrapolator_Ins) MarshalToVT

func (m *Extrapolator_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Extrapolator_Ins) MarshalVT

func (m *Extrapolator_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *Extrapolator_Ins) SizeVT() (n int)

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

func (m *Extrapolator_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *Extrapolator_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Extrapolator_Outs) MarshalToVT

func (m *Extrapolator_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*Extrapolator_Outs) MarshalVT

func (m *Extrapolator_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *Extrapolator_Outs) SizeVT() (n int)

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

func (m *Extrapolator_Outs) UnmarshalVT(dAtA []byte) error

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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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) 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) MarshalToSizedBufferVT

func (m *Extrapolator_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Extrapolator_Parameters) MarshalToVT

func (m *Extrapolator_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*Extrapolator_Parameters) MarshalVT

func (m *Extrapolator_Parameters) MarshalVT() (dAtA []byte, err error)

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

func (m *Extrapolator_Parameters) SizeVT() (n int)

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

func (m *Extrapolator_Parameters) UnmarshalVT(dAtA []byte) error

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

func (m *FirstValid) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FirstValid) MarshalToVT

func (m *FirstValid) MarshalToVT(dAtA []byte) (int, error)

func (*FirstValid) MarshalVT

func (m *FirstValid) MarshalVT() (dAtA []byte, err error)

func (*FirstValid) ProtoMessage

func (*FirstValid) ProtoMessage()

func (*FirstValid) ProtoReflect

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

func (*FirstValid) Reset

func (x *FirstValid) Reset()

func (*FirstValid) SizeVT

func (m *FirstValid) SizeVT() (n int)

func (*FirstValid) String

func (x *FirstValid) String() string

func (*FirstValid) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FirstValid) UnmarshalVT

func (m *FirstValid) UnmarshalVT(dAtA []byte) error

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

func (m *FirstValid_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FirstValid_Ins) MarshalToVT

func (m *FirstValid_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*FirstValid_Ins) MarshalVT

func (m *FirstValid_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *FirstValid_Ins) SizeVT() (n int)

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

func (m *FirstValid_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *FirstValid_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FirstValid_Outs) MarshalToVT

func (m *FirstValid_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*FirstValid_Outs) MarshalVT

func (m *FirstValid_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *FirstValid_Outs) SizeVT() (n int)

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

func (m *FirstValid_Outs) UnmarshalVT(dAtA []byte) error

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_Sampler
	//	*FlowControl_LoadRamp
	//	*FlowControl_AimdLoadScheduler
	//	*FlowControl_RangeDrivenLoadScheduler
	//	*FlowControl_AiadLoadScheduler
	//	*FlowControl_ConcurrencyLimiter
	//	*FlowControl_ConcurrencyScheduler
	//	*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) Descriptor deprecated

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

Deprecated: Use FlowControl.ProtoReflect.Descriptor instead.

func (*FlowControl) GetAdaptiveLoadScheduler

func (x *FlowControl) GetAdaptiveLoadScheduler() *AdaptiveLoadScheduler

func (*FlowControl) GetAiadLoadScheduler

func (x *FlowControl) GetAiadLoadScheduler() *AIADLoadScheduler

func (*FlowControl) GetAimdLoadScheduler

func (x *FlowControl) GetAimdLoadScheduler() *AIMDLoadScheduler

func (*FlowControl) GetComponent

func (m *FlowControl) GetComponent() isFlowControl_Component

func (*FlowControl) GetConcurrencyLimiter

func (x *FlowControl) GetConcurrencyLimiter() *ConcurrencyLimiter

func (*FlowControl) GetConcurrencyScheduler

func (x *FlowControl) GetConcurrencyScheduler() *ConcurrencyScheduler

func (*FlowControl) GetLoadRamp

func (x *FlowControl) GetLoadRamp() *LoadRamp

func (*FlowControl) GetLoadScheduler

func (x *FlowControl) GetLoadScheduler() *LoadScheduler

func (*FlowControl) GetPrivate

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

func (*FlowControl) GetQuotaScheduler

func (x *FlowControl) GetQuotaScheduler() *QuotaScheduler

func (*FlowControl) GetRangeDrivenLoadScheduler

func (x *FlowControl) GetRangeDrivenLoadScheduler() *RangeDrivenLoadScheduler

func (*FlowControl) GetRateLimiter

func (x *FlowControl) GetRateLimiter() *RateLimiter

func (*FlowControl) GetSampler

func (x *FlowControl) GetSampler() *Sampler

func (*FlowControl) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*FlowControl) MarshalToSizedBufferVT

func (m *FlowControl) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlowControl) MarshalToVT

func (m *FlowControl) MarshalToVT(dAtA []byte) (int, error)

func (*FlowControl) MarshalVT

func (m *FlowControl) MarshalVT() (dAtA []byte, err error)

func (*FlowControl) ProtoMessage

func (*FlowControl) ProtoMessage()

func (*FlowControl) ProtoReflect

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

func (*FlowControl) Reset

func (x *FlowControl) Reset()

func (*FlowControl) SizeVT

func (m *FlowControl) SizeVT() (n int)

func (*FlowControl) String

func (x *FlowControl) String() string

func (*FlowControl) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FlowControl) UnmarshalVT

func (m *FlowControl) UnmarshalVT(dAtA []byte) error

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

func (m *FlowControlResources) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlowControlResources) MarshalToVT

func (m *FlowControlResources) MarshalToVT(dAtA []byte) (int, error)

func (*FlowControlResources) MarshalVT

func (m *FlowControlResources) MarshalVT() (dAtA []byte, err error)

func (*FlowControlResources) ProtoMessage

func (*FlowControlResources) ProtoMessage()

func (*FlowControlResources) ProtoReflect

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

func (*FlowControlResources) Reset

func (x *FlowControlResources) Reset()

func (*FlowControlResources) SizeVT

func (m *FlowControlResources) SizeVT() (n int)

func (*FlowControlResources) String

func (x *FlowControlResources) String() string

func (*FlowControlResources) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FlowControlResources) UnmarshalVT

func (m *FlowControlResources) UnmarshalVT(dAtA []byte) error

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 does additive increase of load multiplier during non-overload state. During overload, the load multiplier is throttled based on the provided strategy.
	// Deprecated: v3.0.0. Use `AIMDLoadScheduler` instead.
	AdaptiveLoadScheduler *AdaptiveLoadScheduler `protobuf:"bytes,8,opt,name=adaptive_load_scheduler,json=adaptiveLoadScheduler,proto3,oneof" validate:"deprecated"` // @gotags: validate:"deprecated"
}

func (*FlowControl_AdaptiveLoadScheduler) MarshalToSizedBufferVT

func (m *FlowControl_AdaptiveLoadScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlowControl_AdaptiveLoadScheduler) MarshalToVT

func (m *FlowControl_AdaptiveLoadScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*FlowControl_AdaptiveLoadScheduler) SizeVT

func (m *FlowControl_AdaptiveLoadScheduler) SizeVT() (n int)

type FlowControl_AiadLoadScheduler

type FlowControl_AiadLoadScheduler struct {
	// AIAD Load Scheduler.
	AiadLoadScheduler *AIADLoadScheduler `protobuf:"bytes,13,opt,name=aiad_load_scheduler,json=aiadLoadScheduler,proto3,oneof"`
}

func (*FlowControl_AiadLoadScheduler) MarshalToSizedBufferVT

func (m *FlowControl_AiadLoadScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlowControl_AiadLoadScheduler) MarshalToVT

func (m *FlowControl_AiadLoadScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*FlowControl_AiadLoadScheduler) SizeVT

func (m *FlowControl_AiadLoadScheduler) SizeVT() (n int)

type FlowControl_AimdLoadScheduler

type FlowControl_AimdLoadScheduler struct {
	// AIMD Load Scheduler.
	AimdLoadScheduler *AIMDLoadScheduler `protobuf:"bytes,11,opt,name=aimd_load_scheduler,json=aimdLoadScheduler,proto3,oneof"`
}

func (*FlowControl_AimdLoadScheduler) MarshalToSizedBufferVT

func (m *FlowControl_AimdLoadScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlowControl_AimdLoadScheduler) MarshalToVT

func (m *FlowControl_AimdLoadScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*FlowControl_AimdLoadScheduler) SizeVT

func (m *FlowControl_AimdLoadScheduler) SizeVT() (n int)

type FlowControl_ConcurrencyLimiter

type FlowControl_ConcurrencyLimiter struct {
	// _Concurrency Limiter_ provides service protection by limiting the number of concurrent requests to a service
	ConcurrencyLimiter *ConcurrencyLimiter `protobuf:"bytes,14,opt,name=concurrency_limiter,json=concurrencyLimiter,proto3,oneof"`
}

func (*FlowControl_ConcurrencyLimiter) MarshalToSizedBufferVT

func (m *FlowControl_ConcurrencyLimiter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlowControl_ConcurrencyLimiter) MarshalToVT

func (m *FlowControl_ConcurrencyLimiter) MarshalToVT(dAtA []byte) (int, error)

func (*FlowControl_ConcurrencyLimiter) SizeVT

func (m *FlowControl_ConcurrencyLimiter) SizeVT() (n int)

type FlowControl_ConcurrencyScheduler

type FlowControl_ConcurrencyScheduler struct {
	// _Concurrency Scheduler_ provides service protection by limiting the number of concurrent requests to a service and scheduling requests when the limit is reached
	ConcurrencyScheduler *ConcurrencyScheduler `protobuf:"bytes,15,opt,name=concurrency_scheduler,json=concurrencyScheduler,proto3,oneof"`
}

func (*FlowControl_ConcurrencyScheduler) MarshalToSizedBufferVT

func (m *FlowControl_ConcurrencyScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlowControl_ConcurrencyScheduler) MarshalToVT

func (m *FlowControl_ConcurrencyScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*FlowControl_ConcurrencyScheduler) SizeVT

func (m *FlowControl_ConcurrencyScheduler) SizeVT() (n int)

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

func (*FlowControl_LoadRamp) MarshalToSizedBufferVT

func (m *FlowControl_LoadRamp) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlowControl_LoadRamp) MarshalToVT

func (m *FlowControl_LoadRamp) MarshalToVT(dAtA []byte) (int, error)

func (*FlowControl_LoadRamp) SizeVT

func (m *FlowControl_LoadRamp) SizeVT() (n int)

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

func (*FlowControl_LoadScheduler) MarshalToSizedBufferVT

func (m *FlowControl_LoadScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlowControl_LoadScheduler) MarshalToVT

func (m *FlowControl_LoadScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*FlowControl_LoadScheduler) SizeVT

func (m *FlowControl_LoadScheduler) SizeVT() (n int)

type FlowControl_Private

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

func (*FlowControl_Private) MarshalToSizedBufferVT

func (m *FlowControl_Private) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlowControl_Private) MarshalToVT

func (m *FlowControl_Private) MarshalToVT(dAtA []byte) (int, error)

func (*FlowControl_Private) SizeVT

func (m *FlowControl_Private) SizeVT() (n int)

type FlowControl_QuotaScheduler

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

func (*FlowControl_QuotaScheduler) MarshalToSizedBufferVT

func (m *FlowControl_QuotaScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlowControl_QuotaScheduler) MarshalToVT

func (m *FlowControl_QuotaScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*FlowControl_QuotaScheduler) SizeVT

func (m *FlowControl_QuotaScheduler) SizeVT() (n int)

type FlowControl_RangeDrivenLoadScheduler

type FlowControl_RangeDrivenLoadScheduler struct {
	// Range Driven Load Scheduler.
	RangeDrivenLoadScheduler *RangeDrivenLoadScheduler `protobuf:"bytes,12,opt,name=range_driven_load_scheduler,json=rangeDrivenLoadScheduler,proto3,oneof"`
}

func (*FlowControl_RangeDrivenLoadScheduler) MarshalToSizedBufferVT

func (m *FlowControl_RangeDrivenLoadScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlowControl_RangeDrivenLoadScheduler) MarshalToVT

func (m *FlowControl_RangeDrivenLoadScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*FlowControl_RangeDrivenLoadScheduler) SizeVT

func (m *FlowControl_RangeDrivenLoadScheduler) SizeVT() (n int)

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

func (*FlowControl_RateLimiter) MarshalToSizedBufferVT

func (m *FlowControl_RateLimiter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlowControl_RateLimiter) MarshalToVT

func (m *FlowControl_RateLimiter) MarshalToVT(dAtA []byte) (int, error)

func (*FlowControl_RateLimiter) SizeVT

func (m *FlowControl_RateLimiter) SizeVT() (n int)

type FlowControl_Sampler

type FlowControl_Sampler struct {
	// Sampler is a component that regulates the flow of requests to the service by allowing only the specified percentage of requests or sticky sessions.
	Sampler *Sampler `protobuf:"bytes,9,opt,name=sampler,proto3,oneof"`
}

func (*FlowControl_Sampler) MarshalToSizedBufferVT

func (m *FlowControl_Sampler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlowControl_Sampler) MarshalToVT

func (m *FlowControl_Sampler) MarshalToVT(dAtA []byte) (int, error)

func (*FlowControl_Sampler) SizeVT

func (m *FlowControl_Sampler) SizeVT() (n int)

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](/aperture-for-infra/integrations/istio/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/advanced/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) 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) MarshalToSizedBufferVT

func (m *FluxMeter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FluxMeter) MarshalToVT

func (m *FluxMeter) MarshalToVT(dAtA []byte) (int, error)

func (*FluxMeter) MarshalVT

func (m *FluxMeter) MarshalVT() (dAtA []byte, err error)

func (*FluxMeter) ProtoMessage

func (*FluxMeter) ProtoMessage()

func (*FluxMeter) ProtoReflect

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

func (*FluxMeter) Reset

func (x *FluxMeter) Reset()

func (*FluxMeter) SizeVT

func (m *FluxMeter) SizeVT() (n int)

func (*FluxMeter) String

func (x *FluxMeter) String() string

func (*FluxMeter) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FluxMeter) UnmarshalVT

func (m *FluxMeter) UnmarshalVT(dAtA []byte) error

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

func (m *FluxMeter_ExponentialBuckets) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FluxMeter_ExponentialBuckets) MarshalToVT

func (m *FluxMeter_ExponentialBuckets) MarshalToVT(dAtA []byte) (int, error)

func (*FluxMeter_ExponentialBuckets) MarshalVT

func (m *FluxMeter_ExponentialBuckets) MarshalVT() (dAtA []byte, err error)

func (*FluxMeter_ExponentialBuckets) ProtoMessage

func (*FluxMeter_ExponentialBuckets) ProtoMessage()

func (*FluxMeter_ExponentialBuckets) ProtoReflect

func (*FluxMeter_ExponentialBuckets) Reset

func (x *FluxMeter_ExponentialBuckets) Reset()

func (*FluxMeter_ExponentialBuckets) SizeVT

func (m *FluxMeter_ExponentialBuckets) SizeVT() (n int)

func (*FluxMeter_ExponentialBuckets) String

func (*FluxMeter_ExponentialBuckets) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FluxMeter_ExponentialBuckets) UnmarshalVT

func (m *FluxMeter_ExponentialBuckets) UnmarshalVT(dAtA []byte) error

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

func (m *FluxMeter_ExponentialBucketsRange) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FluxMeter_ExponentialBucketsRange) MarshalToVT

func (m *FluxMeter_ExponentialBucketsRange) MarshalToVT(dAtA []byte) (int, error)

func (*FluxMeter_ExponentialBucketsRange) MarshalVT

func (m *FluxMeter_ExponentialBucketsRange) MarshalVT() (dAtA []byte, err error)

func (*FluxMeter_ExponentialBucketsRange) ProtoMessage

func (*FluxMeter_ExponentialBucketsRange) ProtoMessage()

func (*FluxMeter_ExponentialBucketsRange) ProtoReflect

func (*FluxMeter_ExponentialBucketsRange) Reset

func (*FluxMeter_ExponentialBucketsRange) SizeVT

func (m *FluxMeter_ExponentialBucketsRange) SizeVT() (n int)

func (*FluxMeter_ExponentialBucketsRange) String

func (*FluxMeter_ExponentialBucketsRange) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*FluxMeter_ExponentialBucketsRange) UnmarshalVT

func (m *FluxMeter_ExponentialBucketsRange) UnmarshalVT(dAtA []byte) error

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

func (*FluxMeter_ExponentialBucketsRange_) MarshalToSizedBufferVT

func (m *FluxMeter_ExponentialBucketsRange_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FluxMeter_ExponentialBucketsRange_) MarshalToVT

func (m *FluxMeter_ExponentialBucketsRange_) MarshalToVT(dAtA []byte) (int, error)

func (*FluxMeter_ExponentialBucketsRange_) SizeVT

func (m *FluxMeter_ExponentialBucketsRange_) SizeVT() (n int)

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

func (*FluxMeter_ExponentialBuckets_) MarshalToSizedBufferVT

func (m *FluxMeter_ExponentialBuckets_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FluxMeter_ExponentialBuckets_) MarshalToVT

func (m *FluxMeter_ExponentialBuckets_) MarshalToVT(dAtA []byte) (int, error)

func (*FluxMeter_ExponentialBuckets_) SizeVT

func (m *FluxMeter_ExponentialBuckets_) SizeVT() (n int)

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

func (m *FluxMeter_LinearBuckets) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FluxMeter_LinearBuckets) MarshalToVT

func (m *FluxMeter_LinearBuckets) MarshalToVT(dAtA []byte) (int, error)

func (*FluxMeter_LinearBuckets) MarshalVT

func (m *FluxMeter_LinearBuckets) MarshalVT() (dAtA []byte, err error)

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

func (m *FluxMeter_LinearBuckets) SizeVT() (n int)

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

func (m *FluxMeter_LinearBuckets) UnmarshalVT(dAtA []byte) error

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

func (*FluxMeter_LinearBuckets_) MarshalToSizedBufferVT

func (m *FluxMeter_LinearBuckets_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FluxMeter_LinearBuckets_) MarshalToVT

func (m *FluxMeter_LinearBuckets_) MarshalToVT(dAtA []byte) (int, error)

func (*FluxMeter_LinearBuckets_) SizeVT

func (m *FluxMeter_LinearBuckets_) SizeVT() (n int)

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

func (m *FluxMeter_StaticBuckets) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FluxMeter_StaticBuckets) MarshalToVT

func (m *FluxMeter_StaticBuckets) MarshalToVT(dAtA []byte) (int, error)

func (*FluxMeter_StaticBuckets) MarshalVT

func (m *FluxMeter_StaticBuckets) MarshalVT() (dAtA []byte, err error)

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

func (m *FluxMeter_StaticBuckets) SizeVT() (n int)

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

func (m *FluxMeter_StaticBuckets) UnmarshalVT(dAtA []byte) error

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

func (*FluxMeter_StaticBuckets_) MarshalToSizedBufferVT

func (m *FluxMeter_StaticBuckets_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FluxMeter_StaticBuckets_) MarshalToVT

func (m *FluxMeter_StaticBuckets_) MarshalToVT(dAtA []byte) (int, error)

func (*FluxMeter_StaticBuckets_) SizeVT

func (m *FluxMeter_StaticBuckets_) SizeVT() (n int)

type GetDecisionsRequest

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

GetDecisionsRequest is a request to get decisions for a given decision type.

func (*GetDecisionsRequest) Descriptor deprecated

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

Deprecated: Use GetDecisionsRequest.ProtoReflect.Descriptor instead.

func (*GetDecisionsRequest) GetDecisionType

func (x *GetDecisionsRequest) GetDecisionType() string

func (*GetDecisionsRequest) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*GetDecisionsRequest) MarshalToSizedBufferVT

func (m *GetDecisionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetDecisionsRequest) MarshalToVT

func (m *GetDecisionsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetDecisionsRequest) MarshalVT

func (m *GetDecisionsRequest) MarshalVT() (dAtA []byte, err error)

func (*GetDecisionsRequest) ProtoMessage

func (*GetDecisionsRequest) ProtoMessage()

func (*GetDecisionsRequest) ProtoReflect

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

func (*GetDecisionsRequest) Reset

func (x *GetDecisionsRequest) Reset()

func (*GetDecisionsRequest) SizeVT

func (m *GetDecisionsRequest) SizeVT() (n int)

func (*GetDecisionsRequest) String

func (x *GetDecisionsRequest) String() string

func (*GetDecisionsRequest) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*GetDecisionsRequest) UnmarshalVT

func (m *GetDecisionsRequest) UnmarshalVT(dAtA []byte) error

func (*GetDecisionsRequest) Validate

func (m *GetDecisionsRequest) Validate() error

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

func (*GetDecisionsRequest) ValidateAll

func (m *GetDecisionsRequest) ValidateAll() error

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

type GetDecisionsRequestMultiError

type GetDecisionsRequestMultiError []error

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

func (GetDecisionsRequestMultiError) AllErrors

func (m GetDecisionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetDecisionsRequestMultiError) Error

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

type GetDecisionsRequestValidationError

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

GetDecisionsRequestValidationError is the validation error returned by GetDecisionsRequest.Validate if the designated constraints aren't met.

func (GetDecisionsRequestValidationError) Cause

Cause function returns cause value.

func (GetDecisionsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetDecisionsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetDecisionsRequestValidationError) Field

Field function returns field value.

func (GetDecisionsRequestValidationError) Key

Key function returns key value.

func (GetDecisionsRequestValidationError) Reason

Reason function returns reason value.

type GetDecisionsResponse

type GetDecisionsResponse struct {
	Decisions map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

GetDecisionsResponse is a response containing decisions for a given decision type.

func (*GetDecisionsResponse) Descriptor deprecated

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

Deprecated: Use GetDecisionsResponse.ProtoReflect.Descriptor instead.

func (*GetDecisionsResponse) GetDecisions

func (x *GetDecisionsResponse) GetDecisions() map[string]string

func (*GetDecisionsResponse) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*GetDecisionsResponse) MarshalToSizedBufferVT

func (m *GetDecisionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetDecisionsResponse) MarshalToVT

func (m *GetDecisionsResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetDecisionsResponse) MarshalVT

func (m *GetDecisionsResponse) MarshalVT() (dAtA []byte, err error)

func (*GetDecisionsResponse) ProtoMessage

func (*GetDecisionsResponse) ProtoMessage()

func (*GetDecisionsResponse) ProtoReflect

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

func (*GetDecisionsResponse) Reset

func (x *GetDecisionsResponse) Reset()

func (*GetDecisionsResponse) SizeVT

func (m *GetDecisionsResponse) SizeVT() (n int)

func (*GetDecisionsResponse) String

func (x *GetDecisionsResponse) String() string

func (*GetDecisionsResponse) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*GetDecisionsResponse) UnmarshalVT

func (m *GetDecisionsResponse) UnmarshalVT(dAtA []byte) error

func (*GetDecisionsResponse) Validate

func (m *GetDecisionsResponse) Validate() error

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

func (*GetDecisionsResponse) ValidateAll

func (m *GetDecisionsResponse) ValidateAll() error

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

type GetDecisionsResponseMultiError

type GetDecisionsResponseMultiError []error

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

func (GetDecisionsResponseMultiError) AllErrors

func (m GetDecisionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetDecisionsResponseMultiError) Error

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

type GetDecisionsResponseValidationError

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

GetDecisionsResponseValidationError is the validation error returned by GetDecisionsResponse.Validate if the designated constraints aren't met.

func (GetDecisionsResponseValidationError) Cause

Cause function returns cause value.

func (GetDecisionsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetDecisionsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetDecisionsResponseValidationError) Field

Field function returns field value.

func (GetDecisionsResponseValidationError) Key

Key function returns key value.

func (GetDecisionsResponseValidationError) Reason

Reason function returns reason value.

type GetDynamicConfigRequest

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

GetDynamicConfigRequest is a request to get dynamic configuration for Policy.

func (*GetDynamicConfigRequest) Descriptor deprecated

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

Deprecated: Use GetDynamicConfigRequest.ProtoReflect.Descriptor instead.

func (*GetDynamicConfigRequest) GetPolicyName

func (x *GetDynamicConfigRequest) GetPolicyName() string

func (*GetDynamicConfigRequest) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*GetDynamicConfigRequest) MarshalToSizedBufferVT

func (m *GetDynamicConfigRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetDynamicConfigRequest) MarshalToVT

func (m *GetDynamicConfigRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetDynamicConfigRequest) MarshalVT

func (m *GetDynamicConfigRequest) MarshalVT() (dAtA []byte, err error)

func (*GetDynamicConfigRequest) ProtoMessage

func (*GetDynamicConfigRequest) ProtoMessage()

func (*GetDynamicConfigRequest) ProtoReflect

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

func (*GetDynamicConfigRequest) Reset

func (x *GetDynamicConfigRequest) Reset()

func (*GetDynamicConfigRequest) SizeVT

func (m *GetDynamicConfigRequest) SizeVT() (n int)

func (*GetDynamicConfigRequest) String

func (x *GetDynamicConfigRequest) String() string

func (*GetDynamicConfigRequest) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*GetDynamicConfigRequest) UnmarshalVT

func (m *GetDynamicConfigRequest) UnmarshalVT(dAtA []byte) error

func (*GetDynamicConfigRequest) Validate

func (m *GetDynamicConfigRequest) Validate() error

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

func (*GetDynamicConfigRequest) ValidateAll

func (m *GetDynamicConfigRequest) ValidateAll() error

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

type GetDynamicConfigRequestMultiError

type GetDynamicConfigRequestMultiError []error

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

func (GetDynamicConfigRequestMultiError) AllErrors

func (m GetDynamicConfigRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetDynamicConfigRequestMultiError) Error

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

type GetDynamicConfigRequestValidationError

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

GetDynamicConfigRequestValidationError is the validation error returned by GetDynamicConfigRequest.Validate if the designated constraints aren't met.

func (GetDynamicConfigRequestValidationError) Cause

Cause function returns cause value.

func (GetDynamicConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (GetDynamicConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (GetDynamicConfigRequestValidationError) Field

Field function returns field value.

func (GetDynamicConfigRequestValidationError) Key

Key function returns key value.

func (GetDynamicConfigRequestValidationError) Reason

Reason function returns reason value.

type GetDynamicConfigResponse

type GetDynamicConfigResponse struct {
	DynamicConfig *structpb.Struct `protobuf:"bytes,1,opt,name=dynamic_config,json=dynamicConfig,proto3" json:"dynamic_config,omitempty"`
	// contains filtered or unexported fields
}

GetDynamicConfigResponse is a response containing dynamic configuration for Policy.

func (*GetDynamicConfigResponse) Descriptor deprecated

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

Deprecated: Use GetDynamicConfigResponse.ProtoReflect.Descriptor instead.

func (*GetDynamicConfigResponse) GetDynamicConfig

func (x *GetDynamicConfigResponse) GetDynamicConfig() *structpb.Struct

func (*GetDynamicConfigResponse) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*GetDynamicConfigResponse) MarshalToSizedBufferVT

func (m *GetDynamicConfigResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetDynamicConfigResponse) MarshalToVT

func (m *GetDynamicConfigResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetDynamicConfigResponse) MarshalVT

func (m *GetDynamicConfigResponse) MarshalVT() (dAtA []byte, err error)

func (*GetDynamicConfigResponse) ProtoMessage

func (*GetDynamicConfigResponse) ProtoMessage()

func (*GetDynamicConfigResponse) ProtoReflect

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

func (*GetDynamicConfigResponse) Reset

func (x *GetDynamicConfigResponse) Reset()

func (*GetDynamicConfigResponse) SizeVT

func (m *GetDynamicConfigResponse) SizeVT() (n int)

func (*GetDynamicConfigResponse) String

func (x *GetDynamicConfigResponse) String() string

func (*GetDynamicConfigResponse) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*GetDynamicConfigResponse) UnmarshalVT

func (m *GetDynamicConfigResponse) UnmarshalVT(dAtA []byte) error

func (*GetDynamicConfigResponse) Validate

func (m *GetDynamicConfigResponse) Validate() error

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

func (*GetDynamicConfigResponse) ValidateAll

func (m *GetDynamicConfigResponse) ValidateAll() error

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

type GetDynamicConfigResponseMultiError

type GetDynamicConfigResponseMultiError []error

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

func (GetDynamicConfigResponseMultiError) AllErrors

func (m GetDynamicConfigResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetDynamicConfigResponseMultiError) Error

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

type GetDynamicConfigResponseValidationError

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

GetDynamicConfigResponseValidationError is the validation error returned by GetDynamicConfigResponse.Validate if the designated constraints aren't met.

func (GetDynamicConfigResponseValidationError) Cause

Cause function returns cause value.

func (GetDynamicConfigResponseValidationError) Error

Error satisfies the builtin error interface

func (GetDynamicConfigResponseValidationError) ErrorName

ErrorName returns error name.

func (GetDynamicConfigResponseValidationError) Field

Field function returns field value.

func (GetDynamicConfigResponseValidationError) Key

Key function returns key value.

func (GetDynamicConfigResponseValidationError) Reason

Reason function returns reason value.

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

func (m *GetPoliciesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetPoliciesResponse) MarshalToVT

func (m *GetPoliciesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetPoliciesResponse) MarshalVT

func (m *GetPoliciesResponse) MarshalVT() (dAtA []byte, err error)

func (*GetPoliciesResponse) ProtoMessage

func (*GetPoliciesResponse) ProtoMessage()

func (*GetPoliciesResponse) ProtoReflect

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

func (*GetPoliciesResponse) Reset

func (x *GetPoliciesResponse) Reset()

func (*GetPoliciesResponse) SizeVT

func (m *GetPoliciesResponse) SizeVT() (n int)

func (*GetPoliciesResponse) String

func (x *GetPoliciesResponse) String() string

func (*GetPoliciesResponse) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*GetPoliciesResponse) UnmarshalVT

func (m *GetPoliciesResponse) UnmarshalVT(dAtA []byte) error

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

func (m *GetPolicyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetPolicyRequest) MarshalToVT

func (m *GetPolicyRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetPolicyRequest) MarshalVT

func (m *GetPolicyRequest) MarshalVT() (dAtA []byte, err error)

func (*GetPolicyRequest) ProtoMessage

func (*GetPolicyRequest) ProtoMessage()

func (*GetPolicyRequest) ProtoReflect

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

func (*GetPolicyRequest) Reset

func (x *GetPolicyRequest) Reset()

func (*GetPolicyRequest) SizeVT

func (m *GetPolicyRequest) SizeVT() (n int)

func (*GetPolicyRequest) String

func (x *GetPolicyRequest) String() string

func (*GetPolicyRequest) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*GetPolicyRequest) UnmarshalVT

func (m *GetPolicyRequest) UnmarshalVT(dAtA []byte) error

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"`
	Status GetPolicyResponse_Status `protobuf:"varint,2,opt,name=status,proto3,enum=aperture.policy.language.v1.GetPolicyResponse_Status" json:"status,omitempty"`
	Reason string                   `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

GetPolicyResponse is a response containing the requested Policy.

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

func (x *GetPolicyResponse) GetReason() string

func (*GetPolicyResponse) GetStatus

func (*GetPolicyResponse) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*GetPolicyResponse) MarshalToSizedBufferVT

func (m *GetPolicyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetPolicyResponse) MarshalToVT

func (m *GetPolicyResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetPolicyResponse) MarshalVT

func (m *GetPolicyResponse) MarshalVT() (dAtA []byte, err error)

func (*GetPolicyResponse) ProtoMessage

func (*GetPolicyResponse) ProtoMessage()

func (*GetPolicyResponse) ProtoReflect

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

func (*GetPolicyResponse) Reset

func (x *GetPolicyResponse) Reset()

func (*GetPolicyResponse) SizeVT

func (m *GetPolicyResponse) SizeVT() (n int)

func (*GetPolicyResponse) String

func (x *GetPolicyResponse) String() string

func (*GetPolicyResponse) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*GetPolicyResponse) UnmarshalVT

func (m *GetPolicyResponse) UnmarshalVT(dAtA []byte) error

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 GetPolicyResponse_Status

type GetPolicyResponse_Status int32
const (
	// Policy is valid, present in etcd and running in the controller.
	GetPolicyResponse_VALID GetPolicyResponse_Status = 0
	// Policy is present in etcd, but fails to parse.
	GetPolicyResponse_INVALID GetPolicyResponse_Status = 1
	// Policy is present in etcd, but is not (yet) running in the controller.
	GetPolicyResponse_NOT_LOADED GetPolicyResponse_Status = 2
	// Policy is running on the controller, but is not present in etcd.
	GetPolicyResponse_STALE GetPolicyResponse_Status = 3
	// Policy is present in etcd and policy with the same name is running in
	// the controller, but these policies differ.
	GetPolicyResponse_OUTDATED GetPolicyResponse_Status = 4
)

func (GetPolicyResponse_Status) Descriptor

func (GetPolicyResponse_Status) Enum

func (GetPolicyResponse_Status) EnumDescriptor deprecated

func (GetPolicyResponse_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetPolicyResponse_Status.Descriptor instead.

func (GetPolicyResponse_Status) Number

func (GetPolicyResponse_Status) String

func (x GetPolicyResponse_Status) String() string

func (GetPolicyResponse_Status) Type

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

func (x *GradientController) GetManualMode() bool

func (*GradientController) GetManualModeConfigKey

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

func (m *GradientController) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GradientController) MarshalToVT

func (m *GradientController) MarshalToVT(dAtA []byte) (int, error)

func (*GradientController) MarshalVT

func (m *GradientController) MarshalVT() (dAtA []byte, err error)

func (*GradientController) ProtoMessage

func (*GradientController) ProtoMessage()

func (*GradientController) ProtoReflect

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

func (*GradientController) Reset

func (x *GradientController) Reset()

func (*GradientController) SizeVT

func (m *GradientController) SizeVT() (n int)

func (*GradientController) String

func (x *GradientController) String() string

func (*GradientController) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*GradientController) UnmarshalVT

func (m *GradientController) UnmarshalVT(dAtA []byte) error

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

func (m *GradientController_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GradientController_Ins) MarshalToVT

func (m *GradientController_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*GradientController_Ins) MarshalVT

func (m *GradientController_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *GradientController_Ins) SizeVT() (n int)

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

func (m *GradientController_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *GradientController_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GradientController_Outs) MarshalToVT

func (m *GradientController_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*GradientController_Outs) MarshalVT

func (m *GradientController_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *GradientController_Outs) SizeVT() (n int)

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

func (m *GradientController_Outs) UnmarshalVT(dAtA []byte) error

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

func (m *GradientController_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GradientController_Parameters) MarshalToVT

func (m *GradientController_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*GradientController_Parameters) MarshalVT

func (m *GradientController_Parameters) MarshalVT() (dAtA []byte, err error)

func (*GradientController_Parameters) ProtoMessage

func (*GradientController_Parameters) ProtoMessage()

func (*GradientController_Parameters) ProtoReflect

func (*GradientController_Parameters) Reset

func (x *GradientController_Parameters) Reset()

func (*GradientController_Parameters) SizeVT

func (m *GradientController_Parameters) SizeVT() (n int)

func (*GradientController_Parameters) String

func (*GradientController_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*GradientController_Parameters) UnmarshalVT

func (m *GradientController_Parameters) UnmarshalVT(dAtA []byte) error

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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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) 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) MarshalToSizedBufferVT

func (m *Holder) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Holder) MarshalToVT

func (m *Holder) MarshalToVT(dAtA []byte) (int, error)

func (*Holder) MarshalVT

func (m *Holder) MarshalVT() (dAtA []byte, err error)

func (*Holder) ProtoMessage

func (*Holder) ProtoMessage()

func (*Holder) ProtoReflect

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

func (*Holder) Reset

func (x *Holder) Reset()

func (*Holder) SizeVT

func (m *Holder) SizeVT() (n int)

func (*Holder) String

func (x *Holder) String() string

func (*Holder) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Holder) UnmarshalVT

func (m *Holder) UnmarshalVT(dAtA []byte) error

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

func (m *Holder_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Holder_Ins) MarshalToVT

func (m *Holder_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Holder_Ins) MarshalVT

func (m *Holder_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *Holder_Ins) SizeVT() (n int)

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

func (m *Holder_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *Holder_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Holder_Outs) MarshalToVT

func (m *Holder_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*Holder_Outs) MarshalVT

func (m *Holder_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *Holder_Outs) SizeVT() (n int)

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

func (m *Holder_Outs) UnmarshalVT(dAtA []byte) error

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

func (m *InPort) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*InPort) MarshalToVT

func (m *InPort) MarshalToVT(dAtA []byte) (int, error)

func (*InPort) MarshalVT

func (m *InPort) MarshalVT() (dAtA []byte, err error)

func (*InPort) ProtoMessage

func (*InPort) ProtoMessage()

func (*InPort) ProtoReflect

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

func (*InPort) Reset

func (x *InPort) Reset()

func (*InPort) SizeVT

func (m *InPort) SizeVT() (n int)

func (*InPort) String

func (x *InPort) String() string

func (*InPort) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*InPort) UnmarshalVT

func (m *InPort) UnmarshalVT(dAtA []byte) error

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

func (*InPort_ConstantSignal) MarshalToSizedBufferVT

func (m *InPort_ConstantSignal) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*InPort_ConstantSignal) MarshalToVT

func (m *InPort_ConstantSignal) MarshalToVT(dAtA []byte) (int, error)

func (*InPort_ConstantSignal) SizeVT

func (m *InPort_ConstantSignal) SizeVT() (n int)

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

func (*InPort_SignalName) MarshalToSizedBufferVT

func (m *InPort_SignalName) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*InPort_SignalName) MarshalToVT

func (m *InPort_SignalName) MarshalToVT(dAtA []byte) (int, error)

func (*InPort_SignalName) SizeVT

func (m *InPort_SignalName) SizeVT() (n int)

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

func (m *IncreasingGradient) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*IncreasingGradient) MarshalToVT

func (m *IncreasingGradient) MarshalToVT(dAtA []byte) (int, error)

func (*IncreasingGradient) MarshalVT

func (m *IncreasingGradient) MarshalVT() (dAtA []byte, err error)

func (*IncreasingGradient) ProtoMessage

func (*IncreasingGradient) ProtoMessage()

func (*IncreasingGradient) ProtoReflect

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

func (*IncreasingGradient) Reset

func (x *IncreasingGradient) Reset()

func (*IncreasingGradient) SizeVT

func (m *IncreasingGradient) SizeVT() (n int)

func (*IncreasingGradient) String

func (x *IncreasingGradient) String() string

func (*IncreasingGradient) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*IncreasingGradient) UnmarshalVT

func (m *IncreasingGradient) UnmarshalVT(dAtA []byte) error

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

func (m *IncreasingGradient_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*IncreasingGradient_Ins) MarshalToVT

func (m *IncreasingGradient_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*IncreasingGradient_Ins) MarshalVT

func (m *IncreasingGradient_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *IncreasingGradient_Ins) SizeVT() (n int)

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

func (m *IncreasingGradient_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *IncreasingGradient_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*IncreasingGradient_Parameters) MarshalToVT

func (m *IncreasingGradient_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*IncreasingGradient_Parameters) MarshalVT

func (m *IncreasingGradient_Parameters) MarshalVT() (dAtA []byte, err error)

func (*IncreasingGradient_Parameters) ProtoMessage

func (*IncreasingGradient_Parameters) ProtoMessage()

func (*IncreasingGradient_Parameters) ProtoReflect

func (*IncreasingGradient_Parameters) Reset

func (x *IncreasingGradient_Parameters) Reset()

func (*IncreasingGradient_Parameters) SizeVT

func (m *IncreasingGradient_Parameters) SizeVT() (n int)

func (*IncreasingGradient_Parameters) String

func (*IncreasingGradient_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*IncreasingGradient_Parameters) UnmarshalVT

func (m *IncreasingGradient_Parameters) UnmarshalVT(dAtA []byte) error

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"`
	// 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"
	// AgentGroup is the agent group to sync this InfraMeter with.
	AgentGroup string `protobuf:"bytes,5,opt,name=agent_group,json=agentGroup,proto3" json:"agent_group,omitempty" default:"default"` // @gotags: default:"default"
	// 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](/aperture-for-infra/integrations/metrics/metrics.md).

:::

func (*InfraMeter) Descriptor deprecated

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

Deprecated: Use InfraMeter.ProtoReflect.Descriptor instead.

func (*InfraMeter) GetAgentGroup

func (x *InfraMeter) GetAgentGroup() string

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

func (m *InfraMeter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*InfraMeter) MarshalToVT

func (m *InfraMeter) MarshalToVT(dAtA []byte) (int, error)

func (*InfraMeter) MarshalVT

func (m *InfraMeter) MarshalVT() (dAtA []byte, err error)

func (*InfraMeter) ProtoMessage

func (*InfraMeter) ProtoMessage()

func (*InfraMeter) ProtoReflect

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

func (*InfraMeter) Reset

func (x *InfraMeter) Reset()

func (*InfraMeter) SizeVT

func (m *InfraMeter) SizeVT() (n int)

func (*InfraMeter) String

func (x *InfraMeter) String() string

func (*InfraMeter) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*InfraMeter) UnmarshalVT

func (m *InfraMeter) UnmarshalVT(dAtA []byte) error

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

func (m *InfraMeter_MetricsPipeline) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*InfraMeter_MetricsPipeline) MarshalToVT

func (m *InfraMeter_MetricsPipeline) MarshalToVT(dAtA []byte) (int, error)

func (*InfraMeter_MetricsPipeline) MarshalVT

func (m *InfraMeter_MetricsPipeline) MarshalVT() (dAtA []byte, err error)

func (*InfraMeter_MetricsPipeline) ProtoMessage

func (*InfraMeter_MetricsPipeline) ProtoMessage()

func (*InfraMeter_MetricsPipeline) ProtoReflect

func (*InfraMeter_MetricsPipeline) Reset

func (x *InfraMeter_MetricsPipeline) Reset()

func (*InfraMeter_MetricsPipeline) SizeVT

func (m *InfraMeter_MetricsPipeline) SizeVT() (n int)

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

func (m *InfraMeter_MetricsPipeline) UnmarshalVT(dAtA []byte) error

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"
	// The evaluation interval of the Integrator. This determines how often the Integrator is incremented. Defaults to the evaluation interval of the circuit.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	EvaluationInterval *durationpb.Duration `protobuf:"bytes,4,opt,name=evaluation_interval,json=evaluationInterval,proto3" json:"evaluation_interval,omitempty"`
	// contains filtered or unexported fields
}

Accumulates sum of signal every tick.

func (*Integrator) Descriptor deprecated

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

Deprecated: Use Integrator.ProtoReflect.Descriptor instead.

func (*Integrator) GetEvaluationInterval

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

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

func (m *Integrator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Integrator) MarshalToVT

func (m *Integrator) MarshalToVT(dAtA []byte) (int, error)

func (*Integrator) MarshalVT

func (m *Integrator) MarshalVT() (dAtA []byte, err error)

func (*Integrator) ProtoMessage

func (*Integrator) ProtoMessage()

func (*Integrator) ProtoReflect

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

func (*Integrator) Reset

func (x *Integrator) Reset()

func (*Integrator) SizeVT

func (m *Integrator) SizeVT() (n int)

func (*Integrator) String

func (x *Integrator) String() string

func (*Integrator) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Integrator) UnmarshalVT

func (m *Integrator) UnmarshalVT(dAtA []byte) error

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

func (m *Integrator_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Integrator_Ins) MarshalToVT

func (m *Integrator_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Integrator_Ins) MarshalVT

func (m *Integrator_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *Integrator_Ins) SizeVT() (n int)

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

func (m *Integrator_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *Integrator_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Integrator_Outs) MarshalToVT

func (m *Integrator_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*Integrator_Outs) MarshalVT

func (m *Integrator_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *Integrator_Outs) SizeVT() (n int)

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

func (m *Integrator_Outs) UnmarshalVT(dAtA []byte) error

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

func (m *Inverter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Inverter) MarshalToVT

func (m *Inverter) MarshalToVT(dAtA []byte) (int, error)

func (*Inverter) MarshalVT

func (m *Inverter) MarshalVT() (dAtA []byte, err error)

func (*Inverter) ProtoMessage

func (*Inverter) ProtoMessage()

func (*Inverter) ProtoReflect

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

func (*Inverter) Reset

func (x *Inverter) Reset()

func (*Inverter) SizeVT

func (m *Inverter) SizeVT() (n int)

func (*Inverter) String

func (x *Inverter) String() string

func (*Inverter) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Inverter) UnmarshalVT

func (m *Inverter) UnmarshalVT(dAtA []byte) error

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

func (m *Inverter_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Inverter_Ins) MarshalToVT

func (m *Inverter_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Inverter_Ins) MarshalVT

func (m *Inverter_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *Inverter_Ins) SizeVT() (n int)

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

func (m *Inverter_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *Inverter_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Inverter_Outs) MarshalToVT

func (m *Inverter_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*Inverter_Outs) MarshalVT

func (m *Inverter_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *Inverter_Outs) SizeVT() (n int)

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

func (m *Inverter_Outs) UnmarshalVT(dAtA []byte) error

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

func (m *JSONExtractor) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*JSONExtractor) MarshalToVT

func (m *JSONExtractor) MarshalToVT(dAtA []byte) (int, error)

func (*JSONExtractor) MarshalVT

func (m *JSONExtractor) MarshalVT() (dAtA []byte, err error)

func (*JSONExtractor) ProtoMessage

func (*JSONExtractor) ProtoMessage()

func (*JSONExtractor) ProtoReflect

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

func (*JSONExtractor) Reset

func (x *JSONExtractor) Reset()

func (*JSONExtractor) SizeVT

func (m *JSONExtractor) SizeVT() (n int)

func (*JSONExtractor) String

func (x *JSONExtractor) String() string

func (*JSONExtractor) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*JSONExtractor) UnmarshalVT

func (m *JSONExtractor) UnmarshalVT(dAtA []byte) error

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

func (m *JWTExtractor) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*JWTExtractor) MarshalToVT

func (m *JWTExtractor) MarshalToVT(dAtA []byte) (int, error)

func (*JWTExtractor) MarshalVT

func (m *JWTExtractor) MarshalVT() (dAtA []byte, err error)

func (*JWTExtractor) ProtoMessage

func (*JWTExtractor) ProtoMessage()

func (*JWTExtractor) ProtoReflect

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

func (*JWTExtractor) Reset

func (x *JWTExtractor) Reset()

func (*JWTExtractor) SizeVT

func (m *JWTExtractor) SizeVT() (n int)

func (*JWTExtractor) String

func (x *JWTExtractor) String() string

func (*JWTExtractor) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*JWTExtractor) UnmarshalVT

func (m *JWTExtractor) UnmarshalVT(dAtA []byte) error

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 KubernetesObjectSelector

type KubernetesObjectSelector struct {

	// Which [agent-group](/concepts/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) 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) MarshalToSizedBufferVT

func (m *KubernetesObjectSelector) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*KubernetesObjectSelector) MarshalToVT

func (m *KubernetesObjectSelector) MarshalToVT(dAtA []byte) (int, error)

func (*KubernetesObjectSelector) MarshalVT

func (m *KubernetesObjectSelector) MarshalVT() (dAtA []byte, err error)

func (*KubernetesObjectSelector) ProtoMessage

func (*KubernetesObjectSelector) ProtoMessage()

func (*KubernetesObjectSelector) ProtoReflect

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

func (*KubernetesObjectSelector) Reset

func (x *KubernetesObjectSelector) Reset()

func (*KubernetesObjectSelector) SizeVT

func (m *KubernetesObjectSelector) SizeVT() (n int)

func (*KubernetesObjectSelector) String

func (x *KubernetesObjectSelector) String() string

func (*KubernetesObjectSelector) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*KubernetesObjectSelector) UnmarshalVT

func (m *KubernetesObjectSelector) UnmarshalVT(dAtA []byte) error

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.
	// Deprecated: v3.0.0. Use `match_list` instead.
	MatchExpressions []*MatchRequirement `protobuf:"bytes,2,rep,name=match_expressions,json=matchExpressions,proto3" json:"match_expressions,omitempty" validate:"dive"` // @gotags: validate:"dive"
	// An arbitrary expression to be evaluated on the labels.
	Expression *Expression `protobuf:"bytes,3,opt,name=expression,proto3" json:"expression,omitempty"`
	// List of label matching requirements.
	//
	// Note: The requirements are combined using the logical AND operator.
	MatchList []*MatchRequirement `protobuf:"bytes,4,rep,name=match_list,json=matchList,proto3" json:"match_list,omitempty" validate:"dive"` // @gotags: validate:"dive"
	// contains filtered or unexported fields
}

Allows to define rules whether a map of [labels](/concepts/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) Descriptor deprecated

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

Deprecated: Use LabelMatcher.ProtoReflect.Descriptor instead.

func (*LabelMatcher) GetExpression

func (x *LabelMatcher) GetExpression() *Expression

func (*LabelMatcher) GetMatchExpressions

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

func (*LabelMatcher) GetMatchLabels

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

func (*LabelMatcher) GetMatchList

func (x *LabelMatcher) GetMatchList() []*MatchRequirement

func (*LabelMatcher) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LabelMatcher) MarshalToSizedBufferVT

func (m *LabelMatcher) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LabelMatcher) MarshalToVT

func (m *LabelMatcher) MarshalToVT(dAtA []byte) (int, error)

func (*LabelMatcher) MarshalVT

func (m *LabelMatcher) MarshalVT() (dAtA []byte, err error)

func (*LabelMatcher) ProtoMessage

func (*LabelMatcher) ProtoMessage()

func (*LabelMatcher) ProtoReflect

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

func (*LabelMatcher) Reset

func (x *LabelMatcher) Reset()

func (*LabelMatcher) SizeVT

func (m *LabelMatcher) SizeVT() (n int)

func (*LabelMatcher) String

func (x *LabelMatcher) String() string

func (*LabelMatcher) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LabelMatcher) UnmarshalVT

func (m *LabelMatcher) UnmarshalVT(dAtA []byte) error

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

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

func (*LoadRamp) GetPassThroughLabelValuesConfigKey

func (x *LoadRamp) GetPassThroughLabelValuesConfigKey() string

func (*LoadRamp) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadRamp) MarshalToSizedBufferVT

func (m *LoadRamp) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LoadRamp) MarshalToVT

func (m *LoadRamp) MarshalToVT(dAtA []byte) (int, error)

func (*LoadRamp) MarshalVT

func (m *LoadRamp) MarshalVT() (dAtA []byte, err error)

func (*LoadRamp) ProtoMessage

func (*LoadRamp) ProtoMessage()

func (*LoadRamp) ProtoReflect

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

func (*LoadRamp) Reset

func (x *LoadRamp) Reset()

func (*LoadRamp) SizeVT

func (m *LoadRamp) SizeVT() (n int)

func (*LoadRamp) String

func (x *LoadRamp) String() string

func (*LoadRamp) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadRamp) UnmarshalVT

func (m *LoadRamp) UnmarshalVT(dAtA []byte) error

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

func (m *LoadRamp_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LoadRamp_Ins) MarshalToVT

func (m *LoadRamp_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*LoadRamp_Ins) MarshalVT

func (m *LoadRamp_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *LoadRamp_Ins) SizeVT() (n int)

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

func (m *LoadRamp_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *LoadRamp_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LoadRamp_Outs) MarshalToVT

func (m *LoadRamp_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*LoadRamp_Outs) MarshalVT

func (m *LoadRamp_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *LoadRamp_Outs) SizeVT() (n int)

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

func (m *LoadRamp_Outs) UnmarshalVT(dAtA []byte) error

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 _Sampler_.
	Sampler *Sampler_Parameters         `protobuf:"bytes,1,opt,name=sampler,proto3" json:"sampler,omitempty" validate:"required"`       // @gotags: validate:"required"
	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) Descriptor deprecated

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

Deprecated: Use LoadRamp_Parameters.ProtoReflect.Descriptor instead.

func (*LoadRamp_Parameters) GetSampler

func (x *LoadRamp_Parameters) GetSampler() *Sampler_Parameters

func (*LoadRamp_Parameters) GetSteps

func (*LoadRamp_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadRamp_Parameters) MarshalToSizedBufferVT

func (m *LoadRamp_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LoadRamp_Parameters) MarshalToVT

func (m *LoadRamp_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*LoadRamp_Parameters) MarshalVT

func (m *LoadRamp_Parameters) MarshalVT() (dAtA []byte, err error)

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

func (m *LoadRamp_Parameters) SizeVT() (n int)

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

func (m *LoadRamp_Parameters) UnmarshalVT(dAtA []byte) error

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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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) 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) MarshalToSizedBufferVT

func (m *LoadRamp_Parameters_Step) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LoadRamp_Parameters_Step) MarshalToVT

func (m *LoadRamp_Parameters_Step) MarshalToVT(dAtA []byte) (int, error)

func (*LoadRamp_Parameters_Step) MarshalVT

func (m *LoadRamp_Parameters_Step) MarshalVT() (dAtA []byte, err error)

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

func (m *LoadRamp_Parameters_Step) SizeVT() (n int)

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

func (m *LoadRamp_Parameters_Step) UnmarshalVT(dAtA []byte) error

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/request-prioritization/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.

The signal at port `load_multiplier` determines the fraction of incoming tokens that get admitted. The signals gets acted on once every 10 seconds.

func (*LoadScheduler) Descriptor deprecated

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

Deprecated: Use LoadScheduler.ProtoReflect.Descriptor instead.

func (*LoadScheduler) GetDryRun

func (x *LoadScheduler) GetDryRun() bool

func (*LoadScheduler) GetDryRunConfigKey

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

func (m *LoadScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LoadScheduler) MarshalToVT

func (m *LoadScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*LoadScheduler) MarshalVT

func (m *LoadScheduler) MarshalVT() (dAtA []byte, err error)

func (*LoadScheduler) ProtoMessage

func (*LoadScheduler) ProtoMessage()

func (*LoadScheduler) ProtoReflect

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

func (*LoadScheduler) Reset

func (x *LoadScheduler) Reset()

func (*LoadScheduler) SizeVT

func (m *LoadScheduler) SizeVT() (n int)

func (*LoadScheduler) String

func (x *LoadScheduler) String() string

func (*LoadScheduler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadScheduler) UnmarshalVT

func (m *LoadScheduler) UnmarshalVT(dAtA []byte) error

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. The signal gets updated once every 10 seconds.
	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) 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) MarshalToSizedBufferVT

func (m *LoadScheduler_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LoadScheduler_Ins) MarshalToVT

func (m *LoadScheduler_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*LoadScheduler_Ins) MarshalVT

func (m *LoadScheduler_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *LoadScheduler_Ins) SizeVT() (n int)

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

func (m *LoadScheduler_Ins) UnmarshalVT(dAtA []byte) error

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. The signal gets updated once every 10 seconds.
	ObservedLoadMultiplier *OutPort `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Output for the LoadScheduler component.

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

func (m *LoadScheduler_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LoadScheduler_Outs) MarshalToVT

func (m *LoadScheduler_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*LoadScheduler_Outs) MarshalVT

func (m *LoadScheduler_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *LoadScheduler_Outs) SizeVT() (n int)

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

func (m *LoadScheduler_Outs) UnmarshalVT(dAtA []byte) error

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 of 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)` (Little's Law).
	//
	// 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:"false"
	/* 160-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) 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) MarshalToSizedBufferVT

func (m *LoadScheduler_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LoadScheduler_Parameters) MarshalToVT

func (m *LoadScheduler_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*LoadScheduler_Parameters) MarshalVT

func (m *LoadScheduler_Parameters) MarshalVT() (dAtA []byte, err error)

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

func (m *LoadScheduler_Parameters) SizeVT() (n int)

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

func (m *LoadScheduler_Parameters) UnmarshalVT(dAtA []byte) error

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 MatchRequirement

type MatchRequirement 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:"required,oneof=In NotIn Exists DoesNotExist"` // @gotags: validate:"required,oneof=In NotIn Exists DoesNotExist"
	// 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
}

MatchRequirement. A requirement that the specified label should satisfy on a flow. The match requirement consists of the label key, its values and an operator that relates the key and values.

func (*MatchRequirement) Descriptor deprecated

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

Deprecated: Use MatchRequirement.ProtoReflect.Descriptor instead.

func (*MatchRequirement) GetKey

func (x *MatchRequirement) GetKey() string

func (*MatchRequirement) GetOperator

func (x *MatchRequirement) GetOperator() string

func (*MatchRequirement) GetValues

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

func (*MatchRequirement) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*MatchRequirement) MarshalToSizedBufferVT

func (m *MatchRequirement) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MatchRequirement) MarshalToVT

func (m *MatchRequirement) MarshalToVT(dAtA []byte) (int, error)

func (*MatchRequirement) MarshalVT

func (m *MatchRequirement) MarshalVT() (dAtA []byte, err error)

func (*MatchRequirement) ProtoMessage

func (*MatchRequirement) ProtoMessage()

func (*MatchRequirement) ProtoReflect

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

func (*MatchRequirement) Reset

func (x *MatchRequirement) Reset()

func (*MatchRequirement) SizeVT

func (m *MatchRequirement) SizeVT() (n int)

func (*MatchRequirement) String

func (x *MatchRequirement) String() string

func (*MatchRequirement) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*MatchRequirement) UnmarshalVT

func (m *MatchRequirement) UnmarshalVT(dAtA []byte) error

func (*MatchRequirement) Validate

func (m *MatchRequirement) Validate() error

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

func (*MatchRequirement) ValidateAll

func (m *MatchRequirement) ValidateAll() error

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

type MatchRequirementMultiError

type MatchRequirementMultiError []error

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

func (MatchRequirementMultiError) AllErrors

func (m MatchRequirementMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MatchRequirementMultiError) Error

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

type MatchRequirementValidationError

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

MatchRequirementValidationError is the validation error returned by MatchRequirement.Validate if the designated constraints aren't met.

func (MatchRequirementValidationError) Cause

Cause function returns cause value.

func (MatchRequirementValidationError) Error

Error satisfies the builtin error interface

func (MatchRequirementValidationError) ErrorName

ErrorName returns error name.

func (MatchRequirementValidationError) Field

Field function returns field value.

func (MatchRequirementValidationError) Key

Key function returns key value.

func (MatchRequirementValidationError) Reason

Reason function returns reason value.

type MatchesExpression

type MatchesExpression 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 (*MatchesExpression) Descriptor deprecated

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

Deprecated: Use MatchesExpression.ProtoReflect.Descriptor instead.

func (*MatchesExpression) GetLabel

func (x *MatchesExpression) GetLabel() string

func (*MatchesExpression) GetRegex

func (x *MatchesExpression) GetRegex() string

func (*MatchesExpression) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*MatchesExpression) MarshalToSizedBufferVT

func (m *MatchesExpression) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MatchesExpression) MarshalToVT

func (m *MatchesExpression) MarshalToVT(dAtA []byte) (int, error)

func (*MatchesExpression) MarshalVT

func (m *MatchesExpression) MarshalVT() (dAtA []byte, err error)

func (*MatchesExpression) ProtoMessage

func (*MatchesExpression) ProtoMessage()

func (*MatchesExpression) ProtoReflect

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

func (*MatchesExpression) Reset

func (x *MatchesExpression) Reset()

func (*MatchesExpression) SizeVT

func (m *MatchesExpression) SizeVT() (n int)

func (*MatchesExpression) String

func (x *MatchesExpression) String() string

func (*MatchesExpression) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*MatchesExpression) UnmarshalVT

func (m *MatchesExpression) UnmarshalVT(dAtA []byte) error

func (*MatchesExpression) Validate

func (m *MatchesExpression) Validate() error

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

func (*MatchesExpression) ValidateAll

func (m *MatchesExpression) ValidateAll() error

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

type MatchesExpressionMultiError

type MatchesExpressionMultiError []error

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

func (MatchesExpressionMultiError) AllErrors

func (m MatchesExpressionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MatchesExpressionMultiError) Error

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

type MatchesExpressionValidationError

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

MatchesExpressionValidationError is the validation error returned by MatchesExpression.Validate if the designated constraints aren't met.

func (MatchesExpressionValidationError) Cause

Cause function returns cause value.

func (MatchesExpressionValidationError) Error

Error satisfies the builtin error interface

func (MatchesExpressionValidationError) ErrorName

ErrorName returns error name.

func (MatchesExpressionValidationError) Field

Field function returns field value.

func (MatchesExpressionValidationError) Key

Key function returns key value.

func (MatchesExpressionValidationError) 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) 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) MarshalToSizedBufferVT

func (m *Max) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Max) MarshalToVT

func (m *Max) MarshalToVT(dAtA []byte) (int, error)

func (*Max) MarshalVT

func (m *Max) MarshalVT() (dAtA []byte, err error)

func (*Max) ProtoMessage

func (*Max) ProtoMessage()

func (*Max) ProtoReflect

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

func (*Max) Reset

func (x *Max) Reset()

func (*Max) SizeVT

func (m *Max) SizeVT() (n int)

func (*Max) String

func (x *Max) String() string

func (*Max) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Max) UnmarshalVT

func (m *Max) UnmarshalVT(dAtA []byte) error

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

func (m *Max_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Max_Ins) MarshalToVT

func (m *Max_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Max_Ins) MarshalVT

func (m *Max_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *Max_Ins) SizeVT() (n int)

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

func (m *Max_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *Max_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Max_Outs) MarshalToVT

func (m *Max_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*Max_Outs) MarshalVT

func (m *Max_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *Max_Outs) SizeVT() (n int)

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

func (m *Max_Outs) UnmarshalVT(dAtA []byte) error

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

func (m *Min) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Min) MarshalToVT

func (m *Min) MarshalToVT(dAtA []byte) (int, error)

func (*Min) MarshalVT

func (m *Min) MarshalVT() (dAtA []byte, err error)

func (*Min) ProtoMessage

func (*Min) ProtoMessage()

func (*Min) ProtoReflect

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

func (*Min) Reset

func (x *Min) Reset()

func (*Min) SizeVT

func (m *Min) SizeVT() (n int)

func (*Min) String

func (x *Min) String() string

func (*Min) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Min) UnmarshalVT

func (m *Min) UnmarshalVT(dAtA []byte) error

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

func (m *Min_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Min_Ins) MarshalToVT

func (m *Min_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Min_Ins) MarshalVT

func (m *Min_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *Min_Ins) SizeVT() (n int)

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

func (m *Min_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *Min_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Min_Outs) MarshalToVT

func (m *Min_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*Min_Outs) MarshalVT

func (m *Min_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *Min_Outs) SizeVT() (n int)

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

func (m *Min_Outs) UnmarshalVT(dAtA []byte) error

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"
	// 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) 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) GetOutPortsMap

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

func (*NestedCircuit) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*NestedCircuit) MarshalToSizedBufferVT

func (m *NestedCircuit) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NestedCircuit) MarshalToVT

func (m *NestedCircuit) MarshalToVT(dAtA []byte) (int, error)

func (*NestedCircuit) MarshalVT

func (m *NestedCircuit) MarshalVT() (dAtA []byte, err error)

func (*NestedCircuit) ProtoMessage

func (*NestedCircuit) ProtoMessage()

func (*NestedCircuit) ProtoReflect

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

func (*NestedCircuit) Reset

func (x *NestedCircuit) Reset()

func (*NestedCircuit) SizeVT

func (m *NestedCircuit) SizeVT() (n int)

func (*NestedCircuit) String

func (x *NestedCircuit) String() string

func (*NestedCircuit) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*NestedCircuit) UnmarshalVT

func (m *NestedCircuit) UnmarshalVT(dAtA []byte) error

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

func (m *NestedSignalEgress) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NestedSignalEgress) MarshalToVT

func (m *NestedSignalEgress) MarshalToVT(dAtA []byte) (int, error)

func (*NestedSignalEgress) MarshalVT

func (m *NestedSignalEgress) MarshalVT() (dAtA []byte, err error)

func (*NestedSignalEgress) ProtoMessage

func (*NestedSignalEgress) ProtoMessage()

func (*NestedSignalEgress) ProtoReflect

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

func (*NestedSignalEgress) Reset

func (x *NestedSignalEgress) Reset()

func (*NestedSignalEgress) SizeVT

func (m *NestedSignalEgress) SizeVT() (n int)

func (*NestedSignalEgress) String

func (x *NestedSignalEgress) String() string

func (*NestedSignalEgress) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*NestedSignalEgress) UnmarshalVT

func (m *NestedSignalEgress) UnmarshalVT(dAtA []byte) error

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

func (m *NestedSignalEgress_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NestedSignalEgress_Ins) MarshalToVT

func (m *NestedSignalEgress_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*NestedSignalEgress_Ins) MarshalVT

func (m *NestedSignalEgress_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *NestedSignalEgress_Ins) SizeVT() (n int)

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

func (m *NestedSignalEgress_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *NestedSignalIngress) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NestedSignalIngress) MarshalToVT

func (m *NestedSignalIngress) MarshalToVT(dAtA []byte) (int, error)

func (*NestedSignalIngress) MarshalVT

func (m *NestedSignalIngress) MarshalVT() (dAtA []byte, err error)

func (*NestedSignalIngress) ProtoMessage

func (*NestedSignalIngress) ProtoMessage()

func (*NestedSignalIngress) ProtoReflect

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

func (*NestedSignalIngress) Reset

func (x *NestedSignalIngress) Reset()

func (*NestedSignalIngress) SizeVT

func (m *NestedSignalIngress) SizeVT() (n int)

func (*NestedSignalIngress) String

func (x *NestedSignalIngress) String() string

func (*NestedSignalIngress) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*NestedSignalIngress) UnmarshalVT

func (m *NestedSignalIngress) UnmarshalVT(dAtA []byte) error

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

func (m *NestedSignalIngress_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NestedSignalIngress_Outs) MarshalToVT

func (m *NestedSignalIngress_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*NestedSignalIngress_Outs) MarshalVT

func (m *NestedSignalIngress_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *NestedSignalIngress_Outs) SizeVT() (n int)

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

func (m *NestedSignalIngress_Outs) UnmarshalVT(dAtA []byte) error

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

func (m *Or) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Or) MarshalToVT

func (m *Or) MarshalToVT(dAtA []byte) (int, error)

func (*Or) MarshalVT

func (m *Or) MarshalVT() (dAtA []byte, err error)

func (*Or) ProtoMessage

func (*Or) ProtoMessage()

func (*Or) ProtoReflect

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

func (*Or) Reset

func (x *Or) Reset()

func (*Or) SizeVT

func (m *Or) SizeVT() (n int)

func (*Or) String

func (x *Or) String() string

func (*Or) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Or) UnmarshalVT

func (m *Or) UnmarshalVT(dAtA []byte) error

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

func (m *Or_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Or_Ins) MarshalToVT

func (m *Or_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Or_Ins) MarshalVT

func (m *Or_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *Or_Ins) SizeVT() (n int)

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

func (m *Or_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *Or_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Or_Outs) MarshalToVT

func (m *Or_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*Or_Outs) MarshalVT

func (m *Or_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *Or_Outs) SizeVT() (n int)

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

func (m *Or_Outs) UnmarshalVT(dAtA []byte) error

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

func (m *OutPort) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*OutPort) MarshalToVT

func (m *OutPort) MarshalToVT(dAtA []byte) (int, error)

func (*OutPort) MarshalVT

func (m *OutPort) MarshalVT() (dAtA []byte, err error)

func (*OutPort) ProtoMessage

func (*OutPort) ProtoMessage()

func (*OutPort) ProtoReflect

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

func (*OutPort) Reset

func (x *OutPort) Reset()

func (*OutPort) SizeVT

func (m *OutPort) SizeVT() (n int)

func (*OutPort) String

func (x *OutPort) String() string

func (*OutPort) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*OutPort) UnmarshalVT

func (m *OutPort) UnmarshalVT(dAtA []byte) error

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 PIDController

type PIDController struct {
	InPorts    *PIDController_Ins        `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	OutPorts   *PIDController_Outs       `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	Parameters *PIDController_Parameters `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

PID Controller is a popular control mechanism for closed-loop feedback control. It takes a signal and a setpoint as inputs and uses the PID algorithm to compute proportional (proportional to the magnitude of error), integral (proportional to accumulation of error), and derivative (proportional to how fast the signal is changing) terms which are summed up to get a desired output. <!-- vale off --> $$ error = setpoint - signal \\ integral_i = integral_{i-1} + k_i \cdot error \\ output_i = k_p \cdot error + k_d \cdot (signal_i - signal_{i-1}) + integral_i $$ <!-- vale on -->

func (*PIDController) Descriptor deprecated

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

Deprecated: Use PIDController.ProtoReflect.Descriptor instead.

func (*PIDController) GetInPorts

func (x *PIDController) GetInPorts() *PIDController_Ins

func (*PIDController) GetOutPorts

func (x *PIDController) GetOutPorts() *PIDController_Outs

func (*PIDController) GetParameters

func (x *PIDController) GetParameters() *PIDController_Parameters

func (*PIDController) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PIDController) MarshalToSizedBufferVT

func (m *PIDController) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PIDController) MarshalToVT

func (m *PIDController) MarshalToVT(dAtA []byte) (int, error)

func (*PIDController) MarshalVT

func (m *PIDController) MarshalVT() (dAtA []byte, err error)

func (*PIDController) ProtoMessage

func (*PIDController) ProtoMessage()

func (*PIDController) ProtoReflect

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

func (*PIDController) Reset

func (x *PIDController) Reset()

func (*PIDController) SizeVT

func (m *PIDController) SizeVT() (n int)

func (*PIDController) String

func (x *PIDController) String() string

func (*PIDController) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PIDController) UnmarshalVT

func (m *PIDController) UnmarshalVT(dAtA []byte) error

func (*PIDController) Validate

func (m *PIDController) Validate() error

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

func (*PIDController) ValidateAll

func (m *PIDController) ValidateAll() error

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

type PIDControllerMultiError

type PIDControllerMultiError []error

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

func (PIDControllerMultiError) AllErrors

func (m PIDControllerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PIDControllerMultiError) Error

func (m PIDControllerMultiError) Error() string

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

type PIDControllerValidationError

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

PIDControllerValidationError is the validation error returned by PIDController.Validate if the designated constraints aren't met.

func (PIDControllerValidationError) Cause

Cause function returns cause value.

func (PIDControllerValidationError) Error

Error satisfies the builtin error interface

func (PIDControllerValidationError) ErrorName

func (e PIDControllerValidationError) ErrorName() string

ErrorName returns error name.

func (PIDControllerValidationError) Field

Field function returns field value.

func (PIDControllerValidationError) Key

Key function returns key value.

func (PIDControllerValidationError) Reason

Reason function returns reason value.

type PIDController_Ins

type PIDController_Ins struct {

	// The signal to be controlled
	Signal *InPort `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"`
	// The desired setpoint for the signal
	Setpoint *InPort `protobuf:"bytes,2,opt,name=setpoint,proto3" json:"setpoint,omitempty"`
	// Minimum allowed output
	Min *InPort `protobuf:"bytes,3,opt,name=min,proto3" json:"min,omitempty"`
	// Maximum allowed output
	Max *InPort `protobuf:"bytes,4,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*PIDController_Ins) Descriptor deprecated

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

Deprecated: Use PIDController_Ins.ProtoReflect.Descriptor instead.

func (*PIDController_Ins) GetMax

func (x *PIDController_Ins) GetMax() *InPort

func (*PIDController_Ins) GetMin

func (x *PIDController_Ins) GetMin() *InPort

func (*PIDController_Ins) GetSetpoint

func (x *PIDController_Ins) GetSetpoint() *InPort

func (*PIDController_Ins) GetSignal

func (x *PIDController_Ins) GetSignal() *InPort

func (*PIDController_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PIDController_Ins) MarshalToSizedBufferVT

func (m *PIDController_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PIDController_Ins) MarshalToVT

func (m *PIDController_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*PIDController_Ins) MarshalVT

func (m *PIDController_Ins) MarshalVT() (dAtA []byte, err error)

func (*PIDController_Ins) ProtoMessage

func (*PIDController_Ins) ProtoMessage()

func (*PIDController_Ins) ProtoReflect

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

func (*PIDController_Ins) Reset

func (x *PIDController_Ins) Reset()

func (*PIDController_Ins) SizeVT

func (m *PIDController_Ins) SizeVT() (n int)

func (*PIDController_Ins) String

func (x *PIDController_Ins) String() string

func (*PIDController_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PIDController_Ins) UnmarshalVT

func (m *PIDController_Ins) UnmarshalVT(dAtA []byte) error

func (*PIDController_Ins) Validate

func (m *PIDController_Ins) Validate() error

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

func (m *PIDController_Ins) ValidateAll() error

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

type PIDController_InsMultiError

type PIDController_InsMultiError []error

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

func (PIDController_InsMultiError) AllErrors

func (m PIDController_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PIDController_InsMultiError) Error

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

type PIDController_InsValidationError

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

PIDController_InsValidationError is the validation error returned by PIDController_Ins.Validate if the designated constraints aren't met.

func (PIDController_InsValidationError) Cause

Cause function returns cause value.

func (PIDController_InsValidationError) Error

Error satisfies the builtin error interface

func (PIDController_InsValidationError) ErrorName

ErrorName returns error name.

func (PIDController_InsValidationError) Field

Field function returns field value.

func (PIDController_InsValidationError) Key

Key function returns key value.

func (PIDController_InsValidationError) Reason

Reason function returns reason value.

type PIDController_Outs

type PIDController_Outs struct {

	// Output of the PID controller
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*PIDController_Outs) Descriptor deprecated

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

Deprecated: Use PIDController_Outs.ProtoReflect.Descriptor instead.

func (*PIDController_Outs) GetOutput

func (x *PIDController_Outs) GetOutput() *OutPort

func (*PIDController_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PIDController_Outs) MarshalToSizedBufferVT

func (m *PIDController_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PIDController_Outs) MarshalToVT

func (m *PIDController_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*PIDController_Outs) MarshalVT

func (m *PIDController_Outs) MarshalVT() (dAtA []byte, err error)

func (*PIDController_Outs) ProtoMessage

func (*PIDController_Outs) ProtoMessage()

func (*PIDController_Outs) ProtoReflect

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

func (*PIDController_Outs) Reset

func (x *PIDController_Outs) Reset()

func (*PIDController_Outs) SizeVT

func (m *PIDController_Outs) SizeVT() (n int)

func (*PIDController_Outs) String

func (x *PIDController_Outs) String() string

func (*PIDController_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PIDController_Outs) UnmarshalVT

func (m *PIDController_Outs) UnmarshalVT(dAtA []byte) error

func (*PIDController_Outs) Validate

func (m *PIDController_Outs) Validate() error

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

func (m *PIDController_Outs) ValidateAll() error

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

type PIDController_OutsMultiError

type PIDController_OutsMultiError []error

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

func (PIDController_OutsMultiError) AllErrors

func (m PIDController_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PIDController_OutsMultiError) Error

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

type PIDController_OutsValidationError

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

PIDController_OutsValidationError is the validation error returned by PIDController_Outs.Validate if the designated constraints aren't met.

func (PIDController_OutsValidationError) Cause

Cause function returns cause value.

func (PIDController_OutsValidationError) Error

Error satisfies the builtin error interface

func (PIDController_OutsValidationError) ErrorName

ErrorName returns error name.

func (PIDController_OutsValidationError) Field

Field function returns field value.

func (PIDController_OutsValidationError) Key

Key function returns key value.

func (PIDController_OutsValidationError) Reason

Reason function returns reason value.

type PIDController_Parameters

type PIDController_Parameters struct {

	// The proportional gain of the PID controller.
	Kp float64 `protobuf:"fixed64,1,opt,name=kp,proto3" json:"kp,omitempty" validate:"gte=0" default:"0"` // @gotags: validate:"gte=0" default:"0"
	// The integral gain of the PID controller.
	Ki float64 `protobuf:"fixed64,2,opt,name=ki,proto3" json:"ki,omitempty" validate:"gte=0" default:"0"` // @gotags: validate:"gte=0" default:"0"
	// The derivative gain of the PID controller.
	Kd float64 `protobuf:"fixed64,3,opt,name=kd,proto3" json:"kd,omitempty" validate:"gte=0" default:"0"` // @gotags: validate:"gte=0" default:"0"
	// The evaluation interval of the PID controller. This determines how often the PID output is computed. Defaults to the evaluation interval of the circuit.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	EvaluationInterval *durationpb.Duration `protobuf:"bytes,4,opt,name=evaluation_interval,json=evaluationInterval,proto3" json:"evaluation_interval,omitempty"`
	// The integrator resets after the specified number of ticks if the signal or setpoint are continuously invalid. Defaults to 4 invalid samples.
	ResetAfterInvalidSamples int32 `` // @gotags: validate:"gte=1" default:"4"
	/* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PIDController_Parameters) Descriptor deprecated

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

Deprecated: Use PIDController_Parameters.ProtoReflect.Descriptor instead.

func (*PIDController_Parameters) GetEvaluationInterval

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

func (*PIDController_Parameters) GetKd

func (x *PIDController_Parameters) GetKd() float64

func (*PIDController_Parameters) GetKi

func (x *PIDController_Parameters) GetKi() float64

func (*PIDController_Parameters) GetKp

func (x *PIDController_Parameters) GetKp() float64

func (*PIDController_Parameters) GetResetAfterInvalidSamples

func (x *PIDController_Parameters) GetResetAfterInvalidSamples() int32

func (*PIDController_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PIDController_Parameters) MarshalToSizedBufferVT

func (m *PIDController_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PIDController_Parameters) MarshalToVT

func (m *PIDController_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*PIDController_Parameters) MarshalVT

func (m *PIDController_Parameters) MarshalVT() (dAtA []byte, err error)

func (*PIDController_Parameters) ProtoMessage

func (*PIDController_Parameters) ProtoMessage()

func (*PIDController_Parameters) ProtoReflect

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

func (*PIDController_Parameters) Reset

func (x *PIDController_Parameters) Reset()

func (*PIDController_Parameters) SizeVT

func (m *PIDController_Parameters) SizeVT() (n int)

func (*PIDController_Parameters) String

func (x *PIDController_Parameters) String() string

func (*PIDController_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PIDController_Parameters) UnmarshalVT

func (m *PIDController_Parameters) UnmarshalVT(dAtA []byte) error

func (*PIDController_Parameters) Validate

func (m *PIDController_Parameters) Validate() error

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

func (m *PIDController_Parameters) ValidateAll() error

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

type PIDController_ParametersMultiError

type PIDController_ParametersMultiError []error

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

func (PIDController_ParametersMultiError) AllErrors

func (m PIDController_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PIDController_ParametersMultiError) Error

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

type PIDController_ParametersValidationError

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

PIDController_ParametersValidationError is the validation error returned by PIDController_Parameters.Validate if the designated constraints aren't met.

func (PIDController_ParametersValidationError) Cause

Cause function returns cause value.

func (PIDController_ParametersValidationError) Error

Error satisfies the builtin error interface

func (PIDController_ParametersValidationError) ErrorName

ErrorName returns error name.

func (PIDController_ParametersValidationError) Field

Field function returns field value.

func (PIDController_ParametersValidationError) Key

Key function returns key value.

func (PIDController_ParametersValidationError) Reason

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

func (m *PathTemplateMatcher) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PathTemplateMatcher) MarshalToVT

func (m *PathTemplateMatcher) MarshalToVT(dAtA []byte) (int, error)

func (*PathTemplateMatcher) MarshalVT

func (m *PathTemplateMatcher) MarshalVT() (dAtA []byte, err error)

func (*PathTemplateMatcher) ProtoMessage

func (*PathTemplateMatcher) ProtoMessage()

func (*PathTemplateMatcher) ProtoReflect

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

func (*PathTemplateMatcher) Reset

func (x *PathTemplateMatcher) Reset()

func (*PathTemplateMatcher) SizeVT

func (m *PathTemplateMatcher) SizeVT() (n int)

func (*PathTemplateMatcher) String

func (x *PathTemplateMatcher) String() string

func (*PathTemplateMatcher) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PathTemplateMatcher) UnmarshalVT

func (m *PathTemplateMatcher) UnmarshalVT(dAtA []byte) error

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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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) Descriptor deprecated

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

Deprecated: Use PeriodicDecrease.ProtoReflect.Descriptor instead.

func (*PeriodicDecrease) GetPeriod

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

func (*PeriodicDecrease) GetScaleInPercentage

func (x *PeriodicDecrease) GetScaleInPercentage() float64

func (*PeriodicDecrease) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PeriodicDecrease) MarshalToSizedBufferVT

func (m *PeriodicDecrease) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PeriodicDecrease) MarshalToVT

func (m *PeriodicDecrease) MarshalToVT(dAtA []byte) (int, error)

func (*PeriodicDecrease) MarshalVT

func (m *PeriodicDecrease) MarshalVT() (dAtA []byte, err error)

func (*PeriodicDecrease) ProtoMessage

func (*PeriodicDecrease) ProtoMessage()

func (*PeriodicDecrease) ProtoReflect

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

func (*PeriodicDecrease) Reset

func (x *PeriodicDecrease) Reset()

func (*PeriodicDecrease) SizeVT

func (m *PeriodicDecrease) SizeVT() (n int)

func (*PeriodicDecrease) String

func (x *PeriodicDecrease) String() string

func (*PeriodicDecrease) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PeriodicDecrease) UnmarshalVT

func (m *PeriodicDecrease) UnmarshalVT(dAtA []byte) error

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

func (m *PodScaler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PodScaler) MarshalToVT

func (m *PodScaler) MarshalToVT(dAtA []byte) (int, error)

func (*PodScaler) MarshalVT

func (m *PodScaler) MarshalVT() (dAtA []byte, err error)

func (*PodScaler) ProtoMessage

func (*PodScaler) ProtoMessage()

func (*PodScaler) ProtoReflect

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

func (*PodScaler) Reset

func (x *PodScaler) Reset()

func (*PodScaler) SizeVT

func (m *PodScaler) SizeVT() (n int)

func (*PodScaler) String

func (x *PodScaler) String() string

func (*PodScaler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PodScaler) UnmarshalVT

func (m *PodScaler) UnmarshalVT(dAtA []byte) error

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

func (m *PodScaler_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PodScaler_Ins) MarshalToVT

func (m *PodScaler_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*PodScaler_Ins) MarshalVT

func (m *PodScaler_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *PodScaler_Ins) SizeVT() (n int)

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

func (m *PodScaler_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *PodScaler_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PodScaler_Outs) MarshalToVT

func (m *PodScaler_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*PodScaler_Outs) MarshalVT

func (m *PodScaler_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *PodScaler_Outs) SizeVT() (n int)

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

func (m *PodScaler_Outs) UnmarshalVT(dAtA []byte) error

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]*GetPolicyResponse `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

Policies is a collection of Policies.

func (*Policies) Descriptor deprecated

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

Deprecated: Use Policies.ProtoReflect.Descriptor instead.

func (*Policies) GetPolicies

func (x *Policies) GetPolicies() map[string]*GetPolicyResponse

func (*Policies) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Policies) MarshalToSizedBufferVT

func (m *Policies) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Policies) MarshalToVT

func (m *Policies) MarshalToVT(dAtA []byte) (int, error)

func (*Policies) MarshalVT

func (m *Policies) MarshalVT() (dAtA []byte, err error)

func (*Policies) ProtoMessage

func (*Policies) ProtoMessage()

func (*Policies) ProtoReflect

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

func (*Policies) Reset

func (x *Policies) Reset()

func (*Policies) SizeVT

func (m *Policies) SizeVT() (n int)

func (*Policies) String

func (x *Policies) String() string

func (*Policies) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Policies) UnmarshalVT

func (m *Policies) UnmarshalVT(dAtA []byte) error

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" validate:"required_without=Resources"` // @gotags: validate:"required_without=Resources"
	// Resources (such as Flux Meters, Classifiers) to setup.
	Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty" validate:"required_without=Circuit"` // @gotags: validate:"required_without=Circuit"
	// contains filtered or unexported fields
}

Policy expresses observability-driven control logic.

:::info

See also [Policy overview](/concepts/advanced/policy.md).

:::

Policy specification contains a circuit that defines the controller logic and resources that need to be setup.

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

func (m *Policy) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Policy) MarshalToVT

func (m *Policy) MarshalToVT(dAtA []byte) (int, error)

func (*Policy) MarshalVT

func (m *Policy) MarshalVT() (dAtA []byte, err error)

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) SizeVT

func (m *Policy) SizeVT() (n int)

func (*Policy) String

func (x *Policy) String() string

func (*Policy) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Policy) UnmarshalVT

func (m *Policy) UnmarshalVT(dAtA []byte) error

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 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) (*UpsertPolicyResponse, error)
	// PostDynamicConfig creates/updates dynamic configuration based on the provided request.
	PostDynamicConfig(ctx context.Context, in *PostDynamicConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetDynamicConfig lists dynamic configuration for a policy.
	GetDynamicConfig(ctx context.Context, in *GetDynamicConfigRequest, opts ...grpc.CallOption) (*GetDynamicConfigResponse, error)
	// DeleteDynamicConfig deletes dynamic configuration for a policy.
	DeleteDynamicConfig(ctx context.Context, in *DeleteDynamicConfigRequest, 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)
	GetDecisions(ctx context.Context, in *GetDecisionsRequest, opts ...grpc.CallOption) (*GetDecisionsResponse, 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) (*UpsertPolicyResponse, error)
	// PostDynamicConfig creates/updates dynamic configuration based on the provided request.
	PostDynamicConfig(context.Context, *PostDynamicConfigRequest) (*emptypb.Empty, error)
	// GetDynamicConfig lists dynamic configuration for a policy.
	GetDynamicConfig(context.Context, *GetDynamicConfigRequest) (*GetDynamicConfigResponse, error)
	// DeleteDynamicConfig deletes dynamic configuration for a policy.
	DeleteDynamicConfig(context.Context, *DeleteDynamicConfigRequest) (*emptypb.Empty, error)
	// DeletePolicy removes a policy with the specified name.
	DeletePolicy(context.Context, *DeletePolicyRequest) (*emptypb.Empty, error)
	GetDecisions(context.Context, *GetDecisionsRequest) (*GetDecisionsResponse, 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 PolynomialRangeFunction

type PolynomialRangeFunction struct {
	InPorts    *PolynomialRangeFunction_Ins        `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	OutPorts   *PolynomialRangeFunction_Outs       `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	Parameters *PolynomialRangeFunction_Parameters `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Curve Types by Degree: - Degree 1: Linear - Degree 2: Quadratic - Degree 3: Cubic - and so on.

func (*PolynomialRangeFunction) Descriptor deprecated

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

Deprecated: Use PolynomialRangeFunction.ProtoReflect.Descriptor instead.

func (*PolynomialRangeFunction) GetInPorts

func (*PolynomialRangeFunction) GetOutPorts

func (*PolynomialRangeFunction) GetParameters

func (*PolynomialRangeFunction) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PolynomialRangeFunction) MarshalToSizedBufferVT

func (m *PolynomialRangeFunction) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PolynomialRangeFunction) MarshalToVT

func (m *PolynomialRangeFunction) MarshalToVT(dAtA []byte) (int, error)

func (*PolynomialRangeFunction) MarshalVT

func (m *PolynomialRangeFunction) MarshalVT() (dAtA []byte, err error)

func (*PolynomialRangeFunction) ProtoMessage

func (*PolynomialRangeFunction) ProtoMessage()

func (*PolynomialRangeFunction) ProtoReflect

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

func (*PolynomialRangeFunction) Reset

func (x *PolynomialRangeFunction) Reset()

func (*PolynomialRangeFunction) SizeVT

func (m *PolynomialRangeFunction) SizeVT() (n int)

func (*PolynomialRangeFunction) String

func (x *PolynomialRangeFunction) String() string

func (*PolynomialRangeFunction) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PolynomialRangeFunction) UnmarshalVT

func (m *PolynomialRangeFunction) UnmarshalVT(dAtA []byte) error

func (*PolynomialRangeFunction) Validate

func (m *PolynomialRangeFunction) Validate() error

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

func (*PolynomialRangeFunction) ValidateAll

func (m *PolynomialRangeFunction) ValidateAll() error

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

type PolynomialRangeFunctionMultiError

type PolynomialRangeFunctionMultiError []error

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

func (PolynomialRangeFunctionMultiError) AllErrors

func (m PolynomialRangeFunctionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PolynomialRangeFunctionMultiError) Error

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

type PolynomialRangeFunctionValidationError

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

PolynomialRangeFunctionValidationError is the validation error returned by PolynomialRangeFunction.Validate if the designated constraints aren't met.

func (PolynomialRangeFunctionValidationError) Cause

Cause function returns cause value.

func (PolynomialRangeFunctionValidationError) Error

Error satisfies the builtin error interface

func (PolynomialRangeFunctionValidationError) ErrorName

ErrorName returns error name.

func (PolynomialRangeFunctionValidationError) Field

Field function returns field value.

func (PolynomialRangeFunctionValidationError) Key

Key function returns key value.

func (PolynomialRangeFunctionValidationError) Reason

Reason function returns reason value.

type PolynomialRangeFunction_Ins

type PolynomialRangeFunction_Ins struct {

	// The input signal.
	Input *InPort `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// contains filtered or unexported fields
}

func (*PolynomialRangeFunction_Ins) Descriptor deprecated

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

Deprecated: Use PolynomialRangeFunction_Ins.ProtoReflect.Descriptor instead.

func (*PolynomialRangeFunction_Ins) GetInput

func (x *PolynomialRangeFunction_Ins) GetInput() *InPort

func (*PolynomialRangeFunction_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PolynomialRangeFunction_Ins) MarshalToSizedBufferVT

func (m *PolynomialRangeFunction_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PolynomialRangeFunction_Ins) MarshalToVT

func (m *PolynomialRangeFunction_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*PolynomialRangeFunction_Ins) MarshalVT

func (m *PolynomialRangeFunction_Ins) MarshalVT() (dAtA []byte, err error)

func (*PolynomialRangeFunction_Ins) ProtoMessage

func (*PolynomialRangeFunction_Ins) ProtoMessage()

func (*PolynomialRangeFunction_Ins) ProtoReflect

func (*PolynomialRangeFunction_Ins) Reset

func (x *PolynomialRangeFunction_Ins) Reset()

func (*PolynomialRangeFunction_Ins) SizeVT

func (m *PolynomialRangeFunction_Ins) SizeVT() (n int)

func (*PolynomialRangeFunction_Ins) String

func (x *PolynomialRangeFunction_Ins) String() string

func (*PolynomialRangeFunction_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PolynomialRangeFunction_Ins) UnmarshalVT

func (m *PolynomialRangeFunction_Ins) UnmarshalVT(dAtA []byte) error

func (*PolynomialRangeFunction_Ins) Validate

func (m *PolynomialRangeFunction_Ins) Validate() error

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

func (m *PolynomialRangeFunction_Ins) ValidateAll() error

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

type PolynomialRangeFunction_InsMultiError

type PolynomialRangeFunction_InsMultiError []error

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

func (PolynomialRangeFunction_InsMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (PolynomialRangeFunction_InsMultiError) Error

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

type PolynomialRangeFunction_InsValidationError

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

PolynomialRangeFunction_InsValidationError is the validation error returned by PolynomialRangeFunction_Ins.Validate if the designated constraints aren't met.

func (PolynomialRangeFunction_InsValidationError) Cause

Cause function returns cause value.

func (PolynomialRangeFunction_InsValidationError) Error

Error satisfies the builtin error interface

func (PolynomialRangeFunction_InsValidationError) ErrorName

ErrorName returns error name.

func (PolynomialRangeFunction_InsValidationError) Field

Field function returns field value.

func (PolynomialRangeFunction_InsValidationError) Key

Key function returns key value.

func (PolynomialRangeFunction_InsValidationError) Reason

Reason function returns reason value.

type PolynomialRangeFunction_Outs

type PolynomialRangeFunction_Outs struct {

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

func (*PolynomialRangeFunction_Outs) Descriptor deprecated

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

Deprecated: Use PolynomialRangeFunction_Outs.ProtoReflect.Descriptor instead.

func (*PolynomialRangeFunction_Outs) GetOutput

func (x *PolynomialRangeFunction_Outs) GetOutput() *OutPort

func (*PolynomialRangeFunction_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PolynomialRangeFunction_Outs) MarshalToSizedBufferVT

func (m *PolynomialRangeFunction_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PolynomialRangeFunction_Outs) MarshalToVT

func (m *PolynomialRangeFunction_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*PolynomialRangeFunction_Outs) MarshalVT

func (m *PolynomialRangeFunction_Outs) MarshalVT() (dAtA []byte, err error)

func (*PolynomialRangeFunction_Outs) ProtoMessage

func (*PolynomialRangeFunction_Outs) ProtoMessage()

func (*PolynomialRangeFunction_Outs) ProtoReflect

func (*PolynomialRangeFunction_Outs) Reset

func (x *PolynomialRangeFunction_Outs) Reset()

func (*PolynomialRangeFunction_Outs) SizeVT

func (m *PolynomialRangeFunction_Outs) SizeVT() (n int)

func (*PolynomialRangeFunction_Outs) String

func (*PolynomialRangeFunction_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PolynomialRangeFunction_Outs) UnmarshalVT

func (m *PolynomialRangeFunction_Outs) UnmarshalVT(dAtA []byte) error

func (*PolynomialRangeFunction_Outs) Validate

func (m *PolynomialRangeFunction_Outs) Validate() error

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

func (m *PolynomialRangeFunction_Outs) ValidateAll() error

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

type PolynomialRangeFunction_OutsMultiError

type PolynomialRangeFunction_OutsMultiError []error

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

func (PolynomialRangeFunction_OutsMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (PolynomialRangeFunction_OutsMultiError) Error

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

type PolynomialRangeFunction_OutsValidationError

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

PolynomialRangeFunction_OutsValidationError is the validation error returned by PolynomialRangeFunction_Outs.Validate if the designated constraints aren't met.

func (PolynomialRangeFunction_OutsValidationError) Cause

Cause function returns cause value.

func (PolynomialRangeFunction_OutsValidationError) Error

Error satisfies the builtin error interface

func (PolynomialRangeFunction_OutsValidationError) ErrorName

ErrorName returns error name.

func (PolynomialRangeFunction_OutsValidationError) Field

Field function returns field value.

func (PolynomialRangeFunction_OutsValidationError) Key

Key function returns key value.

func (PolynomialRangeFunction_OutsValidationError) Reason

Reason function returns reason value.

type PolynomialRangeFunction_Parameters

type PolynomialRangeFunction_Parameters struct {

	// Starting data-point for the range function
	Start *PolynomialRangeFunction_Parameters_Datapoint `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	// Ending data-point for the range function
	End *PolynomialRangeFunction_Parameters_Datapoint `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	// Degree of the polynomial
	Degree float64 `protobuf:"fixed64,3,opt,name=degree,proto3" json:"degree,omitempty"`
	// Behavior outside range. Select one of the following:
	// 1. Continue polynomial curve
	// 2. Clamp to the nearest data-point
	// 3. Clamp to custom values
	//
	// Types that are assignable to OutsideRange:
	//
	//	*PolynomialRangeFunction_Parameters_ClampToDatapoint
	//	*PolynomialRangeFunction_Parameters_ClampToCustomValues_
	//	*PolynomialRangeFunction_Parameters_ContinueCurve
	OutsideRange isPolynomialRangeFunction_Parameters_OutsideRange `protobuf_oneof:"outside_range"`
	// contains filtered or unexported fields
}

func (*PolynomialRangeFunction_Parameters) Descriptor deprecated

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

Deprecated: Use PolynomialRangeFunction_Parameters.ProtoReflect.Descriptor instead.

func (*PolynomialRangeFunction_Parameters) GetClampToCustomValues

func (*PolynomialRangeFunction_Parameters) GetClampToDatapoint

func (x *PolynomialRangeFunction_Parameters) GetClampToDatapoint() bool

func (*PolynomialRangeFunction_Parameters) GetContinueCurve

func (x *PolynomialRangeFunction_Parameters) GetContinueCurve() bool

func (*PolynomialRangeFunction_Parameters) GetDegree

func (*PolynomialRangeFunction_Parameters) GetEnd

func (*PolynomialRangeFunction_Parameters) GetOutsideRange

func (m *PolynomialRangeFunction_Parameters) GetOutsideRange() isPolynomialRangeFunction_Parameters_OutsideRange

func (*PolynomialRangeFunction_Parameters) GetStart

func (*PolynomialRangeFunction_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PolynomialRangeFunction_Parameters) MarshalToSizedBufferVT

func (m *PolynomialRangeFunction_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PolynomialRangeFunction_Parameters) MarshalToVT

func (m *PolynomialRangeFunction_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*PolynomialRangeFunction_Parameters) MarshalVT

func (m *PolynomialRangeFunction_Parameters) MarshalVT() (dAtA []byte, err error)

func (*PolynomialRangeFunction_Parameters) ProtoMessage

func (*PolynomialRangeFunction_Parameters) ProtoMessage()

func (*PolynomialRangeFunction_Parameters) ProtoReflect

func (*PolynomialRangeFunction_Parameters) Reset

func (*PolynomialRangeFunction_Parameters) SizeVT

func (m *PolynomialRangeFunction_Parameters) SizeVT() (n int)

func (*PolynomialRangeFunction_Parameters) String

func (*PolynomialRangeFunction_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PolynomialRangeFunction_Parameters) UnmarshalVT

func (m *PolynomialRangeFunction_Parameters) UnmarshalVT(dAtA []byte) error

func (*PolynomialRangeFunction_Parameters) Validate

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

func (m *PolynomialRangeFunction_Parameters) ValidateAll() error

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

type PolynomialRangeFunction_ParametersMultiError

type PolynomialRangeFunction_ParametersMultiError []error

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

func (PolynomialRangeFunction_ParametersMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (PolynomialRangeFunction_ParametersMultiError) Error

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

type PolynomialRangeFunction_ParametersValidationError

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

PolynomialRangeFunction_ParametersValidationError is the validation error returned by PolynomialRangeFunction_Parameters.Validate if the designated constraints aren't met.

func (PolynomialRangeFunction_ParametersValidationError) Cause

Cause function returns cause value.

func (PolynomialRangeFunction_ParametersValidationError) Error

Error satisfies the builtin error interface

func (PolynomialRangeFunction_ParametersValidationError) ErrorName

ErrorName returns error name.

func (PolynomialRangeFunction_ParametersValidationError) Field

Field function returns field value.

func (PolynomialRangeFunction_ParametersValidationError) Key

Key function returns key value.

func (PolynomialRangeFunction_ParametersValidationError) Reason

Reason function returns reason value.

type PolynomialRangeFunction_Parameters_ClampToCustomValues

type PolynomialRangeFunction_Parameters_ClampToCustomValues struct {
	PreStart float64 `protobuf:"fixed64,1,opt,name=pre_start,json=preStart,proto3" json:"pre_start,omitempty"`
	PostEnd  float64 `protobuf:"fixed64,2,opt,name=post_end,json=postEnd,proto3" json:"post_end,omitempty"`
	// contains filtered or unexported fields
}

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) Descriptor deprecated

Deprecated: Use PolynomialRangeFunction_Parameters_ClampToCustomValues.ProtoReflect.Descriptor instead.

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) GetPostEnd

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) GetPreStart

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) MarshalJSON

MarshalJSON implements json.Marshaler

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) MarshalToSizedBufferVT

func (m *PolynomialRangeFunction_Parameters_ClampToCustomValues) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) MarshalToVT

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) MarshalVT

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) ProtoMessage

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) ProtoReflect

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) Reset

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) SizeVT

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) String

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) UnmarshalVT

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) Validate

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

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues) ValidateAll

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

type PolynomialRangeFunction_Parameters_ClampToCustomValuesMultiError

type PolynomialRangeFunction_Parameters_ClampToCustomValuesMultiError []error

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

func (PolynomialRangeFunction_Parameters_ClampToCustomValuesMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (PolynomialRangeFunction_Parameters_ClampToCustomValuesMultiError) Error

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

type PolynomialRangeFunction_Parameters_ClampToCustomValuesValidationError

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

PolynomialRangeFunction_Parameters_ClampToCustomValuesValidationError is the validation error returned by PolynomialRangeFunction_Parameters_ClampToCustomValues.Validate if the designated constraints aren't met.

func (PolynomialRangeFunction_Parameters_ClampToCustomValuesValidationError) Cause

Cause function returns cause value.

func (PolynomialRangeFunction_Parameters_ClampToCustomValuesValidationError) Error

Error satisfies the builtin error interface

func (PolynomialRangeFunction_Parameters_ClampToCustomValuesValidationError) ErrorName

ErrorName returns error name.

func (PolynomialRangeFunction_Parameters_ClampToCustomValuesValidationError) Field

Field function returns field value.

func (PolynomialRangeFunction_Parameters_ClampToCustomValuesValidationError) Key

Key function returns key value.

func (PolynomialRangeFunction_Parameters_ClampToCustomValuesValidationError) Reason

Reason function returns reason value.

type PolynomialRangeFunction_Parameters_ClampToCustomValues_

type PolynomialRangeFunction_Parameters_ClampToCustomValues_ struct {
	// Clamp to custom values
	ClampToCustomValues *PolynomialRangeFunction_Parameters_ClampToCustomValues `protobuf:"bytes,5,opt,name=clamp_to_custom_values,json=clampToCustomValues,proto3,oneof"`
}

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues_) MarshalToSizedBufferVT

func (m *PolynomialRangeFunction_Parameters_ClampToCustomValues_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues_) MarshalToVT

func (*PolynomialRangeFunction_Parameters_ClampToCustomValues_) SizeVT

type PolynomialRangeFunction_Parameters_ClampToDatapoint

type PolynomialRangeFunction_Parameters_ClampToDatapoint struct {
	// Clamp to the nearest data-point
	ClampToDatapoint bool `protobuf:"varint,4,opt,name=clamp_to_datapoint,json=clampToDatapoint,proto3,oneof"`
}

func (*PolynomialRangeFunction_Parameters_ClampToDatapoint) MarshalToSizedBufferVT

func (m *PolynomialRangeFunction_Parameters_ClampToDatapoint) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PolynomialRangeFunction_Parameters_ClampToDatapoint) MarshalToVT

func (*PolynomialRangeFunction_Parameters_ClampToDatapoint) SizeVT

type PolynomialRangeFunction_Parameters_ContinueCurve

type PolynomialRangeFunction_Parameters_ContinueCurve struct {
	// Continue polynomial curve
	ContinueCurve bool `protobuf:"varint,6,opt,name=continue_curve,json=continueCurve,proto3,oneof"`
}

func (*PolynomialRangeFunction_Parameters_ContinueCurve) MarshalToSizedBufferVT

func (m *PolynomialRangeFunction_Parameters_ContinueCurve) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PolynomialRangeFunction_Parameters_ContinueCurve) MarshalToVT

func (*PolynomialRangeFunction_Parameters_ContinueCurve) SizeVT

type PolynomialRangeFunction_Parameters_Datapoint

type PolynomialRangeFunction_Parameters_Datapoint struct {
	Input  float64 `protobuf:"fixed64,1,opt,name=input,proto3" json:"input,omitempty"`
	Output float64 `protobuf:"fixed64,2,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*PolynomialRangeFunction_Parameters_Datapoint) Descriptor deprecated

Deprecated: Use PolynomialRangeFunction_Parameters_Datapoint.ProtoReflect.Descriptor instead.

func (*PolynomialRangeFunction_Parameters_Datapoint) GetInput

func (*PolynomialRangeFunction_Parameters_Datapoint) GetOutput

func (*PolynomialRangeFunction_Parameters_Datapoint) MarshalJSON

MarshalJSON implements json.Marshaler

func (*PolynomialRangeFunction_Parameters_Datapoint) MarshalToSizedBufferVT

func (m *PolynomialRangeFunction_Parameters_Datapoint) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PolynomialRangeFunction_Parameters_Datapoint) MarshalToVT

func (m *PolynomialRangeFunction_Parameters_Datapoint) MarshalToVT(dAtA []byte) (int, error)

func (*PolynomialRangeFunction_Parameters_Datapoint) MarshalVT

func (m *PolynomialRangeFunction_Parameters_Datapoint) MarshalVT() (dAtA []byte, err error)

func (*PolynomialRangeFunction_Parameters_Datapoint) ProtoMessage

func (*PolynomialRangeFunction_Parameters_Datapoint) ProtoReflect

func (*PolynomialRangeFunction_Parameters_Datapoint) Reset

func (*PolynomialRangeFunction_Parameters_Datapoint) SizeVT

func (*PolynomialRangeFunction_Parameters_Datapoint) String

func (*PolynomialRangeFunction_Parameters_Datapoint) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler

func (*PolynomialRangeFunction_Parameters_Datapoint) UnmarshalVT

func (*PolynomialRangeFunction_Parameters_Datapoint) Validate

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

func (*PolynomialRangeFunction_Parameters_Datapoint) ValidateAll

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

type PolynomialRangeFunction_Parameters_DatapointMultiError

type PolynomialRangeFunction_Parameters_DatapointMultiError []error

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

func (PolynomialRangeFunction_Parameters_DatapointMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (PolynomialRangeFunction_Parameters_DatapointMultiError) Error

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

type PolynomialRangeFunction_Parameters_DatapointValidationError

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

PolynomialRangeFunction_Parameters_DatapointValidationError is the validation error returned by PolynomialRangeFunction_Parameters_Datapoint.Validate if the designated constraints aren't met.

func (PolynomialRangeFunction_Parameters_DatapointValidationError) Cause

Cause function returns cause value.

func (PolynomialRangeFunction_Parameters_DatapointValidationError) Error

Error satisfies the builtin error interface

func (PolynomialRangeFunction_Parameters_DatapointValidationError) ErrorName

ErrorName returns error name.

func (PolynomialRangeFunction_Parameters_DatapointValidationError) Field

Field function returns field value.

func (PolynomialRangeFunction_Parameters_DatapointValidationError) Key

Key function returns key value.

func (PolynomialRangeFunction_Parameters_DatapointValidationError) Reason

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"`
	DynamicConfig *structpb.Struct `protobuf:"bytes,2,opt,name=dynamic_config,json=dynamicConfig,proto3" json:"dynamic_config,omitempty"`
	// contains filtered or unexported fields
}

PostDynamicConfigRequest is a request to patch dynamic configuration for Policy.

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

func (m *PostDynamicConfigRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PostDynamicConfigRequest) MarshalToVT

func (m *PostDynamicConfigRequest) MarshalToVT(dAtA []byte) (int, error)

func (*PostDynamicConfigRequest) MarshalVT

func (m *PostDynamicConfigRequest) MarshalVT() (dAtA []byte, err error)

func (*PostDynamicConfigRequest) ProtoMessage

func (*PostDynamicConfigRequest) ProtoMessage()

func (*PostDynamicConfigRequest) ProtoReflect

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

func (*PostDynamicConfigRequest) Reset

func (x *PostDynamicConfigRequest) Reset()

func (*PostDynamicConfigRequest) SizeVT

func (m *PostDynamicConfigRequest) SizeVT() (n int)

func (*PostDynamicConfigRequest) String

func (x *PostDynamicConfigRequest) String() string

func (*PostDynamicConfigRequest) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PostDynamicConfigRequest) UnmarshalVT

func (m *PostDynamicConfigRequest) UnmarshalVT(dAtA []byte) error

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/advanced/flux-meter.md) metrics can be queried 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](/aperture-for-infra/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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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) 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) MarshalToSizedBufferVT

func (m *PromQL) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PromQL) MarshalToVT

func (m *PromQL) MarshalToVT(dAtA []byte) (int, error)

func (*PromQL) MarshalVT

func (m *PromQL) MarshalVT() (dAtA []byte, err error)

func (*PromQL) ProtoMessage

func (*PromQL) ProtoMessage()

func (*PromQL) ProtoReflect

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

func (*PromQL) Reset

func (x *PromQL) Reset()

func (*PromQL) SizeVT

func (m *PromQL) SizeVT() (n int)

func (*PromQL) String

func (x *PromQL) String() string

func (*PromQL) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PromQL) UnmarshalVT

func (m *PromQL) UnmarshalVT(dAtA []byte) error

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

func (m *PromQL_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PromQL_Outs) MarshalToVT

func (m *PromQL_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*PromQL_Outs) MarshalVT

func (m *PromQL_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *PromQL_Outs) SizeVT() (n int)

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

func (m *PromQL_Outs) UnmarshalVT(dAtA []byte) error

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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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) 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) MarshalToSizedBufferVT

func (m *PulseGenerator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PulseGenerator) MarshalToVT

func (m *PulseGenerator) MarshalToVT(dAtA []byte) (int, error)

func (*PulseGenerator) MarshalVT

func (m *PulseGenerator) MarshalVT() (dAtA []byte, err error)

func (*PulseGenerator) ProtoMessage

func (*PulseGenerator) ProtoMessage()

func (*PulseGenerator) ProtoReflect

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

func (*PulseGenerator) Reset

func (x *PulseGenerator) Reset()

func (*PulseGenerator) SizeVT

func (m *PulseGenerator) SizeVT() (n int)

func (*PulseGenerator) String

func (x *PulseGenerator) String() string

func (*PulseGenerator) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PulseGenerator) UnmarshalVT

func (m *PulseGenerator) UnmarshalVT(dAtA []byte) error

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

func (m *PulseGenerator_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PulseGenerator_Outs) MarshalToVT

func (m *PulseGenerator_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*PulseGenerator_Outs) MarshalVT

func (m *PulseGenerator_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *PulseGenerator_Outs) SizeVT() (n int)

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

func (m *PulseGenerator_Outs) UnmarshalVT(dAtA []byte) error

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

func (m *Query) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Query) MarshalToVT

func (m *Query) MarshalToVT(dAtA []byte) (int, error)

func (*Query) MarshalVT

func (m *Query) MarshalVT() (dAtA []byte, err error)

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) ProtoReflect

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

func (*Query) Reset

func (x *Query) Reset()

func (*Query) SizeVT

func (m *Query) SizeVT() (n int)

func (*Query) String

func (x *Query) String() string

func (*Query) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Query) UnmarshalVT

func (m *Query) UnmarshalVT(dAtA []byte) error

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

func (*Query_Promql) MarshalToSizedBufferVT

func (m *Query_Promql) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Query_Promql) MarshalToVT

func (m *Query_Promql) MarshalToVT(dAtA []byte) (int, error)

func (*Query_Promql) SizeVT

func (m *Query_Promql) SizeVT() (n int)

type QuotaScheduler

type QuotaScheduler struct {

	// Input ports for the _Quota Scheduler_ component
	InPorts *RateLimiter_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty" validate:"required"` // @gotags: validate:"required"
	// Flow selection criteria.
	Selectors []*Selector `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required,gt=0,dive"` // @gotags: validate:"required,gt=0,dive"
	// Parameter to configure rate limiting quotas.
	RateLimiter *RateLimiter_Parameters `protobuf:"bytes,3,opt,name=rate_limiter,json=rateLimiter,proto3" json:"rate_limiter,omitempty" validate:"required"` // @gotags: validate:"required"
	// Scheduler is used to schedule the requests when the quota is exhausted.
	Scheduler *Scheduler `protobuf:"bytes,4,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
	// Output ports for the _Quota Scheduler_ component.
	OutPorts *RateLimiter_Outs `protobuf:"bytes,5,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

Schedules the traffic based on token-bucket based quotas.

func (*QuotaScheduler) Descriptor deprecated

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

Deprecated: Use QuotaScheduler.ProtoReflect.Descriptor instead.

func (*QuotaScheduler) GetInPorts

func (x *QuotaScheduler) GetInPorts() *RateLimiter_Ins

func (*QuotaScheduler) GetOutPorts

func (x *QuotaScheduler) GetOutPorts() *RateLimiter_Outs

func (*QuotaScheduler) GetRateLimiter

func (x *QuotaScheduler) GetRateLimiter() *RateLimiter_Parameters

func (*QuotaScheduler) GetScheduler

func (x *QuotaScheduler) GetScheduler() *Scheduler

func (*QuotaScheduler) GetSelectors

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

func (*QuotaScheduler) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*QuotaScheduler) MarshalToSizedBufferVT

func (m *QuotaScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QuotaScheduler) MarshalToVT

func (m *QuotaScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*QuotaScheduler) MarshalVT

func (m *QuotaScheduler) MarshalVT() (dAtA []byte, err error)

func (*QuotaScheduler) ProtoMessage

func (*QuotaScheduler) ProtoMessage()

func (*QuotaScheduler) ProtoReflect

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

func (*QuotaScheduler) Reset

func (x *QuotaScheduler) Reset()

func (*QuotaScheduler) SizeVT

func (m *QuotaScheduler) SizeVT() (n int)

func (*QuotaScheduler) String

func (x *QuotaScheduler) String() string

func (*QuotaScheduler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*QuotaScheduler) UnmarshalVT

func (m *QuotaScheduler) UnmarshalVT(dAtA []byte) error

func (*QuotaScheduler) Validate

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

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

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

func (m QuotaSchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QuotaSchedulerMultiError) Error

func (m QuotaSchedulerMultiError) Error() string

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

type QuotaSchedulerValidationError

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

Cause function returns cause value.

func (QuotaSchedulerValidationError) Error

Error satisfies the builtin error interface

func (QuotaSchedulerValidationError) ErrorName

func (e QuotaSchedulerValidationError) ErrorName() string

ErrorName returns error name.

func (QuotaSchedulerValidationError) Field

Field function returns field value.

func (QuotaSchedulerValidationError) Key

Key function returns key value.

func (QuotaSchedulerValidationError) Reason

Reason function returns reason value.

type RangeDrivenLoadScheduler

type RangeDrivenLoadScheduler struct {

	// Input ports for the _Range Load Scheduler_.
	InPorts *RangeDrivenLoadScheduler_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Output ports for the _Range Load Scheduler_.
	OutPorts *RangeDrivenLoadScheduler_Outs `protobuf:"bytes,2,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// Parameters for the _Range Load Scheduler_.
	Parameters *RangeDrivenLoadScheduler_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,4,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,5,opt,name=dry_run_config_key,json=dryRunConfigKey,proto3" json:"dry_run_config_key,omitempty"`
	// contains filtered or unexported fields
}

_Range Load Scheduler_ uses the [polynomial range function](#polynomial-range-function) to throttle the token rate based on the range of the signal.

func (*RangeDrivenLoadScheduler) Descriptor deprecated

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

Deprecated: Use RangeDrivenLoadScheduler.ProtoReflect.Descriptor instead.

func (*RangeDrivenLoadScheduler) GetDryRun

func (x *RangeDrivenLoadScheduler) GetDryRun() bool

func (*RangeDrivenLoadScheduler) GetDryRunConfigKey

func (x *RangeDrivenLoadScheduler) GetDryRunConfigKey() string

func (*RangeDrivenLoadScheduler) GetInPorts

func (*RangeDrivenLoadScheduler) GetOutPorts

func (*RangeDrivenLoadScheduler) GetParameters

func (*RangeDrivenLoadScheduler) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RangeDrivenLoadScheduler) MarshalToSizedBufferVT

func (m *RangeDrivenLoadScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RangeDrivenLoadScheduler) MarshalToVT

func (m *RangeDrivenLoadScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*RangeDrivenLoadScheduler) MarshalVT

func (m *RangeDrivenLoadScheduler) MarshalVT() (dAtA []byte, err error)

func (*RangeDrivenLoadScheduler) ProtoMessage

func (*RangeDrivenLoadScheduler) ProtoMessage()

func (*RangeDrivenLoadScheduler) ProtoReflect

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

func (*RangeDrivenLoadScheduler) Reset

func (x *RangeDrivenLoadScheduler) Reset()

func (*RangeDrivenLoadScheduler) SizeVT

func (m *RangeDrivenLoadScheduler) SizeVT() (n int)

func (*RangeDrivenLoadScheduler) String

func (x *RangeDrivenLoadScheduler) String() string

func (*RangeDrivenLoadScheduler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*RangeDrivenLoadScheduler) UnmarshalVT

func (m *RangeDrivenLoadScheduler) UnmarshalVT(dAtA []byte) error

func (*RangeDrivenLoadScheduler) Validate

func (m *RangeDrivenLoadScheduler) Validate() error

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

func (*RangeDrivenLoadScheduler) ValidateAll

func (m *RangeDrivenLoadScheduler) ValidateAll() error

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

type RangeDrivenLoadSchedulerMultiError

type RangeDrivenLoadSchedulerMultiError []error

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

func (RangeDrivenLoadSchedulerMultiError) AllErrors

func (m RangeDrivenLoadSchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RangeDrivenLoadSchedulerMultiError) Error

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

type RangeDrivenLoadSchedulerValidationError

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

RangeDrivenLoadSchedulerValidationError is the validation error returned by RangeDrivenLoadScheduler.Validate if the designated constraints aren't met.

func (RangeDrivenLoadSchedulerValidationError) Cause

Cause function returns cause value.

func (RangeDrivenLoadSchedulerValidationError) Error

Error satisfies the builtin error interface

func (RangeDrivenLoadSchedulerValidationError) ErrorName

ErrorName returns error name.

func (RangeDrivenLoadSchedulerValidationError) Field

Field function returns field value.

func (RangeDrivenLoadSchedulerValidationError) Key

Key function returns key value.

func (RangeDrivenLoadSchedulerValidationError) Reason

Reason function returns reason value.

type RangeDrivenLoadScheduler_Datapoint

type RangeDrivenLoadScheduler_Datapoint struct {
	SignalValue    float64 `protobuf:"fixed64,1,opt,name=signal_value,json=signalValue,proto3" json:"signal_value,omitempty"`
	LoadMultiplier float64 `` // @gotags: validate:"gte=0,lte=1"
	/* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RangeDrivenLoadScheduler_Datapoint) Descriptor deprecated

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

Deprecated: Use RangeDrivenLoadScheduler_Datapoint.ProtoReflect.Descriptor instead.

func (*RangeDrivenLoadScheduler_Datapoint) GetLoadMultiplier

func (x *RangeDrivenLoadScheduler_Datapoint) GetLoadMultiplier() float64

func (*RangeDrivenLoadScheduler_Datapoint) GetSignalValue

func (x *RangeDrivenLoadScheduler_Datapoint) GetSignalValue() float64

func (*RangeDrivenLoadScheduler_Datapoint) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RangeDrivenLoadScheduler_Datapoint) MarshalToSizedBufferVT

func (m *RangeDrivenLoadScheduler_Datapoint) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RangeDrivenLoadScheduler_Datapoint) MarshalToVT

func (m *RangeDrivenLoadScheduler_Datapoint) MarshalToVT(dAtA []byte) (int, error)

func (*RangeDrivenLoadScheduler_Datapoint) MarshalVT

func (m *RangeDrivenLoadScheduler_Datapoint) MarshalVT() (dAtA []byte, err error)

func (*RangeDrivenLoadScheduler_Datapoint) ProtoMessage

func (*RangeDrivenLoadScheduler_Datapoint) ProtoMessage()

func (*RangeDrivenLoadScheduler_Datapoint) ProtoReflect

func (*RangeDrivenLoadScheduler_Datapoint) Reset

func (*RangeDrivenLoadScheduler_Datapoint) SizeVT

func (m *RangeDrivenLoadScheduler_Datapoint) SizeVT() (n int)

func (*RangeDrivenLoadScheduler_Datapoint) String

func (*RangeDrivenLoadScheduler_Datapoint) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*RangeDrivenLoadScheduler_Datapoint) UnmarshalVT

func (m *RangeDrivenLoadScheduler_Datapoint) UnmarshalVT(dAtA []byte) error

func (*RangeDrivenLoadScheduler_Datapoint) Validate

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

func (*RangeDrivenLoadScheduler_Datapoint) ValidateAll

func (m *RangeDrivenLoadScheduler_Datapoint) ValidateAll() error

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

type RangeDrivenLoadScheduler_DatapointMultiError

type RangeDrivenLoadScheduler_DatapointMultiError []error

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

func (RangeDrivenLoadScheduler_DatapointMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RangeDrivenLoadScheduler_DatapointMultiError) Error

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

type RangeDrivenLoadScheduler_DatapointValidationError

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

RangeDrivenLoadScheduler_DatapointValidationError is the validation error returned by RangeDrivenLoadScheduler_Datapoint.Validate if the designated constraints aren't met.

func (RangeDrivenLoadScheduler_DatapointValidationError) Cause

Cause function returns cause value.

func (RangeDrivenLoadScheduler_DatapointValidationError) Error

Error satisfies the builtin error interface

func (RangeDrivenLoadScheduler_DatapointValidationError) ErrorName

ErrorName returns error name.

func (RangeDrivenLoadScheduler_DatapointValidationError) Field

Field function returns field value.

func (RangeDrivenLoadScheduler_DatapointValidationError) Key

Key function returns key value.

func (RangeDrivenLoadScheduler_DatapointValidationError) Reason

Reason function returns reason value.

type RangeDrivenLoadScheduler_Ins

type RangeDrivenLoadScheduler_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 `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 _Range Load Scheduler_.

func (*RangeDrivenLoadScheduler_Ins) Descriptor deprecated

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

Deprecated: Use RangeDrivenLoadScheduler_Ins.ProtoReflect.Descriptor instead.

func (*RangeDrivenLoadScheduler_Ins) GetOverloadConfirmation

func (x *RangeDrivenLoadScheduler_Ins) GetOverloadConfirmation() *InPort

func (*RangeDrivenLoadScheduler_Ins) GetSignal

func (x *RangeDrivenLoadScheduler_Ins) GetSignal() *InPort

func (*RangeDrivenLoadScheduler_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RangeDrivenLoadScheduler_Ins) MarshalToSizedBufferVT

func (m *RangeDrivenLoadScheduler_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RangeDrivenLoadScheduler_Ins) MarshalToVT

func (m *RangeDrivenLoadScheduler_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*RangeDrivenLoadScheduler_Ins) MarshalVT

func (m *RangeDrivenLoadScheduler_Ins) MarshalVT() (dAtA []byte, err error)

func (*RangeDrivenLoadScheduler_Ins) ProtoMessage

func (*RangeDrivenLoadScheduler_Ins) ProtoMessage()

func (*RangeDrivenLoadScheduler_Ins) ProtoReflect

func (*RangeDrivenLoadScheduler_Ins) Reset

func (x *RangeDrivenLoadScheduler_Ins) Reset()

func (*RangeDrivenLoadScheduler_Ins) SizeVT

func (m *RangeDrivenLoadScheduler_Ins) SizeVT() (n int)

func (*RangeDrivenLoadScheduler_Ins) String

func (*RangeDrivenLoadScheduler_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*RangeDrivenLoadScheduler_Ins) UnmarshalVT

func (m *RangeDrivenLoadScheduler_Ins) UnmarshalVT(dAtA []byte) error

func (*RangeDrivenLoadScheduler_Ins) Validate

func (m *RangeDrivenLoadScheduler_Ins) Validate() error

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

func (m *RangeDrivenLoadScheduler_Ins) ValidateAll() error

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

type RangeDrivenLoadScheduler_InsMultiError

type RangeDrivenLoadScheduler_InsMultiError []error

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

func (RangeDrivenLoadScheduler_InsMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RangeDrivenLoadScheduler_InsMultiError) Error

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

type RangeDrivenLoadScheduler_InsValidationError

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

RangeDrivenLoadScheduler_InsValidationError is the validation error returned by RangeDrivenLoadScheduler_Ins.Validate if the designated constraints aren't met.

func (RangeDrivenLoadScheduler_InsValidationError) Cause

Cause function returns cause value.

func (RangeDrivenLoadScheduler_InsValidationError) Error

Error satisfies the builtin error interface

func (RangeDrivenLoadScheduler_InsValidationError) ErrorName

ErrorName returns error name.

func (RangeDrivenLoadScheduler_InsValidationError) Field

Field function returns field value.

func (RangeDrivenLoadScheduler_InsValidationError) Key

Key function returns key value.

func (RangeDrivenLoadScheduler_InsValidationError) Reason

Reason function returns reason value.

type RangeDrivenLoadScheduler_Outs

type RangeDrivenLoadScheduler_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 _Range Load Scheduler_.

func (*RangeDrivenLoadScheduler_Outs) Descriptor deprecated

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

Deprecated: Use RangeDrivenLoadScheduler_Outs.ProtoReflect.Descriptor instead.

func (*RangeDrivenLoadScheduler_Outs) GetDesiredLoadMultiplier

func (x *RangeDrivenLoadScheduler_Outs) GetDesiredLoadMultiplier() *OutPort

func (*RangeDrivenLoadScheduler_Outs) GetIsOverload

func (x *RangeDrivenLoadScheduler_Outs) GetIsOverload() *OutPort

func (*RangeDrivenLoadScheduler_Outs) GetObservedLoadMultiplier

func (x *RangeDrivenLoadScheduler_Outs) GetObservedLoadMultiplier() *OutPort

func (*RangeDrivenLoadScheduler_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RangeDrivenLoadScheduler_Outs) MarshalToSizedBufferVT

func (m *RangeDrivenLoadScheduler_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RangeDrivenLoadScheduler_Outs) MarshalToVT

func (m *RangeDrivenLoadScheduler_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*RangeDrivenLoadScheduler_Outs) MarshalVT

func (m *RangeDrivenLoadScheduler_Outs) MarshalVT() (dAtA []byte, err error)

func (*RangeDrivenLoadScheduler_Outs) ProtoMessage

func (*RangeDrivenLoadScheduler_Outs) ProtoMessage()

func (*RangeDrivenLoadScheduler_Outs) ProtoReflect

func (*RangeDrivenLoadScheduler_Outs) Reset

func (x *RangeDrivenLoadScheduler_Outs) Reset()

func (*RangeDrivenLoadScheduler_Outs) SizeVT

func (m *RangeDrivenLoadScheduler_Outs) SizeVT() (n int)

func (*RangeDrivenLoadScheduler_Outs) String

func (*RangeDrivenLoadScheduler_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*RangeDrivenLoadScheduler_Outs) UnmarshalVT

func (m *RangeDrivenLoadScheduler_Outs) UnmarshalVT(dAtA []byte) error

func (*RangeDrivenLoadScheduler_Outs) Validate

func (m *RangeDrivenLoadScheduler_Outs) Validate() error

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

func (m *RangeDrivenLoadScheduler_Outs) ValidateAll() error

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

type RangeDrivenLoadScheduler_OutsMultiError

type RangeDrivenLoadScheduler_OutsMultiError []error

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

func (RangeDrivenLoadScheduler_OutsMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RangeDrivenLoadScheduler_OutsMultiError) Error

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

type RangeDrivenLoadScheduler_OutsValidationError

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

RangeDrivenLoadScheduler_OutsValidationError is the validation error returned by RangeDrivenLoadScheduler_Outs.Validate if the designated constraints aren't met.

func (RangeDrivenLoadScheduler_OutsValidationError) Cause

Cause function returns cause value.

func (RangeDrivenLoadScheduler_OutsValidationError) Error

Error satisfies the builtin error interface

func (RangeDrivenLoadScheduler_OutsValidationError) ErrorName

ErrorName returns error name.

func (RangeDrivenLoadScheduler_OutsValidationError) Field

Field function returns field value.

func (RangeDrivenLoadScheduler_OutsValidationError) Key

Key function returns key value.

func (RangeDrivenLoadScheduler_OutsValidationError) Reason

Reason function returns reason value.

type RangeDrivenLoadScheduler_Parameters

type RangeDrivenLoadScheduler_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"
	// Starting data-point of the throttling range
	LowThrottleThreshold *RangeDrivenLoadScheduler_Datapoint `` // @gotags: validate:"required"
	/* 143-byte string literal not displayed */
	// Ending data-point of the throttling range
	HighThrottleThreshold *RangeDrivenLoadScheduler_Datapoint `` // @gotags: validate:"required"
	/* 146-byte string literal not displayed */
	// Degree determines shape of the throttling curve.
	// degree=1: linear
	// degree=2: quadratic
	// degree=3: cubic
	Degree float64 `protobuf:"fixed64,4,opt,name=degree,proto3" json:"degree,omitempty" validate:"required"` // @gotags: validate:"required"
	// 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
}

func (*RangeDrivenLoadScheduler_Parameters) Descriptor deprecated

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

Deprecated: Use RangeDrivenLoadScheduler_Parameters.ProtoReflect.Descriptor instead.

func (*RangeDrivenLoadScheduler_Parameters) GetAlerter

func (*RangeDrivenLoadScheduler_Parameters) GetDegree

func (*RangeDrivenLoadScheduler_Parameters) GetHighThrottleThreshold

func (*RangeDrivenLoadScheduler_Parameters) GetLoadScheduler

func (*RangeDrivenLoadScheduler_Parameters) GetLowThrottleThreshold

func (*RangeDrivenLoadScheduler_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RangeDrivenLoadScheduler_Parameters) MarshalToSizedBufferVT

func (m *RangeDrivenLoadScheduler_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RangeDrivenLoadScheduler_Parameters) MarshalToVT

func (m *RangeDrivenLoadScheduler_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*RangeDrivenLoadScheduler_Parameters) MarshalVT

func (m *RangeDrivenLoadScheduler_Parameters) MarshalVT() (dAtA []byte, err error)

func (*RangeDrivenLoadScheduler_Parameters) ProtoMessage

func (*RangeDrivenLoadScheduler_Parameters) ProtoMessage()

func (*RangeDrivenLoadScheduler_Parameters) ProtoReflect

func (*RangeDrivenLoadScheduler_Parameters) Reset

func (*RangeDrivenLoadScheduler_Parameters) SizeVT

func (m *RangeDrivenLoadScheduler_Parameters) SizeVT() (n int)

func (*RangeDrivenLoadScheduler_Parameters) String

func (*RangeDrivenLoadScheduler_Parameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*RangeDrivenLoadScheduler_Parameters) UnmarshalVT

func (m *RangeDrivenLoadScheduler_Parameters) UnmarshalVT(dAtA []byte) error

func (*RangeDrivenLoadScheduler_Parameters) Validate

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

func (m *RangeDrivenLoadScheduler_Parameters) ValidateAll() error

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

type RangeDrivenLoadScheduler_ParametersMultiError

type RangeDrivenLoadScheduler_ParametersMultiError []error

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

func (RangeDrivenLoadScheduler_ParametersMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RangeDrivenLoadScheduler_ParametersMultiError) Error

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

type RangeDrivenLoadScheduler_ParametersValidationError

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

RangeDrivenLoadScheduler_ParametersValidationError is the validation error returned by RangeDrivenLoadScheduler_Parameters.Validate if the designated constraints aren't met.

func (RangeDrivenLoadScheduler_ParametersValidationError) Cause

Cause function returns cause value.

func (RangeDrivenLoadScheduler_ParametersValidationError) Error

Error satisfies the builtin error interface

func (RangeDrivenLoadScheduler_ParametersValidationError) ErrorName

ErrorName returns error name.

func (RangeDrivenLoadScheduler_ParametersValidationError) Field

Field function returns field value.

func (RangeDrivenLoadScheduler_ParametersValidationError) Key

Key function returns key value.

func (RangeDrivenLoadScheduler_ParametersValidationError) Reason

Reason function returns reason value.

type RateLimiter

type RateLimiter struct {

	// Input ports for the _Rate Limiter_ 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 _Rate Limiter_ 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"
	// RequestParameters for the component
	RequestParameters *RateLimiter_RequestParameters `protobuf:"bytes,4,opt,name=request_parameters,json=requestParameters,proto3" json:"request_parameters,omitempty"`
	// Output ports for the _Rate Limiter_ component.
	OutPorts *RateLimiter_Outs `protobuf:"bytes,5,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	// contains filtered or unexported fields
}

Limits the traffic on a control point to specified rate

:::info

See also [_Rate Limiter_ overview](/concepts/rate-limiter.md).

:::

RateLimiting is done on per-label-value (`label_key`) basis and it uses the _Token Bucket Algorithm_.

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

func (x *RateLimiter) GetOutPorts() *RateLimiter_Outs

func (*RateLimiter) GetParameters

func (x *RateLimiter) GetParameters() *RateLimiter_Parameters

func (*RateLimiter) GetRequestParameters

func (x *RateLimiter) GetRequestParameters() *RateLimiter_RequestParameters

func (*RateLimiter) GetSelectors

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

func (*RateLimiter) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RateLimiter) MarshalToSizedBufferVT

func (m *RateLimiter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RateLimiter) MarshalToVT

func (m *RateLimiter) MarshalToVT(dAtA []byte) (int, error)

func (*RateLimiter) MarshalVT

func (m *RateLimiter) MarshalVT() (dAtA []byte, err error)

func (*RateLimiter) ProtoMessage

func (*RateLimiter) ProtoMessage()

func (*RateLimiter) ProtoReflect

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

func (*RateLimiter) Reset

func (x *RateLimiter) Reset()

func (*RateLimiter) SizeVT

func (m *RateLimiter) SizeVT() (n int)

func (*RateLimiter) String

func (x *RateLimiter) String() string

func (*RateLimiter) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*RateLimiter) UnmarshalVT

func (m *RateLimiter) UnmarshalVT(dAtA []byte) error

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 to allow for bursty traffic.
	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 to accept all requests instantaneously
	PassThrough *InPort `protobuf:"bytes,3,opt,name=pass_through,json=passThrough,proto3" json:"pass_through,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the _Rate Limiter_ or _Quota Scheduler_ component

func (*RateLimiter_Ins) Descriptor deprecated

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

Deprecated: Use RateLimiter_Ins.ProtoReflect.Descriptor instead.

func (*RateLimiter_Ins) GetBucketCapacity

func (x *RateLimiter_Ins) GetBucketCapacity() *InPort

func (*RateLimiter_Ins) GetFillAmount

func (x *RateLimiter_Ins) GetFillAmount() *InPort

func (*RateLimiter_Ins) GetPassThrough

func (x *RateLimiter_Ins) GetPassThrough() *InPort

func (*RateLimiter_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RateLimiter_Ins) MarshalToSizedBufferVT

func (m *RateLimiter_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RateLimiter_Ins) MarshalToVT

func (m *RateLimiter_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*RateLimiter_Ins) MarshalVT

func (m *RateLimiter_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *RateLimiter_Ins) SizeVT() (n int)

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

func (m *RateLimiter_Ins) UnmarshalVT(dAtA []byte) error

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_Outs

type RateLimiter_Outs struct {

	// The percentage of flows being accepted.
	AcceptPercentage *OutPort `protobuf:"bytes,1,opt,name=accept_percentage,json=acceptPercentage,proto3" json:"accept_percentage,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the _Rate Limiter_ or _Quota Scheduler_ component.

func (*RateLimiter_Outs) Descriptor deprecated

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

Deprecated: Use RateLimiter_Outs.ProtoReflect.Descriptor instead.

func (*RateLimiter_Outs) GetAcceptPercentage

func (x *RateLimiter_Outs) GetAcceptPercentage() *OutPort

func (*RateLimiter_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RateLimiter_Outs) MarshalToSizedBufferVT

func (m *RateLimiter_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RateLimiter_Outs) MarshalToVT

func (m *RateLimiter_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*RateLimiter_Outs) MarshalVT

func (m *RateLimiter_Outs) MarshalVT() (dAtA []byte, err error)

func (*RateLimiter_Outs) ProtoMessage

func (*RateLimiter_Outs) ProtoMessage()

func (*RateLimiter_Outs) ProtoReflect

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

func (*RateLimiter_Outs) Reset

func (x *RateLimiter_Outs) Reset()

func (*RateLimiter_Outs) SizeVT

func (m *RateLimiter_Outs) SizeVT() (n int)

func (*RateLimiter_Outs) String

func (x *RateLimiter_Outs) String() string

func (*RateLimiter_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*RateLimiter_Outs) UnmarshalVT

func (m *RateLimiter_Outs) UnmarshalVT(dAtA []byte) error

func (*RateLimiter_Outs) Validate

func (m *RateLimiter_Outs) Validate() error

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

func (m *RateLimiter_Outs) ValidateAll() error

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

type RateLimiter_OutsMultiError

type RateLimiter_OutsMultiError []error

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

func (RateLimiter_OutsMultiError) AllErrors

func (m RateLimiter_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RateLimiter_OutsMultiError) Error

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

type RateLimiter_OutsValidationError

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

RateLimiter_OutsValidationError is the validation error returned by RateLimiter_Outs.Validate if the designated constraints aren't met.

func (RateLimiter_OutsValidationError) Cause

Cause function returns cause value.

func (RateLimiter_OutsValidationError) Error

Error satisfies the builtin error interface

func (RateLimiter_OutsValidationError) ErrorName

ErrorName returns error name.

func (RateLimiter_OutsValidationError) Field

Field function returns field value.

func (RateLimiter_OutsValidationError) Key

Key function returns key value.

func (RateLimiter_OutsValidationError) 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-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.
	// Deprecated: v3.0.0. Use `limit_by_label_key` instead.
	LabelKey string `protobuf:"bytes,1,opt,name=label_key,json=labelKey,proto3" json:"label_key,omitempty" validate:"deprecated"` // @gotags: validate:"deprecated"
	// Specifies which label the rate limiter should be keyed by.
	//
	// Rate limiting is done independently for each value of the
	// [label](/concepts/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 `limit_by_label_key: "user"`.
	// If no label key is specified, then all requests matching the
	// selectors will be rate limited based on the global bucket.
	LimitByLabelKey string `protobuf:"bytes,2,opt,name=limit_by_label_key,json=limitByLabelKey,proto3" json:"limit_by_label_key,omitempty"`
	// Interval defines the time interval in which the token bucket
	// will fill tokens specified by `fill_amount` signal.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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"`
	// Delays the initial filling of the token bucket.
	// If set to false, the token bucket will start filling immediately
	// after the first request is received. This can potentially lead to
	// more requests being accepted than the specified rate limit during
	// the first interval.
	// When set to true, the token bucket will be given a chance to
	// empty out before the filling starts. The delay is equal to the
	// time it takes to fill the bucket.
	DelayInitialFill bool `` // @gotags: default:"false"
	/* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RateLimiter_Parameters) Descriptor deprecated

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

Deprecated: Use RateLimiter_Parameters.ProtoReflect.Descriptor instead.

func (*RateLimiter_Parameters) GetContinuousFill

func (x *RateLimiter_Parameters) GetContinuousFill() bool

func (*RateLimiter_Parameters) GetDelayInitialFill

func (x *RateLimiter_Parameters) GetDelayInitialFill() bool

func (*RateLimiter_Parameters) GetInterval

func (x *RateLimiter_Parameters) GetInterval() *durationpb.Duration

func (*RateLimiter_Parameters) GetLabelKey

func (x *RateLimiter_Parameters) GetLabelKey() string

func (*RateLimiter_Parameters) GetLazySync

func (*RateLimiter_Parameters) GetLimitByLabelKey

func (x *RateLimiter_Parameters) GetLimitByLabelKey() string

func (*RateLimiter_Parameters) GetMaxIdleTime

func (x *RateLimiter_Parameters) GetMaxIdleTime() *durationpb.Duration

func (*RateLimiter_Parameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RateLimiter_Parameters) MarshalToSizedBufferVT

func (m *RateLimiter_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RateLimiter_Parameters) MarshalToVT

func (m *RateLimiter_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*RateLimiter_Parameters) MarshalVT

func (m *RateLimiter_Parameters) MarshalVT() (dAtA []byte, err error)

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

func (m *RateLimiter_Parameters) SizeVT() (n int)

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

func (m *RateLimiter_Parameters) UnmarshalVT(dAtA []byte) error

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

func (m *RateLimiter_Parameters_LazySync) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RateLimiter_Parameters_LazySync) MarshalToVT

func (m *RateLimiter_Parameters_LazySync) MarshalToVT(dAtA []byte) (int, error)

func (*RateLimiter_Parameters_LazySync) MarshalVT

func (m *RateLimiter_Parameters_LazySync) MarshalVT() (dAtA []byte, err error)

func (*RateLimiter_Parameters_LazySync) ProtoMessage

func (*RateLimiter_Parameters_LazySync) ProtoMessage()

func (*RateLimiter_Parameters_LazySync) ProtoReflect

func (*RateLimiter_Parameters_LazySync) Reset

func (*RateLimiter_Parameters_LazySync) SizeVT

func (m *RateLimiter_Parameters_LazySync) SizeVT() (n int)

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

func (m *RateLimiter_Parameters_LazySync) UnmarshalVT(dAtA []byte) error

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 RateLimiter_RequestParameters

type RateLimiter_RequestParameters struct {

	// 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 number.
	TokensLabelKey string `protobuf:"bytes,1,opt,name=tokens_label_key,json=tokensLabelKey,proto3" json:"tokens_label_key,omitempty"`
	// This field allows you to override the default HTTP status code (`429 Too Many Requests`) that is returned when a request is denied.
	DeniedResponseStatusCode v1.StatusCode `` // @gotags: default:"TooManyRequests"
	/* 210-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RateLimiter_RequestParameters) Descriptor deprecated

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

Deprecated: Use RateLimiter_RequestParameters.ProtoReflect.Descriptor instead.

func (*RateLimiter_RequestParameters) GetDeniedResponseStatusCode

func (x *RateLimiter_RequestParameters) GetDeniedResponseStatusCode() v1.StatusCode

func (*RateLimiter_RequestParameters) GetTokensLabelKey

func (x *RateLimiter_RequestParameters) GetTokensLabelKey() string

func (*RateLimiter_RequestParameters) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RateLimiter_RequestParameters) MarshalToSizedBufferVT

func (m *RateLimiter_RequestParameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RateLimiter_RequestParameters) MarshalToVT

func (m *RateLimiter_RequestParameters) MarshalToVT(dAtA []byte) (int, error)

func (*RateLimiter_RequestParameters) MarshalVT

func (m *RateLimiter_RequestParameters) MarshalVT() (dAtA []byte, err error)

func (*RateLimiter_RequestParameters) ProtoMessage

func (*RateLimiter_RequestParameters) ProtoMessage()

func (*RateLimiter_RequestParameters) ProtoReflect

func (*RateLimiter_RequestParameters) Reset

func (x *RateLimiter_RequestParameters) Reset()

func (*RateLimiter_RequestParameters) SizeVT

func (m *RateLimiter_RequestParameters) SizeVT() (n int)

func (*RateLimiter_RequestParameters) String

func (*RateLimiter_RequestParameters) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*RateLimiter_RequestParameters) UnmarshalVT

func (m *RateLimiter_RequestParameters) UnmarshalVT(dAtA []byte) error

func (*RateLimiter_RequestParameters) Validate

func (m *RateLimiter_RequestParameters) Validate() error

Validate checks the field values on RateLimiter_RequestParameters with the rules defined in the 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_RequestParameters) ValidateAll

func (m *RateLimiter_RequestParameters) ValidateAll() error

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

type RateLimiter_RequestParametersMultiError

type RateLimiter_RequestParametersMultiError []error

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

func (RateLimiter_RequestParametersMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RateLimiter_RequestParametersMultiError) Error

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

type RateLimiter_RequestParametersValidationError

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

RateLimiter_RequestParametersValidationError is the validation error returned by RateLimiter_RequestParameters.Validate if the designated constraints aren't met.

func (RateLimiter_RequestParametersValidationError) Cause

Cause function returns cause value.

func (RateLimiter_RequestParametersValidationError) Error

Error satisfies the builtin error interface

func (RateLimiter_RequestParametersValidationError) ErrorName

ErrorName returns error name.

func (RateLimiter_RequestParametersValidationError) Field

Field function returns field value.

func (RateLimiter_RequestParametersValidationError) Key

Key function returns key value.

func (RateLimiter_RequestParametersValidationError) Reason

Reason function returns reason value.

type Rego

type Rego struct {

	// A map of {key, value} pairs mapping from
	// [flow label](/concepts/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/advanced/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) 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) MarshalToSizedBufferVT

func (m *Rego) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Rego) MarshalToVT

func (m *Rego) MarshalToVT(dAtA []byte) (int, error)

func (*Rego) MarshalVT

func (m *Rego) MarshalVT() (dAtA []byte, err error)

func (*Rego) ProtoMessage

func (*Rego) ProtoMessage()

func (*Rego) ProtoReflect

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

func (*Rego) Reset

func (x *Rego) Reset()

func (*Rego) SizeVT

func (m *Rego) SizeVT() (n int)

func (*Rego) String

func (x *Rego) String() string

func (*Rego) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Rego) UnmarshalVT

func (m *Rego) UnmarshalVT(dAtA []byte) error

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-label.md#baggage)
	//
	// :::note
	//
	// The flow label is always accessible in Aperture Policies regardless of this setting.
	//
	// :::
	//
	// :::caution
	//
	// When using [FluxNinja extension](/reference/fluxninja.md), telemetry enabled
	// labels are sent to Aperture Cloud 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) 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) MarshalToSizedBufferVT

func (m *Rego_LabelProperties) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Rego_LabelProperties) MarshalToVT

func (m *Rego_LabelProperties) MarshalToVT(dAtA []byte) (int, error)

func (*Rego_LabelProperties) MarshalVT

func (m *Rego_LabelProperties) MarshalVT() (dAtA []byte, err error)

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

func (m *Rego_LabelProperties) SizeVT() (n int)

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

func (m *Rego_LabelProperties) UnmarshalVT(dAtA []byte) error

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 Resources

type Resources struct {

	// TelemetryCollector configures OpenTelemetry collector integration.
	// Deprecated: v3.0.0. Use `infra_meters` instead.
	TelemetryCollectors []*TelemetryCollector `` // @gotags: validate:"deprecated"
	/* 140-byte string literal not displayed */
	// _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
	// infra_meters:
	//
	//	  rabbitmq:
	//	    agent_group: default
	//	    per_agent_group: true
	//	    processors:
	//		     batch:
	//		       send_batch_size: 10
	//		       timeout: 10s
	//		   receivers:
	//		     rabbitmq:
	//		       collection_interval: 10s
	//	        endpoint: http://<rabbitmq-svc-fqdn>:15672
	//	        password: secretpassword
	//	        username: admin
	//
	// “`
	//
	// :::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 */
	// 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/advanced/policy.md).

:::

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

func (x *Resources) GetInfraMeters() map[string]*InfraMeter

func (*Resources) GetTelemetryCollectors

func (x *Resources) GetTelemetryCollectors() []*TelemetryCollector

func (*Resources) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Resources) MarshalToSizedBufferVT

func (m *Resources) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Resources) MarshalToVT

func (m *Resources) MarshalToVT(dAtA []byte) (int, error)

func (*Resources) MarshalVT

func (m *Resources) MarshalVT() (dAtA []byte, err error)

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) ProtoReflect

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

func (*Resources) Reset

func (x *Resources) Reset()

func (*Resources) SizeVT

func (m *Resources) SizeVT() (n int)

func (*Resources) String

func (x *Resources) String() string

func (*Resources) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Resources) UnmarshalVT

func (m *Resources) UnmarshalVT(dAtA []byte) error

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-label.md#baggage)
	//
	// :::note
	//
	// The flow label is always accessible in Aperture Policies regardless of this setting.
	//
	// :::
	//
	// :::caution
	//
	// When using [FluxNinja extension](/reference/fluxninja.md), telemetry enabled
	// labels are sent to Aperture Cloud 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) 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) MarshalToSizedBufferVT

func (m *Rule) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Rule) MarshalToVT

func (m *Rule) MarshalToVT(dAtA []byte) (int, error)

func (*Rule) MarshalVT

func (m *Rule) MarshalVT() (dAtA []byte, err error)

func (*Rule) ProtoMessage

func (*Rule) ProtoMessage()

func (*Rule) ProtoReflect

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

func (*Rule) Reset

func (x *Rule) Reset()

func (*Rule) SizeVT

func (m *Rule) SizeVT() (n int)

func (*Rule) String

func (x *Rule) String() string

func (*Rule) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*Rule) UnmarshalVT

func (m *Rule) UnmarshalVT(dAtA []byte) error

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

func (*Rule_Extractor) MarshalToSizedBufferVT

func (m *Rule_Extractor) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Rule_Extractor) MarshalToVT

func (m *Rule_Extractor) MarshalToVT(dAtA []byte) (int, error)

func (*Rule_Extractor) SizeVT

func (m *Rule_Extractor) SizeVT() (n int)

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

func (m *SMA) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SMA) MarshalToVT

func (m *SMA) MarshalToVT(dAtA []byte) (int, error)

func (*SMA) MarshalVT

func (m *SMA) MarshalVT() (dAtA []byte, err error)

func (*SMA) ProtoMessage

func (*SMA) ProtoMessage()

func (*SMA) ProtoReflect

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

func (*SMA) Reset

func (x *SMA) Reset()

func (*SMA) SizeVT

func (m *SMA) SizeVT() (n int)

func (*SMA) String

func (x *SMA) String() string

func (*SMA) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*SMA) UnmarshalVT

func (m *SMA) UnmarshalVT(dAtA []byte) error

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

func (m *SMA_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SMA_Ins) MarshalToVT

func (m *SMA_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*SMA_Ins) MarshalVT

func (m *SMA_Ins) MarshalVT() (dAtA []byte, err error)

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

func (m *SMA_Ins) SizeVT() (n int)

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

func (m *SMA_Ins) UnmarshalVT(dAtA []byte) error

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

func (m *SMA_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SMA_Outs) MarshalToVT

func (m *SMA_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*SMA_Outs) MarshalVT

func (m *SMA_Outs) MarshalVT() (dAtA []byte, err error)

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

func (m *SMA_Outs) SizeVT() (n int)

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

func (m *SMA_Outs) UnmarshalVT(dAtA []byte) error

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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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) 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) MarshalToSizedBufferVT

func (m *SMA_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SMA_Parameters) MarshalToVT

func (m *SMA_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*SMA_Parameters) MarshalVT

func (m *SMA_Parameters) MarshalVT() (dAtA []byte, err error)

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

func (m *SMA_Parameters) SizeVT() (n int)

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

func (m *SMA_Parameters) UnmarshalVT(dAtA []byte) error

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 Sampler

type Sampler struct {

	// Input ports for the _Sampler_.
	InPorts *Sampler_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	// Parameters for the _Sampler_.
	Parameters *Sampler_Parameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// Specify certain label values to be always accepted by this _Sampler_ 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
}

_Sampler_ is a component that regulates the load at a [_Control Point_](/concepts/selector.md/#control-point) by allowing only a specified percentage of flows at random or by sticky sessions.

:::info

See also [_Sampler_ overview](/concepts/advanced/load-ramp.md#sampler).

:::

func (*Sampler) Descriptor deprecated

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

Deprecated: Use Sampler.ProtoReflect.Descriptor instead.

func (*Sampler) GetInPorts

func (x *Sampler) GetInPorts() *Sampler_Ins

func (*Sampler) GetParameters

func (x *Sampler) GetParameters() *Sampler_Parameters

func (*Sampler) GetPassThroughLabelValues

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

func (*Sampler) GetPassThroughLabelValuesConfigKey

func (x *Sampler) GetPassThroughLabelValuesConfigKey() string

func (*Sampler) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Sampler) MarshalToSizedBufferVT

func (m *Sampler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Sampler) MarshalToVT

func (m *Sampler) MarshalToVT(dAtA []byte) (int, error)

func (*Sampler) MarshalVT

func (m *Sampler) MarshalVT() (dAtA []byte, err error)

func (*Sampler) ProtoMessage

func (*Sampler) ProtoMessage()

func (*Sampler) ProtoReflect

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

func (*Sampler) Reset

func (x *Sampler) Reset()

func (*Sampler) SizeVT

func (m *Sampler) SizeVT() (n int)

func (*Sampler) String

func (x *Sampler) String() string

func (*Sampler) UnmarshalJSON

func (msg *Sampler) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Sampler) UnmarshalVT

func (m *Sampler) UnmarshalVT(dAtA []byte) error

func (*Sampler) Validate

func (m *Sampler) Validate() error

Validate checks the field values on Sampler with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Sampler) ValidateAll

func (m *Sampler) ValidateAll() error

ValidateAll checks the field values on Sampler with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SamplerMultiError, or nil if none found.

type SamplerMultiError

type SamplerMultiError []error

SamplerMultiError is an error wrapping multiple validation errors returned by Sampler.ValidateAll() if the designated constraints aren't met.

func (SamplerMultiError) AllErrors

func (m SamplerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SamplerMultiError) Error

func (m SamplerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SamplerValidationError

type SamplerValidationError struct {
	// contains filtered or unexported fields
}

SamplerValidationError is the validation error returned by Sampler.Validate if the designated constraints aren't met.

func (SamplerValidationError) Cause

func (e SamplerValidationError) Cause() error

Cause function returns cause value.

func (SamplerValidationError) Error

func (e SamplerValidationError) Error() string

Error satisfies the builtin error interface

func (SamplerValidationError) ErrorName

func (e SamplerValidationError) ErrorName() string

ErrorName returns error name.

func (SamplerValidationError) Field

func (e SamplerValidationError) Field() string

Field function returns field value.

func (SamplerValidationError) Key

func (e SamplerValidationError) Key() bool

Key function returns key value.

func (SamplerValidationError) Reason

func (e SamplerValidationError) Reason() string

Reason function returns reason value.

type Sampler_Ins

type Sampler_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 (*Sampler_Ins) Descriptor deprecated

func (*Sampler_Ins) Descriptor() ([]byte, []int)

Deprecated: Use Sampler_Ins.ProtoReflect.Descriptor instead.

func (*Sampler_Ins) GetAcceptPercentage

func (x *Sampler_Ins) GetAcceptPercentage() *InPort

func (*Sampler_Ins) MarshalJSON

func (msg *Sampler_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Sampler_Ins) MarshalToSizedBufferVT

func (m *Sampler_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Sampler_Ins) MarshalToVT

func (m *Sampler_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Sampler_Ins) MarshalVT

func (m *Sampler_Ins) MarshalVT() (dAtA []byte, err error)

func (*Sampler_Ins) ProtoMessage

func (*Sampler_Ins) ProtoMessage()

func (*Sampler_Ins) ProtoReflect

func (x *Sampler_Ins) ProtoReflect() protoreflect.Message

func (*Sampler_Ins) Reset

func (x *Sampler_Ins) Reset()

func (*Sampler_Ins) SizeVT

func (m *Sampler_Ins) SizeVT() (n int)

func (*Sampler_Ins) String

func (x *Sampler_Ins) String() string

func (*Sampler_Ins) UnmarshalJSON

func (msg *Sampler_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Sampler_Ins) UnmarshalVT

func (m *Sampler_Ins) UnmarshalVT(dAtA []byte) error

func (*Sampler_Ins) Validate

func (m *Sampler_Ins) Validate() error

Validate checks the field values on Sampler_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 (*Sampler_Ins) ValidateAll

func (m *Sampler_Ins) ValidateAll() error

ValidateAll checks the field values on Sampler_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 Sampler_InsMultiError, or nil if none found.

type Sampler_InsMultiError

type Sampler_InsMultiError []error

Sampler_InsMultiError is an error wrapping multiple validation errors returned by Sampler_Ins.ValidateAll() if the designated constraints aren't met.

func (Sampler_InsMultiError) AllErrors

func (m Sampler_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Sampler_InsMultiError) Error

func (m Sampler_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Sampler_InsValidationError

type Sampler_InsValidationError struct {
	// contains filtered or unexported fields
}

Sampler_InsValidationError is the validation error returned by Sampler_Ins.Validate if the designated constraints aren't met.

func (Sampler_InsValidationError) Cause

Cause function returns cause value.

func (Sampler_InsValidationError) Error

Error satisfies the builtin error interface

func (Sampler_InsValidationError) ErrorName

func (e Sampler_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Sampler_InsValidationError) Field

Field function returns field value.

func (Sampler_InsValidationError) Key

Key function returns key value.

func (Sampler_InsValidationError) Reason

Reason function returns reason value.

type Sampler_Parameters

type Sampler_Parameters struct {

	// The flow label key for identifying sessions.
	//   - When label key is specified, _Sampler_ 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, _Sampler_ acts as a stateless filter.
	//     Percentage of flows are selected randomly for rejection.
	SessionLabelKey string `protobuf:"bytes,2,opt,name=session_label_key,json=sessionLabelKey,proto3" json:"session_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"
	// This field allows you to override the default HTTP status code (`403 Forbidden`) that is returned when a request is denied.
	DeniedResponseStatusCode v1.StatusCode `` // @gotags: default:"Forbidden"
	/* 204-byte string literal not displayed */
	// Ramp component can accept flows with `ramp_mode` flag set.
	RampMode bool `protobuf:"varint,5,opt,name=ramp_mode,json=rampMode,proto3" json:"ramp_mode,omitempty" default:"false"` // @gotags: default:"false"
	// contains filtered or unexported fields
}

func (*Sampler_Parameters) Descriptor deprecated

func (*Sampler_Parameters) Descriptor() ([]byte, []int)

Deprecated: Use Sampler_Parameters.ProtoReflect.Descriptor instead.

func (*Sampler_Parameters) GetDeniedResponseStatusCode

func (x *Sampler_Parameters) GetDeniedResponseStatusCode() v1.StatusCode

func (*Sampler_Parameters) GetRampMode

func (x *Sampler_Parameters) GetRampMode() bool

func (*Sampler_Parameters) GetSelectors

func (x *Sampler_Parameters) GetSelectors() []*Selector

func (*Sampler_Parameters) GetSessionLabelKey

func (x *Sampler_Parameters) GetSessionLabelKey() string

func (*Sampler_Parameters) MarshalJSON

func (msg *Sampler_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Sampler_Parameters) MarshalToSizedBufferVT

func (m *Sampler_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Sampler_Parameters) MarshalToVT

func (m *Sampler_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*Sampler_Parameters) MarshalVT

func (m *Sampler_Parameters) MarshalVT() (dAtA []byte, err error)

func (*Sampler_Parameters) ProtoMessage

func (*Sampler_Parameters) ProtoMessage()

func (*Sampler_Parameters) ProtoReflect

func (x *Sampler_Parameters) ProtoReflect() protoreflect.Message

func (*Sampler_Parameters) Reset

func (x *Sampler_Parameters) Reset()

func (*Sampler_Parameters) SizeVT

func (m *Sampler_Parameters) SizeVT() (n int)

func (*Sampler_Parameters) String

func (x *Sampler_Parameters) String() string

func (*Sampler_Parameters) UnmarshalJSON

func (msg *Sampler_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Sampler_Parameters) UnmarshalVT

func (m *Sampler_Parameters) UnmarshalVT(dAtA []byte) error

func (*Sampler_Parameters) Validate

func (m *Sampler_Parameters) Validate() error

Validate checks the field values on Sampler_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 (*Sampler_Parameters) ValidateAll

func (m *Sampler_Parameters) ValidateAll() error

ValidateAll checks the field values on Sampler_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 Sampler_ParametersMultiError, or nil if none found.

type Sampler_ParametersMultiError

type Sampler_ParametersMultiError []error

Sampler_ParametersMultiError is an error wrapping multiple validation errors returned by Sampler_Parameters.ValidateAll() if the designated constraints aren't met.

func (Sampler_ParametersMultiError) AllErrors

func (m Sampler_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Sampler_ParametersMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type Sampler_ParametersValidationError

type Sampler_ParametersValidationError struct {
	// contains filtered or unexported fields
}

Sampler_ParametersValidationError is the validation error returned by Sampler_Parameters.Validate if the designated constraints aren't met.

func (Sampler_ParametersValidationError) Cause

Cause function returns cause value.

func (Sampler_ParametersValidationError) Error

Error satisfies the builtin error interface

func (Sampler_ParametersValidationError) ErrorName

ErrorName returns error name.

func (Sampler_ParametersValidationError) Field

Field function returns field value.

func (Sampler_ParametersValidationError) Key

Key function returns key value.

func (Sampler_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) 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) MarshalToSizedBufferVT

func (m *ScaleInController) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScaleInController) MarshalToVT

func (m *ScaleInController) MarshalToVT(dAtA []byte) (int, error)

func (*ScaleInController) MarshalVT

func (m *ScaleInController) MarshalVT() (dAtA []byte, err error)

func (*ScaleInController) ProtoMessage

func (*ScaleInController) ProtoMessage()

func (*ScaleInController) ProtoReflect

func (x *ScaleInController) ProtoReflect() protoreflect.Message

func (*ScaleInController) Reset

func (x *ScaleInController) Reset()

func (*ScaleInController) SizeVT

func (m *ScaleInController) SizeVT() (n int)

func (*ScaleInController) String

func (x *ScaleInController) String() string

func (*ScaleInController) UnmarshalJSON

func (msg *ScaleInController) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ScaleInController) UnmarshalVT

func (m *ScaleInController) UnmarshalVT(dAtA []byte) error

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) 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) MarshalToSizedBufferVT

func (m *ScaleInController_Controller) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScaleInController_Controller) MarshalToVT

func (m *ScaleInController_Controller) MarshalToVT(dAtA []byte) (int, error)

func (*ScaleInController_Controller) MarshalVT

func (m *ScaleInController_Controller) MarshalVT() (dAtA []byte, err error)

func (*ScaleInController_Controller) ProtoMessage

func (*ScaleInController_Controller) ProtoMessage()

func (*ScaleInController_Controller) ProtoReflect

func (*ScaleInController_Controller) Reset

func (x *ScaleInController_Controller) Reset()

func (*ScaleInController_Controller) SizeVT

func (m *ScaleInController_Controller) SizeVT() (n int)

func (*ScaleInController_Controller) String

func (*ScaleInController_Controller) UnmarshalJSON

func (msg *ScaleInController_Controller) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ScaleInController_Controller) UnmarshalVT

func (m *ScaleInController_Controller) UnmarshalVT(dAtA []byte) error

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"`
}

func (*ScaleInController_Controller_Gradient) MarshalToSizedBufferVT

func (m *ScaleInController_Controller_Gradient) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScaleInController_Controller_Gradient) MarshalToVT

func (m *ScaleInController_Controller_Gradient) MarshalToVT(dAtA []byte) (int, error)

func (*ScaleInController_Controller_Gradient) SizeVT

type ScaleInController_Controller_Periodic

type ScaleInController_Controller_Periodic struct {
	Periodic *PeriodicDecrease `protobuf:"bytes,2,opt,name=periodic,proto3,oneof"`
}

func (*ScaleInController_Controller_Periodic) MarshalToSizedBufferVT

func (m *ScaleInController_Controller_Periodic) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScaleInController_Controller_Periodic) MarshalToVT

func (m *ScaleInController_Controller_Periodic) MarshalToVT(dAtA []byte) (int, error)

func (*ScaleInController_Controller_Periodic) SizeVT

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) 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) MarshalToSizedBufferVT

func (m *ScaleOutController) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScaleOutController) MarshalToVT

func (m *ScaleOutController) MarshalToVT(dAtA []byte) (int, error)

func (*ScaleOutController) MarshalVT

func (m *ScaleOutController) MarshalVT() (dAtA []byte, err error)

func (*ScaleOutController) ProtoMessage

func (*ScaleOutController) ProtoMessage()

func (*ScaleOutController) ProtoReflect

func (x *ScaleOutController) ProtoReflect() protoreflect.Message

func (*ScaleOutController) Reset

func (x *ScaleOutController) Reset()

func (*ScaleOutController) SizeVT

func (m *ScaleOutController) SizeVT() (n int)

func (*ScaleOutController) String

func (x *ScaleOutController) String() string

func (*ScaleOutController) UnmarshalJSON

func (msg *ScaleOutController) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ScaleOutController) UnmarshalVT

func (m *ScaleOutController) UnmarshalVT(dAtA []byte) error

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) 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) MarshalToSizedBufferVT

func (m *ScaleOutController_Controller) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScaleOutController_Controller) MarshalToVT

func (m *ScaleOutController_Controller) MarshalToVT(dAtA []byte) (int, error)

func (*ScaleOutController_Controller) MarshalVT

func (m *ScaleOutController_Controller) MarshalVT() (dAtA []byte, err error)

func (*ScaleOutController_Controller) ProtoMessage

func (*ScaleOutController_Controller) ProtoMessage()

func (*ScaleOutController_Controller) ProtoReflect

func (*ScaleOutController_Controller) Reset

func (x *ScaleOutController_Controller) Reset()

func (*ScaleOutController_Controller) SizeVT

func (m *ScaleOutController_Controller) SizeVT() (n int)

func (*ScaleOutController_Controller) String

func (*ScaleOutController_Controller) UnmarshalJSON

func (msg *ScaleOutController_Controller) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ScaleOutController_Controller) UnmarshalVT

func (m *ScaleOutController_Controller) UnmarshalVT(dAtA []byte) error

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"`
}

func (*ScaleOutController_Controller_Gradient) MarshalToSizedBufferVT

func (m *ScaleOutController_Controller_Gradient) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScaleOutController_Controller_Gradient) MarshalToVT

func (m *ScaleOutController_Controller_Gradient) MarshalToVT(dAtA []byte) (int, error)

func (*ScaleOutController_Controller_Gradient) SizeVT

type Scheduler

type Scheduler struct {

	// List of workloads to be used in scheduler.
	//
	// Categorizing flows 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/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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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 request.
	// The value associated with this key must be a valid 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"`
	// Key for a flow label that can be used to override the default priority for this flow.
	// The value associated with this key must be a valid number. Higher numbers means higher priority.
	// If this parameter is not provided, the priority for the flow will be determined by the matched workload's priority.
	PriorityLabelKey string `protobuf:"bytes,8,opt,name=priority_label_key,json=priorityLabelKey,proto3" json:"priority_label_key,omitempty"`
	// This field allows you to override the default HTTP status code (`503 Service Unavailable`) that is returned when a request is denied.
	DeniedResponseStatusCode v1.StatusCode `` // @gotags: default:"ServiceUnavailable"
	/* 213-byte string literal not displayed */
	// Key for a flow label that can be used to provide workloads for this request.
	// If this parameter is not provided, the workloads for the flow will be determined by the matched workload's name in the policy.
	WorkloadLabelKey string `protobuf:"bytes,10,opt,name=workload_label_key,json=workloadLabelKey,proto3" json:"workload_label_key,omitempty"`
	// Key for a flow label that is used to enforce fairness among requests in a workload. If not specified, requests within a workload of the same priority are admitted in a FIFO manner.
	FairnessLabelKey string `protobuf:"bytes,11,opt,name=fairness_label_key,json=fairnessLabelKey,proto3" json:"fairness_label_key,omitempty"`
	// 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) 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) GetDeniedResponseStatusCode

func (x *Scheduler) GetDeniedResponseStatusCode() v1.StatusCode

func (*Scheduler) GetFairnessLabelKey

func (x *Scheduler) GetFairnessLabelKey() string

func (*Scheduler) GetPriorityLabelKey

func (x *Scheduler) GetPriorityLabelKey() string

func (*Scheduler) GetTokensLabelKey

func (x *Scheduler) GetTokensLabelKey() string

func (*Scheduler) GetWorkloadLabelKey

func (x *Scheduler) GetWorkloadLabelKey() 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) MarshalToSizedBufferVT

func (m *Scheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Scheduler) MarshalToVT

func (m *Scheduler) MarshalToVT(dAtA []byte) (int, error)

func (*Scheduler) MarshalVT

func (m *Scheduler) MarshalVT() (dAtA []byte, err error)

func (*Scheduler) ProtoMessage

func (*Scheduler) ProtoMessage()

func (*Scheduler) ProtoReflect

func (x *Scheduler) ProtoReflect() protoreflect.Message

func (*Scheduler) Reset

func (x *Scheduler) Reset()

func (*Scheduler) SizeVT

func (m *Scheduler) SizeVT() (n int)

func (*Scheduler) String

func (x *Scheduler) String() string

func (*Scheduler) UnmarshalJSON

func (msg *Scheduler) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Scheduler) UnmarshalVT

func (m *Scheduler) UnmarshalVT(dAtA []byte) error

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-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) 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

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) MarshalToSizedBufferVT

func (m *Scheduler_Workload) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Scheduler_Workload) MarshalToVT

func (m *Scheduler_Workload) MarshalToVT(dAtA []byte) (int, error)

func (*Scheduler_Workload) MarshalVT

func (m *Scheduler_Workload) MarshalVT() (dAtA []byte, err error)

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) SizeVT

func (m *Scheduler_Workload) SizeVT() (n int)

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) UnmarshalVT

func (m *Scheduler_Workload) UnmarshalVT(dAtA []byte) error

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 is unbounded and can be any positive number.
	// Higher numbers means higher priority level.
	// The following formula is used to determine the position of a flow in the queue based on virtual finish time:
	//
	// $$
	// inverted\_priority = {\frac {1} {priority}}
	// $$
	//
	// $$
	// virtual\_finish\_time = virtual\_time + \left(tokens \cdot inverted\_priority\right)
	// $$
	Priority float64 `protobuf:"fixed64,1,opt,name=priority,proto3" json:"priority,omitempty" validate:"gt=0" default:"1.0"` // @gotags: validate:"gt=0" default:"1.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 float64 `protobuf:"fixed64,4,opt,name=tokens,proto3" json:"tokens,omitempty" validate:"gte=0" default:"1"` // @gotags: validate:"gte=0" default:"1"
	// Timeout for the flow in the workload.
	// If timeout is provided on the Check call as well, the minimum of the two is picked.
	// If this override is not provided, the timeout provided in the check call is used.
	// 0 timeout value implies that the request will not wait in the queue and will be accepted or dropped immediately.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	QueueTimeout *durationpb.Duration `protobuf:"bytes,3,opt,name=queue_timeout,json=queueTimeout,proto3" json:"queue_timeout,omitempty"`
	// contains filtered or unexported fields
}

Parameters such as priority and tokens that are applicable to flows within a workload.

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) GetPriority

func (x *Scheduler_Workload_Parameters) GetPriority() float64

func (*Scheduler_Workload_Parameters) GetQueueTimeout

func (x *Scheduler_Workload_Parameters) GetQueueTimeout() *durationpb.Duration

func (*Scheduler_Workload_Parameters) GetTokens

func (x *Scheduler_Workload_Parameters) GetTokens() float64

func (*Scheduler_Workload_Parameters) MarshalJSON

func (msg *Scheduler_Workload_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Scheduler_Workload_Parameters) MarshalToSizedBufferVT

func (m *Scheduler_Workload_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Scheduler_Workload_Parameters) MarshalToVT

func (m *Scheduler_Workload_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*Scheduler_Workload_Parameters) MarshalVT

func (m *Scheduler_Workload_Parameters) MarshalVT() (dAtA []byte, err error)

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) SizeVT

func (m *Scheduler_Workload_Parameters) SizeVT() (n int)

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) UnmarshalVT

func (m *Scheduler_Workload_Parameters) UnmarshalVT(dAtA []byte) error

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/control-point.md)
	// 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/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:"aperture-cloud"` // @gotags: default:"aperture-cloud"
	// The Fully Qualified Domain Name of the
	// [service](/concepts/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/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 will operate on.

:::info

See also [Selector overview](/concepts/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) 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) MarshalToSizedBufferVT

func (m *Selector) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Selector) MarshalToVT

func (m *Selector) MarshalToVT(dAtA []byte) (int, error)

func (*Selector) MarshalVT

func (m *Selector) MarshalVT() (dAtA []byte, err error)

func (*Selector) ProtoMessage

func (*Selector) ProtoMessage()

func (*Selector) ProtoReflect

func (x *Selector) ProtoReflect() protoreflect.Message

func (*Selector) Reset

func (x *Selector) Reset()

func (*Selector) SizeVT

func (m *Selector) SizeVT() (n int)

func (*Selector) String

func (x *Selector) String() string

func (*Selector) UnmarshalJSON

func (msg *Selector) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Selector) UnmarshalVT

func (m *Selector) UnmarshalVT(dAtA []byte) error

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) 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) MarshalToSizedBufferVT

func (m *SignalGenerator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SignalGenerator) MarshalToVT

func (m *SignalGenerator) MarshalToVT(dAtA []byte) (int, error)

func (*SignalGenerator) MarshalVT

func (m *SignalGenerator) MarshalVT() (dAtA []byte, err error)

func (*SignalGenerator) ProtoMessage

func (*SignalGenerator) ProtoMessage()

func (*SignalGenerator) ProtoReflect

func (x *SignalGenerator) ProtoReflect() protoreflect.Message

func (*SignalGenerator) Reset

func (x *SignalGenerator) Reset()

func (*SignalGenerator) SizeVT

func (m *SignalGenerator) SizeVT() (n int)

func (*SignalGenerator) String

func (x *SignalGenerator) String() string

func (*SignalGenerator) UnmarshalJSON

func (msg *SignalGenerator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SignalGenerator) UnmarshalVT

func (m *SignalGenerator) UnmarshalVT(dAtA []byte) error

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) 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) MarshalToSizedBufferVT

func (m *SignalGenerator_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SignalGenerator_Ins) MarshalToVT

func (m *SignalGenerator_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*SignalGenerator_Ins) MarshalVT

func (m *SignalGenerator_Ins) MarshalVT() (dAtA []byte, err error)

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) SizeVT

func (m *SignalGenerator_Ins) SizeVT() (n int)

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) UnmarshalVT

func (m *SignalGenerator_Ins) UnmarshalVT(dAtA []byte) error

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) 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) MarshalToSizedBufferVT

func (m *SignalGenerator_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SignalGenerator_Outs) MarshalToVT

func (m *SignalGenerator_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*SignalGenerator_Outs) MarshalVT

func (m *SignalGenerator_Outs) MarshalVT() (dAtA []byte, err error)

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) SizeVT

func (m *SignalGenerator_Outs) SizeVT() (n int)

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) UnmarshalVT

func (m *SignalGenerator_Outs) UnmarshalVT(dAtA []byte) error

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) 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) MarshalToSizedBufferVT

func (m *SignalGenerator_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SignalGenerator_Parameters) MarshalToVT

func (m *SignalGenerator_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*SignalGenerator_Parameters) MarshalVT

func (m *SignalGenerator_Parameters) MarshalVT() (dAtA []byte, err error)

func (*SignalGenerator_Parameters) ProtoMessage

func (*SignalGenerator_Parameters) ProtoMessage()

func (*SignalGenerator_Parameters) ProtoReflect

func (*SignalGenerator_Parameters) Reset

func (x *SignalGenerator_Parameters) Reset()

func (*SignalGenerator_Parameters) SizeVT

func (m *SignalGenerator_Parameters) SizeVT() (n int)

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) UnmarshalVT

func (m *SignalGenerator_Parameters) UnmarshalVT(dAtA []byte) error

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.
	// This field employs the [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json) JSON representation from Protocol Buffers. The format accommodates fractional seconds up to nine digits after the decimal point, offering nanosecond precision. Every duration value must be suffixed with an "s" to indicate 'seconds.' For example, a value of "10s" would signify a duration of 10 seconds.
	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) 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) MarshalToSizedBufferVT

func (m *SignalGenerator_Parameters_Step) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SignalGenerator_Parameters_Step) MarshalToVT

func (m *SignalGenerator_Parameters_Step) MarshalToVT(dAtA []byte) (int, error)

func (*SignalGenerator_Parameters_Step) MarshalVT

func (m *SignalGenerator_Parameters_Step) MarshalVT() (dAtA []byte, err error)

func (*SignalGenerator_Parameters_Step) ProtoMessage

func (*SignalGenerator_Parameters_Step) ProtoMessage()

func (*SignalGenerator_Parameters_Step) ProtoReflect

func (*SignalGenerator_Parameters_Step) Reset

func (*SignalGenerator_Parameters_Step) SizeVT

func (m *SignalGenerator_Parameters_Step) SizeVT() (n int)

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) UnmarshalVT

func (m *SignalGenerator_Parameters_Step) UnmarshalVT(dAtA []byte) error

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) 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) MarshalToSizedBufferVT

func (m *Switcher) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Switcher) MarshalToVT

func (m *Switcher) MarshalToVT(dAtA []byte) (int, error)

func (*Switcher) MarshalVT

func (m *Switcher) MarshalVT() (dAtA []byte, err error)

func (*Switcher) ProtoMessage

func (*Switcher) ProtoMessage()

func (*Switcher) ProtoReflect

func (x *Switcher) ProtoReflect() protoreflect.Message

func (*Switcher) Reset

func (x *Switcher) Reset()

func (*Switcher) SizeVT

func (m *Switcher) SizeVT() (n int)

func (*Switcher) String

func (x *Switcher) String() string

func (*Switcher) UnmarshalJSON

func (msg *Switcher) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Switcher) UnmarshalVT

func (m *Switcher) UnmarshalVT(dAtA []byte) error

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) 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) MarshalToSizedBufferVT

func (m *Switcher_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Switcher_Ins) MarshalToVT

func (m *Switcher_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Switcher_Ins) MarshalVT

func (m *Switcher_Ins) MarshalVT() (dAtA []byte, err error)

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) SizeVT

func (m *Switcher_Ins) SizeVT() (n int)

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) UnmarshalVT

func (m *Switcher_Ins) UnmarshalVT(dAtA []byte) error

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) 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) MarshalToSizedBufferVT

func (m *Switcher_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Switcher_Outs) MarshalToVT

func (m *Switcher_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*Switcher_Outs) MarshalVT

func (m *Switcher_Outs) MarshalVT() (dAtA []byte, err error)

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) SizeVT

func (m *Switcher_Outs) SizeVT() (n int)

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) UnmarshalVT

func (m *Switcher_Outs) UnmarshalVT(dAtA []byte) error

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. Deprecated: v3.0.0. Use `InfraMeter` instead. It consists of two parts: - Agent Group: Agent group to sync telemetry configuration with - Infra Meters: OTel compatible metrics pipelines

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) MarshalToSizedBufferVT

func (m *TelemetryCollector) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TelemetryCollector) MarshalToVT

func (m *TelemetryCollector) MarshalToVT(dAtA []byte) (int, error)

func (*TelemetryCollector) MarshalVT

func (m *TelemetryCollector) MarshalVT() (dAtA []byte, err error)

func (*TelemetryCollector) ProtoMessage

func (*TelemetryCollector) ProtoMessage()

func (*TelemetryCollector) ProtoReflect

func (x *TelemetryCollector) ProtoReflect() protoreflect.Message

func (*TelemetryCollector) Reset

func (x *TelemetryCollector) Reset()

func (*TelemetryCollector) SizeVT

func (m *TelemetryCollector) SizeVT() (n int)

func (*TelemetryCollector) String

func (x *TelemetryCollector) String() string

func (*TelemetryCollector) UnmarshalJSON

func (msg *TelemetryCollector) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*TelemetryCollector) UnmarshalVT

func (m *TelemetryCollector) UnmarshalVT(dAtA []byte) error

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) 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) MarshalToSizedBufferVT

func (m *UnaryOperator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UnaryOperator) MarshalToVT

func (m *UnaryOperator) MarshalToVT(dAtA []byte) (int, error)

func (*UnaryOperator) MarshalVT

func (m *UnaryOperator) MarshalVT() (dAtA []byte, err error)

func (*UnaryOperator) ProtoMessage

func (*UnaryOperator) ProtoMessage()

func (*UnaryOperator) ProtoReflect

func (x *UnaryOperator) ProtoReflect() protoreflect.Message

func (*UnaryOperator) Reset

func (x *UnaryOperator) Reset()

func (*UnaryOperator) SizeVT

func (m *UnaryOperator) SizeVT() (n int)

func (*UnaryOperator) String

func (x *UnaryOperator) String() string

func (*UnaryOperator) UnmarshalJSON

func (msg *UnaryOperator) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UnaryOperator) UnmarshalVT

func (m *UnaryOperator) UnmarshalVT(dAtA []byte) error

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) 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) MarshalToSizedBufferVT

func (m *UnaryOperator_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UnaryOperator_Ins) MarshalToVT

func (m *UnaryOperator_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*UnaryOperator_Ins) MarshalVT

func (m *UnaryOperator_Ins) MarshalVT() (dAtA []byte, err error)

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) SizeVT

func (m *UnaryOperator_Ins) SizeVT() (n int)

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) UnmarshalVT

func (m *UnaryOperator_Ins) UnmarshalVT(dAtA []byte) error

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) 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) MarshalToSizedBufferVT

func (m *UnaryOperator_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UnaryOperator_Outs) MarshalToVT

func (m *UnaryOperator_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*UnaryOperator_Outs) MarshalVT

func (m *UnaryOperator_Outs) MarshalVT() (dAtA []byte, err error)

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) SizeVT

func (m *UnaryOperator_Outs) SizeVT() (n int)

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) UnmarshalVT

func (m *UnaryOperator_Outs) UnmarshalVT(dAtA []byte) error

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) DeleteDynamicConfig

func (UnimplementedPolicyServiceServer) DeletePolicy

func (UnimplementedPolicyServiceServer) GetDecisions

func (UnimplementedPolicyServiceServer) GetDynamicConfig

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"`
	Policy       *Policy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`
	PolicyString string  `protobuf:"bytes,4,opt,name=policy_string,json=policyString,proto3" json:"policy_string,omitempty"`
	// contains filtered or unexported fields
}

PostPolicyRequest is a request to create or update Policy.

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) GetPolicyName

func (x *UpsertPolicyRequest) GetPolicyName() string

func (*UpsertPolicyRequest) GetPolicyString

func (x *UpsertPolicyRequest) GetPolicyString() string

func (*UpsertPolicyRequest) MarshalJSON

func (msg *UpsertPolicyRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UpsertPolicyRequest) MarshalToSizedBufferVT

func (m *UpsertPolicyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpsertPolicyRequest) MarshalToVT

func (m *UpsertPolicyRequest) MarshalToVT(dAtA []byte) (int, error)

func (*UpsertPolicyRequest) MarshalVT

func (m *UpsertPolicyRequest) MarshalVT() (dAtA []byte, err error)

func (*UpsertPolicyRequest) ProtoMessage

func (*UpsertPolicyRequest) ProtoMessage()

func (*UpsertPolicyRequest) ProtoReflect

func (x *UpsertPolicyRequest) ProtoReflect() protoreflect.Message

func (*UpsertPolicyRequest) Reset

func (x *UpsertPolicyRequest) Reset()

func (*UpsertPolicyRequest) SizeVT

func (m *UpsertPolicyRequest) SizeVT() (n int)

func (*UpsertPolicyRequest) String

func (x *UpsertPolicyRequest) String() string

func (*UpsertPolicyRequest) UnmarshalJSON

func (msg *UpsertPolicyRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UpsertPolicyRequest) UnmarshalVT

func (m *UpsertPolicyRequest) UnmarshalVT(dAtA []byte) error

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 UpsertPolicyResponse

type UpsertPolicyResponse struct {

	// A hash of the policy, as reported in heartbeats (note: the hash might
	// change after updating controller with new aperture version)
	PolicyHash string `protobuf:"bytes,1,opt,name=policy_hash,json=policyHash,proto3" json:"policy_hash,omitempty"`
	// contains filtered or unexported fields
}

UpsertPolicyResponse is a response to UpsertPolicy

func (*UpsertPolicyResponse) Descriptor deprecated

func (*UpsertPolicyResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpsertPolicyResponse.ProtoReflect.Descriptor instead.

func (*UpsertPolicyResponse) GetPolicyHash

func (x *UpsertPolicyResponse) GetPolicyHash() string

func (*UpsertPolicyResponse) MarshalJSON

func (msg *UpsertPolicyResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UpsertPolicyResponse) MarshalToSizedBufferVT

func (m *UpsertPolicyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpsertPolicyResponse) MarshalToVT

func (m *UpsertPolicyResponse) MarshalToVT(dAtA []byte) (int, error)

func (*UpsertPolicyResponse) MarshalVT

func (m *UpsertPolicyResponse) MarshalVT() (dAtA []byte, err error)

func (*UpsertPolicyResponse) ProtoMessage

func (*UpsertPolicyResponse) ProtoMessage()

func (*UpsertPolicyResponse) ProtoReflect

func (x *UpsertPolicyResponse) ProtoReflect() protoreflect.Message

func (*UpsertPolicyResponse) Reset

func (x *UpsertPolicyResponse) Reset()

func (*UpsertPolicyResponse) SizeVT

func (m *UpsertPolicyResponse) SizeVT() (n int)

func (*UpsertPolicyResponse) String

func (x *UpsertPolicyResponse) String() string

func (*UpsertPolicyResponse) UnmarshalJSON

func (msg *UpsertPolicyResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UpsertPolicyResponse) UnmarshalVT

func (m *UpsertPolicyResponse) UnmarshalVT(dAtA []byte) error

func (*UpsertPolicyResponse) Validate

func (m *UpsertPolicyResponse) Validate() error

Validate checks the field values on UpsertPolicyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpsertPolicyResponse) ValidateAll

func (m *UpsertPolicyResponse) ValidateAll() error

ValidateAll checks the field values on UpsertPolicyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpsertPolicyResponseMultiError, or nil if none found.

type UpsertPolicyResponseMultiError

type UpsertPolicyResponseMultiError []error

UpsertPolicyResponseMultiError is an error wrapping multiple validation errors returned by UpsertPolicyResponse.ValidateAll() if the designated constraints aren't met.

func (UpsertPolicyResponseMultiError) AllErrors

func (m UpsertPolicyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpsertPolicyResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpsertPolicyResponseValidationError

type UpsertPolicyResponseValidationError struct {
	// contains filtered or unexported fields
}

UpsertPolicyResponseValidationError is the validation error returned by UpsertPolicyResponse.Validate if the designated constraints aren't met.

func (UpsertPolicyResponseValidationError) Cause

Cause function returns cause value.

func (UpsertPolicyResponseValidationError) Error

Error satisfies the builtin error interface

func (UpsertPolicyResponseValidationError) ErrorName

ErrorName returns error name.

func (UpsertPolicyResponseValidationError) Field

Field function returns field value.

func (UpsertPolicyResponseValidationError) Key

Key function returns key value.

func (UpsertPolicyResponseValidationError) 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) Descriptor deprecated

func (*Variable) Descriptor() ([]byte, []int)

Deprecated: Use Variable.ProtoReflect.Descriptor instead.

func (*Variable) GetConfigKey

func (x *Variable) GetConfigKey() string

func (*Variable) GetConstantOutput

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) MarshalToSizedBufferVT

func (m *Variable) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Variable) MarshalToVT

func (m *Variable) MarshalToVT(dAtA []byte) (int, error)

func (*Variable) MarshalVT

func (m *Variable) MarshalVT() (dAtA []byte, err error)

func (*Variable) ProtoMessage

func (*Variable) ProtoMessage()

func (*Variable) ProtoReflect

func (x *Variable) ProtoReflect() protoreflect.Message

func (*Variable) Reset

func (x *Variable) Reset()

func (*Variable) SizeVT

func (m *Variable) SizeVT() (n int)

func (*Variable) String

func (x *Variable) String() string

func (*Variable) UnmarshalJSON

func (msg *Variable) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Variable) UnmarshalVT

func (m *Variable) UnmarshalVT(dAtA []byte) error

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) 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) MarshalToSizedBufferVT

func (m *Variable_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Variable_Outs) MarshalToVT

func (m *Variable_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*Variable_Outs) MarshalVT

func (m *Variable_Outs) MarshalVT() (dAtA []byte, err error)

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) SizeVT

func (m *Variable_Outs) SizeVT() (n int)

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) UnmarshalVT

func (m *Variable_Outs) UnmarshalVT(dAtA []byte) error

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