aaq_sidecar_evaluate

package
v0.0.0-...-ac6757c Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package aaq_sidecar_evaluate is a generated protocol buffer package.

It is generated from these files:

staging/src/kubevirt.io/application-aware-quota-api/libsidecar/evaluator-server-com/evaluate.proto

It has these top-level messages:

PodUsageRequest
PodUsageResponse
Error
HealthCheckRequest
HealthCheckResponse
ResourceList
Pod

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPodUsageServer

func RegisterPodUsageServer(s *grpc.Server, srv PodUsageServer)

Types

type Error

type Error struct {
	Error        bool   `protobuf:"varint,1,opt,name=error" json:"error,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage" json:"errorMessage,omitempty"`
}

func (*Error) Descriptor

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

func (*Error) GetError

func (m *Error) GetError() bool

func (*Error) GetErrorMessage

func (m *Error) GetErrorMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

type HealthCheckRequest

type HealthCheckRequest struct {
}

func (*HealthCheckRequest) Descriptor

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

func (*HealthCheckRequest) ProtoMessage

func (*HealthCheckRequest) ProtoMessage()

func (*HealthCheckRequest) Reset

func (m *HealthCheckRequest) Reset()

func (*HealthCheckRequest) String

func (m *HealthCheckRequest) String() string

type HealthCheckResponse

type HealthCheckResponse struct {
	Healthy bool `protobuf:"varint,1,opt,name=healthy" json:"healthy,omitempty"`
}

func (*HealthCheckResponse) Descriptor

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

func (*HealthCheckResponse) GetHealthy

func (m *HealthCheckResponse) GetHealthy() bool

func (*HealthCheckResponse) ProtoMessage

func (*HealthCheckResponse) ProtoMessage()

func (*HealthCheckResponse) Reset

func (m *HealthCheckResponse) Reset()

func (*HealthCheckResponse) String

func (m *HealthCheckResponse) String() string

type Pod

type Pod struct {
	PodJson []byte `protobuf:"bytes,1,opt,name=podJson,proto3" json:"podJson,omitempty"`
}

func (*Pod) Descriptor

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

func (*Pod) GetPodJson

func (m *Pod) GetPodJson() []byte

func (*Pod) ProtoMessage

func (*Pod) ProtoMessage()

func (*Pod) Reset

func (m *Pod) Reset()

func (*Pod) String

func (m *Pod) String() string

type PodUsageClient

type PodUsageClient interface {
	PodUsageFunc(ctx context.Context, in *PodUsageRequest, opts ...grpc.CallOption) (*PodUsageResponse, error)
	HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}

func NewPodUsageClient

func NewPodUsageClient(cc *grpc.ClientConn) PodUsageClient

type PodUsageRequest

type PodUsageRequest struct {
	Pod       *Pod   `protobuf:"bytes,1,opt,name=pod" json:"pod,omitempty"`
	PodsState []*Pod `protobuf:"bytes,2,rep,name=podsState" json:"podsState,omitempty"`
}

Define messages

func (*PodUsageRequest) Descriptor

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

func (*PodUsageRequest) GetPod

func (m *PodUsageRequest) GetPod() *Pod

func (*PodUsageRequest) GetPodsState

func (m *PodUsageRequest) GetPodsState() []*Pod

func (*PodUsageRequest) ProtoMessage

func (*PodUsageRequest) ProtoMessage()

func (*PodUsageRequest) Reset

func (m *PodUsageRequest) Reset()

func (*PodUsageRequest) String

func (m *PodUsageRequest) String() string

type PodUsageResponse

type PodUsageResponse struct {
	ResourceList *ResourceList `protobuf:"bytes,1,opt,name=resourceList" json:"resourceList,omitempty"`
	Match        bool          `protobuf:"varint,2,opt,name=match" json:"match,omitempty"`
	Error        *Error        `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
}

func (*PodUsageResponse) Descriptor

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

func (*PodUsageResponse) GetError

func (m *PodUsageResponse) GetError() *Error

func (*PodUsageResponse) GetMatch

func (m *PodUsageResponse) GetMatch() bool

func (*PodUsageResponse) GetResourceList

func (m *PodUsageResponse) GetResourceList() *ResourceList

func (*PodUsageResponse) ProtoMessage

func (*PodUsageResponse) ProtoMessage()

func (*PodUsageResponse) Reset

func (m *PodUsageResponse) Reset()

func (*PodUsageResponse) String

func (m *PodUsageResponse) String() string

type PodUsageServer

type PodUsageServer interface {
	PodUsageFunc(context.Context, *PodUsageRequest) (*PodUsageResponse, error)
	HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
}

type ResourceList

type ResourceList struct {
	ResourceListJson []byte `protobuf:"bytes,1,opt,name=resourceListJson,proto3" json:"resourceListJson,omitempty"`
}

func (*ResourceList) Descriptor

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

func (*ResourceList) GetResourceListJson

func (m *ResourceList) GetResourceListJson() []byte

func (*ResourceList) ProtoMessage

func (*ResourceList) ProtoMessage()

func (*ResourceList) Reset

func (m *ResourceList) Reset()

func (*ResourceList) String

func (m *ResourceList) String() string

Jump to

Keyboard shortcuts

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