criextension

package module
v0.0.0-...-bfcad96 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package criextension is a generated protocol buffer package.

It is generated from these files:

criextension.proto

It has these top-level messages:

UpdateContainerResourcesV2Request
UpdateContainerResourcesV2Response

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCriextension = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCriextension   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterCRIExtensionRuntimeServiceServer

func RegisterCRIExtensionRuntimeServiceServer(s *grpc.Server, srv CRIExtensionRuntimeServiceServer)

Types

type CRIExtensionRuntimeServiceClient

type CRIExtensionRuntimeServiceClient interface {
	UpdateContainerResourcesV2(ctx context.Context, in *UpdateContainerResourcesV2Request, opts ...grpc.CallOption) (*UpdateContainerResourcesV2Response, error)
}

func NewCRIExtensionRuntimeServiceClient

func NewCRIExtensionRuntimeServiceClient(cc *grpc.ClientConn) CRIExtensionRuntimeServiceClient

type CRIExtensionRuntimeServiceServer

type CRIExtensionRuntimeServiceServer interface {
	UpdateContainerResourcesV2(context.Context, *UpdateContainerResourcesV2Request) (*UpdateContainerResourcesV2Response, error)
}

type UpdateContainerResourcesV2Request

type UpdateContainerResourcesV2Request struct {
	ContainerId         string                                      `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	StdWindowsResources *runtime_v1alpha2.WindowsContainerResources `protobuf:"bytes,2,opt,name=std_windows_resources,json=stdWindowsResources" json:"std_windows_resources,omitempty"`
	StdLinuxResources   *runtime_v1alpha2.LinuxContainerResources   `protobuf:"bytes,3,opt,name=std_linux_resources,json=stdLinuxResources" json:"std_linux_resources,omitempty"`
	Annotations         map[string]string                           `` /* 156-byte string literal not displayed */
}

func (*UpdateContainerResourcesV2Request) Descriptor

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

func (*UpdateContainerResourcesV2Request) GetAnnotations

func (m *UpdateContainerResourcesV2Request) GetAnnotations() map[string]string

func (*UpdateContainerResourcesV2Request) GetContainerId

func (m *UpdateContainerResourcesV2Request) GetContainerId() string

func (*UpdateContainerResourcesV2Request) GetStdLinuxResources

func (*UpdateContainerResourcesV2Request) GetStdWindowsResources

func (*UpdateContainerResourcesV2Request) Marshal

func (m *UpdateContainerResourcesV2Request) Marshal() (dAtA []byte, err error)

func (*UpdateContainerResourcesV2Request) MarshalTo

func (m *UpdateContainerResourcesV2Request) MarshalTo(dAtA []byte) (int, error)

func (*UpdateContainerResourcesV2Request) ProtoMessage

func (*UpdateContainerResourcesV2Request) ProtoMessage()

func (*UpdateContainerResourcesV2Request) Reset

func (*UpdateContainerResourcesV2Request) Size

func (m *UpdateContainerResourcesV2Request) Size() (n int)

func (*UpdateContainerResourcesV2Request) String

func (*UpdateContainerResourcesV2Request) Unmarshal

func (m *UpdateContainerResourcesV2Request) Unmarshal(dAtA []byte) error

type UpdateContainerResourcesV2Response

type UpdateContainerResourcesV2Response struct {
}

func (*UpdateContainerResourcesV2Response) Descriptor

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

func (*UpdateContainerResourcesV2Response) Marshal

func (m *UpdateContainerResourcesV2Response) Marshal() (dAtA []byte, err error)

func (*UpdateContainerResourcesV2Response) MarshalTo

func (m *UpdateContainerResourcesV2Response) MarshalTo(dAtA []byte) (int, error)

func (*UpdateContainerResourcesV2Response) ProtoMessage

func (*UpdateContainerResourcesV2Response) ProtoMessage()

func (*UpdateContainerResourcesV2Response) Reset

func (*UpdateContainerResourcesV2Response) Size

func (*UpdateContainerResourcesV2Response) String

func (*UpdateContainerResourcesV2Response) Unmarshal

func (m *UpdateContainerResourcesV2Response) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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