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 ¶
- Variables
- func RegisterCRIExtensionRuntimeServiceServer(s *grpc.Server, srv CRIExtensionRuntimeServiceServer)
- type CRIExtensionRuntimeServiceClient
- type CRIExtensionRuntimeServiceServer
- type UpdateContainerResourcesV2Request
- func (*UpdateContainerResourcesV2Request) Descriptor() ([]byte, []int)
- func (m *UpdateContainerResourcesV2Request) GetAnnotations() map[string]string
- func (m *UpdateContainerResourcesV2Request) GetContainerId() string
- func (m *UpdateContainerResourcesV2Request) GetStdLinuxResources() *runtime_v1alpha2.LinuxContainerResources
- func (m *UpdateContainerResourcesV2Request) GetStdWindowsResources() *runtime_v1alpha2.WindowsContainerResources
- func (m *UpdateContainerResourcesV2Request) Marshal() (dAtA []byte, err error)
- func (m *UpdateContainerResourcesV2Request) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateContainerResourcesV2Request) ProtoMessage()
- func (m *UpdateContainerResourcesV2Request) Reset()
- func (m *UpdateContainerResourcesV2Request) Size() (n int)
- func (this *UpdateContainerResourcesV2Request) String() string
- func (m *UpdateContainerResourcesV2Request) Unmarshal(dAtA []byte) error
- type UpdateContainerResourcesV2Response
- func (*UpdateContainerResourcesV2Response) Descriptor() ([]byte, []int)
- func (m *UpdateContainerResourcesV2Response) Marshal() (dAtA []byte, err error)
- func (m *UpdateContainerResourcesV2Response) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateContainerResourcesV2Response) ProtoMessage()
- func (m *UpdateContainerResourcesV2Response) Reset()
- func (m *UpdateContainerResourcesV2Response) Size() (n int)
- func (this *UpdateContainerResourcesV2Response) String() string
- func (m *UpdateContainerResourcesV2Response) Unmarshal(dAtA []byte) error
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 (m *UpdateContainerResourcesV2Request) GetStdLinuxResources() *runtime_v1alpha2.LinuxContainerResources
func (*UpdateContainerResourcesV2Request) GetStdWindowsResources ¶
func (m *UpdateContainerResourcesV2Request) GetStdWindowsResources() *runtime_v1alpha2.WindowsContainerResources
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 (m *UpdateContainerResourcesV2Request) Reset()
func (*UpdateContainerResourcesV2Request) Size ¶
func (m *UpdateContainerResourcesV2Request) Size() (n int)
func (*UpdateContainerResourcesV2Request) String ¶
func (this *UpdateContainerResourcesV2Request) String() 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 (m *UpdateContainerResourcesV2Response) Reset()
func (*UpdateContainerResourcesV2Response) Size ¶
func (m *UpdateContainerResourcesV2Response) Size() (n int)
func (*UpdateContainerResourcesV2Response) String ¶
func (this *UpdateContainerResourcesV2Response) String() string
func (*UpdateContainerResourcesV2Response) Unmarshal ¶
func (m *UpdateContainerResourcesV2Response) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.