privatev1

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

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

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

Documentation

Index

Constants

This section is empty.

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 File_aperture_policy_private_v1_autoscale_proto protoreflect.FileDescriptor
View Source
var File_aperture_policy_private_v1_flowcontrol_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConcurrencyLimiter

type ConcurrencyLimiter struct {
	InPorts           *v1.ConcurrencyLimiter_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty" validate:"required"` // @gotags: validate:"required"
	Selectors         []*v1.Selector             `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required,gt=0,dive"`  // @gotags: validate:"required,gt=0,dive"
	ParentComponentId string                     `protobuf:"bytes,3,opt,name=parent_component_id,json=parentComponentId,proto3" json:"parent_component_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ConcurrencyLimiter) Descriptor deprecated

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

Deprecated: Use ConcurrencyLimiter.ProtoReflect.Descriptor instead.

func (*ConcurrencyLimiter) GetInPorts

func (x *ConcurrencyLimiter) GetInPorts() *v1.ConcurrencyLimiter_Ins

func (*ConcurrencyLimiter) GetParentComponentId

func (x *ConcurrencyLimiter) GetParentComponentId() string

func (*ConcurrencyLimiter) GetSelectors

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

func (*ConcurrencyLimiter) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ConcurrencyLimiter) MarshalToSizedBufferVT

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

func (*ConcurrencyLimiter) MarshalToVT

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

func (*ConcurrencyLimiter) MarshalVT

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

func (*ConcurrencyLimiter) ProtoMessage

func (*ConcurrencyLimiter) ProtoMessage()

func (*ConcurrencyLimiter) ProtoReflect

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

func (*ConcurrencyLimiter) Reset

func (x *ConcurrencyLimiter) Reset()

func (*ConcurrencyLimiter) SizeVT

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

func (*ConcurrencyLimiter) String

func (x *ConcurrencyLimiter) String() string

func (*ConcurrencyLimiter) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ConcurrencyLimiter) UnmarshalVT

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

func (*ConcurrencyLimiter) Validate

func (m *ConcurrencyLimiter) Validate() error

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

func (*ConcurrencyLimiter) ValidateAll

func (m *ConcurrencyLimiter) ValidateAll() error

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

type ConcurrencyLimiterMultiError

type ConcurrencyLimiterMultiError []error

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

func (ConcurrencyLimiterMultiError) AllErrors

func (m ConcurrencyLimiterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConcurrencyLimiterMultiError) Error

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

type ConcurrencyLimiterValidationError

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

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

func (ConcurrencyLimiterValidationError) Cause

Cause function returns cause value.

func (ConcurrencyLimiterValidationError) Error

Error satisfies the builtin error interface

func (ConcurrencyLimiterValidationError) ErrorName

ErrorName returns error name.

func (ConcurrencyLimiterValidationError) Field

Field function returns field value.

func (ConcurrencyLimiterValidationError) Key

Key function returns key value.

func (ConcurrencyLimiterValidationError) Reason

Reason function returns reason value.

type ConcurrencyScheduler

type ConcurrencyScheduler struct {
	InPorts           *v1.ConcurrencyLimiter_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty" validate:"required"` // @gotags: validate:"required"
	Selectors         []*v1.Selector             `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required,gt=0,dive"`  // @gotags: validate:"required,gt=0,dive"
	ParentComponentId string                     `protobuf:"bytes,3,opt,name=parent_component_id,json=parentComponentId,proto3" json:"parent_component_id,omitempty"`
	Scheduler         *v1.Scheduler              `protobuf:"bytes,4,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
	// contains filtered or unexported fields
}

func (*ConcurrencyScheduler) Descriptor deprecated

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

Deprecated: Use ConcurrencyScheduler.ProtoReflect.Descriptor instead.

func (*ConcurrencyScheduler) GetInPorts

func (*ConcurrencyScheduler) GetParentComponentId

func (x *ConcurrencyScheduler) GetParentComponentId() string

func (*ConcurrencyScheduler) GetScheduler

func (x *ConcurrencyScheduler) GetScheduler() *v1.Scheduler

func (*ConcurrencyScheduler) GetSelectors

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

func (*ConcurrencyScheduler) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ConcurrencyScheduler) MarshalToSizedBufferVT

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

func (*ConcurrencyScheduler) MarshalToVT

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

func (*ConcurrencyScheduler) MarshalVT

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

func (*ConcurrencyScheduler) ProtoMessage

func (*ConcurrencyScheduler) ProtoMessage()

func (*ConcurrencyScheduler) ProtoReflect

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

func (*ConcurrencyScheduler) Reset

func (x *ConcurrencyScheduler) Reset()

func (*ConcurrencyScheduler) SizeVT

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

func (*ConcurrencyScheduler) String

func (x *ConcurrencyScheduler) String() string

func (*ConcurrencyScheduler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*ConcurrencyScheduler) UnmarshalVT

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

func (*ConcurrencyScheduler) Validate

func (m *ConcurrencyScheduler) Validate() error

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

func (*ConcurrencyScheduler) ValidateAll

func (m *ConcurrencyScheduler) ValidateAll() error

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

type ConcurrencySchedulerMultiError

type ConcurrencySchedulerMultiError []error

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

func (ConcurrencySchedulerMultiError) AllErrors

func (m ConcurrencySchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConcurrencySchedulerMultiError) Error

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

type ConcurrencySchedulerValidationError

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

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

func (ConcurrencySchedulerValidationError) Cause

Cause function returns cause value.

func (ConcurrencySchedulerValidationError) Error

Error satisfies the builtin error interface

func (ConcurrencySchedulerValidationError) ErrorName

ErrorName returns error name.

func (ConcurrencySchedulerValidationError) Field

Field function returns field value.

func (ConcurrencySchedulerValidationError) Key

Key function returns key value.

func (ConcurrencySchedulerValidationError) Reason

Reason function returns reason value.

type LoadActuator

type LoadActuator struct {
	InPorts                    *LoadActuator_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	LoadSchedulerComponentId   string            `` /* 137-byte string literal not displayed */
	Selectors                  []*v1.Selector    `protobuf:"bytes,3,rep,name=selectors,proto3" json:"selectors,omitempty"`
	WorkloadLatencyBasedTokens bool              `` /* 144-byte string literal not displayed */
	Scheduler                  *v1.Scheduler     `protobuf:"bytes,5,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadActuator) Descriptor deprecated

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

Deprecated: Use LoadActuator.ProtoReflect.Descriptor instead.

func (*LoadActuator) GetInPorts

func (x *LoadActuator) GetInPorts() *LoadActuator_Ins

func (*LoadActuator) GetLoadSchedulerComponentId

func (x *LoadActuator) GetLoadSchedulerComponentId() string

func (*LoadActuator) GetScheduler

func (x *LoadActuator) GetScheduler() *v1.Scheduler

func (*LoadActuator) GetSelectors

func (x *LoadActuator) GetSelectors() []*v1.Selector

func (*LoadActuator) GetWorkloadLatencyBasedTokens

func (x *LoadActuator) GetWorkloadLatencyBasedTokens() bool

func (*LoadActuator) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadActuator) MarshalToSizedBufferVT

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

func (*LoadActuator) MarshalToVT

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

func (*LoadActuator) MarshalVT

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

func (*LoadActuator) ProtoMessage

func (*LoadActuator) ProtoMessage()

func (*LoadActuator) ProtoReflect

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

func (*LoadActuator) Reset

func (x *LoadActuator) Reset()

func (*LoadActuator) SizeVT

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

func (*LoadActuator) String

func (x *LoadActuator) String() string

func (*LoadActuator) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadActuator) UnmarshalVT

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

func (*LoadActuator) Validate

func (m *LoadActuator) Validate() error

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

func (*LoadActuator) ValidateAll

func (m *LoadActuator) ValidateAll() error

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

type LoadActuatorMultiError

type LoadActuatorMultiError []error

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

func (LoadActuatorMultiError) AllErrors

func (m LoadActuatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadActuatorMultiError) Error

func (m LoadActuatorMultiError) Error() string

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

type LoadActuatorValidationError

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

LoadActuatorValidationError is the validation error returned by LoadActuator.Validate if the designated constraints aren't met.

func (LoadActuatorValidationError) Cause

Cause function returns cause value.

func (LoadActuatorValidationError) Error

Error satisfies the builtin error interface

func (LoadActuatorValidationError) ErrorName

func (e LoadActuatorValidationError) ErrorName() string

ErrorName returns error name.

func (LoadActuatorValidationError) Field

Field function returns field value.

func (LoadActuatorValidationError) Key

Key function returns key value.

func (LoadActuatorValidationError) Reason

Reason function returns reason value.

type LoadActuator_Ins

type LoadActuator_Ins struct {
	LoadMultiplier *v1.InPort `protobuf:"bytes,1,opt,name=load_multiplier,json=loadMultiplier,proto3" json:"load_multiplier,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadActuator_Ins) Descriptor deprecated

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

Deprecated: Use LoadActuator_Ins.ProtoReflect.Descriptor instead.

func (*LoadActuator_Ins) GetLoadMultiplier

func (x *LoadActuator_Ins) GetLoadMultiplier() *v1.InPort

func (*LoadActuator_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadActuator_Ins) MarshalToSizedBufferVT

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

func (*LoadActuator_Ins) MarshalToVT

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

func (*LoadActuator_Ins) MarshalVT

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

func (*LoadActuator_Ins) ProtoMessage

func (*LoadActuator_Ins) ProtoMessage()

func (*LoadActuator_Ins) ProtoReflect

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

func (*LoadActuator_Ins) Reset

func (x *LoadActuator_Ins) Reset()

func (*LoadActuator_Ins) SizeVT

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

func (*LoadActuator_Ins) String

func (x *LoadActuator_Ins) String() string

func (*LoadActuator_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*LoadActuator_Ins) UnmarshalVT

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

func (*LoadActuator_Ins) Validate

func (m *LoadActuator_Ins) Validate() error

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

func (*LoadActuator_Ins) ValidateAll

func (m *LoadActuator_Ins) ValidateAll() error

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

type LoadActuator_InsMultiError

type LoadActuator_InsMultiError []error

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

func (LoadActuator_InsMultiError) AllErrors

func (m LoadActuator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadActuator_InsMultiError) Error

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

type LoadActuator_InsValidationError

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

LoadActuator_InsValidationError is the validation error returned by LoadActuator_Ins.Validate if the designated constraints aren't met.

func (LoadActuator_InsValidationError) Cause

Cause function returns cause value.

func (LoadActuator_InsValidationError) Error

Error satisfies the builtin error interface

func (LoadActuator_InsValidationError) ErrorName

ErrorName returns error name.

func (LoadActuator_InsValidationError) Field

Field function returns field value.

func (LoadActuator_InsValidationError) Key

Key function returns key value.

func (LoadActuator_InsValidationError) Reason

Reason function returns reason value.

type PodScaleActuator

type PodScaleActuator struct {
	InPorts              *PodScaleActuator_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"`
	PodScalerComponentId string                `protobuf:"bytes,2,opt,name=pod_scaler_component_id,json=podScalerComponentId,proto3" json:"pod_scaler_component_id,omitempty"`
	AgentGroup           string                `protobuf:"bytes,3,opt,name=agent_group,json=agentGroup,proto3" json:"agent_group,omitempty"`
	// contains filtered or unexported fields
}

func (*PodScaleActuator) Descriptor deprecated

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

Deprecated: Use PodScaleActuator.ProtoReflect.Descriptor instead.

func (*PodScaleActuator) GetAgentGroup

func (x *PodScaleActuator) GetAgentGroup() string

func (*PodScaleActuator) GetInPorts

func (x *PodScaleActuator) GetInPorts() *PodScaleActuator_Ins

func (*PodScaleActuator) GetPodScalerComponentId

func (x *PodScaleActuator) GetPodScalerComponentId() string

func (*PodScaleActuator) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PodScaleActuator) MarshalToSizedBufferVT

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

func (*PodScaleActuator) MarshalToVT

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

func (*PodScaleActuator) MarshalVT

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

func (*PodScaleActuator) ProtoMessage

func (*PodScaleActuator) ProtoMessage()

func (*PodScaleActuator) ProtoReflect

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

func (*PodScaleActuator) Reset

func (x *PodScaleActuator) Reset()

func (*PodScaleActuator) SizeVT

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

func (*PodScaleActuator) String

func (x *PodScaleActuator) String() string

func (*PodScaleActuator) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PodScaleActuator) UnmarshalVT

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

func (*PodScaleActuator) Validate

func (m *PodScaleActuator) Validate() error

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

func (*PodScaleActuator) ValidateAll

func (m *PodScaleActuator) ValidateAll() error

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

type PodScaleActuatorMultiError

type PodScaleActuatorMultiError []error

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

func (PodScaleActuatorMultiError) AllErrors

func (m PodScaleActuatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PodScaleActuatorMultiError) Error

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

type PodScaleActuatorValidationError

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

PodScaleActuatorValidationError is the validation error returned by PodScaleActuator.Validate if the designated constraints aren't met.

func (PodScaleActuatorValidationError) Cause

Cause function returns cause value.

func (PodScaleActuatorValidationError) Error

Error satisfies the builtin error interface

func (PodScaleActuatorValidationError) ErrorName

ErrorName returns error name.

func (PodScaleActuatorValidationError) Field

Field function returns field value.

func (PodScaleActuatorValidationError) Key

Key function returns key value.

func (PodScaleActuatorValidationError) Reason

Reason function returns reason value.

type PodScaleActuator_Ins

type PodScaleActuator_Ins struct {
	Replicas *v1.InPort `protobuf:"bytes,1,opt,name=replicas,proto3" json:"replicas,omitempty"`
	// contains filtered or unexported fields
}

func (*PodScaleActuator_Ins) Descriptor deprecated

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

Deprecated: Use PodScaleActuator_Ins.ProtoReflect.Descriptor instead.

func (*PodScaleActuator_Ins) GetReplicas

func (x *PodScaleActuator_Ins) GetReplicas() *v1.InPort

func (*PodScaleActuator_Ins) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PodScaleActuator_Ins) MarshalToSizedBufferVT

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

func (*PodScaleActuator_Ins) MarshalToVT

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

func (*PodScaleActuator_Ins) MarshalVT

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

func (*PodScaleActuator_Ins) ProtoMessage

func (*PodScaleActuator_Ins) ProtoMessage()

func (*PodScaleActuator_Ins) ProtoReflect

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

func (*PodScaleActuator_Ins) Reset

func (x *PodScaleActuator_Ins) Reset()

func (*PodScaleActuator_Ins) SizeVT

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

func (*PodScaleActuator_Ins) String

func (x *PodScaleActuator_Ins) String() string

func (*PodScaleActuator_Ins) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PodScaleActuator_Ins) UnmarshalVT

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

func (*PodScaleActuator_Ins) Validate

func (m *PodScaleActuator_Ins) Validate() error

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

func (m *PodScaleActuator_Ins) ValidateAll() error

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

type PodScaleActuator_InsMultiError

type PodScaleActuator_InsMultiError []error

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

func (PodScaleActuator_InsMultiError) AllErrors

func (m PodScaleActuator_InsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PodScaleActuator_InsMultiError) Error

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

type PodScaleActuator_InsValidationError

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

PodScaleActuator_InsValidationError is the validation error returned by PodScaleActuator_Ins.Validate if the designated constraints aren't met.

func (PodScaleActuator_InsValidationError) Cause

Cause function returns cause value.

func (PodScaleActuator_InsValidationError) Error

Error satisfies the builtin error interface

func (PodScaleActuator_InsValidationError) ErrorName

ErrorName returns error name.

func (PodScaleActuator_InsValidationError) Field

Field function returns field value.

func (PodScaleActuator_InsValidationError) Key

Key function returns key value.

func (PodScaleActuator_InsValidationError) Reason

Reason function returns reason value.

type PodScaleReporter

type PodScaleReporter struct {
	OutPorts             *PodScaleReporter_Outs `protobuf:"bytes,1,opt,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"`
	PodScalerComponentId string                 `protobuf:"bytes,2,opt,name=pod_scaler_component_id,json=podScalerComponentId,proto3" json:"pod_scaler_component_id,omitempty"`
	AgentGroup           string                 `protobuf:"bytes,3,opt,name=agent_group,json=agentGroup,proto3" json:"agent_group,omitempty"`
	// contains filtered or unexported fields
}

func (*PodScaleReporter) Descriptor deprecated

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

Deprecated: Use PodScaleReporter.ProtoReflect.Descriptor instead.

func (*PodScaleReporter) GetAgentGroup

func (x *PodScaleReporter) GetAgentGroup() string

func (*PodScaleReporter) GetOutPorts

func (x *PodScaleReporter) GetOutPorts() *PodScaleReporter_Outs

func (*PodScaleReporter) GetPodScalerComponentId

func (x *PodScaleReporter) GetPodScalerComponentId() string

func (*PodScaleReporter) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PodScaleReporter) MarshalToSizedBufferVT

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

func (*PodScaleReporter) MarshalToVT

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

func (*PodScaleReporter) MarshalVT

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

func (*PodScaleReporter) ProtoMessage

func (*PodScaleReporter) ProtoMessage()

func (*PodScaleReporter) ProtoReflect

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

func (*PodScaleReporter) Reset

func (x *PodScaleReporter) Reset()

func (*PodScaleReporter) SizeVT

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

func (*PodScaleReporter) String

func (x *PodScaleReporter) String() string

func (*PodScaleReporter) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PodScaleReporter) UnmarshalVT

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

func (*PodScaleReporter) Validate

func (m *PodScaleReporter) Validate() error

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

func (*PodScaleReporter) ValidateAll

func (m *PodScaleReporter) ValidateAll() error

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

type PodScaleReporterMultiError

type PodScaleReporterMultiError []error

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

func (PodScaleReporterMultiError) AllErrors

func (m PodScaleReporterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PodScaleReporterMultiError) Error

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

type PodScaleReporterValidationError

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

PodScaleReporterValidationError is the validation error returned by PodScaleReporter.Validate if the designated constraints aren't met.

func (PodScaleReporterValidationError) Cause

Cause function returns cause value.

func (PodScaleReporterValidationError) Error

Error satisfies the builtin error interface

func (PodScaleReporterValidationError) ErrorName

ErrorName returns error name.

func (PodScaleReporterValidationError) Field

Field function returns field value.

func (PodScaleReporterValidationError) Key

Key function returns key value.

func (PodScaleReporterValidationError) Reason

Reason function returns reason value.

type PodScaleReporter_Outs

type PodScaleReporter_Outs struct {
	ActualReplicas     *v1.OutPort `protobuf:"bytes,1,opt,name=actual_replicas,json=actualReplicas,proto3" json:"actual_replicas,omitempty"`
	ConfiguredReplicas *v1.OutPort `protobuf:"bytes,2,opt,name=configured_replicas,json=configuredReplicas,proto3" json:"configured_replicas,omitempty"`
	// contains filtered or unexported fields
}

func (*PodScaleReporter_Outs) Descriptor deprecated

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

Deprecated: Use PodScaleReporter_Outs.ProtoReflect.Descriptor instead.

func (*PodScaleReporter_Outs) GetActualReplicas

func (x *PodScaleReporter_Outs) GetActualReplicas() *v1.OutPort

func (*PodScaleReporter_Outs) GetConfiguredReplicas

func (x *PodScaleReporter_Outs) GetConfiguredReplicas() *v1.OutPort

func (*PodScaleReporter_Outs) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*PodScaleReporter_Outs) MarshalToSizedBufferVT

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

func (*PodScaleReporter_Outs) MarshalToVT

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

func (*PodScaleReporter_Outs) MarshalVT

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

func (*PodScaleReporter_Outs) ProtoMessage

func (*PodScaleReporter_Outs) ProtoMessage()

func (*PodScaleReporter_Outs) ProtoReflect

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

func (*PodScaleReporter_Outs) Reset

func (x *PodScaleReporter_Outs) Reset()

func (*PodScaleReporter_Outs) SizeVT

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

func (*PodScaleReporter_Outs) String

func (x *PodScaleReporter_Outs) String() string

func (*PodScaleReporter_Outs) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*PodScaleReporter_Outs) UnmarshalVT

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

func (*PodScaleReporter_Outs) Validate

func (m *PodScaleReporter_Outs) Validate() error

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

func (m *PodScaleReporter_Outs) ValidateAll() error

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

type PodScaleReporter_OutsMultiError

type PodScaleReporter_OutsMultiError []error

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

func (PodScaleReporter_OutsMultiError) AllErrors

func (m PodScaleReporter_OutsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PodScaleReporter_OutsMultiError) Error

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

type PodScaleReporter_OutsValidationError

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

PodScaleReporter_OutsValidationError is the validation error returned by PodScaleReporter_Outs.Validate if the designated constraints aren't met.

func (PodScaleReporter_OutsValidationError) Cause

Cause function returns cause value.

func (PodScaleReporter_OutsValidationError) Error

Error satisfies the builtin error interface

func (PodScaleReporter_OutsValidationError) ErrorName

ErrorName returns error name.

func (PodScaleReporter_OutsValidationError) Field

Field function returns field value.

func (PodScaleReporter_OutsValidationError) Key

Key function returns key value.

func (PodScaleReporter_OutsValidationError) Reason

Reason function returns reason value.

type QuotaScheduler

type QuotaScheduler struct {
	InPorts           *v1.RateLimiter_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty" validate:"required"` // @gotags: validate:"required"
	Selectors         []*v1.Selector      `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required,gt=0,dive"`  // @gotags: validate:"required,gt=0,dive"
	ParentComponentId string              `protobuf:"bytes,3,opt,name=parent_component_id,json=parentComponentId,proto3" json:"parent_component_id,omitempty"`
	Scheduler         *v1.Scheduler       `protobuf:"bytes,4,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
	// contains filtered or unexported fields
}

func (*QuotaScheduler) Descriptor deprecated

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

Deprecated: Use QuotaScheduler.ProtoReflect.Descriptor instead.

func (*QuotaScheduler) GetInPorts

func (x *QuotaScheduler) GetInPorts() *v1.RateLimiter_Ins

func (*QuotaScheduler) GetParentComponentId

func (x *QuotaScheduler) GetParentComponentId() string

func (*QuotaScheduler) GetScheduler

func (x *QuotaScheduler) GetScheduler() *v1.Scheduler

func (*QuotaScheduler) GetSelectors

func (x *QuotaScheduler) GetSelectors() []*v1.Selector

func (*QuotaScheduler) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*QuotaScheduler) MarshalToSizedBufferVT

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

func (*QuotaScheduler) MarshalToVT

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

func (*QuotaScheduler) MarshalVT

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

func (*QuotaScheduler) ProtoMessage

func (*QuotaScheduler) ProtoMessage()

func (*QuotaScheduler) ProtoReflect

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

func (*QuotaScheduler) Reset

func (x *QuotaScheduler) Reset()

func (*QuotaScheduler) SizeVT

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

func (*QuotaScheduler) String

func (x *QuotaScheduler) String() string

func (*QuotaScheduler) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*QuotaScheduler) UnmarshalVT

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

func (*QuotaScheduler) Validate

func (m *QuotaScheduler) Validate() error

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

func (*QuotaScheduler) ValidateAll

func (m *QuotaScheduler) ValidateAll() error

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

type QuotaSchedulerMultiError

type QuotaSchedulerMultiError []error

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

func (QuotaSchedulerMultiError) AllErrors

func (m QuotaSchedulerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QuotaSchedulerMultiError) Error

func (m QuotaSchedulerMultiError) Error() string

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

type QuotaSchedulerValidationError

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

QuotaSchedulerValidationError is the validation error returned by QuotaScheduler.Validate if the designated constraints aren't met.

func (QuotaSchedulerValidationError) Cause

Cause function returns cause value.

func (QuotaSchedulerValidationError) Error

Error satisfies the builtin error interface

func (QuotaSchedulerValidationError) ErrorName

func (e QuotaSchedulerValidationError) ErrorName() string

ErrorName returns error name.

func (QuotaSchedulerValidationError) Field

Field function returns field value.

func (QuotaSchedulerValidationError) Key

Key function returns key value.

func (QuotaSchedulerValidationError) Reason

Reason function returns reason value.

type RateLimiter

type RateLimiter struct {
	InPorts           *v1.RateLimiter_Ins `protobuf:"bytes,1,opt,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty" validate:"required"` // @gotags: validate:"required"
	Selectors         []*v1.Selector      `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty" validate:"required,gt=0,dive"`  // @gotags: validate:"required,gt=0,dive"
	ParentComponentId string              `protobuf:"bytes,3,opt,name=parent_component_id,json=parentComponentId,proto3" json:"parent_component_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RateLimiter) Descriptor deprecated

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

Deprecated: Use RateLimiter.ProtoReflect.Descriptor instead.

func (*RateLimiter) GetInPorts

func (x *RateLimiter) GetInPorts() *v1.RateLimiter_Ins

func (*RateLimiter) GetParentComponentId

func (x *RateLimiter) GetParentComponentId() string

func (*RateLimiter) GetSelectors

func (x *RateLimiter) GetSelectors() []*v1.Selector

func (*RateLimiter) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RateLimiter) MarshalToSizedBufferVT

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

func (*RateLimiter) MarshalToVT

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

func (*RateLimiter) MarshalVT

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

func (*RateLimiter) ProtoMessage

func (*RateLimiter) ProtoMessage()

func (*RateLimiter) ProtoReflect

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

func (*RateLimiter) Reset

func (x *RateLimiter) Reset()

func (*RateLimiter) SizeVT

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

func (*RateLimiter) String

func (x *RateLimiter) String() string

func (*RateLimiter) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

func (*RateLimiter) UnmarshalVT

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

func (*RateLimiter) Validate

func (m *RateLimiter) Validate() error

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

func (*RateLimiter) ValidateAll

func (m *RateLimiter) ValidateAll() error

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

type RateLimiterMultiError

type RateLimiterMultiError []error

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

func (RateLimiterMultiError) AllErrors

func (m RateLimiterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RateLimiterMultiError) Error

func (m RateLimiterMultiError) Error() string

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

type RateLimiterValidationError

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

RateLimiterValidationError is the validation error returned by RateLimiter.Validate if the designated constraints aren't met.

func (RateLimiterValidationError) Cause

Cause function returns cause value.

func (RateLimiterValidationError) Error

Error satisfies the builtin error interface

func (RateLimiterValidationError) ErrorName

func (e RateLimiterValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimiterValidationError) Field

Field function returns field value.

func (RateLimiterValidationError) Key

Key function returns key value.

func (RateLimiterValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL