Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterPluginServer(s grpc.ServiceRegistrar, srv PluginServer)
- type BindMount
- func (x *BindMount) ClearContainerPath()
- func (x *BindMount) ClearHostPath()
- func (x *BindMount) ClearReadonly()
- func (x *BindMount) GetContainerPath() string
- func (x *BindMount) GetHostPath() string
- func (x *BindMount) GetReadonly() bool
- func (x *BindMount) HasContainerPath() bool
- func (x *BindMount) HasHostPath() bool
- func (x *BindMount) HasReadonly() bool
- func (*BindMount) ProtoMessage()
- func (x *BindMount) ProtoReflect() protoreflect.Message
- func (x *BindMount) Reset()
- func (x *BindMount) SetContainerPath(v string)
- func (x *BindMount) SetHostPath(v string)
- func (x *BindMount) SetReadonly(v bool)
- func (x *BindMount) String() string
- type BindMount_builder
- type ContainerConfig
- func (x *ContainerConfig) ClearImage()
- func (x *ContainerConfig) ClearName()
- func (x *ContainerConfig) ClearProcess()
- func (x *ContainerConfig) ClearTerminal()
- func (x *ContainerConfig) GetCapabilities() []string
- func (x *ContainerConfig) GetEnvironment() []*EnvironmentVariable
- func (x *ContainerConfig) GetImage() string
- func (x *ContainerConfig) GetMounts() []*Mount
- func (x *ContainerConfig) GetName() string
- func (x *ContainerConfig) GetPorts() []*PortBinding
- func (x *ContainerConfig) GetProcess() *Process
- func (x *ContainerConfig) GetTerminal() *TerminalConfig
- func (x *ContainerConfig) HasImage() bool
- func (x *ContainerConfig) HasName() bool
- func (x *ContainerConfig) HasProcess() bool
- func (x *ContainerConfig) HasTerminal() bool
- func (*ContainerConfig) ProtoMessage()
- func (x *ContainerConfig) ProtoReflect() protoreflect.Message
- func (x *ContainerConfig) Reset()
- func (x *ContainerConfig) SetCapabilities(v []string)
- func (x *ContainerConfig) SetEnvironment(v []*EnvironmentVariable)
- func (x *ContainerConfig) SetImage(v string)
- func (x *ContainerConfig) SetMounts(v []*Mount)
- func (x *ContainerConfig) SetName(v string)
- func (x *ContainerConfig) SetPorts(v []*PortBinding)
- func (x *ContainerConfig) SetProcess(v *Process)
- func (x *ContainerConfig) SetTerminal(v *TerminalConfig)
- func (x *ContainerConfig) String() string
- type ContainerConfig_builder
- type CreateContainerRequest
- func (x *CreateContainerRequest) ClearConfig()
- func (x *CreateContainerRequest) GetConfig() *ContainerConfig
- func (x *CreateContainerRequest) HasConfig() bool
- func (*CreateContainerRequest) ProtoMessage()
- func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateContainerRequest) Reset()
- func (x *CreateContainerRequest) SetConfig(v *ContainerConfig)
- func (x *CreateContainerRequest) String() string
- type CreateContainerRequest_builder
- type CreateContainerResponse
- func (x *CreateContainerResponse) ClearContainerId()
- func (x *CreateContainerResponse) GetContainerId() string
- func (x *CreateContainerResponse) HasContainerId() bool
- func (*CreateContainerResponse) ProtoMessage()
- func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message
- func (x *CreateContainerResponse) Reset()
- func (x *CreateContainerResponse) SetContainerId(v string)
- func (x *CreateContainerResponse) String() string
- type CreateContainerResponse_builder
- type CreateVolumeRequest
- func (x *CreateVolumeRequest) ClearName()
- func (x *CreateVolumeRequest) GetName() string
- func (x *CreateVolumeRequest) HasName() bool
- func (*CreateVolumeRequest) ProtoMessage()
- func (x *CreateVolumeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateVolumeRequest) Reset()
- func (x *CreateVolumeRequest) SetName(v string)
- func (x *CreateVolumeRequest) String() string
- type CreateVolumeRequest_builder
- type DeleteContainerRequest
- func (x *DeleteContainerRequest) ClearContainerId()
- func (x *DeleteContainerRequest) GetContainerId() string
- func (x *DeleteContainerRequest) HasContainerId() bool
- func (*DeleteContainerRequest) ProtoMessage()
- func (x *DeleteContainerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteContainerRequest) Reset()
- func (x *DeleteContainerRequest) SetContainerId(v string)
- func (x *DeleteContainerRequest) String() string
- type DeleteContainerRequest_builder
- type DeleteVolumeRequest
- func (x *DeleteVolumeRequest) ClearName()
- func (x *DeleteVolumeRequest) GetName() string
- func (x *DeleteVolumeRequest) HasName() bool
- func (*DeleteVolumeRequest) ProtoMessage()
- func (x *DeleteVolumeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteVolumeRequest) Reset()
- func (x *DeleteVolumeRequest) SetName(v string)
- func (x *DeleteVolumeRequest) String() string
- type DeleteVolumeRequest_builder
- type DeviceMount
- func (x *DeviceMount) ClearCgroupRule()
- func (x *DeviceMount) ClearContainerPath()
- func (x *DeviceMount) ClearHostPath()
- func (x *DeviceMount) ClearPermissions()
- func (x *DeviceMount) GetCgroupRule() string
- func (x *DeviceMount) GetContainerPath() string
- func (x *DeviceMount) GetHostPath() string
- func (x *DeviceMount) GetPermissions() string
- func (x *DeviceMount) HasCgroupRule() bool
- func (x *DeviceMount) HasContainerPath() bool
- func (x *DeviceMount) HasHostPath() bool
- func (x *DeviceMount) HasPermissions() bool
- func (*DeviceMount) ProtoMessage()
- func (x *DeviceMount) ProtoReflect() protoreflect.Message
- func (x *DeviceMount) Reset()
- func (x *DeviceMount) SetCgroupRule(v string)
- func (x *DeviceMount) SetContainerPath(v string)
- func (x *DeviceMount) SetHostPath(v string)
- func (x *DeviceMount) SetPermissions(v string)
- func (x *DeviceMount) String() string
- type DeviceMount_builder
- type EnvironmentVariable
- func (x *EnvironmentVariable) ClearKey()
- func (x *EnvironmentVariable) ClearValue()
- func (x *EnvironmentVariable) GetKey() string
- func (x *EnvironmentVariable) GetValue() string
- func (x *EnvironmentVariable) HasKey() bool
- func (x *EnvironmentVariable) HasValue() bool
- func (*EnvironmentVariable) ProtoMessage()
- func (x *EnvironmentVariable) ProtoReflect() protoreflect.Message
- func (x *EnvironmentVariable) Reset()
- func (x *EnvironmentVariable) SetKey(v string)
- func (x *EnvironmentVariable) SetValue(v string)
- func (x *EnvironmentVariable) String() string
- type EnvironmentVariable_builder
- type GetImageRequest
- func (x *GetImageRequest) ClearImageSpec()
- func (x *GetImageRequest) GetImageSpec() string
- func (x *GetImageRequest) HasImageSpec() bool
- func (*GetImageRequest) ProtoMessage()
- func (x *GetImageRequest) ProtoReflect() protoreflect.Message
- func (x *GetImageRequest) Reset()
- func (x *GetImageRequest) SetImageSpec(v string)
- func (x *GetImageRequest) String() string
- type GetImageRequest_builder
- type GetImageResponse
- func (x *GetImageResponse) ClearImageId()
- func (x *GetImageResponse) GetImageId() string
- func (x *GetImageResponse) HasImageId() bool
- func (*GetImageResponse) ProtoMessage()
- func (x *GetImageResponse) ProtoReflect() protoreflect.Message
- func (x *GetImageResponse) Reset()
- func (x *GetImageResponse) SetImageId(v string)
- func (x *GetImageResponse) String() string
- type GetImageResponse_builder
- type ImageMount
- func (x *ImageMount) ClearContainerPath()
- func (x *ImageMount) ClearImage()
- func (x *ImageMount) ClearReadonly()
- func (x *ImageMount) ClearSubpath()
- func (x *ImageMount) GetContainerPath() string
- func (x *ImageMount) GetImage() string
- func (x *ImageMount) GetReadonly() bool
- func (x *ImageMount) GetSubpath() string
- func (x *ImageMount) HasContainerPath() bool
- func (x *ImageMount) HasImage() bool
- func (x *ImageMount) HasReadonly() bool
- func (x *ImageMount) HasSubpath() bool
- func (*ImageMount) ProtoMessage()
- func (x *ImageMount) ProtoReflect() protoreflect.Message
- func (x *ImageMount) Reset()
- func (x *ImageMount) SetContainerPath(v string)
- func (x *ImageMount) SetImage(v string)
- func (x *ImageMount) SetReadonly(v bool)
- func (x *ImageMount) SetSubpath(v string)
- func (x *ImageMount) String() string
- type ImageMount_builder
- type KillContainerRequest
- func (x *KillContainerRequest) ClearContainerId()
- func (x *KillContainerRequest) ClearSignal()
- func (x *KillContainerRequest) GetContainerId() string
- func (x *KillContainerRequest) GetSignal() string
- func (x *KillContainerRequest) HasContainerId() bool
- func (x *KillContainerRequest) HasSignal() bool
- func (*KillContainerRequest) ProtoMessage()
- func (x *KillContainerRequest) ProtoReflect() protoreflect.Message
- func (x *KillContainerRequest) Reset()
- func (x *KillContainerRequest) SetContainerId(v string)
- func (x *KillContainerRequest) SetSignal(v string)
- func (x *KillContainerRequest) String() string
- type KillContainerRequest_builder
- type Mount
- func (x *Mount) ClearBind()
- func (x *Mount) ClearDevice()
- func (x *Mount) ClearImage()
- func (x *Mount) ClearTmpfs()
- func (x *Mount) ClearType()
- func (x *Mount) ClearVolume()
- func (x *Mount) GetBind() *BindMount
- func (x *Mount) GetDevice() *DeviceMount
- func (x *Mount) GetImage() *ImageMount
- func (x *Mount) GetTmpfs() *TmpfsMount
- func (x *Mount) GetVolume() *VolumeMount
- func (x *Mount) HasBind() bool
- func (x *Mount) HasDevice() bool
- func (x *Mount) HasImage() bool
- func (x *Mount) HasTmpfs() bool
- func (x *Mount) HasType() bool
- func (x *Mount) HasVolume() bool
- func (*Mount) ProtoMessage()
- func (x *Mount) ProtoReflect() protoreflect.Message
- func (x *Mount) Reset()
- func (x *Mount) SetBind(v *BindMount)
- func (x *Mount) SetDevice(v *DeviceMount)
- func (x *Mount) SetImage(v *ImageMount)
- func (x *Mount) SetTmpfs(v *TmpfsMount)
- func (x *Mount) SetVolume(v *VolumeMount)
- func (x *Mount) String() string
- func (x *Mount) WhichType() case_Mount_Type
- type Mount_builder
- type PluginClient
- type PluginServer
- type Plugin_StreamInputClient
- type Plugin_StreamInputServer
- type Plugin_StreamOutputClient
- type Plugin_StreamOutputServer
- type PortBinding
- func (x *PortBinding) ClearContainerPort()
- func (x *PortBinding) ClearHostIp()
- func (x *PortBinding) ClearHostPort()
- func (x *PortBinding) ClearProtocol()
- func (x *PortBinding) GetContainerPort() string
- func (x *PortBinding) GetHostIp() string
- func (x *PortBinding) GetHostPort() string
- func (x *PortBinding) GetProtocol() string
- func (x *PortBinding) HasContainerPort() bool
- func (x *PortBinding) HasHostIp() bool
- func (x *PortBinding) HasHostPort() bool
- func (x *PortBinding) HasProtocol() bool
- func (*PortBinding) ProtoMessage()
- func (x *PortBinding) ProtoReflect() protoreflect.Message
- func (x *PortBinding) Reset()
- func (x *PortBinding) SetContainerPort(v string)
- func (x *PortBinding) SetHostIp(v string)
- func (x *PortBinding) SetHostPort(v string)
- func (x *PortBinding) SetProtocol(v string)
- func (x *PortBinding) String() string
- type PortBinding_builder
- type Process
- func (x *Process) ClearUser()
- func (x *Process) ClearWorkingDir()
- func (x *Process) GetCommand() []string
- func (x *Process) GetEntrypoint() []string
- func (x *Process) GetUser() string
- func (x *Process) GetWorkingDir() string
- func (x *Process) HasUser() bool
- func (x *Process) HasWorkingDir() bool
- func (*Process) ProtoMessage()
- func (x *Process) ProtoReflect() protoreflect.Message
- func (x *Process) Reset()
- func (x *Process) SetCommand(v []string)
- func (x *Process) SetEntrypoint(v []string)
- func (x *Process) SetUser(v string)
- func (x *Process) SetWorkingDir(v string)
- func (x *Process) String() string
- type Process_builder
- type ResizeContainerRequest
- func (x *ResizeContainerRequest) ClearContainerId()
- func (x *ResizeContainerRequest) ClearHeight()
- func (x *ResizeContainerRequest) ClearWidth()
- func (x *ResizeContainerRequest) GetContainerId() string
- func (x *ResizeContainerRequest) GetHeight() uint32
- func (x *ResizeContainerRequest) GetWidth() uint32
- func (x *ResizeContainerRequest) HasContainerId() bool
- func (x *ResizeContainerRequest) HasHeight() bool
- func (x *ResizeContainerRequest) HasWidth() bool
- func (*ResizeContainerRequest) ProtoMessage()
- func (x *ResizeContainerRequest) ProtoReflect() protoreflect.Message
- func (x *ResizeContainerRequest) Reset()
- func (x *ResizeContainerRequest) SetContainerId(v string)
- func (x *ResizeContainerRequest) SetHeight(v uint32)
- func (x *ResizeContainerRequest) SetWidth(v uint32)
- func (x *ResizeContainerRequest) String() string
- type ResizeContainerRequest_builder
- type StartContainerRequest
- func (x *StartContainerRequest) ClearContainerId()
- func (x *StartContainerRequest) GetContainerId() string
- func (x *StartContainerRequest) HasContainerId() bool
- func (*StartContainerRequest) ProtoMessage()
- func (x *StartContainerRequest) ProtoReflect() protoreflect.Message
- func (x *StartContainerRequest) Reset()
- func (x *StartContainerRequest) SetContainerId(v string)
- func (x *StartContainerRequest) String() string
- type StartContainerRequest_builder
- type StreamContainerRequest
- func (x *StreamContainerRequest) ClearContainerId()
- func (x *StreamContainerRequest) ClearHeight()
- func (x *StreamContainerRequest) ClearWidth()
- func (x *StreamContainerRequest) GetContainerId() string
- func (x *StreamContainerRequest) GetHeight() uint32
- func (x *StreamContainerRequest) GetWidth() uint32
- func (x *StreamContainerRequest) HasContainerId() bool
- func (x *StreamContainerRequest) HasHeight() bool
- func (x *StreamContainerRequest) HasWidth() bool
- func (*StreamContainerRequest) ProtoMessage()
- func (x *StreamContainerRequest) ProtoReflect() protoreflect.Message
- func (x *StreamContainerRequest) Reset()
- func (x *StreamContainerRequest) SetContainerId(v string)
- func (x *StreamContainerRequest) SetHeight(v uint32)
- func (x *StreamContainerRequest) SetWidth(v uint32)
- func (x *StreamContainerRequest) String() string
- type StreamContainerRequest_builder
- type StreamContainerResponse
- func (x *StreamContainerResponse) ClearExitCode()
- func (x *StreamContainerResponse) ClearMessage()
- func (x *StreamContainerResponse) GetExitCode() int64
- func (x *StreamContainerResponse) GetMessage() string
- func (x *StreamContainerResponse) HasExitCode() bool
- func (x *StreamContainerResponse) HasMessage() bool
- func (*StreamContainerResponse) ProtoMessage()
- func (x *StreamContainerResponse) ProtoReflect() protoreflect.Message
- func (x *StreamContainerResponse) Reset()
- func (x *StreamContainerResponse) SetExitCode(v int64)
- func (x *StreamContainerResponse) SetMessage(v string)
- func (x *StreamContainerResponse) String() string
- type StreamContainerResponse_builder
- type TerminalConfig
- func (x *TerminalConfig) ClearConsoleHeight()
- func (x *TerminalConfig) ClearConsoleWidth()
- func (x *TerminalConfig) ClearStdio()
- func (x *TerminalConfig) ClearTty()
- func (x *TerminalConfig) GetConsoleHeight() int64
- func (x *TerminalConfig) GetConsoleWidth() int64
- func (x *TerminalConfig) GetStdio() bool
- func (x *TerminalConfig) GetTty() bool
- func (x *TerminalConfig) HasConsoleHeight() bool
- func (x *TerminalConfig) HasConsoleWidth() bool
- func (x *TerminalConfig) HasStdio() bool
- func (x *TerminalConfig) HasTty() bool
- func (*TerminalConfig) ProtoMessage()
- func (x *TerminalConfig) ProtoReflect() protoreflect.Message
- func (x *TerminalConfig) Reset()
- func (x *TerminalConfig) SetConsoleHeight(v int64)
- func (x *TerminalConfig) SetConsoleWidth(v int64)
- func (x *TerminalConfig) SetStdio(v bool)
- func (x *TerminalConfig) SetTty(v bool)
- func (x *TerminalConfig) String() string
- type TerminalConfig_builder
- type TmpfsMount
- func (x *TmpfsMount) ClearContainerPath()
- func (x *TmpfsMount) ClearMode()
- func (x *TmpfsMount) ClearSize()
- func (x *TmpfsMount) GetContainerPath() string
- func (x *TmpfsMount) GetMode() string
- func (x *TmpfsMount) GetSize() int64
- func (x *TmpfsMount) HasContainerPath() bool
- func (x *TmpfsMount) HasMode() bool
- func (x *TmpfsMount) HasSize() bool
- func (*TmpfsMount) ProtoMessage()
- func (x *TmpfsMount) ProtoReflect() protoreflect.Message
- func (x *TmpfsMount) Reset()
- func (x *TmpfsMount) SetContainerPath(v string)
- func (x *TmpfsMount) SetMode(v string)
- func (x *TmpfsMount) SetSize(v int64)
- func (x *TmpfsMount) String() string
- type TmpfsMount_builder
- type UnimplementedPluginServer
- func (UnimplementedPluginServer) CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
- func (UnimplementedPluginServer) CreateVolume(context.Context, *CreateVolumeRequest) (*emptypb.Empty, error)
- func (UnimplementedPluginServer) DeleteContainer(context.Context, *DeleteContainerRequest) (*emptypb.Empty, error)
- func (UnimplementedPluginServer) DeleteVolume(context.Context, *DeleteVolumeRequest) (*emptypb.Empty, error)
- func (UnimplementedPluginServer) GetImage(context.Context, *GetImageRequest) (*GetImageResponse, error)
- func (UnimplementedPluginServer) GetPluginMetadata(context.Context, *emptypb.Empty) (*v1alpha2.PluginMetadata, error)
- func (UnimplementedPluginServer) InitPlugin(context.Context, *emptypb.Empty) (*v1alpha2.InitPluginResponse, error)
- func (UnimplementedPluginServer) KillContainer(context.Context, *KillContainerRequest) (*emptypb.Empty, error)
- func (UnimplementedPluginServer) ResetPlugin(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedPluginServer) ResizeContainer(context.Context, *ResizeContainerRequest) (*emptypb.Empty, error)
- func (UnimplementedPluginServer) StartContainer(context.Context, *StartContainerRequest) (*emptypb.Empty, error)
- func (UnimplementedPluginServer) StreamContainer(context.Context, *StreamContainerRequest) (*StreamContainerResponse, error)
- func (UnimplementedPluginServer) StreamInput(grpc.ClientStreamingServer[v1alpha2.StreamInputRequest, emptypb.Empty]) error
- func (UnimplementedPluginServer) StreamOutput(*v1alpha2.StreamOutputRequest, grpc.ServerStreamingServer[v1alpha2.OutputData]) error
- func (UnimplementedPluginServer) WriteFile(context.Context, *WriteFileRequest) (*emptypb.Empty, error)
- type UnsafePluginServer
- type VolumeMount
- func (x *VolumeMount) ClearContainerPath()
- func (x *VolumeMount) ClearReadonly()
- func (x *VolumeMount) ClearSubpath()
- func (x *VolumeMount) ClearVolumeName()
- func (x *VolumeMount) GetContainerPath() string
- func (x *VolumeMount) GetReadonly() bool
- func (x *VolumeMount) GetSubpath() string
- func (x *VolumeMount) GetVolumeName() string
- func (x *VolumeMount) HasContainerPath() bool
- func (x *VolumeMount) HasReadonly() bool
- func (x *VolumeMount) HasSubpath() bool
- func (x *VolumeMount) HasVolumeName() bool
- func (*VolumeMount) ProtoMessage()
- func (x *VolumeMount) ProtoReflect() protoreflect.Message
- func (x *VolumeMount) Reset()
- func (x *VolumeMount) SetContainerPath(v string)
- func (x *VolumeMount) SetReadonly(v bool)
- func (x *VolumeMount) SetSubpath(v string)
- func (x *VolumeMount) SetVolumeName(v string)
- func (x *VolumeMount) String() string
- type VolumeMount_builder
- type WriteFileRequest
- func (x *WriteFileRequest) ClearContainerId()
- func (x *WriteFileRequest) ClearContents()
- func (x *WriteFileRequest) ClearFilePath()
- func (x *WriteFileRequest) GetContainerId() string
- func (x *WriteFileRequest) GetContents() string
- func (x *WriteFileRequest) GetFilePath() string
- func (x *WriteFileRequest) HasContainerId() bool
- func (x *WriteFileRequest) HasContents() bool
- func (x *WriteFileRequest) HasFilePath() bool
- func (*WriteFileRequest) ProtoMessage()
- func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
- func (x *WriteFileRequest) Reset()
- func (x *WriteFileRequest) SetContainerId(v string)
- func (x *WriteFileRequest) SetContents(v string)
- func (x *WriteFileRequest) SetFilePath(v string)
- func (x *WriteFileRequest) String() string
- type WriteFileRequest_builder
Constants ¶
const ( Plugin_GetPluginMetadata_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/GetPluginMetadata" Plugin_InitPlugin_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/InitPlugin" Plugin_ResetPlugin_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/ResetPlugin" Plugin_StreamInput_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/StreamInput" Plugin_StreamOutput_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/StreamOutput" Plugin_CreateContainer_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/CreateContainer" Plugin_DeleteContainer_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/DeleteContainer" Plugin_StartContainer_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/StartContainer" Plugin_StreamContainer_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/StreamContainer" Plugin_ResizeContainer_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/ResizeContainer" Plugin_KillContainer_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/KillContainer" Plugin_CreateVolume_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/CreateVolume" Plugin_DeleteVolume_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/DeleteVolume" Plugin_WriteFile_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/WriteFile" Plugin_GetImage_FullMethodName = "/com.wabenet.dodo.runtime.v1alpha2.Plugin/GetImage" )
const Mount_Bind_case case_Mount_Type = 1
const Mount_Device_case case_Mount_Type = 5
const Mount_Image_case case_Mount_Type = 4
const Mount_Tmpfs_case case_Mount_Type = 3
const Mount_Type_not_set_case case_Mount_Type = 0
const Mount_Volume_case case_Mount_Type = 2
Variables ¶
var File_runtime_v1alpha2_runtime_proto protoreflect.FileDescriptor
var Plugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.wabenet.dodo.runtime.v1alpha2.Plugin", HandlerType: (*PluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPluginMetadata", Handler: _Plugin_GetPluginMetadata_Handler, }, { MethodName: "InitPlugin", Handler: _Plugin_InitPlugin_Handler, }, { MethodName: "ResetPlugin", Handler: _Plugin_ResetPlugin_Handler, }, { MethodName: "CreateContainer", Handler: _Plugin_CreateContainer_Handler, }, { MethodName: "DeleteContainer", Handler: _Plugin_DeleteContainer_Handler, }, { MethodName: "StartContainer", Handler: _Plugin_StartContainer_Handler, }, { MethodName: "StreamContainer", Handler: _Plugin_StreamContainer_Handler, }, { MethodName: "ResizeContainer", Handler: _Plugin_ResizeContainer_Handler, }, { MethodName: "KillContainer", Handler: _Plugin_KillContainer_Handler, }, { MethodName: "CreateVolume", Handler: _Plugin_CreateVolume_Handler, }, { MethodName: "DeleteVolume", Handler: _Plugin_DeleteVolume_Handler, }, { MethodName: "WriteFile", Handler: _Plugin_WriteFile_Handler, }, { MethodName: "GetImage", Handler: _Plugin_GetImage_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamInput", Handler: _Plugin_StreamInput_Handler, ClientStreams: true, }, { StreamName: "StreamOutput", Handler: _Plugin_StreamOutput_Handler, ServerStreams: true, }, }, Metadata: "runtime/v1alpha2/runtime.proto", }
Plugin_ServiceDesc is the grpc.ServiceDesc for Plugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPluginServer ¶
func RegisterPluginServer(s grpc.ServiceRegistrar, srv PluginServer)
Types ¶
type BindMount ¶ added in v0.10.0
type BindMount struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*BindMount) ClearContainerPath ¶ added in v0.10.0
func (x *BindMount) ClearContainerPath()
func (*BindMount) ClearHostPath ¶ added in v0.10.0
func (x *BindMount) ClearHostPath()
func (*BindMount) ClearReadonly ¶ added in v0.10.0
func (x *BindMount) ClearReadonly()
func (*BindMount) GetContainerPath ¶ added in v0.10.0
func (*BindMount) GetHostPath ¶ added in v0.10.0
func (*BindMount) GetReadonly ¶ added in v0.10.0
func (*BindMount) HasContainerPath ¶ added in v0.10.0
func (*BindMount) HasHostPath ¶ added in v0.10.0
func (*BindMount) HasReadonly ¶ added in v0.10.0
func (*BindMount) ProtoMessage ¶ added in v0.10.0
func (*BindMount) ProtoMessage()
func (*BindMount) ProtoReflect ¶ added in v0.10.0
func (x *BindMount) ProtoReflect() protoreflect.Message
func (*BindMount) SetContainerPath ¶ added in v0.10.0
func (*BindMount) SetHostPath ¶ added in v0.10.0
func (*BindMount) SetReadonly ¶ added in v0.10.0
type BindMount_builder ¶ added in v0.10.0
type BindMount_builder struct {
HostPath *string
ContainerPath *string
Readonly *bool
// contains filtered or unexported fields
}
func (BindMount_builder) Build ¶ added in v0.10.0
func (b0 BindMount_builder) Build() *BindMount
type ContainerConfig ¶ added in v0.10.0
type ContainerConfig struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*ContainerConfig) ClearImage ¶ added in v0.10.0
func (x *ContainerConfig) ClearImage()
func (*ContainerConfig) ClearName ¶ added in v0.10.0
func (x *ContainerConfig) ClearName()
func (*ContainerConfig) ClearProcess ¶ added in v0.10.0
func (x *ContainerConfig) ClearProcess()
func (*ContainerConfig) ClearTerminal ¶ added in v0.10.0
func (x *ContainerConfig) ClearTerminal()
func (*ContainerConfig) GetCapabilities ¶ added in v0.10.0
func (x *ContainerConfig) GetCapabilities() []string
func (*ContainerConfig) GetEnvironment ¶ added in v0.10.0
func (x *ContainerConfig) GetEnvironment() []*EnvironmentVariable
func (*ContainerConfig) GetImage ¶ added in v0.10.0
func (x *ContainerConfig) GetImage() string
func (*ContainerConfig) GetMounts ¶ added in v0.10.0
func (x *ContainerConfig) GetMounts() []*Mount
func (*ContainerConfig) GetName ¶ added in v0.10.0
func (x *ContainerConfig) GetName() string
func (*ContainerConfig) GetPorts ¶ added in v0.10.0
func (x *ContainerConfig) GetPorts() []*PortBinding
func (*ContainerConfig) GetProcess ¶ added in v0.10.0
func (x *ContainerConfig) GetProcess() *Process
func (*ContainerConfig) GetTerminal ¶ added in v0.10.0
func (x *ContainerConfig) GetTerminal() *TerminalConfig
func (*ContainerConfig) HasImage ¶ added in v0.10.0
func (x *ContainerConfig) HasImage() bool
func (*ContainerConfig) HasName ¶ added in v0.10.0
func (x *ContainerConfig) HasName() bool
func (*ContainerConfig) HasProcess ¶ added in v0.10.0
func (x *ContainerConfig) HasProcess() bool
func (*ContainerConfig) HasTerminal ¶ added in v0.10.0
func (x *ContainerConfig) HasTerminal() bool
func (*ContainerConfig) ProtoMessage ¶ added in v0.10.0
func (*ContainerConfig) ProtoMessage()
func (*ContainerConfig) ProtoReflect ¶ added in v0.10.0
func (x *ContainerConfig) ProtoReflect() protoreflect.Message
func (*ContainerConfig) Reset ¶ added in v0.10.0
func (x *ContainerConfig) Reset()
func (*ContainerConfig) SetCapabilities ¶ added in v0.10.0
func (x *ContainerConfig) SetCapabilities(v []string)
func (*ContainerConfig) SetEnvironment ¶ added in v0.10.0
func (x *ContainerConfig) SetEnvironment(v []*EnvironmentVariable)
func (*ContainerConfig) SetImage ¶ added in v0.10.0
func (x *ContainerConfig) SetImage(v string)
func (*ContainerConfig) SetMounts ¶ added in v0.10.0
func (x *ContainerConfig) SetMounts(v []*Mount)
func (*ContainerConfig) SetName ¶ added in v0.10.0
func (x *ContainerConfig) SetName(v string)
func (*ContainerConfig) SetPorts ¶ added in v0.10.0
func (x *ContainerConfig) SetPorts(v []*PortBinding)
func (*ContainerConfig) SetProcess ¶ added in v0.10.0
func (x *ContainerConfig) SetProcess(v *Process)
func (*ContainerConfig) SetTerminal ¶ added in v0.10.0
func (x *ContainerConfig) SetTerminal(v *TerminalConfig)
func (*ContainerConfig) String ¶ added in v0.10.0
func (x *ContainerConfig) String() string
type ContainerConfig_builder ¶ added in v0.10.0
type ContainerConfig_builder struct {
Name *string
Image *string
Process *Process
Terminal *TerminalConfig
Environment []*EnvironmentVariable
Ports []*PortBinding
Mounts []*Mount
Capabilities []string
// contains filtered or unexported fields
}
func (ContainerConfig_builder) Build ¶ added in v0.10.0
func (b0 ContainerConfig_builder) Build() *ContainerConfig
type CreateContainerRequest ¶
type CreateContainerRequest struct {
// contains filtered or unexported fields
}
func (*CreateContainerRequest) ClearConfig ¶ added in v0.10.0
func (x *CreateContainerRequest) ClearConfig()
func (*CreateContainerRequest) GetConfig ¶
func (x *CreateContainerRequest) GetConfig() *ContainerConfig
func (*CreateContainerRequest) HasConfig ¶ added in v0.10.0
func (x *CreateContainerRequest) HasConfig() bool
func (*CreateContainerRequest) ProtoMessage ¶
func (*CreateContainerRequest) ProtoMessage()
func (*CreateContainerRequest) ProtoReflect ¶
func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message
func (*CreateContainerRequest) Reset ¶
func (x *CreateContainerRequest) Reset()
func (*CreateContainerRequest) SetConfig ¶ added in v0.10.0
func (x *CreateContainerRequest) SetConfig(v *ContainerConfig)
func (*CreateContainerRequest) String ¶
func (x *CreateContainerRequest) String() string
type CreateContainerRequest_builder ¶ added in v0.10.0
type CreateContainerRequest_builder struct {
Config *ContainerConfig
// contains filtered or unexported fields
}
func (CreateContainerRequest_builder) Build ¶ added in v0.10.0
func (b0 CreateContainerRequest_builder) Build() *CreateContainerRequest
type CreateContainerResponse ¶
type CreateContainerResponse struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*CreateContainerResponse) ClearContainerId ¶ added in v0.10.0
func (x *CreateContainerResponse) ClearContainerId()
func (*CreateContainerResponse) GetContainerId ¶
func (x *CreateContainerResponse) GetContainerId() string
func (*CreateContainerResponse) HasContainerId ¶ added in v0.10.0
func (x *CreateContainerResponse) HasContainerId() bool
func (*CreateContainerResponse) ProtoMessage ¶
func (*CreateContainerResponse) ProtoMessage()
func (*CreateContainerResponse) ProtoReflect ¶
func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message
func (*CreateContainerResponse) Reset ¶
func (x *CreateContainerResponse) Reset()
func (*CreateContainerResponse) SetContainerId ¶ added in v0.10.0
func (x *CreateContainerResponse) SetContainerId(v string)
func (*CreateContainerResponse) String ¶
func (x *CreateContainerResponse) String() string
type CreateContainerResponse_builder ¶ added in v0.10.0
type CreateContainerResponse_builder struct {
ContainerId *string
// contains filtered or unexported fields
}
func (CreateContainerResponse_builder) Build ¶ added in v0.10.0
func (b0 CreateContainerResponse_builder) Build() *CreateContainerResponse
type CreateVolumeRequest ¶
type CreateVolumeRequest struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*CreateVolumeRequest) ClearName ¶ added in v0.10.0
func (x *CreateVolumeRequest) ClearName()
func (*CreateVolumeRequest) GetName ¶
func (x *CreateVolumeRequest) GetName() string
func (*CreateVolumeRequest) HasName ¶ added in v0.10.0
func (x *CreateVolumeRequest) HasName() bool
func (*CreateVolumeRequest) ProtoMessage ¶
func (*CreateVolumeRequest) ProtoMessage()
func (*CreateVolumeRequest) ProtoReflect ¶
func (x *CreateVolumeRequest) ProtoReflect() protoreflect.Message
func (*CreateVolumeRequest) Reset ¶
func (x *CreateVolumeRequest) Reset()
func (*CreateVolumeRequest) SetName ¶ added in v0.10.0
func (x *CreateVolumeRequest) SetName(v string)
func (*CreateVolumeRequest) String ¶
func (x *CreateVolumeRequest) String() string
type CreateVolumeRequest_builder ¶ added in v0.10.0
type CreateVolumeRequest_builder struct {
Name *string
// contains filtered or unexported fields
}
func (CreateVolumeRequest_builder) Build ¶ added in v0.10.0
func (b0 CreateVolumeRequest_builder) Build() *CreateVolumeRequest
type DeleteContainerRequest ¶
type DeleteContainerRequest struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*DeleteContainerRequest) ClearContainerId ¶ added in v0.10.0
func (x *DeleteContainerRequest) ClearContainerId()
func (*DeleteContainerRequest) GetContainerId ¶
func (x *DeleteContainerRequest) GetContainerId() string
func (*DeleteContainerRequest) HasContainerId ¶ added in v0.10.0
func (x *DeleteContainerRequest) HasContainerId() bool
func (*DeleteContainerRequest) ProtoMessage ¶
func (*DeleteContainerRequest) ProtoMessage()
func (*DeleteContainerRequest) ProtoReflect ¶
func (x *DeleteContainerRequest) ProtoReflect() protoreflect.Message
func (*DeleteContainerRequest) Reset ¶
func (x *DeleteContainerRequest) Reset()
func (*DeleteContainerRequest) SetContainerId ¶ added in v0.10.0
func (x *DeleteContainerRequest) SetContainerId(v string)
func (*DeleteContainerRequest) String ¶
func (x *DeleteContainerRequest) String() string
type DeleteContainerRequest_builder ¶ added in v0.10.0
type DeleteContainerRequest_builder struct {
ContainerId *string
// contains filtered or unexported fields
}
func (DeleteContainerRequest_builder) Build ¶ added in v0.10.0
func (b0 DeleteContainerRequest_builder) Build() *DeleteContainerRequest
type DeleteVolumeRequest ¶
type DeleteVolumeRequest struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*DeleteVolumeRequest) ClearName ¶ added in v0.10.0
func (x *DeleteVolumeRequest) ClearName()
func (*DeleteVolumeRequest) GetName ¶
func (x *DeleteVolumeRequest) GetName() string
func (*DeleteVolumeRequest) HasName ¶ added in v0.10.0
func (x *DeleteVolumeRequest) HasName() bool
func (*DeleteVolumeRequest) ProtoMessage ¶
func (*DeleteVolumeRequest) ProtoMessage()
func (*DeleteVolumeRequest) ProtoReflect ¶
func (x *DeleteVolumeRequest) ProtoReflect() protoreflect.Message
func (*DeleteVolumeRequest) Reset ¶
func (x *DeleteVolumeRequest) Reset()
func (*DeleteVolumeRequest) SetName ¶ added in v0.10.0
func (x *DeleteVolumeRequest) SetName(v string)
func (*DeleteVolumeRequest) String ¶
func (x *DeleteVolumeRequest) String() string
type DeleteVolumeRequest_builder ¶ added in v0.10.0
type DeleteVolumeRequest_builder struct {
Name *string
// contains filtered or unexported fields
}
func (DeleteVolumeRequest_builder) Build ¶ added in v0.10.0
func (b0 DeleteVolumeRequest_builder) Build() *DeleteVolumeRequest
type DeviceMount ¶ added in v0.10.0
type DeviceMount struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*DeviceMount) ClearCgroupRule ¶ added in v0.10.0
func (x *DeviceMount) ClearCgroupRule()
func (*DeviceMount) ClearContainerPath ¶ added in v0.10.0
func (x *DeviceMount) ClearContainerPath()
func (*DeviceMount) ClearHostPath ¶ added in v0.10.0
func (x *DeviceMount) ClearHostPath()
func (*DeviceMount) ClearPermissions ¶ added in v0.10.0
func (x *DeviceMount) ClearPermissions()
func (*DeviceMount) GetCgroupRule ¶ added in v0.10.0
func (x *DeviceMount) GetCgroupRule() string
func (*DeviceMount) GetContainerPath ¶ added in v0.10.0
func (x *DeviceMount) GetContainerPath() string
func (*DeviceMount) GetHostPath ¶ added in v0.10.0
func (x *DeviceMount) GetHostPath() string
func (*DeviceMount) GetPermissions ¶ added in v0.10.0
func (x *DeviceMount) GetPermissions() string
func (*DeviceMount) HasCgroupRule ¶ added in v0.10.0
func (x *DeviceMount) HasCgroupRule() bool
func (*DeviceMount) HasContainerPath ¶ added in v0.10.0
func (x *DeviceMount) HasContainerPath() bool
func (*DeviceMount) HasHostPath ¶ added in v0.10.0
func (x *DeviceMount) HasHostPath() bool
func (*DeviceMount) HasPermissions ¶ added in v0.10.0
func (x *DeviceMount) HasPermissions() bool
func (*DeviceMount) ProtoMessage ¶ added in v0.10.0
func (*DeviceMount) ProtoMessage()
func (*DeviceMount) ProtoReflect ¶ added in v0.10.0
func (x *DeviceMount) ProtoReflect() protoreflect.Message
func (*DeviceMount) Reset ¶ added in v0.10.0
func (x *DeviceMount) Reset()
func (*DeviceMount) SetCgroupRule ¶ added in v0.10.0
func (x *DeviceMount) SetCgroupRule(v string)
func (*DeviceMount) SetContainerPath ¶ added in v0.10.0
func (x *DeviceMount) SetContainerPath(v string)
func (*DeviceMount) SetHostPath ¶ added in v0.10.0
func (x *DeviceMount) SetHostPath(v string)
func (*DeviceMount) SetPermissions ¶ added in v0.10.0
func (x *DeviceMount) SetPermissions(v string)
func (*DeviceMount) String ¶ added in v0.10.0
func (x *DeviceMount) String() string
type DeviceMount_builder ¶ added in v0.10.0
type DeviceMount_builder struct {
CgroupRule *string
HostPath *string
ContainerPath *string
Permissions *string
// contains filtered or unexported fields
}
func (DeviceMount_builder) Build ¶ added in v0.10.0
func (b0 DeviceMount_builder) Build() *DeviceMount
type EnvironmentVariable ¶ added in v0.10.0
type EnvironmentVariable struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*EnvironmentVariable) ClearKey ¶ added in v0.10.0
func (x *EnvironmentVariable) ClearKey()
func (*EnvironmentVariable) ClearValue ¶ added in v0.10.0
func (x *EnvironmentVariable) ClearValue()
func (*EnvironmentVariable) GetKey ¶ added in v0.10.0
func (x *EnvironmentVariable) GetKey() string
func (*EnvironmentVariable) GetValue ¶ added in v0.10.0
func (x *EnvironmentVariable) GetValue() string
func (*EnvironmentVariable) HasKey ¶ added in v0.10.0
func (x *EnvironmentVariable) HasKey() bool
func (*EnvironmentVariable) HasValue ¶ added in v0.10.0
func (x *EnvironmentVariable) HasValue() bool
func (*EnvironmentVariable) ProtoMessage ¶ added in v0.10.0
func (*EnvironmentVariable) ProtoMessage()
func (*EnvironmentVariable) ProtoReflect ¶ added in v0.10.0
func (x *EnvironmentVariable) ProtoReflect() protoreflect.Message
func (*EnvironmentVariable) Reset ¶ added in v0.10.0
func (x *EnvironmentVariable) Reset()
func (*EnvironmentVariable) SetKey ¶ added in v0.10.0
func (x *EnvironmentVariable) SetKey(v string)
func (*EnvironmentVariable) SetValue ¶ added in v0.10.0
func (x *EnvironmentVariable) SetValue(v string)
func (*EnvironmentVariable) String ¶ added in v0.10.0
func (x *EnvironmentVariable) String() string
type EnvironmentVariable_builder ¶ added in v0.10.0
type EnvironmentVariable_builder struct {
Key *string
Value *string
// contains filtered or unexported fields
}
func (EnvironmentVariable_builder) Build ¶ added in v0.10.0
func (b0 EnvironmentVariable_builder) Build() *EnvironmentVariable
type GetImageRequest ¶
type GetImageRequest struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*GetImageRequest) ClearImageSpec ¶ added in v0.10.0
func (x *GetImageRequest) ClearImageSpec()
func (*GetImageRequest) GetImageSpec ¶
func (x *GetImageRequest) GetImageSpec() string
func (*GetImageRequest) HasImageSpec ¶ added in v0.10.0
func (x *GetImageRequest) HasImageSpec() bool
func (*GetImageRequest) ProtoMessage ¶
func (*GetImageRequest) ProtoMessage()
func (*GetImageRequest) ProtoReflect ¶
func (x *GetImageRequest) ProtoReflect() protoreflect.Message
func (*GetImageRequest) Reset ¶
func (x *GetImageRequest) Reset()
func (*GetImageRequest) SetImageSpec ¶ added in v0.10.0
func (x *GetImageRequest) SetImageSpec(v string)
func (*GetImageRequest) String ¶
func (x *GetImageRequest) String() string
type GetImageRequest_builder ¶ added in v0.10.0
type GetImageRequest_builder struct {
ImageSpec *string
// contains filtered or unexported fields
}
func (GetImageRequest_builder) Build ¶ added in v0.10.0
func (b0 GetImageRequest_builder) Build() *GetImageRequest
type GetImageResponse ¶
type GetImageResponse struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*GetImageResponse) ClearImageId ¶ added in v0.10.0
func (x *GetImageResponse) ClearImageId()
func (*GetImageResponse) GetImageId ¶
func (x *GetImageResponse) GetImageId() string
func (*GetImageResponse) HasImageId ¶ added in v0.10.0
func (x *GetImageResponse) HasImageId() bool
func (*GetImageResponse) ProtoMessage ¶
func (*GetImageResponse) ProtoMessage()
func (*GetImageResponse) ProtoReflect ¶
func (x *GetImageResponse) ProtoReflect() protoreflect.Message
func (*GetImageResponse) Reset ¶
func (x *GetImageResponse) Reset()
func (*GetImageResponse) SetImageId ¶ added in v0.10.0
func (x *GetImageResponse) SetImageId(v string)
func (*GetImageResponse) String ¶
func (x *GetImageResponse) String() string
type GetImageResponse_builder ¶ added in v0.10.0
type GetImageResponse_builder struct {
ImageId *string
// contains filtered or unexported fields
}
func (GetImageResponse_builder) Build ¶ added in v0.10.0
func (b0 GetImageResponse_builder) Build() *GetImageResponse
type ImageMount ¶ added in v0.10.0
type ImageMount struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*ImageMount) ClearContainerPath ¶ added in v0.10.0
func (x *ImageMount) ClearContainerPath()
func (*ImageMount) ClearImage ¶ added in v0.10.0
func (x *ImageMount) ClearImage()
func (*ImageMount) ClearReadonly ¶ added in v0.10.0
func (x *ImageMount) ClearReadonly()
func (*ImageMount) ClearSubpath ¶ added in v0.10.0
func (x *ImageMount) ClearSubpath()
func (*ImageMount) GetContainerPath ¶ added in v0.10.0
func (x *ImageMount) GetContainerPath() string
func (*ImageMount) GetImage ¶ added in v0.10.0
func (x *ImageMount) GetImage() string
func (*ImageMount) GetReadonly ¶ added in v0.10.0
func (x *ImageMount) GetReadonly() bool
func (*ImageMount) GetSubpath ¶ added in v0.10.0
func (x *ImageMount) GetSubpath() string
func (*ImageMount) HasContainerPath ¶ added in v0.10.0
func (x *ImageMount) HasContainerPath() bool
func (*ImageMount) HasImage ¶ added in v0.10.0
func (x *ImageMount) HasImage() bool
func (*ImageMount) HasReadonly ¶ added in v0.10.0
func (x *ImageMount) HasReadonly() bool
func (*ImageMount) HasSubpath ¶ added in v0.10.0
func (x *ImageMount) HasSubpath() bool
func (*ImageMount) ProtoMessage ¶ added in v0.10.0
func (*ImageMount) ProtoMessage()
func (*ImageMount) ProtoReflect ¶ added in v0.10.0
func (x *ImageMount) ProtoReflect() protoreflect.Message
func (*ImageMount) Reset ¶ added in v0.10.0
func (x *ImageMount) Reset()
func (*ImageMount) SetContainerPath ¶ added in v0.10.0
func (x *ImageMount) SetContainerPath(v string)
func (*ImageMount) SetImage ¶ added in v0.10.0
func (x *ImageMount) SetImage(v string)
func (*ImageMount) SetReadonly ¶ added in v0.10.0
func (x *ImageMount) SetReadonly(v bool)
func (*ImageMount) SetSubpath ¶ added in v0.10.0
func (x *ImageMount) SetSubpath(v string)
func (*ImageMount) String ¶ added in v0.10.0
func (x *ImageMount) String() string
type ImageMount_builder ¶ added in v0.10.0
type ImageMount_builder struct {
Image *string
ContainerPath *string
Subpath *string
Readonly *bool
// contains filtered or unexported fields
}
func (ImageMount_builder) Build ¶ added in v0.10.0
func (b0 ImageMount_builder) Build() *ImageMount
type KillContainerRequest ¶
type KillContainerRequest struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*KillContainerRequest) ClearContainerId ¶ added in v0.10.0
func (x *KillContainerRequest) ClearContainerId()
func (*KillContainerRequest) ClearSignal ¶ added in v0.10.0
func (x *KillContainerRequest) ClearSignal()
func (*KillContainerRequest) GetContainerId ¶
func (x *KillContainerRequest) GetContainerId() string
func (*KillContainerRequest) GetSignal ¶
func (x *KillContainerRequest) GetSignal() string
func (*KillContainerRequest) HasContainerId ¶ added in v0.10.0
func (x *KillContainerRequest) HasContainerId() bool
func (*KillContainerRequest) HasSignal ¶ added in v0.10.0
func (x *KillContainerRequest) HasSignal() bool
func (*KillContainerRequest) ProtoMessage ¶
func (*KillContainerRequest) ProtoMessage()
func (*KillContainerRequest) ProtoReflect ¶
func (x *KillContainerRequest) ProtoReflect() protoreflect.Message
func (*KillContainerRequest) Reset ¶
func (x *KillContainerRequest) Reset()
func (*KillContainerRequest) SetContainerId ¶ added in v0.10.0
func (x *KillContainerRequest) SetContainerId(v string)
func (*KillContainerRequest) SetSignal ¶ added in v0.10.0
func (x *KillContainerRequest) SetSignal(v string)
func (*KillContainerRequest) String ¶
func (x *KillContainerRequest) String() string
type KillContainerRequest_builder ¶ added in v0.10.0
type KillContainerRequest_builder struct {
ContainerId *string
Signal *string
// contains filtered or unexported fields
}
func (KillContainerRequest_builder) Build ¶ added in v0.10.0
func (b0 KillContainerRequest_builder) Build() *KillContainerRequest
type Mount ¶ added in v0.10.0
type Mount struct {
// contains filtered or unexported fields
}
func (*Mount) ClearDevice ¶ added in v0.10.0
func (x *Mount) ClearDevice()
func (*Mount) ClearImage ¶ added in v0.10.0
func (x *Mount) ClearImage()
func (*Mount) ClearTmpfs ¶ added in v0.10.0
func (x *Mount) ClearTmpfs()
func (*Mount) ClearVolume ¶ added in v0.10.0
func (x *Mount) ClearVolume()
func (*Mount) GetDevice ¶ added in v0.10.0
func (x *Mount) GetDevice() *DeviceMount
func (*Mount) GetImage ¶ added in v0.10.0
func (x *Mount) GetImage() *ImageMount
func (*Mount) GetTmpfs ¶ added in v0.10.0
func (x *Mount) GetTmpfs() *TmpfsMount
func (*Mount) GetVolume ¶ added in v0.10.0
func (x *Mount) GetVolume() *VolumeMount
func (*Mount) ProtoMessage ¶ added in v0.10.0
func (*Mount) ProtoMessage()
func (*Mount) ProtoReflect ¶ added in v0.10.0
func (x *Mount) ProtoReflect() protoreflect.Message
func (*Mount) SetDevice ¶ added in v0.10.0
func (x *Mount) SetDevice(v *DeviceMount)
func (*Mount) SetImage ¶ added in v0.10.0
func (x *Mount) SetImage(v *ImageMount)
func (*Mount) SetTmpfs ¶ added in v0.10.0
func (x *Mount) SetTmpfs(v *TmpfsMount)
func (*Mount) SetVolume ¶ added in v0.10.0
func (x *Mount) SetVolume(v *VolumeMount)
type Mount_builder ¶ added in v0.10.0
type Mount_builder struct {
// Fields of oneof xxx_hidden_Type:
Bind *BindMount
Volume *VolumeMount
Tmpfs *TmpfsMount
Image *ImageMount
Device *DeviceMount
// contains filtered or unexported fields
}
func (Mount_builder) Build ¶ added in v0.10.0
func (b0 Mount_builder) Build() *Mount
type PluginClient ¶
type PluginClient interface {
GetPluginMetadata(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v1alpha2.PluginMetadata, error)
InitPlugin(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v1alpha2.InitPluginResponse, error)
ResetPlugin(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
StreamInput(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[v1alpha2.StreamInputRequest, emptypb.Empty], error)
StreamOutput(ctx context.Context, in *v1alpha2.StreamOutputRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[v1alpha2.OutputData], error)
CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error)
DeleteContainer(ctx context.Context, in *DeleteContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
StartContainer(ctx context.Context, in *StartContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
StreamContainer(ctx context.Context, in *StreamContainerRequest, opts ...grpc.CallOption) (*StreamContainerResponse, error)
ResizeContainer(ctx context.Context, in *ResizeContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
KillContainer(ctx context.Context, in *KillContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
CreateVolume(ctx context.Context, in *CreateVolumeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteVolume(ctx context.Context, in *DeleteVolumeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
WriteFile(ctx context.Context, in *WriteFileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
GetImage(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*GetImageResponse, error)
}
PluginClient is the client API for Plugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPluginClient ¶
func NewPluginClient(cc grpc.ClientConnInterface) PluginClient
type PluginServer ¶
type PluginServer interface {
GetPluginMetadata(context.Context, *emptypb.Empty) (*v1alpha2.PluginMetadata, error)
InitPlugin(context.Context, *emptypb.Empty) (*v1alpha2.InitPluginResponse, error)
ResetPlugin(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
StreamInput(grpc.ClientStreamingServer[v1alpha2.StreamInputRequest, emptypb.Empty]) error
StreamOutput(*v1alpha2.StreamOutputRequest, grpc.ServerStreamingServer[v1alpha2.OutputData]) error
CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
DeleteContainer(context.Context, *DeleteContainerRequest) (*emptypb.Empty, error)
StartContainer(context.Context, *StartContainerRequest) (*emptypb.Empty, error)
StreamContainer(context.Context, *StreamContainerRequest) (*StreamContainerResponse, error)
ResizeContainer(context.Context, *ResizeContainerRequest) (*emptypb.Empty, error)
KillContainer(context.Context, *KillContainerRequest) (*emptypb.Empty, error)
CreateVolume(context.Context, *CreateVolumeRequest) (*emptypb.Empty, error)
DeleteVolume(context.Context, *DeleteVolumeRequest) (*emptypb.Empty, error)
WriteFile(context.Context, *WriteFileRequest) (*emptypb.Empty, error)
GetImage(context.Context, *GetImageRequest) (*GetImageResponse, error)
// contains filtered or unexported methods
}
PluginServer is the server API for Plugin service. All implementations must embed UnimplementedPluginServer for forward compatibility.
type Plugin_StreamInputClient ¶
type Plugin_StreamInputClient = grpc.ClientStreamingClient[v1alpha2.StreamInputRequest, emptypb.Empty]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Plugin_StreamInputServer ¶
type Plugin_StreamInputServer = grpc.ClientStreamingServer[v1alpha2.StreamInputRequest, emptypb.Empty]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Plugin_StreamOutputClient ¶
type Plugin_StreamOutputClient = grpc.ServerStreamingClient[v1alpha2.OutputData]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Plugin_StreamOutputServer ¶
type Plugin_StreamOutputServer = grpc.ServerStreamingServer[v1alpha2.OutputData]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PortBinding ¶ added in v0.10.0
type PortBinding struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*PortBinding) ClearContainerPort ¶ added in v0.10.0
func (x *PortBinding) ClearContainerPort()
func (*PortBinding) ClearHostIp ¶ added in v0.10.0
func (x *PortBinding) ClearHostIp()
func (*PortBinding) ClearHostPort ¶ added in v0.10.0
func (x *PortBinding) ClearHostPort()
func (*PortBinding) ClearProtocol ¶ added in v0.10.0
func (x *PortBinding) ClearProtocol()
func (*PortBinding) GetContainerPort ¶ added in v0.10.0
func (x *PortBinding) GetContainerPort() string
func (*PortBinding) GetHostIp ¶ added in v0.10.0
func (x *PortBinding) GetHostIp() string
func (*PortBinding) GetHostPort ¶ added in v0.10.0
func (x *PortBinding) GetHostPort() string
func (*PortBinding) GetProtocol ¶ added in v0.10.0
func (x *PortBinding) GetProtocol() string
func (*PortBinding) HasContainerPort ¶ added in v0.10.0
func (x *PortBinding) HasContainerPort() bool
func (*PortBinding) HasHostIp ¶ added in v0.10.0
func (x *PortBinding) HasHostIp() bool
func (*PortBinding) HasHostPort ¶ added in v0.10.0
func (x *PortBinding) HasHostPort() bool
func (*PortBinding) HasProtocol ¶ added in v0.10.0
func (x *PortBinding) HasProtocol() bool
func (*PortBinding) ProtoMessage ¶ added in v0.10.0
func (*PortBinding) ProtoMessage()
func (*PortBinding) ProtoReflect ¶ added in v0.10.0
func (x *PortBinding) ProtoReflect() protoreflect.Message
func (*PortBinding) Reset ¶ added in v0.10.0
func (x *PortBinding) Reset()
func (*PortBinding) SetContainerPort ¶ added in v0.10.0
func (x *PortBinding) SetContainerPort(v string)
func (*PortBinding) SetHostIp ¶ added in v0.10.0
func (x *PortBinding) SetHostIp(v string)
func (*PortBinding) SetHostPort ¶ added in v0.10.0
func (x *PortBinding) SetHostPort(v string)
func (*PortBinding) SetProtocol ¶ added in v0.10.0
func (x *PortBinding) SetProtocol(v string)
func (*PortBinding) String ¶ added in v0.10.0
func (x *PortBinding) String() string
type PortBinding_builder ¶ added in v0.10.0
type PortBinding_builder struct {
HostPort *string
ContainerPort *string
Protocol *string
HostIp *string
// contains filtered or unexported fields
}
func (PortBinding_builder) Build ¶ added in v0.10.0
func (b0 PortBinding_builder) Build() *PortBinding
type Process ¶ added in v0.10.0
type Process struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Process) ClearWorkingDir ¶ added in v0.10.0
func (x *Process) ClearWorkingDir()
func (*Process) GetCommand ¶ added in v0.10.0
func (*Process) GetEntrypoint ¶ added in v0.10.0
func (*Process) GetWorkingDir ¶ added in v0.10.0
func (*Process) HasWorkingDir ¶ added in v0.10.0
func (*Process) ProtoMessage ¶ added in v0.10.0
func (*Process) ProtoMessage()
func (*Process) ProtoReflect ¶ added in v0.10.0
func (x *Process) ProtoReflect() protoreflect.Message
func (*Process) SetCommand ¶ added in v0.10.0
func (*Process) SetEntrypoint ¶ added in v0.10.0
func (*Process) SetWorkingDir ¶ added in v0.10.0
type Process_builder ¶ added in v0.10.0
type Process_builder struct {
User *string
WorkingDir *string
Entrypoint []string
Command []string
// contains filtered or unexported fields
}
func (Process_builder) Build ¶ added in v0.10.0
func (b0 Process_builder) Build() *Process
type ResizeContainerRequest ¶
type ResizeContainerRequest struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*ResizeContainerRequest) ClearContainerId ¶ added in v0.10.0
func (x *ResizeContainerRequest) ClearContainerId()
func (*ResizeContainerRequest) ClearHeight ¶ added in v0.10.0
func (x *ResizeContainerRequest) ClearHeight()
func (*ResizeContainerRequest) ClearWidth ¶ added in v0.10.0
func (x *ResizeContainerRequest) ClearWidth()
func (*ResizeContainerRequest) GetContainerId ¶
func (x *ResizeContainerRequest) GetContainerId() string
func (*ResizeContainerRequest) GetHeight ¶
func (x *ResizeContainerRequest) GetHeight() uint32
func (*ResizeContainerRequest) GetWidth ¶
func (x *ResizeContainerRequest) GetWidth() uint32
func (*ResizeContainerRequest) HasContainerId ¶ added in v0.10.0
func (x *ResizeContainerRequest) HasContainerId() bool
func (*ResizeContainerRequest) HasHeight ¶ added in v0.10.0
func (x *ResizeContainerRequest) HasHeight() bool
func (*ResizeContainerRequest) HasWidth ¶ added in v0.10.0
func (x *ResizeContainerRequest) HasWidth() bool
func (*ResizeContainerRequest) ProtoMessage ¶
func (*ResizeContainerRequest) ProtoMessage()
func (*ResizeContainerRequest) ProtoReflect ¶
func (x *ResizeContainerRequest) ProtoReflect() protoreflect.Message
func (*ResizeContainerRequest) Reset ¶
func (x *ResizeContainerRequest) Reset()
func (*ResizeContainerRequest) SetContainerId ¶ added in v0.10.0
func (x *ResizeContainerRequest) SetContainerId(v string)
func (*ResizeContainerRequest) SetHeight ¶ added in v0.10.0
func (x *ResizeContainerRequest) SetHeight(v uint32)
func (*ResizeContainerRequest) SetWidth ¶ added in v0.10.0
func (x *ResizeContainerRequest) SetWidth(v uint32)
func (*ResizeContainerRequest) String ¶
func (x *ResizeContainerRequest) String() string
type ResizeContainerRequest_builder ¶ added in v0.10.0
type ResizeContainerRequest_builder struct {
ContainerId *string
Height *uint32
Width *uint32
// contains filtered or unexported fields
}
func (ResizeContainerRequest_builder) Build ¶ added in v0.10.0
func (b0 ResizeContainerRequest_builder) Build() *ResizeContainerRequest
type StartContainerRequest ¶
type StartContainerRequest struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*StartContainerRequest) ClearContainerId ¶ added in v0.10.0
func (x *StartContainerRequest) ClearContainerId()
func (*StartContainerRequest) GetContainerId ¶
func (x *StartContainerRequest) GetContainerId() string
func (*StartContainerRequest) HasContainerId ¶ added in v0.10.0
func (x *StartContainerRequest) HasContainerId() bool
func (*StartContainerRequest) ProtoMessage ¶
func (*StartContainerRequest) ProtoMessage()
func (*StartContainerRequest) ProtoReflect ¶
func (x *StartContainerRequest) ProtoReflect() protoreflect.Message
func (*StartContainerRequest) Reset ¶
func (x *StartContainerRequest) Reset()
func (*StartContainerRequest) SetContainerId ¶ added in v0.10.0
func (x *StartContainerRequest) SetContainerId(v string)
func (*StartContainerRequest) String ¶
func (x *StartContainerRequest) String() string
type StartContainerRequest_builder ¶ added in v0.10.0
type StartContainerRequest_builder struct {
ContainerId *string
// contains filtered or unexported fields
}
func (StartContainerRequest_builder) Build ¶ added in v0.10.0
func (b0 StartContainerRequest_builder) Build() *StartContainerRequest
type StreamContainerRequest ¶
type StreamContainerRequest struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*StreamContainerRequest) ClearContainerId ¶ added in v0.10.0
func (x *StreamContainerRequest) ClearContainerId()
func (*StreamContainerRequest) ClearHeight ¶ added in v0.10.0
func (x *StreamContainerRequest) ClearHeight()
func (*StreamContainerRequest) ClearWidth ¶ added in v0.10.0
func (x *StreamContainerRequest) ClearWidth()
func (*StreamContainerRequest) GetContainerId ¶
func (x *StreamContainerRequest) GetContainerId() string
func (*StreamContainerRequest) GetHeight ¶
func (x *StreamContainerRequest) GetHeight() uint32
func (*StreamContainerRequest) GetWidth ¶
func (x *StreamContainerRequest) GetWidth() uint32
func (*StreamContainerRequest) HasContainerId ¶ added in v0.10.0
func (x *StreamContainerRequest) HasContainerId() bool
func (*StreamContainerRequest) HasHeight ¶ added in v0.10.0
func (x *StreamContainerRequest) HasHeight() bool
func (*StreamContainerRequest) HasWidth ¶ added in v0.10.0
func (x *StreamContainerRequest) HasWidth() bool
func (*StreamContainerRequest) ProtoMessage ¶
func (*StreamContainerRequest) ProtoMessage()
func (*StreamContainerRequest) ProtoReflect ¶
func (x *StreamContainerRequest) ProtoReflect() protoreflect.Message
func (*StreamContainerRequest) Reset ¶
func (x *StreamContainerRequest) Reset()
func (*StreamContainerRequest) SetContainerId ¶ added in v0.10.0
func (x *StreamContainerRequest) SetContainerId(v string)
func (*StreamContainerRequest) SetHeight ¶ added in v0.10.0
func (x *StreamContainerRequest) SetHeight(v uint32)
func (*StreamContainerRequest) SetWidth ¶ added in v0.10.0
func (x *StreamContainerRequest) SetWidth(v uint32)
func (*StreamContainerRequest) String ¶
func (x *StreamContainerRequest) String() string
type StreamContainerRequest_builder ¶ added in v0.10.0
type StreamContainerRequest_builder struct {
ContainerId *string
Height *uint32
Width *uint32
// contains filtered or unexported fields
}
func (StreamContainerRequest_builder) Build ¶ added in v0.10.0
func (b0 StreamContainerRequest_builder) Build() *StreamContainerRequest
type StreamContainerResponse ¶
type StreamContainerResponse struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*StreamContainerResponse) ClearExitCode ¶ added in v0.10.0
func (x *StreamContainerResponse) ClearExitCode()
func (*StreamContainerResponse) ClearMessage ¶ added in v0.10.0
func (x *StreamContainerResponse) ClearMessage()
func (*StreamContainerResponse) GetExitCode ¶
func (x *StreamContainerResponse) GetExitCode() int64
func (*StreamContainerResponse) GetMessage ¶
func (x *StreamContainerResponse) GetMessage() string
func (*StreamContainerResponse) HasExitCode ¶ added in v0.10.0
func (x *StreamContainerResponse) HasExitCode() bool
func (*StreamContainerResponse) HasMessage ¶ added in v0.10.0
func (x *StreamContainerResponse) HasMessage() bool
func (*StreamContainerResponse) ProtoMessage ¶
func (*StreamContainerResponse) ProtoMessage()
func (*StreamContainerResponse) ProtoReflect ¶
func (x *StreamContainerResponse) ProtoReflect() protoreflect.Message
func (*StreamContainerResponse) Reset ¶
func (x *StreamContainerResponse) Reset()
func (*StreamContainerResponse) SetExitCode ¶ added in v0.10.0
func (x *StreamContainerResponse) SetExitCode(v int64)
func (*StreamContainerResponse) SetMessage ¶ added in v0.10.0
func (x *StreamContainerResponse) SetMessage(v string)
func (*StreamContainerResponse) String ¶
func (x *StreamContainerResponse) String() string
type StreamContainerResponse_builder ¶ added in v0.10.0
type StreamContainerResponse_builder struct {
ExitCode *int64
Message *string
// contains filtered or unexported fields
}
func (StreamContainerResponse_builder) Build ¶ added in v0.10.0
func (b0 StreamContainerResponse_builder) Build() *StreamContainerResponse
type TerminalConfig ¶ added in v0.10.0
type TerminalConfig struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*TerminalConfig) ClearConsoleHeight ¶ added in v0.10.0
func (x *TerminalConfig) ClearConsoleHeight()
func (*TerminalConfig) ClearConsoleWidth ¶ added in v0.10.0
func (x *TerminalConfig) ClearConsoleWidth()
func (*TerminalConfig) ClearStdio ¶ added in v0.10.0
func (x *TerminalConfig) ClearStdio()
func (*TerminalConfig) ClearTty ¶ added in v0.10.0
func (x *TerminalConfig) ClearTty()
func (*TerminalConfig) GetConsoleHeight ¶ added in v0.10.0
func (x *TerminalConfig) GetConsoleHeight() int64
func (*TerminalConfig) GetConsoleWidth ¶ added in v0.10.0
func (x *TerminalConfig) GetConsoleWidth() int64
func (*TerminalConfig) GetStdio ¶ added in v0.10.0
func (x *TerminalConfig) GetStdio() bool
func (*TerminalConfig) GetTty ¶ added in v0.10.0
func (x *TerminalConfig) GetTty() bool
func (*TerminalConfig) HasConsoleHeight ¶ added in v0.10.0
func (x *TerminalConfig) HasConsoleHeight() bool
func (*TerminalConfig) HasConsoleWidth ¶ added in v0.10.0
func (x *TerminalConfig) HasConsoleWidth() bool
func (*TerminalConfig) HasStdio ¶ added in v0.10.0
func (x *TerminalConfig) HasStdio() bool
func (*TerminalConfig) HasTty ¶ added in v0.10.0
func (x *TerminalConfig) HasTty() bool
func (*TerminalConfig) ProtoMessage ¶ added in v0.10.0
func (*TerminalConfig) ProtoMessage()
func (*TerminalConfig) ProtoReflect ¶ added in v0.10.0
func (x *TerminalConfig) ProtoReflect() protoreflect.Message
func (*TerminalConfig) Reset ¶ added in v0.10.0
func (x *TerminalConfig) Reset()
func (*TerminalConfig) SetConsoleHeight ¶ added in v0.10.0
func (x *TerminalConfig) SetConsoleHeight(v int64)
func (*TerminalConfig) SetConsoleWidth ¶ added in v0.10.0
func (x *TerminalConfig) SetConsoleWidth(v int64)
func (*TerminalConfig) SetStdio ¶ added in v0.10.0
func (x *TerminalConfig) SetStdio(v bool)
func (*TerminalConfig) SetTty ¶ added in v0.10.0
func (x *TerminalConfig) SetTty(v bool)
func (*TerminalConfig) String ¶ added in v0.10.0
func (x *TerminalConfig) String() string
type TerminalConfig_builder ¶ added in v0.10.0
type TerminalConfig_builder struct {
Stdio *bool
Tty *bool
ConsoleHeight *int64
ConsoleWidth *int64
// contains filtered or unexported fields
}
func (TerminalConfig_builder) Build ¶ added in v0.10.0
func (b0 TerminalConfig_builder) Build() *TerminalConfig
type TmpfsMount ¶ added in v0.10.0
type TmpfsMount struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*TmpfsMount) ClearContainerPath ¶ added in v0.10.0
func (x *TmpfsMount) ClearContainerPath()
func (*TmpfsMount) ClearMode ¶ added in v0.10.0
func (x *TmpfsMount) ClearMode()
func (*TmpfsMount) ClearSize ¶ added in v0.10.0
func (x *TmpfsMount) ClearSize()
func (*TmpfsMount) GetContainerPath ¶ added in v0.10.0
func (x *TmpfsMount) GetContainerPath() string
func (*TmpfsMount) GetMode ¶ added in v0.10.0
func (x *TmpfsMount) GetMode() string
func (*TmpfsMount) GetSize ¶ added in v0.10.0
func (x *TmpfsMount) GetSize() int64
func (*TmpfsMount) HasContainerPath ¶ added in v0.10.0
func (x *TmpfsMount) HasContainerPath() bool
func (*TmpfsMount) HasMode ¶ added in v0.10.0
func (x *TmpfsMount) HasMode() bool
func (*TmpfsMount) HasSize ¶ added in v0.10.0
func (x *TmpfsMount) HasSize() bool
func (*TmpfsMount) ProtoMessage ¶ added in v0.10.0
func (*TmpfsMount) ProtoMessage()
func (*TmpfsMount) ProtoReflect ¶ added in v0.10.0
func (x *TmpfsMount) ProtoReflect() protoreflect.Message
func (*TmpfsMount) Reset ¶ added in v0.10.0
func (x *TmpfsMount) Reset()
func (*TmpfsMount) SetContainerPath ¶ added in v0.10.0
func (x *TmpfsMount) SetContainerPath(v string)
func (*TmpfsMount) SetMode ¶ added in v0.10.0
func (x *TmpfsMount) SetMode(v string)
func (*TmpfsMount) SetSize ¶ added in v0.10.0
func (x *TmpfsMount) SetSize(v int64)
func (*TmpfsMount) String ¶ added in v0.10.0
func (x *TmpfsMount) String() string
type TmpfsMount_builder ¶ added in v0.10.0
type TmpfsMount_builder struct {
ContainerPath *string
Size *int64
Mode *string
// contains filtered or unexported fields
}
func (TmpfsMount_builder) Build ¶ added in v0.10.0
func (b0 TmpfsMount_builder) Build() *TmpfsMount
type UnimplementedPluginServer ¶
type UnimplementedPluginServer struct{}
UnimplementedPluginServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPluginServer) CreateContainer ¶
func (UnimplementedPluginServer) CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
func (UnimplementedPluginServer) CreateVolume ¶
func (UnimplementedPluginServer) CreateVolume(context.Context, *CreateVolumeRequest) (*emptypb.Empty, error)
func (UnimplementedPluginServer) DeleteContainer ¶
func (UnimplementedPluginServer) DeleteContainer(context.Context, *DeleteContainerRequest) (*emptypb.Empty, error)
func (UnimplementedPluginServer) DeleteVolume ¶
func (UnimplementedPluginServer) DeleteVolume(context.Context, *DeleteVolumeRequest) (*emptypb.Empty, error)
func (UnimplementedPluginServer) GetImage ¶
func (UnimplementedPluginServer) GetImage(context.Context, *GetImageRequest) (*GetImageResponse, error)
func (UnimplementedPluginServer) GetPluginMetadata ¶ added in v0.10.0
func (UnimplementedPluginServer) GetPluginMetadata(context.Context, *emptypb.Empty) (*v1alpha2.PluginMetadata, error)
func (UnimplementedPluginServer) InitPlugin ¶
func (UnimplementedPluginServer) InitPlugin(context.Context, *emptypb.Empty) (*v1alpha2.InitPluginResponse, error)
func (UnimplementedPluginServer) KillContainer ¶
func (UnimplementedPluginServer) KillContainer(context.Context, *KillContainerRequest) (*emptypb.Empty, error)
func (UnimplementedPluginServer) ResetPlugin ¶
func (UnimplementedPluginServer) ResizeContainer ¶
func (UnimplementedPluginServer) ResizeContainer(context.Context, *ResizeContainerRequest) (*emptypb.Empty, error)
func (UnimplementedPluginServer) StartContainer ¶
func (UnimplementedPluginServer) StartContainer(context.Context, *StartContainerRequest) (*emptypb.Empty, error)
func (UnimplementedPluginServer) StreamContainer ¶
func (UnimplementedPluginServer) StreamContainer(context.Context, *StreamContainerRequest) (*StreamContainerResponse, error)
func (UnimplementedPluginServer) StreamInput ¶
func (UnimplementedPluginServer) StreamInput(grpc.ClientStreamingServer[v1alpha2.StreamInputRequest, emptypb.Empty]) error
func (UnimplementedPluginServer) StreamOutput ¶
func (UnimplementedPluginServer) StreamOutput(*v1alpha2.StreamOutputRequest, grpc.ServerStreamingServer[v1alpha2.OutputData]) error
func (UnimplementedPluginServer) WriteFile ¶
func (UnimplementedPluginServer) WriteFile(context.Context, *WriteFileRequest) (*emptypb.Empty, error)
type UnsafePluginServer ¶ added in v0.10.0
type UnsafePluginServer interface {
// contains filtered or unexported methods
}
UnsafePluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginServer will result in compilation errors.
type VolumeMount ¶ added in v0.10.0
type VolumeMount struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*VolumeMount) ClearContainerPath ¶ added in v0.10.0
func (x *VolumeMount) ClearContainerPath()
func (*VolumeMount) ClearReadonly ¶ added in v0.10.0
func (x *VolumeMount) ClearReadonly()
func (*VolumeMount) ClearSubpath ¶ added in v0.10.0
func (x *VolumeMount) ClearSubpath()
func (*VolumeMount) ClearVolumeName ¶ added in v0.10.0
func (x *VolumeMount) ClearVolumeName()
func (*VolumeMount) GetContainerPath ¶ added in v0.10.0
func (x *VolumeMount) GetContainerPath() string
func (*VolumeMount) GetReadonly ¶ added in v0.10.0
func (x *VolumeMount) GetReadonly() bool
func (*VolumeMount) GetSubpath ¶ added in v0.10.0
func (x *VolumeMount) GetSubpath() string
func (*VolumeMount) GetVolumeName ¶ added in v0.10.0
func (x *VolumeMount) GetVolumeName() string
func (*VolumeMount) HasContainerPath ¶ added in v0.10.0
func (x *VolumeMount) HasContainerPath() bool
func (*VolumeMount) HasReadonly ¶ added in v0.10.0
func (x *VolumeMount) HasReadonly() bool
func (*VolumeMount) HasSubpath ¶ added in v0.10.0
func (x *VolumeMount) HasSubpath() bool
func (*VolumeMount) HasVolumeName ¶ added in v0.10.0
func (x *VolumeMount) HasVolumeName() bool
func (*VolumeMount) ProtoMessage ¶ added in v0.10.0
func (*VolumeMount) ProtoMessage()
func (*VolumeMount) ProtoReflect ¶ added in v0.10.0
func (x *VolumeMount) ProtoReflect() protoreflect.Message
func (*VolumeMount) Reset ¶ added in v0.10.0
func (x *VolumeMount) Reset()
func (*VolumeMount) SetContainerPath ¶ added in v0.10.0
func (x *VolumeMount) SetContainerPath(v string)
func (*VolumeMount) SetReadonly ¶ added in v0.10.0
func (x *VolumeMount) SetReadonly(v bool)
func (*VolumeMount) SetSubpath ¶ added in v0.10.0
func (x *VolumeMount) SetSubpath(v string)
func (*VolumeMount) SetVolumeName ¶ added in v0.10.0
func (x *VolumeMount) SetVolumeName(v string)
func (*VolumeMount) String ¶ added in v0.10.0
func (x *VolumeMount) String() string
type VolumeMount_builder ¶ added in v0.10.0
type VolumeMount_builder struct {
VolumeName *string
ContainerPath *string
Subpath *string
Readonly *bool
// contains filtered or unexported fields
}
func (VolumeMount_builder) Build ¶ added in v0.10.0
func (b0 VolumeMount_builder) Build() *VolumeMount
type WriteFileRequest ¶
type WriteFileRequest struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*WriteFileRequest) ClearContainerId ¶ added in v0.10.0
func (x *WriteFileRequest) ClearContainerId()
func (*WriteFileRequest) ClearContents ¶ added in v0.10.0
func (x *WriteFileRequest) ClearContents()
func (*WriteFileRequest) ClearFilePath ¶ added in v0.10.0
func (x *WriteFileRequest) ClearFilePath()
func (*WriteFileRequest) GetContainerId ¶
func (x *WriteFileRequest) GetContainerId() string
func (*WriteFileRequest) GetContents ¶
func (x *WriteFileRequest) GetContents() string
func (*WriteFileRequest) GetFilePath ¶
func (x *WriteFileRequest) GetFilePath() string
func (*WriteFileRequest) HasContainerId ¶ added in v0.10.0
func (x *WriteFileRequest) HasContainerId() bool
func (*WriteFileRequest) HasContents ¶ added in v0.10.0
func (x *WriteFileRequest) HasContents() bool
func (*WriteFileRequest) HasFilePath ¶ added in v0.10.0
func (x *WriteFileRequest) HasFilePath() bool
func (*WriteFileRequest) ProtoMessage ¶
func (*WriteFileRequest) ProtoMessage()
func (*WriteFileRequest) ProtoReflect ¶
func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
func (*WriteFileRequest) Reset ¶
func (x *WriteFileRequest) Reset()
func (*WriteFileRequest) SetContainerId ¶ added in v0.10.0
func (x *WriteFileRequest) SetContainerId(v string)
func (*WriteFileRequest) SetContents ¶ added in v0.10.0
func (x *WriteFileRequest) SetContents(v string)
func (*WriteFileRequest) SetFilePath ¶ added in v0.10.0
func (x *WriteFileRequest) SetFilePath(v string)
func (*WriteFileRequest) String ¶
func (x *WriteFileRequest) String() string
type WriteFileRequest_builder ¶ added in v0.10.0
type WriteFileRequest_builder struct {
ContainerId *string
FilePath *string
Contents *string
// contains filtered or unexported fields
}
func (WriteFileRequest_builder) Build ¶ added in v0.10.0
func (b0 WriteFileRequest_builder) Build() *WriteFileRequest