languagev1

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 38 Imported by: 0

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_DeletePolicy_FullMethodName      = "/aperture.policy.language.v1.PolicyService/DeletePolicy"
	PolicyService_GetDecisions_FullMethodName      = "/aperture.policy.language.v1.PolicyService/GetDecisions"
)

Variables

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 (
	GetPolicyResponse_Status_name = map[int32]string{
		0: "VALID",
		1: "INVALID",
	}
	GetPolicyResponse_Status_value = map[string]int32{
		"VALID":   0,
		"INVALID": 1,
	}
)

Enum value maps for GetPolicyResponse_Status.

View Source
var File_aperture_policy_language_v1_autoscale_proto protoreflect.FileDescriptor
View Source
var File_aperture_policy_language_v1_flowcontrol_proto protoreflect.FileDescriptor
View Source
var File_aperture_policy_language_v1_label_matcher_proto protoreflect.FileDescriptor
View Source
var File_aperture_policy_language_v1_policy_proto protoreflect.FileDescriptor
View Source
var File_aperture_policy_language_v1_ports_proto protoreflect.FileDescriptor
View Source
var File_aperture_policy_language_v1_query_proto protoreflect.FileDescriptor
View Source
var File_aperture_policy_language_v1_std_components_proto protoreflect.FileDescriptor
View Source
var File_aperture_policy_language_v1_telemetry_collector_proto protoreflect.FileDescriptor
View Source
var PolicyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "aperture.policy.language.v1.PolicyService",
	HandlerType: (*PolicyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPolicy",
			Handler:    _PolicyService_GetPolicy_Handler,
		},
		{
			MethodName: "GetPolicies",
			Handler:    _PolicyService_GetPolicies_Handler,
		},
		{
			MethodName: "UpsertPolicy",
			Handler:    _PolicyService_UpsertPolicy_Handler,
		},
		{
			MethodName: "PostDynamicConfig",
			Handler:    _PolicyService_PostDynamicConfig_Handler,
		},
		{
			MethodName: "DeletePolicy",
			Handler:    _PolicyService_DeletePolicy_Handler,
		},
		{
			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 AdaptiveLoadScheduler

type AdaptiveLoadScheduler struct {

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

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

func (*AdaptiveLoadScheduler) Descriptor deprecated

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

Deprecated: Use AdaptiveLoadScheduler.ProtoReflect.Descriptor instead.

func (*AdaptiveLoadScheduler) GetDryRun added in v2.2.0

func (x *AdaptiveLoadScheduler) GetDryRun() bool

func (*AdaptiveLoadScheduler) GetDryRunConfigKey added in v2.2.0

func (x *AdaptiveLoadScheduler) GetDryRunConfigKey() string

func (*AdaptiveLoadScheduler) GetInPorts

func (*AdaptiveLoadScheduler) GetOutPorts

func (*AdaptiveLoadScheduler) GetParameters

func (*AdaptiveLoadScheduler) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*AdaptiveLoadScheduler) MarshalToSizedBufferVT added in v2.7.0

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

func (*AdaptiveLoadScheduler) MarshalToVT added in v2.7.0

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

func (*AdaptiveLoadScheduler) MarshalVT added in v2.7.0

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

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

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

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

func (*AdaptiveLoadScheduler_Ins) MarshalToVT added in v2.7.0

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

func (*AdaptiveLoadScheduler_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*AdaptiveLoadScheduler_Outs) MarshalToVT added in v2.7.0

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

func (*AdaptiveLoadScheduler_Outs) MarshalVT added in v2.7.0

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

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

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.
	// - Any future overload state is detected by the control policy, and the load multiplier increment cycle is restarted.
	MaxLoadMultiplier float64 `` // @gotags: default:"2.0"
	/* 130-byte string literal not displayed */
	// Linear increment to load multiplier in each execution tick when the system is
	// not in the overloaded state, up until the `max_load_multiplier` is reached.
	LoadMultiplierLinearIncrement float64 `` // @gotags: default:"0.0025"
	/* 171-byte string literal not displayed */
	// Configuration parameters for the embedded Alerter.
	Alerter *Alerter_Parameters `protobuf:"bytes,5,opt,name=alerter,proto3" json:"alerter,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Parameters for the _Adaptive Load Scheduler_ component.

func (*AdaptiveLoadScheduler_Parameters) 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 added in v2.7.0

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

func (*AdaptiveLoadScheduler_Parameters) MarshalToVT added in v2.7.0

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

func (*AdaptiveLoadScheduler_Parameters) MarshalVT added in v2.7.0

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

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

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

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

func (*AddressExtractor) MarshalToVT added in v2.7.0

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

func (*AddressExtractor) MarshalVT added in v2.7.0

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

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

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

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

func (*Alerter) MarshalToVT added in v2.7.0

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

func (*Alerter) MarshalVT added in v2.7.0

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

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

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

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

func (*Alerter_Ins) MarshalToVT added in v2.7.0

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

func (*Alerter_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*Alerter_Parameters) MarshalToVT added in v2.7.0

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

func (*Alerter_Parameters) MarshalVT added in v2.7.0

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

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

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

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

func (*And) MarshalToVT added in v2.7.0

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

func (*And) MarshalVT added in v2.7.0

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

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

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

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

func (*And_Ins) MarshalToVT added in v2.7.0

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

func (*And_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*And_Outs) MarshalToVT added in v2.7.0

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

func (*And_Outs) MarshalVT added in v2.7.0

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

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

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

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

func (*ArithmeticCombinator) MarshalToVT added in v2.7.0

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

func (*ArithmeticCombinator) MarshalVT added in v2.7.0

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

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

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

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

func (*ArithmeticCombinator_Ins) MarshalToVT added in v2.7.0

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

func (*ArithmeticCombinator_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*ArithmeticCombinator_Outs) MarshalToVT added in v2.7.0

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

func (*ArithmeticCombinator_Outs) MarshalVT added in v2.7.0

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

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

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

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

func (*AutoScale) MarshalToVT added in v2.7.0

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

func (*AutoScale) MarshalVT added in v2.7.0

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

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

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

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

func (*AutoScale_AutoScaler) MarshalToVT added in v2.7.0

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

func (*AutoScale_AutoScaler) SizeVT added in v2.7.0

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

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

func (*AutoScale_PodScaler) MarshalToVT added in v2.7.0

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

func (*AutoScale_PodScaler) SizeVT added in v2.7.0

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

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

func (*AutoScale_Private) MarshalToVT added in v2.7.0

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

func (*AutoScale_Private) SizeVT added in v2.7.0

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

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

func (*AutoScaler) MarshalToVT added in v2.7.0

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

func (*AutoScaler) MarshalVT added in v2.7.0

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

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

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

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

func (*AutoScaler_ScalingBackend) MarshalToVT added in v2.7.0

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

func (*AutoScaler_ScalingBackend) MarshalVT added in v2.7.0

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

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

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

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

func (*AutoScaler_ScalingBackend_KubernetesReplicas) MarshalToVT added in v2.7.0

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

func (*AutoScaler_ScalingBackend_KubernetesReplicas) MarshalVT added in v2.7.0

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

func (*AutoScaler_ScalingBackend_KubernetesReplicas) String

func (*AutoScaler_ScalingBackend_KubernetesReplicas) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaler_ScalingBackend_KubernetesReplicas) UnmarshalVT added in v2.7.0

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

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

func (*AutoScaler_ScalingBackend_KubernetesReplicas_) MarshalToVT added in v2.7.0

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

func (*AutoScaler_ScalingBackend_KubernetesReplicas_) SizeVT added in v2.7.0

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

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

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) MarshalToVT added in v2.7.0

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) MarshalVT added in v2.7.0

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

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) String

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) UnmarshalJSON

UnmarshalJSON implements json.Unmarshaler

func (*AutoScaler_ScalingBackend_KubernetesReplicas_Outs) UnmarshalVT added in v2.7.0

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

func (*AutoScaler_ScalingParameters) 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 added in v2.7.0

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

func (*AutoScaler_ScalingParameters) MarshalToVT added in v2.7.0

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

func (*AutoScaler_ScalingParameters) MarshalVT added in v2.7.0

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

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

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

type BoolVariable struct {

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

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

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

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

Deprecated: Use BoolVariable.ProtoReflect.Descriptor instead.

func (*BoolVariable) GetConfigKey added in v2.2.0

func (x *BoolVariable) GetConfigKey() string

func (*BoolVariable) GetConstantOutput added in v2.2.0

func (x *BoolVariable) GetConstantOutput() bool

func (*BoolVariable) GetOutPorts added in v2.2.0

func (x *BoolVariable) GetOutPorts() *BoolVariable_Outs

func (*BoolVariable) MarshalJSON added in v2.2.0

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

MarshalJSON implements json.Marshaler

func (*BoolVariable) MarshalToSizedBufferVT added in v2.7.0

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

func (*BoolVariable) MarshalToVT added in v2.7.0

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

func (*BoolVariable) MarshalVT added in v2.7.0

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

func (*BoolVariable) ProtoMessage added in v2.2.0

func (*BoolVariable) ProtoMessage()

func (*BoolVariable) ProtoReflect added in v2.2.0

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

func (*BoolVariable) Reset added in v2.2.0

func (x *BoolVariable) Reset()

func (*BoolVariable) SizeVT added in v2.7.0

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

func (*BoolVariable) String added in v2.2.0

func (x *BoolVariable) String() string

func (*BoolVariable) UnmarshalJSON added in v2.2.0

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

UnmarshalJSON implements json.Unmarshaler

func (*BoolVariable) UnmarshalVT added in v2.7.0

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

func (*BoolVariable) Validate added in v2.2.0

func (m *BoolVariable) Validate() error

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

func (*BoolVariable) ValidateAll added in v2.2.0

func (m *BoolVariable) ValidateAll() error

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

type BoolVariableMultiError added in v2.2.0

type BoolVariableMultiError []error

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

func (BoolVariableMultiError) AllErrors added in v2.2.0

func (m BoolVariableMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BoolVariableMultiError) Error added in v2.2.0

func (m BoolVariableMultiError) Error() string

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

type BoolVariableValidationError added in v2.2.0

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

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

func (BoolVariableValidationError) Cause added in v2.2.0

Cause function returns cause value.

func (BoolVariableValidationError) Error added in v2.2.0

Error satisfies the builtin error interface

func (BoolVariableValidationError) ErrorName added in v2.2.0

func (e BoolVariableValidationError) ErrorName() string

ErrorName returns error name.

func (BoolVariableValidationError) Field added in v2.2.0

Field function returns field value.

func (BoolVariableValidationError) Key added in v2.2.0

Key function returns key value.

func (BoolVariableValidationError) Reason added in v2.2.0

Reason function returns reason value.

type BoolVariable_Outs added in v2.2.0

type BoolVariable_Outs struct {

	// The value is emitted to the output port.
	Output *OutPort `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Outputs for the BoolVariable component.

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

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

Deprecated: Use BoolVariable_Outs.ProtoReflect.Descriptor instead.

func (*BoolVariable_Outs) GetOutput added in v2.2.0

func (x *BoolVariable_Outs) GetOutput() *OutPort

func (*BoolVariable_Outs) MarshalJSON added in v2.2.0

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

MarshalJSON implements json.Marshaler

func (*BoolVariable_Outs) MarshalToSizedBufferVT added in v2.7.0

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

func (*BoolVariable_Outs) MarshalToVT added in v2.7.0

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

func (*BoolVariable_Outs) MarshalVT added in v2.7.0

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

func (*BoolVariable_Outs) ProtoMessage added in v2.2.0

func (*BoolVariable_Outs) ProtoMessage()

func (*BoolVariable_Outs) ProtoReflect added in v2.2.0

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

func (*BoolVariable_Outs) Reset added in v2.2.0

func (x *BoolVariable_Outs) Reset()

func (*BoolVariable_Outs) SizeVT added in v2.7.0

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

func (*BoolVariable_Outs) String added in v2.2.0

func (x *BoolVariable_Outs) String() string

func (*BoolVariable_Outs) UnmarshalJSON added in v2.2.0

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

UnmarshalJSON implements json.Unmarshaler

func (*BoolVariable_Outs) UnmarshalVT added in v2.7.0

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

func (*BoolVariable_Outs) Validate added in v2.2.0

func (m *BoolVariable_Outs) Validate() error

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

func (*BoolVariable_Outs) ValidateAll added in v2.2.0

func (m *BoolVariable_Outs) ValidateAll() error

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

type BoolVariable_OutsMultiError added in v2.2.0

type BoolVariable_OutsMultiError []error

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

func (BoolVariable_OutsMultiError) AllErrors added in v2.2.0

func (m BoolVariable_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BoolVariable_OutsMultiError) Error added in v2.2.0

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

type BoolVariable_OutsValidationError added in v2.2.0

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

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

func (BoolVariable_OutsValidationError) Cause added in v2.2.0

Cause function returns cause value.

func (BoolVariable_OutsValidationError) Error added in v2.2.0

Error satisfies the builtin error interface

func (BoolVariable_OutsValidationError) ErrorName added in v2.2.0

ErrorName returns error name.

func (BoolVariable_OutsValidationError) Field added in v2.2.0

Field function returns field value.

func (BoolVariable_OutsValidationError) Key added in v2.2.0

Key function returns key value.

func (BoolVariable_OutsValidationError) Reason added in v2.2.0

Reason function returns reason value.

type Circuit

type Circuit struct {

	// Evaluation interval (tick) is the time between consecutive runs of the policy circuit.
	// This interval is typically aligned with how often the corrective action (actuation) needs to be taken.
	// 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 */
	// 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 added in v2.7.0

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

func (*Circuit) MarshalToVT added in v2.7.0

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

func (*Circuit) MarshalVT added in v2.7.0

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

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

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/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 added in v2.7.0

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

func (*Classifier) MarshalToVT added in v2.7.0

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

func (*Classifier) MarshalVT added in v2.7.0

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

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

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

func (x *Component) GetBoolVariable() *BoolVariable

func (*Component) GetComponent

func (m *Component) GetComponent() isComponent_Component

func (*Component) GetDecider

func (x *Component) GetDecider() *Decider

func (*Component) GetDifferentiator

func (x *Component) GetDifferentiator() *Differentiator

func (*Component) GetEma

func (x *Component) GetEma() *EMA

func (*Component) GetExtrapolator

func (x *Component) GetExtrapolator() *Extrapolator

func (*Component) GetFirstValid

func (x *Component) GetFirstValid() *FirstValid

func (*Component) GetFlowControl

func (x *Component) GetFlowControl() *FlowControl

func (*Component) GetGradientController

func (x *Component) GetGradientController() *GradientController

func (*Component) GetHolder

func (x *Component) GetHolder() *Holder

func (*Component) GetIntegrator

func (x *Component) GetIntegrator() *Integrator

func (*Component) GetInverter

func (x *Component) GetInverter() *Inverter

func (*Component) GetMax

func (x *Component) GetMax() *Max

func (*Component) GetMin

func (x *Component) GetMin() *Min

func (*Component) GetNestedCircuit

func (x *Component) GetNestedCircuit() *NestedCircuit

func (*Component) GetNestedSignalEgress

func (x *Component) GetNestedSignalEgress() *NestedSignalEgress

func (*Component) GetNestedSignalIngress

func (x *Component) GetNestedSignalIngress() *NestedSignalIngress

func (*Component) GetOr

func (x *Component) GetOr() *Or

func (*Component) GetPulseGenerator

func (x *Component) GetPulseGenerator() *PulseGenerator

func (*Component) GetQuery

func (x *Component) GetQuery() *Query

func (*Component) GetSignalGenerator

func (x *Component) GetSignalGenerator() *SignalGenerator

func (*Component) GetSma

func (x *Component) GetSma() *SMA

func (*Component) GetSwitcher

func (x *Component) GetSwitcher() *Switcher

func (*Component) GetUnaryOperator

func (x *Component) GetUnaryOperator() *UnaryOperator

func (*Component) GetVariable

func (x *Component) GetVariable() *Variable

func (*Component) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*Component) MarshalToSizedBufferVT added in v2.7.0

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

func (*Component) MarshalToVT added in v2.7.0

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

func (*Component) MarshalVT added in v2.7.0

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

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

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

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

func (*Component_Alerter) MarshalToVT added in v2.7.0

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

func (*Component_Alerter) SizeVT added in v2.7.0

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

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

func (*Component_And) MarshalToVT added in v2.7.0

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

func (*Component_And) SizeVT added in v2.7.0

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

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

func (*Component_ArithmeticCombinator) MarshalToVT added in v2.7.0

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

func (*Component_ArithmeticCombinator) SizeVT added in v2.7.0

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

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

func (*Component_AutoScale) MarshalToVT added in v2.7.0

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

func (*Component_AutoScale) SizeVT added in v2.7.0

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

type Component_BoolVariable added in v2.2.0

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

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

func (*Component_BoolVariable) MarshalToVT added in v2.7.0

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

func (*Component_BoolVariable) SizeVT added in v2.7.0

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

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

func (*Component_Decider) MarshalToVT added in v2.7.0

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

func (*Component_Decider) SizeVT added in v2.7.0

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

type Component_Differentiator

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

func (*Component_Differentiator) MarshalToSizedBufferVT added in v2.7.0

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

func (*Component_Differentiator) MarshalToVT added in v2.7.0

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

func (*Component_Differentiator) SizeVT added in v2.7.0

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

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

func (*Component_Ema) MarshalToVT added in v2.7.0

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

func (*Component_Ema) SizeVT added in v2.7.0

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

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

func (*Component_Extrapolator) MarshalToVT added in v2.7.0

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

func (*Component_Extrapolator) SizeVT added in v2.7.0

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

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

func (*Component_FirstValid) MarshalToVT added in v2.7.0

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

func (*Component_FirstValid) SizeVT added in v2.7.0

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

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

func (*Component_FlowControl) MarshalToVT added in v2.7.0

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

func (*Component_FlowControl) SizeVT added in v2.7.0

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

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

func (*Component_GradientController) MarshalToVT added in v2.7.0

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

func (*Component_GradientController) SizeVT added in v2.7.0

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

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

func (*Component_Holder) MarshalToVT added in v2.7.0

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

func (*Component_Holder) SizeVT added in v2.7.0

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

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

func (*Component_Integrator) MarshalToVT added in v2.7.0

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

func (*Component_Integrator) SizeVT added in v2.7.0

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

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

func (*Component_Inverter) MarshalToVT added in v2.7.0

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

func (*Component_Inverter) SizeVT added in v2.7.0

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

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

func (*Component_Max) MarshalToVT added in v2.7.0

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

func (*Component_Max) SizeVT added in v2.7.0

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

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

func (*Component_Min) MarshalToVT added in v2.7.0

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

func (*Component_Min) SizeVT added in v2.7.0

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

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

func (*Component_NestedCircuit) MarshalToVT added in v2.7.0

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

func (*Component_NestedCircuit) SizeVT added in v2.7.0

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

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

func (*Component_NestedSignalEgress) MarshalToVT added in v2.7.0

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

func (*Component_NestedSignalEgress) SizeVT added in v2.7.0

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

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

func (*Component_NestedSignalIngress) MarshalToVT added in v2.7.0

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

func (*Component_NestedSignalIngress) SizeVT added in v2.7.0

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

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

func (*Component_Or) MarshalToVT added in v2.7.0

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

func (*Component_Or) SizeVT added in v2.7.0

func (m *Component_Or) 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 added in v2.7.0

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

func (*Component_PulseGenerator) MarshalToVT added in v2.7.0

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

func (*Component_PulseGenerator) SizeVT added in v2.7.0

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

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

func (*Component_Query) MarshalToVT added in v2.7.0

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

func (*Component_Query) SizeVT added in v2.7.0

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

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

func (*Component_SignalGenerator) MarshalToVT added in v2.7.0

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

func (*Component_SignalGenerator) SizeVT added in v2.7.0

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

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

func (*Component_Sma) MarshalToVT added in v2.7.0

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

func (*Component_Sma) SizeVT added in v2.7.0

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

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

func (*Component_Switcher) MarshalToVT added in v2.7.0

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

func (*Component_Switcher) SizeVT added in v2.7.0

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

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

func (*Component_UnaryOperator) MarshalToVT added in v2.7.0

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

func (*Component_UnaryOperator) SizeVT added in v2.7.0

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

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

func (*Component_Variable) MarshalToVT added in v2.7.0

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

func (*Component_Variable) SizeVT added in v2.7.0

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

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

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

func (*ConstantSignal) MarshalToVT added in v2.7.0

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

func (*ConstantSignal) MarshalVT added in v2.7.0

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

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

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

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

func (*ConstantSignal_SpecialValue) MarshalToVT added in v2.7.0

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

func (*ConstantSignal_SpecialValue) SizeVT added in v2.7.0

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

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

func (*ConstantSignal_Value) MarshalToVT added in v2.7.0

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

func (*ConstantSignal_Value) SizeVT added in v2.7.0

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

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

func (*Decider) MarshalToVT added in v2.7.0

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

func (*Decider) MarshalVT added in v2.7.0

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

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

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

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

func (*Decider_Ins) MarshalToVT added in v2.7.0

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

func (*Decider_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*Decider_Outs) MarshalToVT added in v2.7.0

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

func (*Decider_Outs) MarshalVT added in v2.7.0

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

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

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

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

func (*DecreasingGradient) MarshalToVT added in v2.7.0

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

func (*DecreasingGradient) MarshalVT added in v2.7.0

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

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

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

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

func (*DecreasingGradient_Ins) MarshalToVT added in v2.7.0

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

func (*DecreasingGradient_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*DecreasingGradient_Parameters) MarshalToVT added in v2.7.0

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

func (*DecreasingGradient_Parameters) MarshalVT added in v2.7.0

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

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

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

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

func (*DeletePolicyRequest) MarshalToVT added in v2.7.0

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

func (*DeletePolicyRequest) MarshalVT added in v2.7.0

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

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

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

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

func (*Differentiator) MarshalToVT added in v2.7.0

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

func (*Differentiator) MarshalVT added in v2.7.0

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

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

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

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

func (*Differentiator_Ins) MarshalToVT added in v2.7.0

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

func (*Differentiator_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*Differentiator_Outs) MarshalToVT added in v2.7.0

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

func (*Differentiator_Outs) MarshalVT added in v2.7.0

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

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

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

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

func (*EMA) MarshalToVT added in v2.7.0

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

func (*EMA) MarshalVT added in v2.7.0

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

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

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

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

func (*EMA_Ins) MarshalToVT added in v2.7.0

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

func (*EMA_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*EMA_Outs) MarshalToVT added in v2.7.0

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

func (*EMA_Outs) MarshalVT added in v2.7.0

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

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

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 {

	// Duration of EMA sampling 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.
	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 added in v2.7.0

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

func (*EMA_Parameters) MarshalToVT added in v2.7.0

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

func (*EMA_Parameters) MarshalVT added in v2.7.0

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

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

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 EqualsMatchExpression

type EqualsMatchExpression struct {

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

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

func (*EqualsMatchExpression) Descriptor deprecated

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

Deprecated: Use EqualsMatchExpression.ProtoReflect.Descriptor instead.

func (*EqualsMatchExpression) GetLabel

func (x *EqualsMatchExpression) GetLabel() string

func (*EqualsMatchExpression) GetValue

func (x *EqualsMatchExpression) GetValue() string

func (*EqualsMatchExpression) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*EqualsMatchExpression) MarshalToSizedBufferVT added in v2.7.0

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

func (*EqualsMatchExpression) MarshalToVT added in v2.7.0

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

func (*EqualsMatchExpression) MarshalVT added in v2.7.0

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

func (*EqualsMatchExpression) ProtoMessage

func (*EqualsMatchExpression) ProtoMessage()

func (*EqualsMatchExpression) ProtoReflect

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

func (*EqualsMatchExpression) Reset

func (x *EqualsMatchExpression) Reset()

func (*EqualsMatchExpression) SizeVT added in v2.7.0

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

func (*EqualsMatchExpression) String

func (x *EqualsMatchExpression) String() string

func (*EqualsMatchExpression) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*EqualsMatchExpression) UnmarshalVT added in v2.7.0

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

func (*EqualsMatchExpression) Validate

func (m *EqualsMatchExpression) Validate() error

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

func (*EqualsMatchExpression) ValidateAll

func (m *EqualsMatchExpression) ValidateAll() error

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

type EqualsMatchExpressionMultiError

type EqualsMatchExpressionMultiError []error

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

func (EqualsMatchExpressionMultiError) AllErrors

func (m EqualsMatchExpressionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EqualsMatchExpressionMultiError) Error

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

type EqualsMatchExpressionValidationError

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

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

func (EqualsMatchExpressionValidationError) Cause

Cause function returns cause value.

func (EqualsMatchExpressionValidationError) Error

Error satisfies the builtin error interface

func (EqualsMatchExpressionValidationError) ErrorName

ErrorName returns error name.

func (EqualsMatchExpressionValidationError) Field

Field function returns field value.

func (EqualsMatchExpressionValidationError) Key

Key function returns key value.

func (EqualsMatchExpressionValidationError) Reason

Reason function returns reason value.

type Extractor

type Extractor struct {

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

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

There are multiple variants of extractor, specify exactly one.

func (*Extractor) 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 added in v2.7.0

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

func (*Extractor) MarshalToVT added in v2.7.0

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

func (*Extractor) MarshalVT added in v2.7.0

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

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

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

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

func (*Extractor_Address) MarshalToVT added in v2.7.0

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

func (*Extractor_Address) SizeVT added in v2.7.0

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

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

func (*Extractor_From) MarshalToVT added in v2.7.0

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

func (*Extractor_From) SizeVT added in v2.7.0

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

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

func (*Extractor_Json) MarshalToVT added in v2.7.0

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

func (*Extractor_Json) SizeVT added in v2.7.0

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

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

func (*Extractor_Jwt) MarshalToVT added in v2.7.0

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

func (*Extractor_Jwt) SizeVT added in v2.7.0

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

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

func (*Extractor_PathTemplates) MarshalToVT added in v2.7.0

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

func (*Extractor_PathTemplates) SizeVT added in v2.7.0

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

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

func (*Extrapolator) MarshalToVT added in v2.7.0

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

func (*Extrapolator) MarshalVT added in v2.7.0

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

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

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

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

func (*Extrapolator_Ins) MarshalToVT added in v2.7.0

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

func (*Extrapolator_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*Extrapolator_Outs) MarshalToVT added in v2.7.0

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

func (*Extrapolator_Outs) MarshalVT added in v2.7.0

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

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

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

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

func (*Extrapolator_Parameters) MarshalToVT added in v2.7.0

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

func (*Extrapolator_Parameters) MarshalVT added in v2.7.0

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

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

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

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

func (*FirstValid) MarshalToVT added in v2.7.0

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

func (*FirstValid) MarshalVT added in v2.7.0

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

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

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

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

func (*FirstValid_Ins) MarshalToVT added in v2.7.0

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

func (*FirstValid_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*FirstValid_Outs) MarshalToVT added in v2.7.0

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

func (*FirstValid_Outs) MarshalVT added in v2.7.0

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

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

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

func (m *FlowControl) GetComponent() isFlowControl_Component

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

func (x *FlowControl) GetQuotaScheduler() *QuotaScheduler

func (*FlowControl) GetRateLimiter

func (x *FlowControl) GetRateLimiter() *RateLimiter

func (*FlowControl) GetSampler added in v2.5.0

func (x *FlowControl) GetSampler() *Sampler

func (*FlowControl) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*FlowControl) MarshalToSizedBufferVT added in v2.7.0

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

func (*FlowControl) MarshalToVT added in v2.7.0

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

func (*FlowControl) MarshalVT added in v2.7.0

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

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

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

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

func (*FlowControlResources) MarshalToVT added in v2.7.0

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

func (*FlowControlResources) MarshalVT added in v2.7.0

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

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

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 is based on additive increase and multiplicative decrease of token rate. It takes a signal and setpoint as inputs and reduces token rate proportionally (or any arbitrary power) based on deviation of the signal from setpoint.
	AdaptiveLoadScheduler *AdaptiveLoadScheduler `protobuf:"bytes,8,opt,name=adaptive_load_scheduler,json=adaptiveLoadScheduler,proto3,oneof"`
}

func (*FlowControl_AdaptiveLoadScheduler) MarshalToSizedBufferVT added in v2.7.0

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

func (*FlowControl_AdaptiveLoadScheduler) MarshalToVT added in v2.7.0

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

func (*FlowControl_AdaptiveLoadScheduler) SizeVT added in v2.7.0

func (m *FlowControl_AdaptiveLoadScheduler) 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 added in v2.7.0

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

func (*FlowControl_LoadRamp) MarshalToVT added in v2.7.0

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

func (*FlowControl_LoadRamp) SizeVT added in v2.7.0

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

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

func (*FlowControl_LoadScheduler) MarshalToVT added in v2.7.0

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

func (*FlowControl_LoadScheduler) SizeVT added in v2.7.0

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

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

func (*FlowControl_Private) MarshalToVT added in v2.7.0

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

func (*FlowControl_Private) SizeVT added in v2.7.0

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

type FlowControl_QuotaScheduler added in v2.2.0

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

func (*FlowControl_QuotaScheduler) MarshalToSizedBufferVT added in v2.7.0

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

func (*FlowControl_QuotaScheduler) MarshalToVT added in v2.7.0

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

func (*FlowControl_QuotaScheduler) SizeVT added in v2.7.0

func (m *FlowControl_QuotaScheduler) 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 added in v2.7.0

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

func (*FlowControl_RateLimiter) MarshalToVT added in v2.7.0

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

func (*FlowControl_RateLimiter) SizeVT added in v2.7.0

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

type FlowControl_Sampler added in v2.5.0

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

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

func (*FlowControl_Sampler) MarshalToVT added in v2.7.0

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

func (*FlowControl_Sampler) SizeVT added in v2.7.0

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](/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/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 added in v2.7.0

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

func (*FluxMeter) MarshalToVT added in v2.7.0

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

func (*FluxMeter) MarshalVT added in v2.7.0

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

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

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

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

func (*FluxMeter_ExponentialBuckets) MarshalToVT added in v2.7.0

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

func (*FluxMeter_ExponentialBuckets) MarshalVT added in v2.7.0

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

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

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

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

func (*FluxMeter_ExponentialBucketsRange) MarshalToVT added in v2.7.0

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

func (*FluxMeter_ExponentialBucketsRange) MarshalVT added in v2.7.0

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

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

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

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

func (*FluxMeter_ExponentialBucketsRange_) MarshalToVT added in v2.7.0

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

func (*FluxMeter_ExponentialBucketsRange_) SizeVT added in v2.7.0

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

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

func (*FluxMeter_ExponentialBuckets_) MarshalToVT added in v2.7.0

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

func (*FluxMeter_ExponentialBuckets_) SizeVT added in v2.7.0

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

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

func (*FluxMeter_LinearBuckets) MarshalToVT added in v2.7.0

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

func (*FluxMeter_LinearBuckets) MarshalVT added in v2.7.0

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

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

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

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

func (*FluxMeter_LinearBuckets_) MarshalToVT added in v2.7.0

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

func (*FluxMeter_LinearBuckets_) SizeVT added in v2.7.0

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

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

func (*FluxMeter_StaticBuckets) MarshalToVT added in v2.7.0

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

func (*FluxMeter_StaticBuckets) MarshalVT added in v2.7.0

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

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

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

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

func (*FluxMeter_StaticBuckets_) MarshalToVT added in v2.7.0

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

func (*FluxMeter_StaticBuckets_) SizeVT added in v2.7.0

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

type GetDecisionsRequest added in v2.8.0

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

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

Deprecated: Use GetDecisionsRequest.ProtoReflect.Descriptor instead.

func (*GetDecisionsRequest) GetDecisionType added in v2.8.0

func (x *GetDecisionsRequest) GetDecisionType() string

func (*GetDecisionsRequest) MarshalJSON added in v2.8.0

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

MarshalJSON implements json.Marshaler

func (*GetDecisionsRequest) MarshalToSizedBufferVT added in v2.8.0

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

func (*GetDecisionsRequest) MarshalToVT added in v2.8.0

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

func (*GetDecisionsRequest) MarshalVT added in v2.8.0

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

func (*GetDecisionsRequest) ProtoMessage added in v2.8.0

func (*GetDecisionsRequest) ProtoMessage()

func (*GetDecisionsRequest) ProtoReflect added in v2.8.0

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

func (*GetDecisionsRequest) Reset added in v2.8.0

func (x *GetDecisionsRequest) Reset()

func (*GetDecisionsRequest) SizeVT added in v2.8.0

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

func (*GetDecisionsRequest) String added in v2.8.0

func (x *GetDecisionsRequest) String() string

func (*GetDecisionsRequest) UnmarshalJSON added in v2.8.0

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

UnmarshalJSON implements json.Unmarshaler

func (*GetDecisionsRequest) UnmarshalVT added in v2.8.0

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

func (*GetDecisionsRequest) Validate added in v2.8.0

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

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

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

func (m GetDecisionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetDecisionsRequestMultiError) Error added in v2.8.0

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

type GetDecisionsRequestValidationError added in v2.8.0

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

Cause function returns cause value.

func (GetDecisionsRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetDecisionsRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetDecisionsRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (GetDecisionsRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (GetDecisionsRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetDecisionsResponse added in v2.8.0

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

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

Deprecated: Use GetDecisionsResponse.ProtoReflect.Descriptor instead.

func (*GetDecisionsResponse) GetDecisions added in v2.8.0

func (x *GetDecisionsResponse) GetDecisions() map[string]string

func (*GetDecisionsResponse) MarshalJSON added in v2.8.0

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

MarshalJSON implements json.Marshaler

func (*GetDecisionsResponse) MarshalToSizedBufferVT added in v2.8.0

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

func (*GetDecisionsResponse) MarshalToVT added in v2.8.0

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

func (*GetDecisionsResponse) MarshalVT added in v2.8.0

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

func (*GetDecisionsResponse) ProtoMessage added in v2.8.0

func (*GetDecisionsResponse) ProtoMessage()

func (*GetDecisionsResponse) ProtoReflect added in v2.8.0

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

func (*GetDecisionsResponse) Reset added in v2.8.0

func (x *GetDecisionsResponse) Reset()

func (*GetDecisionsResponse) SizeVT added in v2.8.0

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

func (*GetDecisionsResponse) String added in v2.8.0

func (x *GetDecisionsResponse) String() string

func (*GetDecisionsResponse) UnmarshalJSON added in v2.8.0

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

UnmarshalJSON implements json.Unmarshaler

func (*GetDecisionsResponse) UnmarshalVT added in v2.8.0

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

func (*GetDecisionsResponse) Validate added in v2.8.0

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

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

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

func (m GetDecisionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetDecisionsResponseMultiError) Error added in v2.8.0

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

type GetDecisionsResponseValidationError added in v2.8.0

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

Cause function returns cause value.

func (GetDecisionsResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetDecisionsResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetDecisionsResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (GetDecisionsResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (GetDecisionsResponseValidationError) Reason added in v2.8.0

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

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

func (*GetPoliciesResponse) MarshalToVT added in v2.7.0

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

func (*GetPoliciesResponse) MarshalVT added in v2.7.0

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

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

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

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

func (*GetPolicyRequest) MarshalToVT added in v2.7.0

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

func (*GetPolicyRequest) MarshalVT added in v2.7.0

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

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

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

func (x *GetPolicyResponse) GetReason() string

func (*GetPolicyResponse) GetStatus added in v2.8.1

func (*GetPolicyResponse) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*GetPolicyResponse) MarshalToSizedBufferVT added in v2.7.0

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

func (*GetPolicyResponse) MarshalToVT added in v2.7.0

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

func (*GetPolicyResponse) MarshalVT added in v2.7.0

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

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

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

type GetPolicyResponse_Status int32
const (
	// Policy is valid.
	GetPolicyResponse_VALID GetPolicyResponse_Status = 0
	// Policy is invalid.
	GetPolicyResponse_INVALID GetPolicyResponse_Status = 1
)

func (GetPolicyResponse_Status) Descriptor added in v2.8.1

func (GetPolicyResponse_Status) Enum added in v2.8.1

func (GetPolicyResponse_Status) EnumDescriptor deprecated added in v2.8.1

func (GetPolicyResponse_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetPolicyResponse_Status.Descriptor instead.

func (GetPolicyResponse_Status) Number added in v2.8.1

func (GetPolicyResponse_Status) String added in v2.8.1

func (x GetPolicyResponse_Status) String() string

func (GetPolicyResponse_Status) Type added in v2.8.1

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

func (x *GradientController) GetManualMode() bool

func (*GradientController) GetManualModeConfigKey added in v2.2.0

func (x *GradientController) GetManualModeConfigKey() string

func (*GradientController) GetOutPorts

func (x *GradientController) GetOutPorts() *GradientController_Outs

func (*GradientController) GetParameters

func (*GradientController) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*GradientController) MarshalToSizedBufferVT added in v2.7.0

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

func (*GradientController) MarshalToVT added in v2.7.0

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

func (*GradientController) MarshalVT added in v2.7.0

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

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

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

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

func (*GradientController_Ins) MarshalToVT added in v2.7.0

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

func (*GradientController_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*GradientController_Outs) MarshalToVT added in v2.7.0

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

func (*GradientController_Outs) MarshalVT added in v2.7.0

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

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

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

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

func (*GradientController_Parameters) MarshalToVT added in v2.7.0

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

func (*GradientController_Parameters) MarshalVT added in v2.7.0

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

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

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

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

func (*Holder) MarshalToVT added in v2.7.0

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

func (*Holder) MarshalVT added in v2.7.0

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

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

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

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

func (*Holder_Ins) MarshalToVT added in v2.7.0

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

func (*Holder_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*Holder_Outs) MarshalToVT added in v2.7.0

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

func (*Holder_Outs) MarshalVT added in v2.7.0

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

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

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

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

func (*InPort) MarshalToVT added in v2.7.0

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

func (*InPort) MarshalVT added in v2.7.0

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

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

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

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

func (*InPort_ConstantSignal) MarshalToVT added in v2.7.0

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

func (*InPort_ConstantSignal) SizeVT added in v2.7.0

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

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

func (*InPort_SignalName) MarshalToVT added in v2.7.0

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

func (*InPort_SignalName) SizeVT added in v2.7.0

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

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

func (*IncreasingGradient) MarshalToVT added in v2.7.0

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

func (*IncreasingGradient) MarshalVT added in v2.7.0

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

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

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

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

func (*IncreasingGradient_Ins) MarshalToVT added in v2.7.0

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

func (*IncreasingGradient_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*IncreasingGradient_Parameters) MarshalToVT added in v2.7.0

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

func (*IncreasingGradient_Parameters) MarshalVT added in v2.7.0

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

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

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](/integrations/metrics/metrics.md).

:::

func (*InfraMeter) Descriptor deprecated

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

Deprecated: Use InfraMeter.ProtoReflect.Descriptor instead.

func (*InfraMeter) GetAgentGroup added in v2.6.0

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

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

func (*InfraMeter) MarshalToVT added in v2.7.0

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

func (*InfraMeter) MarshalVT added in v2.7.0

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

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

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

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

func (*InfraMeter_MetricsPipeline) MarshalToVT added in v2.7.0

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

func (*InfraMeter_MetricsPipeline) MarshalVT added in v2.7.0

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

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

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"
	// 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) 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 added in v2.7.0

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

func (*Integrator) MarshalToVT added in v2.7.0

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

func (*Integrator) MarshalVT added in v2.7.0

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

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

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

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

func (*Integrator_Ins) MarshalToVT added in v2.7.0

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

func (*Integrator_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*Integrator_Outs) MarshalToVT added in v2.7.0

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

func (*Integrator_Outs) MarshalVT added in v2.7.0

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

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

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

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

func (*Inverter) MarshalToVT added in v2.7.0

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

func (*Inverter) MarshalVT added in v2.7.0

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

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

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

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

func (*Inverter_Ins) MarshalToVT added in v2.7.0

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

func (*Inverter_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*Inverter_Outs) MarshalToVT added in v2.7.0

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

func (*Inverter_Outs) MarshalVT added in v2.7.0

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

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

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

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

func (*JSONExtractor) MarshalToVT added in v2.7.0

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

func (*JSONExtractor) MarshalVT added in v2.7.0

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

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

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

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

func (*JWTExtractor) MarshalToVT added in v2.7.0

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

func (*JWTExtractor) MarshalVT added in v2.7.0

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

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

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 K8SLabelMatcherRequirement

type K8SLabelMatcherRequirement struct {

	// Label key that the selector applies to.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" validate:"required"` // @gotags: validate:"required"
	// Logical operator which represents a key's relationship to a set of values.
	// Valid operators are In, NotIn, Exists and DoesNotExist.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty" validate:"oneof=In NotIn Exists DoesNotExists"` // @gotags: validate:"oneof=In NotIn Exists DoesNotExists"
	// An array of string values that relates to the key by an operator.
	// If the operator is In or NotIn, the values array must be non-empty.
	// If the operator is Exists or DoesNotExist, the values array must be empty.
	Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

Label selector requirement which is a selector that contains values, a key, and an operator that relates the key and values.

func (*K8SLabelMatcherRequirement) Descriptor deprecated

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

Deprecated: Use K8SLabelMatcherRequirement.ProtoReflect.Descriptor instead.

func (*K8SLabelMatcherRequirement) GetKey

func (x *K8SLabelMatcherRequirement) GetKey() string

func (*K8SLabelMatcherRequirement) GetOperator

func (x *K8SLabelMatcherRequirement) GetOperator() string

func (*K8SLabelMatcherRequirement) GetValues

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

func (*K8SLabelMatcherRequirement) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*K8SLabelMatcherRequirement) MarshalToSizedBufferVT added in v2.7.0

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

func (*K8SLabelMatcherRequirement) MarshalToVT added in v2.7.0

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

func (*K8SLabelMatcherRequirement) MarshalVT added in v2.7.0

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

func (*K8SLabelMatcherRequirement) ProtoMessage

func (*K8SLabelMatcherRequirement) ProtoMessage()

func (*K8SLabelMatcherRequirement) ProtoReflect

func (*K8SLabelMatcherRequirement) Reset

func (x *K8SLabelMatcherRequirement) Reset()

func (*K8SLabelMatcherRequirement) SizeVT added in v2.7.0

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

func (*K8SLabelMatcherRequirement) String

func (x *K8SLabelMatcherRequirement) String() string

func (*K8SLabelMatcherRequirement) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*K8SLabelMatcherRequirement) UnmarshalVT added in v2.7.0

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

func (*K8SLabelMatcherRequirement) Validate

func (m *K8SLabelMatcherRequirement) Validate() error

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

func (*K8SLabelMatcherRequirement) ValidateAll

func (m *K8SLabelMatcherRequirement) ValidateAll() error

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

type K8SLabelMatcherRequirementMultiError

type K8SLabelMatcherRequirementMultiError []error

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

func (K8SLabelMatcherRequirementMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (K8SLabelMatcherRequirementMultiError) Error

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

type K8SLabelMatcherRequirementValidationError

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

K8SLabelMatcherRequirementValidationError is the validation error returned by K8SLabelMatcherRequirement.Validate if the designated constraints aren't met.

func (K8SLabelMatcherRequirementValidationError) Cause

Cause function returns cause value.

func (K8SLabelMatcherRequirementValidationError) Error

Error satisfies the builtin error interface

func (K8SLabelMatcherRequirementValidationError) ErrorName

ErrorName returns error name.

func (K8SLabelMatcherRequirementValidationError) Field

Field function returns field value.

func (K8SLabelMatcherRequirementValidationError) Key

Key function returns key value.

func (K8SLabelMatcherRequirementValidationError) Reason

Reason function returns reason value.

type KubernetesObjectSelector

type KubernetesObjectSelector struct {

	// Which [agent-group](/concepts/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 added in v2.7.0

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

func (*KubernetesObjectSelector) MarshalToVT added in v2.7.0

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

func (*KubernetesObjectSelector) MarshalVT added in v2.7.0

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

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

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.
	MatchExpressions []*K8SLabelMatcherRequirement `protobuf:"bytes,2,rep,name=match_expressions,json=matchExpressions,proto3" json:"match_expressions,omitempty"`
	// An arbitrary expression to be evaluated on the labels.
	Expression *MatchExpression `protobuf:"bytes,3,opt,name=expression,proto3" json:"expression,omitempty"`
	// contains filtered or unexported fields
}

Allows to define rules whether a map of [labels](/concepts/flow-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() *MatchExpression

func (*LabelMatcher) GetMatchExpressions

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

func (*LabelMatcher) GetMatchLabels

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

func (*LabelMatcher) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LabelMatcher) MarshalToSizedBufferVT added in v2.7.0

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

func (*LabelMatcher) MarshalToVT added in v2.7.0

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

func (*LabelMatcher) MarshalVT added in v2.7.0

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

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

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

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

func (*LoadRamp) GetPassThroughLabelValuesConfigKey added in v2.2.0

func (x *LoadRamp) GetPassThroughLabelValuesConfigKey() string

func (*LoadRamp) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadRamp) MarshalToSizedBufferVT added in v2.7.0

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

func (*LoadRamp) MarshalToVT added in v2.7.0

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

func (*LoadRamp) MarshalVT added in v2.7.0

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

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

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

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

func (*LoadRamp_Ins) MarshalToVT added in v2.7.0

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

func (*LoadRamp_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*LoadRamp_Outs) MarshalToVT added in v2.7.0

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

func (*LoadRamp_Outs) MarshalVT added in v2.7.0

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

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

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"`
	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 added in v2.5.0

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

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

func (*LoadRamp_Parameters) MarshalToVT added in v2.7.0

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

func (*LoadRamp_Parameters) MarshalVT added in v2.7.0

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

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

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

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

func (*LoadRamp_Parameters_Step) MarshalToVT added in v2.7.0

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

func (*LoadRamp_Parameters_Step) MarshalVT added in v2.7.0

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

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

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/scheduler/load-scheduler.md).

:::

To make scheduling decisions the Flows are mapped into Workloads by providing match rules. A workload determines the priority and cost of admitting each Flow that belongs to it. Scheduling of Flows is based on Weighted Fair Queuing principles. _Load Scheduler_ measures and controls the incoming tokens per second, which can translate to (avg. latency \* in-flight requests) (Little's Law) in concurrency limiting use-case.

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

func (*LoadScheduler) Descriptor deprecated

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

Deprecated: Use LoadScheduler.ProtoReflect.Descriptor instead.

func (*LoadScheduler) GetDryRun added in v2.2.0

func (x *LoadScheduler) GetDryRun() bool

func (*LoadScheduler) GetDryRunConfigKey added in v2.2.0

func (x *LoadScheduler) GetDryRunConfigKey() string

func (*LoadScheduler) GetInPorts

func (x *LoadScheduler) GetInPorts() *LoadScheduler_Ins

func (*LoadScheduler) GetOutPorts

func (x *LoadScheduler) GetOutPorts() *LoadScheduler_Outs

func (*LoadScheduler) GetParameters

func (x *LoadScheduler) GetParameters() *LoadScheduler_Parameters

func (*LoadScheduler) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadScheduler) MarshalToSizedBufferVT added in v2.7.0

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

func (*LoadScheduler) MarshalToVT added in v2.7.0

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

func (*LoadScheduler) MarshalVT added in v2.7.0

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

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

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

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

func (*LoadScheduler_Ins) MarshalToVT added in v2.7.0

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

func (*LoadScheduler_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*LoadScheduler_Outs) MarshalToVT added in v2.7.0

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

func (*LoadScheduler_Outs) MarshalVT added in v2.7.0

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

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

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 flows within each workload, based on
	// historical latency. Each workload's `tokens` will be set to average
	// latency of flows in that workload during the last few seconds (exact duration
	// of this average can change).
	// This setting is useful in concurrency limiting use-case, where the
	// concurrency is calculated as “(avg. latency \* in-flight flows)`.
	//
	// The value of tokens estimated takes a lower precedence
	// than the value of `tokens` specified in the workload definition
	// and `tokens` explicitly specified in the flow labels.
	WorkloadLatencyBasedTokens bool `` // @gotags: default:"true"
	/* 159-byte string literal not displayed */
	// Configuration of Weighted Fair Queuing-based workload scheduler.
	//
	// Contains configuration of per-agent scheduler
	Scheduler *Scheduler `protobuf:"bytes,2,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
	// Selectors for the component.
	Selectors []*Selector `protobuf:"bytes,3,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required,gt=0,dive"` // @gotags: validate:"required,gt=0,dive"
	// contains filtered or unexported fields
}

Parameters for _Load Scheduler_ component

func (*LoadScheduler_Parameters) 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 added in v2.7.0

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

func (*LoadScheduler_Parameters) MarshalToVT added in v2.7.0

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

func (*LoadScheduler_Parameters) MarshalVT added in v2.7.0

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

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

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 MatchExpression

type MatchExpression struct {

	// @gotags: validate:"required"
	//
	// Types that are assignable to Variant:
	//
	//	*MatchExpression_Not
	//	*MatchExpression_All
	//	*MatchExpression_Any
	//	*MatchExpression_LabelExists
	//	*MatchExpression_LabelEquals
	//	*MatchExpression_LabelMatches
	Variant isMatchExpression_Variant `protobuf_oneof:"variant" validate:"required"`
	// contains filtered or unexported fields
}

MatchExpression has multiple variants, exactly one should be set.

Example: ```yaml all:

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

```

func (*MatchExpression) Descriptor deprecated

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

Deprecated: Use MatchExpression.ProtoReflect.Descriptor instead.

func (*MatchExpression) GetAll

func (*MatchExpression) GetAny

func (*MatchExpression) GetLabelEquals

func (x *MatchExpression) GetLabelEquals() *EqualsMatchExpression

func (*MatchExpression) GetLabelExists

func (x *MatchExpression) GetLabelExists() string

func (*MatchExpression) GetLabelMatches

func (x *MatchExpression) GetLabelMatches() *MatchesMatchExpression

func (*MatchExpression) GetNot

func (x *MatchExpression) GetNot() *MatchExpression

func (*MatchExpression) GetVariant

func (m *MatchExpression) GetVariant() isMatchExpression_Variant

func (*MatchExpression) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*MatchExpression) MarshalToSizedBufferVT added in v2.7.0

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

func (*MatchExpression) MarshalToVT added in v2.7.0

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

func (*MatchExpression) MarshalVT added in v2.7.0

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

func (*MatchExpression) ProtoMessage

func (*MatchExpression) ProtoMessage()

func (*MatchExpression) ProtoReflect

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

func (*MatchExpression) Reset

func (x *MatchExpression) Reset()

func (*MatchExpression) SizeVT added in v2.7.0

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

func (*MatchExpression) String

func (x *MatchExpression) String() string

func (*MatchExpression) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*MatchExpression) UnmarshalVT added in v2.7.0

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

func (*MatchExpression) Validate

func (m *MatchExpression) Validate() error

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

func (*MatchExpression) ValidateAll

func (m *MatchExpression) ValidateAll() error

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

type MatchExpressionMultiError

type MatchExpressionMultiError []error

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

func (MatchExpressionMultiError) AllErrors

func (m MatchExpressionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MatchExpressionMultiError) Error

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

type MatchExpressionValidationError

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

MatchExpressionValidationError is the validation error returned by MatchExpression.Validate if the designated constraints aren't met.

func (MatchExpressionValidationError) Cause

Cause function returns cause value.

func (MatchExpressionValidationError) Error

Error satisfies the builtin error interface

func (MatchExpressionValidationError) ErrorName

func (e MatchExpressionValidationError) ErrorName() string

ErrorName returns error name.

func (MatchExpressionValidationError) Field

Field function returns field value.

func (MatchExpressionValidationError) Key

Key function returns key value.

func (MatchExpressionValidationError) Reason

Reason function returns reason value.

type MatchExpression_All

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

func (*MatchExpression_All) MarshalToSizedBufferVT added in v2.7.0

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

func (*MatchExpression_All) MarshalToVT added in v2.7.0

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

func (*MatchExpression_All) SizeVT added in v2.7.0

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

type MatchExpression_Any

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

func (*MatchExpression_Any) MarshalToSizedBufferVT added in v2.7.0

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

func (*MatchExpression_Any) MarshalToVT added in v2.7.0

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

func (*MatchExpression_Any) SizeVT added in v2.7.0

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

type MatchExpression_LabelEquals

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

func (*MatchExpression_LabelEquals) MarshalToSizedBufferVT added in v2.7.0

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

func (*MatchExpression_LabelEquals) MarshalToVT added in v2.7.0

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

func (*MatchExpression_LabelEquals) SizeVT added in v2.7.0

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

type MatchExpression_LabelExists

type MatchExpression_LabelExists struct {
	// The expression is true when label with given name exists.
	LabelExists string `protobuf:"bytes,4,opt,name=label_exists,json=labelExists,proto3,oneof"`
}

func (*MatchExpression_LabelExists) MarshalToSizedBufferVT added in v2.7.0

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

func (*MatchExpression_LabelExists) MarshalToVT added in v2.7.0

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

func (*MatchExpression_LabelExists) SizeVT added in v2.7.0

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

type MatchExpression_LabelMatches

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

func (*MatchExpression_LabelMatches) MarshalToSizedBufferVT added in v2.7.0

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

func (*MatchExpression_LabelMatches) MarshalToVT added in v2.7.0

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

func (*MatchExpression_LabelMatches) SizeVT added in v2.7.0

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

type MatchExpression_List

type MatchExpression_List struct {

	// List of sub expressions of the match expression.
	Of []*MatchExpression `protobuf:"bytes,1,rep,name=of,proto3" json:"of,omitempty"`
	// contains filtered or unexported fields
}

List of MatchExpressions that is used for all or any matching

for example, `{any: {of: [expr1, expr2]}}`.

func (*MatchExpression_List) Descriptor deprecated

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

Deprecated: Use MatchExpression_List.ProtoReflect.Descriptor instead.

func (*MatchExpression_List) GetOf

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

func (*MatchExpression_List) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*MatchExpression_List) MarshalToSizedBufferVT added in v2.7.0

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

func (*MatchExpression_List) MarshalToVT added in v2.7.0

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

func (*MatchExpression_List) MarshalVT added in v2.7.0

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

func (*MatchExpression_List) ProtoMessage

func (*MatchExpression_List) ProtoMessage()

func (*MatchExpression_List) ProtoReflect

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

func (*MatchExpression_List) Reset

func (x *MatchExpression_List) Reset()

func (*MatchExpression_List) SizeVT added in v2.7.0

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

func (*MatchExpression_List) String

func (x *MatchExpression_List) String() string

func (*MatchExpression_List) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*MatchExpression_List) UnmarshalVT added in v2.7.0

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

func (*MatchExpression_List) Validate

func (m *MatchExpression_List) Validate() error

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

func (*MatchExpression_List) ValidateAll

func (m *MatchExpression_List) ValidateAll() error

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

type MatchExpression_ListMultiError

type MatchExpression_ListMultiError []error

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

func (MatchExpression_ListMultiError) AllErrors

func (m MatchExpression_ListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MatchExpression_ListMultiError) Error

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

type MatchExpression_ListValidationError

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

MatchExpression_ListValidationError is the validation error returned by MatchExpression_List.Validate if the designated constraints aren't met.

func (MatchExpression_ListValidationError) Cause

Cause function returns cause value.

func (MatchExpression_ListValidationError) Error

Error satisfies the builtin error interface

func (MatchExpression_ListValidationError) ErrorName

ErrorName returns error name.

func (MatchExpression_ListValidationError) Field

Field function returns field value.

func (MatchExpression_ListValidationError) Key

Key function returns key value.

func (MatchExpression_ListValidationError) Reason

Reason function returns reason value.

type MatchExpression_Not

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

func (*MatchExpression_Not) MarshalToSizedBufferVT added in v2.7.0

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

func (*MatchExpression_Not) MarshalToVT added in v2.7.0

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

func (*MatchExpression_Not) SizeVT added in v2.7.0

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

type MatchesMatchExpression

type MatchesMatchExpression struct {

	// Name of the label to match the regular expression.
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty" validate:"required"` // @gotags: validate:"required"
	// Regular expression that should match the label value.
	// It uses [Go's regular expression syntax](https://github.com/google/re2/wiki/Syntax).
	Regex string `protobuf:"bytes,2,opt,name=regex,proto3" json:"regex,omitempty" validate:"required"` // @gotags: validate:"required"
	// contains filtered or unexported fields
}

Label selector expression of the form `label matches regex`.

func (*MatchesMatchExpression) Descriptor deprecated

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

Deprecated: Use MatchesMatchExpression.ProtoReflect.Descriptor instead.

func (*MatchesMatchExpression) GetLabel

func (x *MatchesMatchExpression) GetLabel() string

func (*MatchesMatchExpression) GetRegex

func (x *MatchesMatchExpression) GetRegex() string

func (*MatchesMatchExpression) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*MatchesMatchExpression) MarshalToSizedBufferVT added in v2.7.0

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

func (*MatchesMatchExpression) MarshalToVT added in v2.7.0

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

func (*MatchesMatchExpression) MarshalVT added in v2.7.0

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

func (*MatchesMatchExpression) ProtoMessage

func (*MatchesMatchExpression) ProtoMessage()

func (*MatchesMatchExpression) ProtoReflect

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

func (*MatchesMatchExpression) Reset

func (x *MatchesMatchExpression) Reset()

func (*MatchesMatchExpression) SizeVT added in v2.7.0

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

func (*MatchesMatchExpression) String

func (x *MatchesMatchExpression) String() string

func (*MatchesMatchExpression) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*MatchesMatchExpression) UnmarshalVT added in v2.7.0

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

func (*MatchesMatchExpression) Validate

func (m *MatchesMatchExpression) Validate() error

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

func (*MatchesMatchExpression) ValidateAll

func (m *MatchesMatchExpression) ValidateAll() error

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

type MatchesMatchExpressionMultiError

type MatchesMatchExpressionMultiError []error

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

func (MatchesMatchExpressionMultiError) AllErrors

func (m MatchesMatchExpressionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MatchesMatchExpressionMultiError) Error

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

type MatchesMatchExpressionValidationError

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

MatchesMatchExpressionValidationError is the validation error returned by MatchesMatchExpression.Validate if the designated constraints aren't met.

func (MatchesMatchExpressionValidationError) Cause

Cause function returns cause value.

func (MatchesMatchExpressionValidationError) Error

Error satisfies the builtin error interface

func (MatchesMatchExpressionValidationError) ErrorName

ErrorName returns error name.

func (MatchesMatchExpressionValidationError) Field

Field function returns field value.

func (MatchesMatchExpressionValidationError) Key

Key function returns key value.

func (MatchesMatchExpressionValidationError) Reason

Reason function returns reason value.

type Max

type Max struct {

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

Takes a list of input signals and emits the signal with the maximum value

Max: output = max([]inputs).

func (*Max) 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 added in v2.7.0

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

func (*Max) MarshalToVT added in v2.7.0

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

func (*Max) MarshalVT added in v2.7.0

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

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

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

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

func (*Max_Ins) MarshalToVT added in v2.7.0

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

func (*Max_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*Max_Outs) MarshalToVT added in v2.7.0

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

func (*Max_Outs) MarshalVT added in v2.7.0

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

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

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

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

func (*Min) MarshalToVT added in v2.7.0

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

func (*Min) MarshalVT added in v2.7.0

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

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

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

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

func (*Min_Ins) MarshalToVT added in v2.7.0

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

func (*Min_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*Min_Outs) MarshalToVT added in v2.7.0

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

func (*Min_Outs) MarshalVT added in v2.7.0

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

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

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"
	// Name of the nested circuit component. This name is displayed by graph visualization tools.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Short description of the nested circuit component. This description is displayed by graph visualization tools.
	ShortDescription string `protobuf:"bytes,5,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
	// contains filtered or unexported fields
}

Nested circuit defines a sub-circuit as a high-level component. It consists of a list of components and a map of input and output ports.

func (*NestedCircuit) Descriptor deprecated

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

Deprecated: Use NestedCircuit.ProtoReflect.Descriptor instead.

func (*NestedCircuit) GetComponents

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

func (*NestedCircuit) GetInPortsMap

func (x *NestedCircuit) GetInPortsMap() map[string]*InPort

func (*NestedCircuit) GetName

func (x *NestedCircuit) GetName() string

func (*NestedCircuit) GetOutPortsMap

func (x *NestedCircuit) GetOutPortsMap() map[string]*OutPort

func (*NestedCircuit) GetShortDescription

func (x *NestedCircuit) GetShortDescription() string

func (*NestedCircuit) MarshalJSON

func (msg *NestedCircuit) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*NestedCircuit) MarshalToSizedBufferVT added in v2.7.0

func (m *NestedCircuit) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NestedCircuit) MarshalToVT added in v2.7.0

func (m *NestedCircuit) MarshalToVT(dAtA []byte) (int, error)

func (*NestedCircuit) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *NestedSignalEgress) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NestedSignalEgress) MarshalToVT added in v2.7.0

func (m *NestedSignalEgress) MarshalToVT(dAtA []byte) (int, error)

func (*NestedSignalEgress) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *NestedSignalEgress_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NestedSignalEgress_Ins) MarshalToVT added in v2.7.0

func (m *NestedSignalEgress_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*NestedSignalEgress_Ins) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *NestedSignalIngress) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NestedSignalIngress) MarshalToVT added in v2.7.0

func (m *NestedSignalIngress) MarshalToVT(dAtA []byte) (int, error)

func (*NestedSignalIngress) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *NestedSignalIngress_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NestedSignalIngress_Outs) MarshalToVT added in v2.7.0

func (m *NestedSignalIngress_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*NestedSignalIngress_Outs) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *Or) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Or) MarshalToVT added in v2.7.0

func (m *Or) MarshalToVT(dAtA []byte) (int, error)

func (*Or) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *Or_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Or_Ins) MarshalToVT added in v2.7.0

func (m *Or_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Or_Ins) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *Or_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Or_Outs) MarshalToVT added in v2.7.0

func (m *Or_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*Or_Outs) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *OutPort) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*OutPort) MarshalToVT added in v2.7.0

func (m *OutPort) MarshalToVT(dAtA []byte) (int, error)

func (*OutPort) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 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 added in v2.7.0

func (m *PathTemplateMatcher) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PathTemplateMatcher) MarshalToVT added in v2.7.0

func (m *PathTemplateMatcher) MarshalToVT(dAtA []byte) (int, error)

func (*PathTemplateMatcher) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.1.1

func (x *PeriodicDecrease) GetPeriod() *durationpb.Duration

func (*PeriodicDecrease) GetScaleInPercentage added in v2.1.1

func (x *PeriodicDecrease) GetScaleInPercentage() float64

func (*PeriodicDecrease) MarshalJSON

func (msg *PeriodicDecrease) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PeriodicDecrease) MarshalToSizedBufferVT added in v2.7.0

func (m *PeriodicDecrease) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PeriodicDecrease) MarshalToVT added in v2.7.0

func (m *PeriodicDecrease) MarshalToVT(dAtA []byte) (int, error)

func (*PeriodicDecrease) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *PodScaler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PodScaler) MarshalToVT added in v2.7.0

func (m *PodScaler) MarshalToVT(dAtA []byte) (int, error)

func (*PodScaler) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *PodScaler_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PodScaler_Ins) MarshalToVT added in v2.7.0

func (m *PodScaler_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*PodScaler_Ins) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *PodScaler_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PodScaler_Outs) MarshalToVT added in v2.7.0

func (m *PodScaler_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*PodScaler_Outs) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *Policies) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Policies) MarshalToVT added in v2.7.0

func (m *Policies) MarshalToVT(dAtA []byte) (int, error)

func (*Policies) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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"`
	// Resources (such as Flux Meters, Classifiers) to setup.
	Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

Policy expresses observability-driven control logic.

:::info

See also [Policy overview](/concepts/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 added in v2.7.0

func (m *Policy) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Policy) MarshalToVT added in v2.7.0

func (m *Policy) MarshalToVT(dAtA []byte) (int, error)

func (*Policy) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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) (*emptypb.Empty, error)
	// PostDynamicConfig creates/updates dynamic configuration based on the provided request.
	PostDynamicConfig(ctx context.Context, in *PostDynamicConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeletePolicy removes a policy with the specified name.
	DeletePolicy(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	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) (*emptypb.Empty, error)
	// PostDynamicConfig creates/updates dynamic configuration based on the provided request.
	PostDynamicConfig(context.Context, *PostDynamicConfigRequest) (*emptypb.Empty, error)
	// DeletePolicy removes a policy with the specified name.
	DeletePolicy(context.Context, *DeletePolicyRequest) (*emptypb.Empty, error)
	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 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 added in v2.7.0

func (m *PostDynamicConfigRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PostDynamicConfigRequest) MarshalToVT added in v2.7.0

func (m *PostDynamicConfigRequest) MarshalToVT(dAtA []byte) (int, error)

func (*PostDynamicConfigRequest) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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/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](/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 added in v2.7.0

func (m *PromQL) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PromQL) MarshalToVT added in v2.7.0

func (m *PromQL) MarshalToVT(dAtA []byte) (int, error)

func (*PromQL) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *PromQL_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PromQL_Outs) MarshalToVT added in v2.7.0

func (m *PromQL_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*PromQL_Outs) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *PulseGenerator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PulseGenerator) MarshalToVT added in v2.7.0

func (m *PulseGenerator) MarshalToVT(dAtA []byte) (int, error)

func (*PulseGenerator) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *PulseGenerator_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PulseGenerator_Outs) MarshalToVT added in v2.7.0

func (m *PulseGenerator_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*PulseGenerator_Outs) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *Query) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Query) MarshalToVT added in v2.7.0

func (m *Query) MarshalToVT(dAtA []byte) (int, error)

func (*Query) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *Query_Promql) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Query_Promql) MarshalToVT added in v2.7.0

func (m *Query_Promql) MarshalToVT(dAtA []byte) (int, error)

func (*Query_Promql) SizeVT added in v2.7.0

func (m *Query_Promql) SizeVT() (n int)

type QuotaScheduler added in v2.2.0

type QuotaScheduler struct {
	InPorts     *RateLimiter_Ins        `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty" validate:"required"`             // @gotags: validate:"required"
	Selectors   []*Selector             `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required,gt=0,dive"`              // @gotags: validate:"required,gt=0,dive"
	RateLimiter *RateLimiter_Parameters `protobuf:"bytes,3,opt,name=rate_limiter,json=rateLimiter,proto3" json:"rate_limiter,omitempty" validate:"required"` // @gotags: validate:"required"
	Scheduler   *Scheduler              `protobuf:"bytes,4,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
	// contains filtered or unexported fields
}

Schedules the traffic based on token-bucket based quotas.

func (*QuotaScheduler) Descriptor deprecated added in v2.2.0

func (*QuotaScheduler) Descriptor() ([]byte, []int)

Deprecated: Use QuotaScheduler.ProtoReflect.Descriptor instead.

func (*QuotaScheduler) GetInPorts added in v2.2.0

func (x *QuotaScheduler) GetInPorts() *RateLimiter_Ins

func (*QuotaScheduler) GetRateLimiter added in v2.2.0

func (x *QuotaScheduler) GetRateLimiter() *RateLimiter_Parameters

func (*QuotaScheduler) GetScheduler added in v2.2.0

func (x *QuotaScheduler) GetScheduler() *Scheduler

func (*QuotaScheduler) GetSelectors added in v2.2.0

func (x *QuotaScheduler) GetSelectors() []*Selector

func (*QuotaScheduler) MarshalJSON added in v2.2.0

func (msg *QuotaScheduler) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*QuotaScheduler) MarshalToSizedBufferVT added in v2.7.0

func (m *QuotaScheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QuotaScheduler) MarshalToVT added in v2.7.0

func (m *QuotaScheduler) MarshalToVT(dAtA []byte) (int, error)

func (*QuotaScheduler) MarshalVT added in v2.7.0

func (m *QuotaScheduler) MarshalVT() (dAtA []byte, err error)

func (*QuotaScheduler) ProtoMessage added in v2.2.0

func (*QuotaScheduler) ProtoMessage()

func (*QuotaScheduler) ProtoReflect added in v2.2.0

func (x *QuotaScheduler) ProtoReflect() protoreflect.Message

func (*QuotaScheduler) Reset added in v2.2.0

func (x *QuotaScheduler) Reset()

func (*QuotaScheduler) SizeVT added in v2.7.0

func (m *QuotaScheduler) SizeVT() (n int)

func (*QuotaScheduler) String added in v2.2.0

func (x *QuotaScheduler) String() string

func (*QuotaScheduler) UnmarshalJSON added in v2.2.0

func (msg *QuotaScheduler) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*QuotaScheduler) UnmarshalVT added in v2.7.0

func (m *QuotaScheduler) UnmarshalVT(dAtA []byte) error

func (*QuotaScheduler) Validate added in v2.2.0

func (m *QuotaScheduler) Validate() error

Validate checks the field values on QuotaScheduler with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QuotaScheduler) ValidateAll added in v2.2.0

func (m *QuotaScheduler) ValidateAll() error

ValidateAll checks the field values on QuotaScheduler with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QuotaSchedulerMultiError, or nil if none found.

type QuotaSchedulerMultiError added in v2.2.0

type QuotaSchedulerMultiError []error

QuotaSchedulerMultiError is an error wrapping multiple validation errors returned by QuotaScheduler.ValidateAll() if the designated constraints aren't met.

func (QuotaSchedulerMultiError) AllErrors added in v2.2.0

func (m QuotaSchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QuotaSchedulerMultiError) Error added in v2.2.0

func (m QuotaSchedulerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type QuotaSchedulerValidationError added in v2.2.0

type QuotaSchedulerValidationError struct {
	// contains filtered or unexported fields
}

QuotaSchedulerValidationError is the validation error returned by QuotaScheduler.Validate if the designated constraints aren't met.

func (QuotaSchedulerValidationError) Cause added in v2.2.0

Cause function returns cause value.

func (QuotaSchedulerValidationError) Error added in v2.2.0

Error satisfies the builtin error interface

func (QuotaSchedulerValidationError) ErrorName added in v2.2.0

func (e QuotaSchedulerValidationError) ErrorName() string

ErrorName returns error name.

func (QuotaSchedulerValidationError) Field added in v2.2.0

Field function returns field value.

func (QuotaSchedulerValidationError) Key added in v2.2.0

Key function returns key value.

func (QuotaSchedulerValidationError) Reason added in v2.2.0

Reason function returns reason value.

type RateLimiter

type RateLimiter struct {

	// Input ports for the RateLimiter component
	InPorts *RateLimiter_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty" validate:"required"` // @gotags: validate:"required"
	// Parameters for the RateLimiter component
	Parameters *RateLimiter_Parameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty" validate:"required"` // @gotags: validate:"required"
	// Selectors for the component.
	Selectors []*Selector `protobuf:"bytes,3,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required,gt=0,dive"` // @gotags: validate:"required,gt=0,dive"
	// contains filtered or unexported fields
}

Limits the traffic on a control point to specified rate

:::info

See also [_Rate Limiter_ overview](/concepts/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) GetParameters

func (x *RateLimiter) GetParameters() *RateLimiter_Parameters

func (*RateLimiter) GetSelectors

func (x *RateLimiter) GetSelectors() []*Selector

func (*RateLimiter) MarshalJSON

func (msg *RateLimiter) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RateLimiter) MarshalToSizedBufferVT added in v2.7.0

func (m *RateLimiter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RateLimiter) MarshalToVT added in v2.7.0

func (m *RateLimiter) MarshalToVT(dAtA []byte) (int, error)

func (*RateLimiter) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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.
	BucketCapacity *InPort `protobuf:"bytes,1,opt,name=bucket_capacity,json=bucketCapacity,proto3" json:"bucket_capacity,omitempty" validate:"required"` // @gotags: validate:"required"
	// Number of tokens to fill within an `interval`.
	FillAmount *InPort `protobuf:"bytes,2,opt,name=fill_amount,json=fillAmount,proto3" json:"fill_amount,omitempty" validate:"required"` // @gotags: validate:"required"
	// PassThrough port determines whether all requests
	PassThrough *InPort `protobuf:"bytes,3,opt,name=pass_through,json=passThrough,proto3" json:"pass_through,omitempty"`
	// contains filtered or unexported fields
}

Inputs for the RateLimiter component

func (*RateLimiter_Ins) Descriptor deprecated

func (*RateLimiter_Ins) Descriptor() ([]byte, []int)

Deprecated: Use RateLimiter_Ins.ProtoReflect.Descriptor instead.

func (*RateLimiter_Ins) GetBucketCapacity added in v2.2.0

func (x *RateLimiter_Ins) GetBucketCapacity() *InPort

func (*RateLimiter_Ins) GetFillAmount added in v2.2.0

func (x *RateLimiter_Ins) GetFillAmount() *InPort

func (*RateLimiter_Ins) GetPassThrough added in v2.2.0

func (x *RateLimiter_Ins) GetPassThrough() *InPort

func (*RateLimiter_Ins) MarshalJSON

func (msg *RateLimiter_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RateLimiter_Ins) MarshalToSizedBufferVT added in v2.7.0

func (m *RateLimiter_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RateLimiter_Ins) MarshalToVT added in v2.7.0

func (m *RateLimiter_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*RateLimiter_Ins) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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_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.
	LabelKey string `protobuf:"bytes,1,opt,name=label_key,json=labelKey,proto3" json:"label_key,omitempty"`
	// Flow label key that will be used to override the number of tokens
	// for this request.
	// This is an optional parameter and takes highest precedence
	// when assigning tokens to a request.
	// The label value must be a valid uint64 number.
	TokensLabelKey string `protobuf:"bytes,2,opt,name=tokens_label_key,json=tokensLabelKey,proto3" json:"tokens_label_key,omitempty" default:"tokens"` // @gotags: default:"tokens"
	// Interval defines the time interval in which the token bucket
	// will fill tokens specified by `fill_amount` signal.
	// 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"`
	// 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 added in v2.2.0

func (x *RateLimiter_Parameters) GetContinuousFill() bool

func (*RateLimiter_Parameters) GetInterval added in v2.2.0

func (x *RateLimiter_Parameters) GetInterval() *durationpb.Duration

func (*RateLimiter_Parameters) GetLabelKey

func (x *RateLimiter_Parameters) GetLabelKey() string

func (*RateLimiter_Parameters) GetLazySync

func (*RateLimiter_Parameters) GetMaxIdleTime added in v2.2.0

func (x *RateLimiter_Parameters) GetMaxIdleTime() *durationpb.Duration

func (*RateLimiter_Parameters) GetTokensLabelKey

func (x *RateLimiter_Parameters) GetTokensLabelKey() string

func (*RateLimiter_Parameters) MarshalJSON

func (msg *RateLimiter_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RateLimiter_Parameters) MarshalToSizedBufferVT added in v2.7.0

func (m *RateLimiter_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RateLimiter_Parameters) MarshalToVT added in v2.7.0

func (m *RateLimiter_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*RateLimiter_Parameters) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *RateLimiter_Parameters_LazySync) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RateLimiter_Parameters_LazySync) MarshalToVT added in v2.7.0

func (m *RateLimiter_Parameters_LazySync) MarshalToVT(dAtA []byte) (int, error)

func (*RateLimiter_Parameters_LazySync) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 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/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 added in v2.7.0

func (m *Rego) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Rego) MarshalToVT added in v2.7.0

func (m *Rego) MarshalToVT(dAtA []byte) (int, error)

func (*Rego) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 ARC extension](/arc/extension.md), telemetry enabled
	// labels are sent to FluxNinja ARC for observability. Telemetry should be disabled for
	// sensitive labels.
	//
	// :::
	Telemetry bool `protobuf:"varint,1,opt,name=telemetry,proto3" json:"telemetry,omitempty" default:"true"` // @gotags: default:"true"
	// contains filtered or unexported fields
}

func (*Rego_LabelProperties) 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 added in v2.7.0

func (m *Rego_LabelProperties) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Rego_LabelProperties) MarshalToVT added in v2.7.0

func (m *Rego_LabelProperties) MarshalToVT(dAtA []byte) (int, error)

func (*Rego_LabelProperties) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 `protobuf:"bytes,1,rep,name=telemetry_collectors,json=telemetryCollectors,proto3" json:"telemetry_collectors,omitempty"`
	// _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 added in v2.6.0

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 added in v2.7.0

func (m *Resources) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Resources) MarshalToVT added in v2.7.0

func (m *Resources) MarshalToVT(dAtA []byte) (int, error)

func (*Resources) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 ARC extension](/arc/extension.md), telemetry enabled
	// labels are sent to FluxNinja ARC for observability. Telemetry should be disabled for
	// sensitive labels.
	//
	// :::
	Telemetry bool `protobuf:"varint,3,opt,name=telemetry,proto3" json:"telemetry,omitempty" default:"true"` // @gotags: default:"true"
	// contains filtered or unexported fields
}

Rule describes a single classification Rule

Example of a JSON extractor: ```yaml extractor:

json:
  from: request.http.body
  pointer: /user/name

```

func (*Rule) 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 added in v2.7.0

func (m *Rule) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Rule) MarshalToVT added in v2.7.0

func (m *Rule) MarshalToVT(dAtA []byte) (int, error)

func (*Rule) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *Rule_Extractor) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Rule_Extractor) MarshalToVT added in v2.7.0

func (m *Rule_Extractor) MarshalToVT(dAtA []byte) (int, error)

func (*Rule_Extractor) SizeVT added in v2.7.0

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 added in v2.7.0

func (m *SMA) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SMA) MarshalToVT added in v2.7.0

func (m *SMA) MarshalToVT(dAtA []byte) (int, error)

func (*SMA) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *SMA_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SMA_Ins) MarshalToVT added in v2.7.0

func (m *SMA_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*SMA_Ins) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *SMA_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SMA_Outs) MarshalToVT added in v2.7.0

func (m *SMA_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*SMA_Outs) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *SMA_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SMA_Parameters) MarshalToVT added in v2.7.0

func (m *SMA_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*SMA_Parameters) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.5.0

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"`
	// 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/load-ramp.md#sampler).

:::

func (*Sampler) Descriptor deprecated added in v2.5.0

func (*Sampler) Descriptor() ([]byte, []int)

Deprecated: Use Sampler.ProtoReflect.Descriptor instead.

func (*Sampler) GetInPorts added in v2.5.0

func (x *Sampler) GetInPorts() *Sampler_Ins

func (*Sampler) GetParameters added in v2.5.0

func (x *Sampler) GetParameters() *Sampler_Parameters

func (*Sampler) GetPassThroughLabelValues added in v2.5.0

func (x *Sampler) GetPassThroughLabelValues() []string

func (*Sampler) GetPassThroughLabelValuesConfigKey added in v2.5.0

func (x *Sampler) GetPassThroughLabelValuesConfigKey() string

func (*Sampler) MarshalJSON added in v2.5.0

func (msg *Sampler) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Sampler) MarshalToSizedBufferVT added in v2.7.0

func (m *Sampler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Sampler) MarshalToVT added in v2.7.0

func (m *Sampler) MarshalToVT(dAtA []byte) (int, error)

func (*Sampler) MarshalVT added in v2.7.0

func (m *Sampler) MarshalVT() (dAtA []byte, err error)

func (*Sampler) ProtoMessage added in v2.5.0

func (*Sampler) ProtoMessage()

func (*Sampler) ProtoReflect added in v2.5.0

func (x *Sampler) ProtoReflect() protoreflect.Message

func (*Sampler) Reset added in v2.5.0

func (x *Sampler) Reset()

func (*Sampler) SizeVT added in v2.7.0

func (m *Sampler) SizeVT() (n int)

func (*Sampler) String added in v2.5.0

func (x *Sampler) String() string

func (*Sampler) UnmarshalJSON added in v2.5.0

func (msg *Sampler) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Sampler) UnmarshalVT added in v2.7.0

func (m *Sampler) UnmarshalVT(dAtA []byte) error

func (*Sampler) Validate added in v2.5.0

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 added in v2.5.0

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 added in v2.5.0

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 added in v2.5.0

func (m SamplerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SamplerMultiError) Error added in v2.5.0

func (m SamplerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SamplerValidationError added in v2.5.0

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 added in v2.5.0

func (e SamplerValidationError) Cause() error

Cause function returns cause value.

func (SamplerValidationError) Error added in v2.5.0

func (e SamplerValidationError) Error() string

Error satisfies the builtin error interface

func (SamplerValidationError) ErrorName added in v2.5.0

func (e SamplerValidationError) ErrorName() string

ErrorName returns error name.

func (SamplerValidationError) Field added in v2.5.0

func (e SamplerValidationError) Field() string

Field function returns field value.

func (SamplerValidationError) Key added in v2.5.0

func (e SamplerValidationError) Key() bool

Key function returns key value.

func (SamplerValidationError) Reason added in v2.5.0

func (e SamplerValidationError) Reason() string

Reason function returns reason value.

type Sampler_Ins added in v2.5.0

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 added in v2.5.0

func (*Sampler_Ins) Descriptor() ([]byte, []int)

Deprecated: Use Sampler_Ins.ProtoReflect.Descriptor instead.

func (*Sampler_Ins) GetAcceptPercentage added in v2.5.0

func (x *Sampler_Ins) GetAcceptPercentage() *InPort

func (*Sampler_Ins) MarshalJSON added in v2.5.0

func (msg *Sampler_Ins) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Sampler_Ins) MarshalToSizedBufferVT added in v2.7.0

func (m *Sampler_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Sampler_Ins) MarshalToVT added in v2.7.0

func (m *Sampler_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Sampler_Ins) MarshalVT added in v2.7.0

func (m *Sampler_Ins) MarshalVT() (dAtA []byte, err error)

func (*Sampler_Ins) ProtoMessage added in v2.5.0

func (*Sampler_Ins) ProtoMessage()

func (*Sampler_Ins) ProtoReflect added in v2.5.0

func (x *Sampler_Ins) ProtoReflect() protoreflect.Message

func (*Sampler_Ins) Reset added in v2.5.0

func (x *Sampler_Ins) Reset()

func (*Sampler_Ins) SizeVT added in v2.7.0

func (m *Sampler_Ins) SizeVT() (n int)

func (*Sampler_Ins) String added in v2.5.0

func (x *Sampler_Ins) String() string

func (*Sampler_Ins) UnmarshalJSON added in v2.5.0

func (msg *Sampler_Ins) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Sampler_Ins) UnmarshalVT added in v2.7.0

func (m *Sampler_Ins) UnmarshalVT(dAtA []byte) error

func (*Sampler_Ins) Validate added in v2.5.0

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 added in v2.5.0

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 added in v2.5.0

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 added in v2.5.0

func (m Sampler_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Sampler_InsMultiError) Error added in v2.5.0

func (m Sampler_InsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Sampler_InsValidationError added in v2.5.0

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 added in v2.5.0

Cause function returns cause value.

func (Sampler_InsValidationError) Error added in v2.5.0

Error satisfies the builtin error interface

func (Sampler_InsValidationError) ErrorName added in v2.5.0

func (e Sampler_InsValidationError) ErrorName() string

ErrorName returns error name.

func (Sampler_InsValidationError) Field added in v2.5.0

Field function returns field value.

func (Sampler_InsValidationError) Key added in v2.5.0

Key function returns key value.

func (Sampler_InsValidationError) Reason added in v2.5.0

Reason function returns reason value.

type Sampler_Parameters added in v2.5.0

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.
	LabelKey string `protobuf:"bytes,2,opt,name=label_key,json=labelKey,proto3" json:"label_key,omitempty"`
	// Selectors for the component.
	Selectors []*Selector `protobuf:"bytes,3,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required,gt=0,dive"` // @gotags: validate:"required,gt=0,dive"
	// contains filtered or unexported fields
}

func (*Sampler_Parameters) Descriptor deprecated added in v2.5.0

func (*Sampler_Parameters) Descriptor() ([]byte, []int)

Deprecated: Use Sampler_Parameters.ProtoReflect.Descriptor instead.

func (*Sampler_Parameters) GetLabelKey added in v2.5.0

func (x *Sampler_Parameters) GetLabelKey() string

func (*Sampler_Parameters) GetSelectors added in v2.5.0

func (x *Sampler_Parameters) GetSelectors() []*Selector

func (*Sampler_Parameters) MarshalJSON added in v2.5.0

func (msg *Sampler_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Sampler_Parameters) MarshalToSizedBufferVT added in v2.7.0

func (m *Sampler_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Sampler_Parameters) MarshalToVT added in v2.7.0

func (m *Sampler_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*Sampler_Parameters) MarshalVT added in v2.7.0

func (m *Sampler_Parameters) MarshalVT() (dAtA []byte, err error)

func (*Sampler_Parameters) ProtoMessage added in v2.5.0

func (*Sampler_Parameters) ProtoMessage()

func (*Sampler_Parameters) ProtoReflect added in v2.5.0

func (x *Sampler_Parameters) ProtoReflect() protoreflect.Message

func (*Sampler_Parameters) Reset added in v2.5.0

func (x *Sampler_Parameters) Reset()

func (*Sampler_Parameters) SizeVT added in v2.7.0

func (m *Sampler_Parameters) SizeVT() (n int)

func (*Sampler_Parameters) String added in v2.5.0

func (x *Sampler_Parameters) String() string

func (*Sampler_Parameters) UnmarshalJSON added in v2.5.0

func (msg *Sampler_Parameters) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Sampler_Parameters) UnmarshalVT added in v2.7.0

func (m *Sampler_Parameters) UnmarshalVT(dAtA []byte) error

func (*Sampler_Parameters) Validate added in v2.5.0

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 added in v2.5.0

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 added in v2.5.0

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 added in v2.5.0

func (m Sampler_ParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Sampler_ParametersMultiError) Error added in v2.5.0

Error returns a concatenation of all the error messages it wraps.

type Sampler_ParametersValidationError added in v2.5.0

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 added in v2.5.0

Cause function returns cause value.

func (Sampler_ParametersValidationError) Error added in v2.5.0

Error satisfies the builtin error interface

func (Sampler_ParametersValidationError) ErrorName added in v2.5.0

ErrorName returns error name.

func (Sampler_ParametersValidationError) Field added in v2.5.0

Field function returns field value.

func (Sampler_ParametersValidationError) Key added in v2.5.0

Key function returns key value.

func (Sampler_ParametersValidationError) Reason added in v2.5.0

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 added in v2.7.0

func (m *ScaleInController) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScaleInController) MarshalToVT added in v2.7.0

func (m *ScaleInController) MarshalToVT(dAtA []byte) (int, error)

func (*ScaleInController) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *ScaleInController_Controller) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScaleInController_Controller) MarshalToVT added in v2.7.0

func (m *ScaleInController_Controller) MarshalToVT(dAtA []byte) (int, error)

func (*ScaleInController_Controller) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *ScaleInController_Controller_Gradient) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScaleInController_Controller_Gradient) MarshalToVT added in v2.7.0

func (m *ScaleInController_Controller_Gradient) MarshalToVT(dAtA []byte) (int, error)

func (*ScaleInController_Controller_Gradient) SizeVT added in v2.7.0

type ScaleInController_Controller_Periodic

type ScaleInController_Controller_Periodic struct {
	Periodic *PeriodicDecrease `protobuf:"bytes,2,opt,name=periodic,proto3,oneof"`
}

func (*ScaleInController_Controller_Periodic) MarshalToSizedBufferVT added in v2.7.0

func (m *ScaleInController_Controller_Periodic) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScaleInController_Controller_Periodic) MarshalToVT added in v2.7.0

func (m *ScaleInController_Controller_Periodic) MarshalToVT(dAtA []byte) (int, error)

func (*ScaleInController_Controller_Periodic) SizeVT added in v2.7.0

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 added in v2.7.0

func (m *ScaleOutController) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScaleOutController) MarshalToVT added in v2.7.0

func (m *ScaleOutController) MarshalToVT(dAtA []byte) (int, error)

func (*ScaleOutController) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *ScaleOutController_Controller) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScaleOutController_Controller) MarshalToVT added in v2.7.0

func (m *ScaleOutController_Controller) MarshalToVT(dAtA []byte) (int, error)

func (*ScaleOutController_Controller) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *ScaleOutController_Controller_Gradient) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScaleOutController_Controller_Gradient) MarshalToVT added in v2.7.0

func (m *ScaleOutController_Controller_Gradient) MarshalToVT(dAtA []byte) (int, error)

func (*ScaleOutController_Controller_Gradient) SizeVT added in v2.7.0

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/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 flow.
	// * The value associated with this key must be a valid uint64 number.
	// * If this parameter is not provided, the number of tokens for the flow will be determined by the matched workload's token count.
	TokensLabelKey string `protobuf:"bytes,7,opt,name=tokens_label_key,json=tokensLabelKey,proto3" json:"tokens_label_key,omitempty" default:"tokens"` // @gotags: default:"tokens"
	// * 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 uint64 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.
	PrioritiesLabelKey string `` // @gotags: default:"priorities"
	/* 138-byte string literal not displayed */
	// 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) GetPrioritiesLabelKey added in v2.10.0

func (x *Scheduler) GetPrioritiesLabelKey() string

func (*Scheduler) GetTokensLabelKey

func (x *Scheduler) GetTokensLabelKey() string

func (*Scheduler) GetWorkloads

func (x *Scheduler) GetWorkloads() []*Scheduler_Workload

func (*Scheduler) MarshalJSON

func (msg *Scheduler) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Scheduler) MarshalToSizedBufferVT added in v2.7.0

func (m *Scheduler) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Scheduler) MarshalToVT added in v2.7.0

func (m *Scheduler) MarshalToVT(dAtA []byte) (int, error)

func (*Scheduler) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.3.0

func (x *Scheduler_Workload) GetName() string

func (*Scheduler_Workload) GetParameters

func (*Scheduler_Workload) MarshalJSON

func (msg *Scheduler_Workload) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Scheduler_Workload) MarshalToSizedBufferVT added in v2.7.0

func (m *Scheduler_Workload) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Scheduler_Workload) MarshalToVT added in v2.7.0

func (m *Scheduler_Workload) MarshalToVT(dAtA []byte) (int, error)

func (*Scheduler_Workload) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 int64 `protobuf:"varint,2,opt,name=tokens,proto3" json:"tokens,omitempty" validate:"gte=0"` // @gotags: validate:"gte=0"
	// Timeout for the flow in the workload.
	// If timeout is provided on the Check call as well, we pick the minimum of the two.
	// 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/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 added in v2.8.0

func (x *Scheduler_Workload_Parameters) GetQueueTimeout() *durationpb.Duration

func (*Scheduler_Workload_Parameters) GetTokens

func (x *Scheduler_Workload_Parameters) GetTokens() int64

func (*Scheduler_Workload_Parameters) MarshalJSON

func (msg *Scheduler_Workload_Parameters) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Scheduler_Workload_Parameters) MarshalToSizedBufferVT added in v2.7.0

func (m *Scheduler_Workload_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Scheduler_Workload_Parameters) MarshalToVT added in v2.7.0

func (m *Scheduler_Workload_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*Scheduler_Workload_Parameters) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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:"default"` // @gotags: default:"default"
	// 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 added in v2.7.0

func (m *Selector) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Selector) MarshalToVT added in v2.7.0

func (m *Selector) MarshalToVT(dAtA []byte) (int, error)

func (*Selector) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *SignalGenerator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SignalGenerator) MarshalToVT added in v2.7.0

func (m *SignalGenerator) MarshalToVT(dAtA []byte) (int, error)

func (*SignalGenerator) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *SignalGenerator_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SignalGenerator_Ins) MarshalToVT added in v2.7.0

func (m *SignalGenerator_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*SignalGenerator_Ins) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *SignalGenerator_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SignalGenerator_Outs) MarshalToVT added in v2.7.0

func (m *SignalGenerator_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*SignalGenerator_Outs) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *SignalGenerator_Parameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SignalGenerator_Parameters) MarshalToVT added in v2.7.0

func (m *SignalGenerator_Parameters) MarshalToVT(dAtA []byte) (int, error)

func (*SignalGenerator_Parameters) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *SignalGenerator_Parameters_Step) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SignalGenerator_Parameters_Step) MarshalToVT added in v2.7.0

func (m *SignalGenerator_Parameters_Step) MarshalToVT(dAtA []byte) (int, error)

func (*SignalGenerator_Parameters_Step) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *Switcher) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Switcher) MarshalToVT added in v2.7.0

func (m *Switcher) MarshalToVT(dAtA []byte) (int, error)

func (*Switcher) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *Switcher_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Switcher_Ins) MarshalToVT added in v2.7.0

func (m *Switcher_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*Switcher_Ins) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *Switcher_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Switcher_Outs) MarshalToVT added in v2.7.0

func (m *Switcher_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*Switcher_Outs) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *TelemetryCollector) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TelemetryCollector) MarshalToVT added in v2.7.0

func (m *TelemetryCollector) MarshalToVT(dAtA []byte) (int, error)

func (*TelemetryCollector) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *UnaryOperator) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UnaryOperator) MarshalToVT added in v2.7.0

func (m *UnaryOperator) MarshalToVT(dAtA []byte) (int, error)

func (*UnaryOperator) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *UnaryOperator_Ins) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UnaryOperator_Ins) MarshalToVT added in v2.7.0

func (m *UnaryOperator_Ins) MarshalToVT(dAtA []byte) (int, error)

func (*UnaryOperator_Ins) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *UnaryOperator_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UnaryOperator_Outs) MarshalToVT added in v2.7.0

func (m *UnaryOperator_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*UnaryOperator_Outs) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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) DeletePolicy

func (UnimplementedPolicyServiceServer) GetDecisions added in v2.8.0

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"`
	// The paths to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

PostPolicyRequest is a request to create or update Policy.

func (*UpsertPolicyRequest) 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) GetUpdateMask

func (x *UpsertPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpsertPolicyRequest) MarshalJSON

func (msg *UpsertPolicyRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UpsertPolicyRequest) MarshalToSizedBufferVT added in v2.7.0

func (m *UpsertPolicyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpsertPolicyRequest) MarshalToVT added in v2.7.0

func (m *UpsertPolicyRequest) MarshalToVT(dAtA []byte) (int, error)

func (*UpsertPolicyRequest) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 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 added in v2.2.0

func (x *Variable) GetConfigKey() string

func (*Variable) GetConstantOutput added in v2.2.0

func (x *Variable) GetConstantOutput() *ConstantSignal

func (*Variable) GetOutPorts

func (x *Variable) GetOutPorts() *Variable_Outs

func (*Variable) MarshalJSON

func (msg *Variable) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Variable) MarshalToSizedBufferVT added in v2.7.0

func (m *Variable) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Variable) MarshalToVT added in v2.7.0

func (m *Variable) MarshalToVT(dAtA []byte) (int, error)

func (*Variable) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

func (m *Variable_Outs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Variable_Outs) MarshalToVT added in v2.7.0

func (m *Variable_Outs) MarshalToVT(dAtA []byte) (int, error)

func (*Variable_Outs) MarshalVT added in v2.7.0

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 added in v2.7.0

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 added in v2.7.0

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