decisionsv1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_aperture_policy_decisions_v1_decisions_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type LoadShedDecision

type LoadShedDecision struct {
	LoadShedFactor float64 `protobuf:"fixed64,1,opt,name=load_shed_factor,json=loadShedFactor,proto3" json:"load_shed_factor,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadShedDecision) Descriptor deprecated

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

Deprecated: Use LoadShedDecision.ProtoReflect.Descriptor instead.

func (*LoadShedDecision) GetLoadShedFactor

func (x *LoadShedDecision) GetLoadShedFactor() float64

func (*LoadShedDecision) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*LoadShedDecision) ProtoMessage

func (*LoadShedDecision) ProtoMessage()

func (*LoadShedDecision) ProtoReflect

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

func (*LoadShedDecision) Reset

func (x *LoadShedDecision) Reset()

func (*LoadShedDecision) String

func (x *LoadShedDecision) String() string

func (*LoadShedDecision) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

type RateLimiterDecision

type RateLimiterDecision struct {
	Limit float64 `protobuf:"fixed64,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*RateLimiterDecision) Descriptor deprecated

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

Deprecated: Use RateLimiterDecision.ProtoReflect.Descriptor instead.

func (*RateLimiterDecision) GetLimit

func (x *RateLimiterDecision) GetLimit() float64

func (*RateLimiterDecision) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RateLimiterDecision) ProtoMessage

func (*RateLimiterDecision) ProtoMessage()

func (*RateLimiterDecision) ProtoReflect

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

func (*RateLimiterDecision) Reset

func (x *RateLimiterDecision) Reset()

func (*RateLimiterDecision) String

func (x *RateLimiterDecision) String() string

func (*RateLimiterDecision) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

type TokensDecision

type TokensDecision struct {

	// Key is workload index and value is tokens.
	TokensByWorkloadIndex map[string]uint64 `` /* 217-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TokensDecision) Descriptor deprecated

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

Deprecated: Use TokensDecision.ProtoReflect.Descriptor instead.

func (*TokensDecision) GetTokensByWorkloadIndex

func (x *TokensDecision) GetTokensByWorkloadIndex() map[string]uint64

func (*TokensDecision) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*TokensDecision) ProtoMessage

func (*TokensDecision) ProtoMessage()

func (*TokensDecision) ProtoReflect

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

func (*TokensDecision) Reset

func (x *TokensDecision) Reset()

func (*TokensDecision) String

func (x *TokensDecision) String() string

func (*TokensDecision) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

Jump to

Keyboard shortcuts

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