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 ¶
- func RegisterPodUsageServer(s *grpc.Server, srv PodUsageServer)
- type Error
- type HealthCheckRequest
- type HealthCheckResponse
- type Pod
- type PodUsageClient
- type PodUsageRequest
- type PodUsageResponse
- func (*PodUsageResponse) Descriptor() ([]byte, []int)
- func (m *PodUsageResponse) GetError() *Error
- func (m *PodUsageResponse) GetMatch() bool
- func (m *PodUsageResponse) GetResourceList() *ResourceList
- func (*PodUsageResponse) ProtoMessage()
- func (m *PodUsageResponse) Reset()
- func (m *PodUsageResponse) String() string
- type PodUsageServer
- type ResourceList
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) GetErrorMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
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) GetPodJson ¶
func (*Pod) ProtoMessage ¶
func (*Pod) ProtoMessage()
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
Click to show internal directories.
Click to hide internal directories.