privatev1

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: 20 Imported by: 0

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

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

func (*LoadActuator) MarshalToVT added in v2.7.0

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

func (*LoadActuator) MarshalVT added in v2.7.0

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

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

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 {

	// Load multiplier is proportion of incoming
	// token rate that needs to be accepted.
	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 added in v2.7.0

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

func (*LoadActuator_Ins) MarshalToVT added in v2.7.0

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

func (*LoadActuator_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*PodScaleActuator) MarshalToVT added in v2.7.0

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

func (*PodScaleActuator) MarshalVT added in v2.7.0

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

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

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

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

func (*PodScaleActuator_Ins) MarshalToVT added in v2.7.0

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

func (*PodScaleActuator_Ins) MarshalVT added in v2.7.0

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

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

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

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

func (*PodScaleReporter) MarshalToVT added in v2.7.0

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

func (*PodScaleReporter) MarshalVT added in v2.7.0

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

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

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

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

func (*PodScaleReporter_Outs) MarshalToVT added in v2.7.0

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

func (*PodScaleReporter_Outs) MarshalVT added in v2.7.0

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

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

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.

Jump to

Keyboard shortcuts

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