Documentation ¶
Index ¶
- Variables
- func RegisterBuilderPluginServer(s *grpc.Server, srv BuilderPluginServer)
- func RegisterConfigurationPluginServer(s *grpc.Server, srv ConfigurationPluginServer)
- func RegisterRuntimePluginServer(s *grpc.Server, srv RuntimePluginServer)
- type Backdrop
- func (*Backdrop) Descriptor() ([]byte, []int)deprecated
- func (x *Backdrop) GetAliases() []string
- func (x *Backdrop) GetBuildInfo() *BuildInfo
- func (x *Backdrop) GetCapabilities() []string
- func (x *Backdrop) GetContainerName() string
- func (x *Backdrop) GetDevices() []*DeviceMapping
- func (x *Backdrop) GetEntrypoint() *Entrypoint
- func (x *Backdrop) GetEnvironment() []*EnvironmentVariable
- func (x *Backdrop) GetImageId() string
- func (x *Backdrop) GetName() string
- func (x *Backdrop) GetPorts() []*PortBinding
- func (x *Backdrop) GetRuntime() string
- func (x *Backdrop) GetUser() string
- func (x *Backdrop) GetVolumes() []*VolumeMount
- func (x *Backdrop) GetWorkingDir() string
- func (*Backdrop) ProtoMessage()
- func (x *Backdrop) ProtoReflect() protoreflect.Message
- func (x *Backdrop) Reset()
- func (x *Backdrop) String() string
- type BuildArgument
- func (*BuildArgument) Descriptor() ([]byte, []int)deprecated
- func (x *BuildArgument) GetKey() string
- func (x *BuildArgument) GetValue() string
- func (*BuildArgument) ProtoMessage()
- func (x *BuildArgument) ProtoReflect() protoreflect.Message
- func (x *BuildArgument) Reset()
- func (x *BuildArgument) String() string
- type BuildInfo
- func (*BuildInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfo) GetArguments() []*BuildArgument
- func (x *BuildInfo) GetBuilder() string
- func (x *BuildInfo) GetContext() string
- func (x *BuildInfo) GetDependencies() []string
- func (x *BuildInfo) GetDockerfile() string
- func (x *BuildInfo) GetForcePull() bool
- func (x *BuildInfo) GetForceRebuild() bool
- func (x *BuildInfo) GetImageName() string
- func (x *BuildInfo) GetInlineDockerfile() []string
- func (x *BuildInfo) GetNoCache() bool
- func (x *BuildInfo) GetSecrets() []*BuildSecret
- func (x *BuildInfo) GetSshAgents() []*SshAgent
- func (*BuildInfo) ProtoMessage()
- func (x *BuildInfo) ProtoReflect() protoreflect.Message
- func (x *BuildInfo) Reset()
- func (x *BuildInfo) String() string
- type BuildSecret
- type BuilderPluginClient
- type BuilderPluginServer
- type ConfigurationPluginClient
- type ConfigurationPluginServer
- type CreateContainerRequest
- func (*CreateContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContainerRequest) GetConfig() *Backdrop
- func (x *CreateContainerRequest) GetStdio() bool
- func (x *CreateContainerRequest) GetTty() bool
- func (*CreateContainerRequest) ProtoMessage()
- func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateContainerRequest) Reset()
- func (x *CreateContainerRequest) String() string
- type CreateContainerResponse
- func (*CreateContainerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContainerResponse) GetContainerId() string
- func (*CreateContainerResponse) ProtoMessage()
- func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message
- func (x *CreateContainerResponse) Reset()
- func (x *CreateContainerResponse) String() string
- type CreateImageRequest
- func (*CreateImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateImageRequest) GetConfig() *BuildInfo
- func (x *CreateImageRequest) GetHeight() uint32
- func (x *CreateImageRequest) GetWidth() uint32
- func (*CreateImageRequest) ProtoMessage()
- func (x *CreateImageRequest) ProtoReflect() protoreflect.Message
- func (x *CreateImageRequest) Reset()
- func (x *CreateImageRequest) String() string
- type CreateImageResponse
- func (*CreateImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateImageResponse) GetImageId() string
- func (*CreateImageResponse) ProtoMessage()
- func (x *CreateImageResponse) ProtoReflect() protoreflect.Message
- func (x *CreateImageResponse) Reset()
- func (x *CreateImageResponse) String() string
- type DeleteContainerRequest
- func (*DeleteContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteContainerRequest) GetContainerId() string
- func (*DeleteContainerRequest) ProtoMessage()
- func (x *DeleteContainerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteContainerRequest) Reset()
- func (x *DeleteContainerRequest) String() string
- type DeviceMapping
- func (*DeviceMapping) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceMapping) GetCgroupRule() string
- func (x *DeviceMapping) GetPermissions() string
- func (x *DeviceMapping) GetSource() string
- func (x *DeviceMapping) GetTarget() string
- func (*DeviceMapping) ProtoMessage()
- func (x *DeviceMapping) ProtoReflect() protoreflect.Message
- func (x *DeviceMapping) Reset()
- func (x *DeviceMapping) String() string
- type Entrypoint
- func (*Entrypoint) Descriptor() ([]byte, []int)deprecated
- func (x *Entrypoint) GetArguments() []string
- func (x *Entrypoint) GetInteractive() bool
- func (x *Entrypoint) GetInterpreter() []string
- func (x *Entrypoint) GetScript() string
- func (*Entrypoint) ProtoMessage()
- func (x *Entrypoint) ProtoReflect() protoreflect.Message
- func (x *Entrypoint) Reset()
- func (x *Entrypoint) String() string
- type EnvironmentVariable
- func (*EnvironmentVariable) Descriptor() ([]byte, []int)deprecated
- func (x *EnvironmentVariable) GetKey() string
- func (x *EnvironmentVariable) GetValue() string
- func (*EnvironmentVariable) ProtoMessage()
- func (x *EnvironmentVariable) ProtoReflect() protoreflect.Message
- func (x *EnvironmentVariable) Reset()
- func (x *EnvironmentVariable) String() string
- type GetBackdropRequest
- func (*GetBackdropRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBackdropRequest) GetAlias() string
- func (*GetBackdropRequest) ProtoMessage()
- func (x *GetBackdropRequest) ProtoReflect() protoreflect.Message
- func (x *GetBackdropRequest) Reset()
- func (x *GetBackdropRequest) String() string
- type GetImageRequest
- type GetImageResponse
- type GetStreamingConnectionRequest
- func (*GetStreamingConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetStreamingConnectionRequest) ProtoMessage()
- func (x *GetStreamingConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *GetStreamingConnectionRequest) Reset()
- func (x *GetStreamingConnectionRequest) String() string
- type GetStreamingConnectionResponse
- func (*GetStreamingConnectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStreamingConnectionResponse) GetUrl() string
- func (*GetStreamingConnectionResponse) ProtoMessage()
- func (x *GetStreamingConnectionResponse) ProtoReflect() protoreflect.Message
- func (x *GetStreamingConnectionResponse) Reset()
- func (x *GetStreamingConnectionResponse) String() string
- type InitPluginResponse
- func (*InitPluginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitPluginResponse) GetConfig() map[string]string
- func (*InitPluginResponse) ProtoMessage()
- func (x *InitPluginResponse) ProtoReflect() protoreflect.Message
- func (x *InitPluginResponse) Reset()
- func (x *InitPluginResponse) String() string
- type KillContainerRequest
- func (*KillContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KillContainerRequest) GetContainerId() string
- func (x *KillContainerRequest) GetSignal() string
- func (*KillContainerRequest) ProtoMessage()
- func (x *KillContainerRequest) ProtoReflect() protoreflect.Message
- func (x *KillContainerRequest) Reset()
- func (x *KillContainerRequest) String() string
- type ListBackdropsResponse
- func (*ListBackdropsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackdropsResponse) GetBackdrops() []*Backdrop
- func (*ListBackdropsResponse) ProtoMessage()
- func (x *ListBackdropsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackdropsResponse) Reset()
- func (x *ListBackdropsResponse) String() string
- type PluginInfo
- func (*PluginInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PluginInfo) GetDependencies() []*PluginName
- func (x *PluginInfo) GetFields() map[string]string
- func (x *PluginInfo) GetName() *PluginName
- func (*PluginInfo) ProtoMessage()
- func (x *PluginInfo) ProtoReflect() protoreflect.Message
- func (x *PluginInfo) Reset()
- func (x *PluginInfo) String() string
- type PluginName
- type PortBinding
- func (*PortBinding) Descriptor() ([]byte, []int)deprecated
- func (x *PortBinding) GetHostIp() string
- func (x *PortBinding) GetProtocol() string
- func (x *PortBinding) GetPublished() string
- func (x *PortBinding) GetTarget() string
- func (*PortBinding) ProtoMessage()
- func (x *PortBinding) ProtoReflect() protoreflect.Message
- func (x *PortBinding) Reset()
- func (x *PortBinding) String() string
- type ResizeContainerRequest
- func (*ResizeContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResizeContainerRequest) GetContainerId() string
- func (x *ResizeContainerRequest) GetHeight() uint32
- func (x *ResizeContainerRequest) GetWidth() uint32
- func (*ResizeContainerRequest) ProtoMessage()
- func (x *ResizeContainerRequest) ProtoReflect() protoreflect.Message
- func (x *ResizeContainerRequest) Reset()
- func (x *ResizeContainerRequest) String() string
- type RuntimePluginClient
- type RuntimePluginServer
- type SshAgent
- type StartContainerRequest
- func (*StartContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartContainerRequest) GetContainerId() string
- func (*StartContainerRequest) ProtoMessage()
- func (x *StartContainerRequest) ProtoReflect() protoreflect.Message
- func (x *StartContainerRequest) Reset()
- func (x *StartContainerRequest) String() string
- type StreamContainerRequest
- func (*StreamContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamContainerRequest) GetContainerId() string
- func (x *StreamContainerRequest) GetHeight() uint32
- func (x *StreamContainerRequest) GetWidth() uint32
- func (*StreamContainerRequest) ProtoMessage()
- func (x *StreamContainerRequest) ProtoReflect() protoreflect.Message
- func (x *StreamContainerRequest) Reset()
- func (x *StreamContainerRequest) String() string
- type StreamContainerResponse
- func (*StreamContainerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamContainerResponse) GetExitCode() int64
- func (x *StreamContainerResponse) GetMessage() string
- func (*StreamContainerResponse) ProtoMessage()
- func (x *StreamContainerResponse) ProtoReflect() protoreflect.Message
- func (x *StreamContainerResponse) Reset()
- func (x *StreamContainerResponse) String() string
- type UnimplementedBuilderPluginServer
- func (*UnimplementedBuilderPluginServer) CreateImage(context.Context, *CreateImageRequest) (*CreateImageResponse, error)
- func (*UnimplementedBuilderPluginServer) GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error)
- func (*UnimplementedBuilderPluginServer) GetStreamingConnection(context.Context, *GetStreamingConnectionRequest) (*GetStreamingConnectionResponse, error)
- func (*UnimplementedBuilderPluginServer) InitPlugin(context.Context, *empty.Empty) (*InitPluginResponse, error)
- type UnimplementedConfigurationPluginServer
- func (*UnimplementedConfigurationPluginServer) GetBackdrop(context.Context, *GetBackdropRequest) (*Backdrop, error)
- func (*UnimplementedConfigurationPluginServer) GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error)
- func (*UnimplementedConfigurationPluginServer) InitPlugin(context.Context, *empty.Empty) (*InitPluginResponse, error)
- func (*UnimplementedConfigurationPluginServer) ListBackdrops(context.Context, *empty.Empty) (*ListBackdropsResponse, error)
- type UnimplementedRuntimePluginServer
- func (*UnimplementedRuntimePluginServer) CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
- func (*UnimplementedRuntimePluginServer) DeleteContainer(context.Context, *DeleteContainerRequest) (*empty.Empty, error)
- func (*UnimplementedRuntimePluginServer) GetImage(context.Context, *GetImageRequest) (*GetImageResponse, error)
- func (*UnimplementedRuntimePluginServer) GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error)
- func (*UnimplementedRuntimePluginServer) GetStreamingConnection(context.Context, *GetStreamingConnectionRequest) (*GetStreamingConnectionResponse, error)
- func (*UnimplementedRuntimePluginServer) InitPlugin(context.Context, *empty.Empty) (*InitPluginResponse, error)
- func (*UnimplementedRuntimePluginServer) KillContainer(context.Context, *KillContainerRequest) (*empty.Empty, error)
- func (*UnimplementedRuntimePluginServer) ResizeContainer(context.Context, *ResizeContainerRequest) (*empty.Empty, error)
- func (*UnimplementedRuntimePluginServer) StartContainer(context.Context, *StartContainerRequest) (*empty.Empty, error)
- func (*UnimplementedRuntimePluginServer) StreamContainer(context.Context, *StreamContainerRequest) (*StreamContainerResponse, error)
- type VolumeMount
- func (*VolumeMount) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeMount) GetReadonly() bool
- func (x *VolumeMount) GetSource() string
- func (x *VolumeMount) GetTarget() string
- func (*VolumeMount) ProtoMessage()
- func (x *VolumeMount) ProtoReflect() protoreflect.Message
- func (x *VolumeMount) Reset()
- func (x *VolumeMount) String() string
Constants ¶
This section is empty.
Variables ¶
var File_api_v1alpha2_backdrop_proto protoreflect.FileDescriptor
var File_api_v1alpha2_build_proto protoreflect.FileDescriptor
var File_api_v1alpha2_builder_proto protoreflect.FileDescriptor
var File_api_v1alpha2_configuration_proto protoreflect.FileDescriptor
var File_api_v1alpha2_plugin_proto protoreflect.FileDescriptor
var File_api_v1alpha2_runtime_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBuilderPluginServer ¶
func RegisterBuilderPluginServer(s *grpc.Server, srv BuilderPluginServer)
func RegisterConfigurationPluginServer ¶
func RegisterConfigurationPluginServer(s *grpc.Server, srv ConfigurationPluginServer)
func RegisterRuntimePluginServer ¶
func RegisterRuntimePluginServer(s *grpc.Server, srv RuntimePluginServer)
Types ¶
type Backdrop ¶
type Backdrop struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"` ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` ImageId string `protobuf:"bytes,4,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` Runtime string `protobuf:"bytes,5,opt,name=runtime,proto3" json:"runtime,omitempty"` Entrypoint *Entrypoint `protobuf:"bytes,6,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"` Environment []*EnvironmentVariable `protobuf:"bytes,7,rep,name=environment,proto3" json:"environment,omitempty"` Volumes []*VolumeMount `protobuf:"bytes,8,rep,name=volumes,proto3" json:"volumes,omitempty"` Devices []*DeviceMapping `protobuf:"bytes,9,rep,name=devices,proto3" json:"devices,omitempty"` Ports []*PortBinding `protobuf:"bytes,10,rep,name=ports,proto3" json:"ports,omitempty"` Capabilities []string `protobuf:"bytes,11,rep,name=capabilities,proto3" json:"capabilities,omitempty"` User string `protobuf:"bytes,12,opt,name=user,proto3" json:"user,omitempty"` WorkingDir string `protobuf:"bytes,13,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` BuildInfo *BuildInfo `protobuf:"bytes,14,opt,name=build_info,json=buildInfo,proto3" json:"build_info,omitempty"` // contains filtered or unexported fields }
func (*Backdrop) Descriptor
deprecated
func (*Backdrop) GetAliases ¶
func (*Backdrop) GetBuildInfo ¶
func (*Backdrop) GetCapabilities ¶
func (*Backdrop) GetContainerName ¶
func (*Backdrop) GetDevices ¶
func (x *Backdrop) GetDevices() []*DeviceMapping
func (*Backdrop) GetEntrypoint ¶
func (x *Backdrop) GetEntrypoint() *Entrypoint
func (*Backdrop) GetEnvironment ¶
func (x *Backdrop) GetEnvironment() []*EnvironmentVariable
func (*Backdrop) GetImageId ¶
func (*Backdrop) GetPorts ¶
func (x *Backdrop) GetPorts() []*PortBinding
func (*Backdrop) GetRuntime ¶
func (*Backdrop) GetVolumes ¶
func (x *Backdrop) GetVolumes() []*VolumeMount
func (*Backdrop) GetWorkingDir ¶
func (*Backdrop) ProtoMessage ¶
func (*Backdrop) ProtoMessage()
func (*Backdrop) ProtoReflect ¶
func (x *Backdrop) ProtoReflect() protoreflect.Message
type BuildArgument ¶
type BuildArgument struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*BuildArgument) Descriptor
deprecated
func (*BuildArgument) Descriptor() ([]byte, []int)
Deprecated: Use BuildArgument.ProtoReflect.Descriptor instead.
func (*BuildArgument) GetKey ¶
func (x *BuildArgument) GetKey() string
func (*BuildArgument) GetValue ¶
func (x *BuildArgument) GetValue() string
func (*BuildArgument) ProtoMessage ¶
func (*BuildArgument) ProtoMessage()
func (*BuildArgument) ProtoReflect ¶
func (x *BuildArgument) ProtoReflect() protoreflect.Message
func (*BuildArgument) Reset ¶
func (x *BuildArgument) Reset()
func (*BuildArgument) String ¶
func (x *BuildArgument) String() string
type BuildInfo ¶
type BuildInfo struct { Builder string `protobuf:"bytes,1,opt,name=builder,proto3" json:"builder,omitempty"` ImageName string `protobuf:"bytes,2,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"` Context string `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` Dockerfile string `protobuf:"bytes,4,opt,name=dockerfile,proto3" json:"dockerfile,omitempty"` InlineDockerfile []string `protobuf:"bytes,5,rep,name=inline_dockerfile,json=inlineDockerfile,proto3" json:"inline_dockerfile,omitempty"` Arguments []*BuildArgument `protobuf:"bytes,6,rep,name=arguments,proto3" json:"arguments,omitempty"` Secrets []*BuildSecret `protobuf:"bytes,7,rep,name=secrets,proto3" json:"secrets,omitempty"` SshAgents []*SshAgent `protobuf:"bytes,8,rep,name=ssh_agents,json=sshAgents,proto3" json:"ssh_agents,omitempty"` NoCache bool `protobuf:"varint,9,opt,name=no_cache,json=noCache,proto3" json:"no_cache,omitempty"` ForceRebuild bool `protobuf:"varint,10,opt,name=force_rebuild,json=forceRebuild,proto3" json:"force_rebuild,omitempty"` ForcePull bool `protobuf:"varint,11,opt,name=force_pull,json=forcePull,proto3" json:"force_pull,omitempty"` Dependencies []string `protobuf:"bytes,12,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // contains filtered or unexported fields }
func (*BuildInfo) Descriptor
deprecated
func (*BuildInfo) GetArguments ¶
func (x *BuildInfo) GetArguments() []*BuildArgument
func (*BuildInfo) GetBuilder ¶
func (*BuildInfo) GetContext ¶
func (*BuildInfo) GetDependencies ¶
func (*BuildInfo) GetDockerfile ¶
func (*BuildInfo) GetForcePull ¶
func (*BuildInfo) GetForceRebuild ¶
func (*BuildInfo) GetImageName ¶
func (*BuildInfo) GetInlineDockerfile ¶
func (*BuildInfo) GetNoCache ¶
func (*BuildInfo) GetSecrets ¶
func (x *BuildInfo) GetSecrets() []*BuildSecret
func (*BuildInfo) GetSshAgents ¶
func (*BuildInfo) ProtoMessage ¶
func (*BuildInfo) ProtoMessage()
func (*BuildInfo) ProtoReflect ¶
func (x *BuildInfo) ProtoReflect() protoreflect.Message
type BuildSecret ¶
type BuildSecret struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*BuildSecret) Descriptor
deprecated
func (*BuildSecret) Descriptor() ([]byte, []int)
Deprecated: Use BuildSecret.ProtoReflect.Descriptor instead.
func (*BuildSecret) GetId ¶
func (x *BuildSecret) GetId() string
func (*BuildSecret) GetPath ¶
func (x *BuildSecret) GetPath() string
func (*BuildSecret) ProtoMessage ¶
func (*BuildSecret) ProtoMessage()
func (*BuildSecret) ProtoReflect ¶
func (x *BuildSecret) ProtoReflect() protoreflect.Message
func (*BuildSecret) Reset ¶
func (x *BuildSecret) Reset()
func (*BuildSecret) String ¶
func (x *BuildSecret) String() string
type BuilderPluginClient ¶
type BuilderPluginClient interface { GetPluginInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PluginInfo, error) InitPlugin(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*InitPluginResponse, error) CreateImage(ctx context.Context, in *CreateImageRequest, opts ...grpc.CallOption) (*CreateImageResponse, error) GetStreamingConnection(ctx context.Context, in *GetStreamingConnectionRequest, opts ...grpc.CallOption) (*GetStreamingConnectionResponse, error) }
BuilderPluginClient is the client API for BuilderPlugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBuilderPluginClient ¶
func NewBuilderPluginClient(cc grpc.ClientConnInterface) BuilderPluginClient
type BuilderPluginServer ¶
type BuilderPluginServer interface { GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error) InitPlugin(context.Context, *empty.Empty) (*InitPluginResponse, error) CreateImage(context.Context, *CreateImageRequest) (*CreateImageResponse, error) GetStreamingConnection(context.Context, *GetStreamingConnectionRequest) (*GetStreamingConnectionResponse, error) }
BuilderPluginServer is the server API for BuilderPlugin service.
type ConfigurationPluginClient ¶
type ConfigurationPluginClient interface { GetPluginInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PluginInfo, error) InitPlugin(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*InitPluginResponse, error) ListBackdrops(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListBackdropsResponse, error) GetBackdrop(ctx context.Context, in *GetBackdropRequest, opts ...grpc.CallOption) (*Backdrop, error) }
ConfigurationPluginClient is the client API for ConfigurationPlugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewConfigurationPluginClient ¶
func NewConfigurationPluginClient(cc grpc.ClientConnInterface) ConfigurationPluginClient
type ConfigurationPluginServer ¶
type ConfigurationPluginServer interface { GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error) InitPlugin(context.Context, *empty.Empty) (*InitPluginResponse, error) ListBackdrops(context.Context, *empty.Empty) (*ListBackdropsResponse, error) GetBackdrop(context.Context, *GetBackdropRequest) (*Backdrop, error) }
ConfigurationPluginServer is the server API for ConfigurationPlugin service.
type CreateContainerRequest ¶
type CreateContainerRequest struct { Config *Backdrop `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` Tty bool `protobuf:"varint,2,opt,name=tty,proto3" json:"tty,omitempty"` Stdio bool `protobuf:"varint,3,opt,name=stdio,proto3" json:"stdio,omitempty"` // contains filtered or unexported fields }
func (*CreateContainerRequest) Descriptor
deprecated
func (*CreateContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateContainerRequest.ProtoReflect.Descriptor instead.
func (*CreateContainerRequest) GetConfig ¶
func (x *CreateContainerRequest) GetConfig() *Backdrop
func (*CreateContainerRequest) GetStdio ¶
func (x *CreateContainerRequest) GetStdio() bool
func (*CreateContainerRequest) GetTty ¶
func (x *CreateContainerRequest) GetTty() 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) String ¶
func (x *CreateContainerRequest) String() string
type CreateContainerResponse ¶
type CreateContainerResponse struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*CreateContainerResponse) Descriptor
deprecated
func (*CreateContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateContainerResponse.ProtoReflect.Descriptor instead.
func (*CreateContainerResponse) GetContainerId ¶
func (x *CreateContainerResponse) GetContainerId() string
func (*CreateContainerResponse) ProtoMessage ¶
func (*CreateContainerResponse) ProtoMessage()
func (*CreateContainerResponse) ProtoReflect ¶
func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message
func (*CreateContainerResponse) Reset ¶
func (x *CreateContainerResponse) Reset()
func (*CreateContainerResponse) String ¶
func (x *CreateContainerResponse) String() string
type CreateImageRequest ¶
type CreateImageRequest struct { Config *BuildInfo `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` // contains filtered or unexported fields }
func (*CreateImageRequest) Descriptor
deprecated
func (*CreateImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateImageRequest.ProtoReflect.Descriptor instead.
func (*CreateImageRequest) GetConfig ¶
func (x *CreateImageRequest) GetConfig() *BuildInfo
func (*CreateImageRequest) GetHeight ¶
func (x *CreateImageRequest) GetHeight() uint32
func (*CreateImageRequest) GetWidth ¶
func (x *CreateImageRequest) GetWidth() uint32
func (*CreateImageRequest) ProtoMessage ¶
func (*CreateImageRequest) ProtoMessage()
func (*CreateImageRequest) ProtoReflect ¶
func (x *CreateImageRequest) ProtoReflect() protoreflect.Message
func (*CreateImageRequest) Reset ¶
func (x *CreateImageRequest) Reset()
func (*CreateImageRequest) String ¶
func (x *CreateImageRequest) String() string
type CreateImageResponse ¶
type CreateImageResponse struct { ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` // contains filtered or unexported fields }
func (*CreateImageResponse) Descriptor
deprecated
func (*CreateImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateImageResponse.ProtoReflect.Descriptor instead.
func (*CreateImageResponse) GetImageId ¶
func (x *CreateImageResponse) GetImageId() string
func (*CreateImageResponse) ProtoMessage ¶
func (*CreateImageResponse) ProtoMessage()
func (*CreateImageResponse) ProtoReflect ¶
func (x *CreateImageResponse) ProtoReflect() protoreflect.Message
func (*CreateImageResponse) Reset ¶
func (x *CreateImageResponse) Reset()
func (*CreateImageResponse) String ¶
func (x *CreateImageResponse) String() string
type DeleteContainerRequest ¶
type DeleteContainerRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteContainerRequest) Descriptor
deprecated
func (*DeleteContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteContainerRequest.ProtoReflect.Descriptor instead.
func (*DeleteContainerRequest) GetContainerId ¶
func (x *DeleteContainerRequest) GetContainerId() string
func (*DeleteContainerRequest) ProtoMessage ¶
func (*DeleteContainerRequest) ProtoMessage()
func (*DeleteContainerRequest) ProtoReflect ¶
func (x *DeleteContainerRequest) ProtoReflect() protoreflect.Message
func (*DeleteContainerRequest) Reset ¶
func (x *DeleteContainerRequest) Reset()
func (*DeleteContainerRequest) String ¶
func (x *DeleteContainerRequest) String() string
type DeviceMapping ¶
type DeviceMapping struct { CgroupRule string `protobuf:"bytes,1,opt,name=cgroup_rule,json=cgroupRule,proto3" json:"cgroup_rule,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Permissions string `protobuf:"bytes,4,opt,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*DeviceMapping) Descriptor
deprecated
func (*DeviceMapping) Descriptor() ([]byte, []int)
Deprecated: Use DeviceMapping.ProtoReflect.Descriptor instead.
func (*DeviceMapping) GetCgroupRule ¶
func (x *DeviceMapping) GetCgroupRule() string
func (*DeviceMapping) GetPermissions ¶
func (x *DeviceMapping) GetPermissions() string
func (*DeviceMapping) GetSource ¶
func (x *DeviceMapping) GetSource() string
func (*DeviceMapping) GetTarget ¶
func (x *DeviceMapping) GetTarget() string
func (*DeviceMapping) ProtoMessage ¶
func (*DeviceMapping) ProtoMessage()
func (*DeviceMapping) ProtoReflect ¶
func (x *DeviceMapping) ProtoReflect() protoreflect.Message
func (*DeviceMapping) Reset ¶
func (x *DeviceMapping) Reset()
func (*DeviceMapping) String ¶
func (x *DeviceMapping) String() string
type Entrypoint ¶
type Entrypoint struct { Interactive bool `protobuf:"varint,1,opt,name=interactive,proto3" json:"interactive,omitempty"` Script string `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` Interpreter []string `protobuf:"bytes,3,rep,name=interpreter,proto3" json:"interpreter,omitempty"` Arguments []string `protobuf:"bytes,4,rep,name=arguments,proto3" json:"arguments,omitempty"` // contains filtered or unexported fields }
func (*Entrypoint) Descriptor
deprecated
func (*Entrypoint) Descriptor() ([]byte, []int)
Deprecated: Use Entrypoint.ProtoReflect.Descriptor instead.
func (*Entrypoint) GetArguments ¶
func (x *Entrypoint) GetArguments() []string
func (*Entrypoint) GetInteractive ¶
func (x *Entrypoint) GetInteractive() bool
func (*Entrypoint) GetInterpreter ¶
func (x *Entrypoint) GetInterpreter() []string
func (*Entrypoint) GetScript ¶
func (x *Entrypoint) GetScript() string
func (*Entrypoint) ProtoMessage ¶
func (*Entrypoint) ProtoMessage()
func (*Entrypoint) ProtoReflect ¶
func (x *Entrypoint) ProtoReflect() protoreflect.Message
func (*Entrypoint) Reset ¶
func (x *Entrypoint) Reset()
func (*Entrypoint) String ¶
func (x *Entrypoint) String() string
type EnvironmentVariable ¶
type EnvironmentVariable struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*EnvironmentVariable) Descriptor
deprecated
func (*EnvironmentVariable) Descriptor() ([]byte, []int)
Deprecated: Use EnvironmentVariable.ProtoReflect.Descriptor instead.
func (*EnvironmentVariable) GetKey ¶
func (x *EnvironmentVariable) GetKey() string
func (*EnvironmentVariable) GetValue ¶
func (x *EnvironmentVariable) GetValue() string
func (*EnvironmentVariable) ProtoMessage ¶
func (*EnvironmentVariable) ProtoMessage()
func (*EnvironmentVariable) ProtoReflect ¶
func (x *EnvironmentVariable) ProtoReflect() protoreflect.Message
func (*EnvironmentVariable) Reset ¶
func (x *EnvironmentVariable) Reset()
func (*EnvironmentVariable) String ¶
func (x *EnvironmentVariable) String() string
type GetBackdropRequest ¶
type GetBackdropRequest struct { Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` // contains filtered or unexported fields }
func (*GetBackdropRequest) Descriptor
deprecated
func (*GetBackdropRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackdropRequest.ProtoReflect.Descriptor instead.
func (*GetBackdropRequest) GetAlias ¶
func (x *GetBackdropRequest) GetAlias() string
func (*GetBackdropRequest) ProtoMessage ¶
func (*GetBackdropRequest) ProtoMessage()
func (*GetBackdropRequest) ProtoReflect ¶
func (x *GetBackdropRequest) ProtoReflect() protoreflect.Message
func (*GetBackdropRequest) Reset ¶
func (x *GetBackdropRequest) Reset()
func (*GetBackdropRequest) String ¶
func (x *GetBackdropRequest) String() string
type GetImageRequest ¶
type GetImageRequest struct { ImageSpec string `protobuf:"bytes,1,opt,name=image_spec,json=imageSpec,proto3" json:"image_spec,omitempty"` // contains filtered or unexported fields }
func (*GetImageRequest) Descriptor
deprecated
func (*GetImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetImageRequest.ProtoReflect.Descriptor instead.
func (*GetImageRequest) GetImageSpec ¶
func (x *GetImageRequest) GetImageSpec() string
func (*GetImageRequest) ProtoMessage ¶
func (*GetImageRequest) ProtoMessage()
func (*GetImageRequest) ProtoReflect ¶
func (x *GetImageRequest) ProtoReflect() protoreflect.Message
func (*GetImageRequest) Reset ¶
func (x *GetImageRequest) Reset()
func (*GetImageRequest) String ¶
func (x *GetImageRequest) String() string
type GetImageResponse ¶
type GetImageResponse struct { ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` // contains filtered or unexported fields }
func (*GetImageResponse) Descriptor
deprecated
func (*GetImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetImageResponse.ProtoReflect.Descriptor instead.
func (*GetImageResponse) GetImageId ¶
func (x *GetImageResponse) GetImageId() string
func (*GetImageResponse) ProtoMessage ¶
func (*GetImageResponse) ProtoMessage()
func (*GetImageResponse) ProtoReflect ¶
func (x *GetImageResponse) ProtoReflect() protoreflect.Message
func (*GetImageResponse) Reset ¶
func (x *GetImageResponse) Reset()
func (*GetImageResponse) String ¶
func (x *GetImageResponse) String() string
type GetStreamingConnectionRequest ¶
type GetStreamingConnectionRequest struct {
// contains filtered or unexported fields
}
func (*GetStreamingConnectionRequest) Descriptor
deprecated
func (*GetStreamingConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStreamingConnectionRequest.ProtoReflect.Descriptor instead.
func (*GetStreamingConnectionRequest) ProtoMessage ¶
func (*GetStreamingConnectionRequest) ProtoMessage()
func (*GetStreamingConnectionRequest) ProtoReflect ¶
func (x *GetStreamingConnectionRequest) ProtoReflect() protoreflect.Message
func (*GetStreamingConnectionRequest) Reset ¶
func (x *GetStreamingConnectionRequest) Reset()
func (*GetStreamingConnectionRequest) String ¶
func (x *GetStreamingConnectionRequest) String() string
type GetStreamingConnectionResponse ¶
type GetStreamingConnectionResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*GetStreamingConnectionResponse) Descriptor
deprecated
func (*GetStreamingConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStreamingConnectionResponse.ProtoReflect.Descriptor instead.
func (*GetStreamingConnectionResponse) GetUrl ¶
func (x *GetStreamingConnectionResponse) GetUrl() string
func (*GetStreamingConnectionResponse) ProtoMessage ¶
func (*GetStreamingConnectionResponse) ProtoMessage()
func (*GetStreamingConnectionResponse) ProtoReflect ¶
func (x *GetStreamingConnectionResponse) ProtoReflect() protoreflect.Message
func (*GetStreamingConnectionResponse) Reset ¶
func (x *GetStreamingConnectionResponse) Reset()
func (*GetStreamingConnectionResponse) String ¶
func (x *GetStreamingConnectionResponse) String() string
type InitPluginResponse ¶
type InitPluginResponse struct { Config map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*InitPluginResponse) Descriptor
deprecated
func (*InitPluginResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitPluginResponse.ProtoReflect.Descriptor instead.
func (*InitPluginResponse) GetConfig ¶
func (x *InitPluginResponse) GetConfig() map[string]string
func (*InitPluginResponse) ProtoMessage ¶
func (*InitPluginResponse) ProtoMessage()
func (*InitPluginResponse) ProtoReflect ¶
func (x *InitPluginResponse) ProtoReflect() protoreflect.Message
func (*InitPluginResponse) Reset ¶
func (x *InitPluginResponse) Reset()
func (*InitPluginResponse) String ¶
func (x *InitPluginResponse) String() string
type KillContainerRequest ¶ added in v0.4.0
type KillContainerRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` Signal string `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"` // contains filtered or unexported fields }
func (*KillContainerRequest) Descriptor
deprecated
added in
v0.4.0
func (*KillContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use KillContainerRequest.ProtoReflect.Descriptor instead.
func (*KillContainerRequest) GetContainerId ¶ added in v0.4.0
func (x *KillContainerRequest) GetContainerId() string
func (*KillContainerRequest) GetSignal ¶ added in v0.4.0
func (x *KillContainerRequest) GetSignal() string
func (*KillContainerRequest) ProtoMessage ¶ added in v0.4.0
func (*KillContainerRequest) ProtoMessage()
func (*KillContainerRequest) ProtoReflect ¶ added in v0.4.0
func (x *KillContainerRequest) ProtoReflect() protoreflect.Message
func (*KillContainerRequest) Reset ¶ added in v0.4.0
func (x *KillContainerRequest) Reset()
func (*KillContainerRequest) String ¶ added in v0.4.0
func (x *KillContainerRequest) String() string
type ListBackdropsResponse ¶
type ListBackdropsResponse struct { Backdrops []*Backdrop `protobuf:"bytes,1,rep,name=backdrops,proto3" json:"backdrops,omitempty"` // contains filtered or unexported fields }
func (*ListBackdropsResponse) Descriptor
deprecated
func (*ListBackdropsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackdropsResponse.ProtoReflect.Descriptor instead.
func (*ListBackdropsResponse) GetBackdrops ¶
func (x *ListBackdropsResponse) GetBackdrops() []*Backdrop
func (*ListBackdropsResponse) ProtoMessage ¶
func (*ListBackdropsResponse) ProtoMessage()
func (*ListBackdropsResponse) ProtoReflect ¶
func (x *ListBackdropsResponse) ProtoReflect() protoreflect.Message
func (*ListBackdropsResponse) Reset ¶
func (x *ListBackdropsResponse) Reset()
func (*ListBackdropsResponse) String ¶
func (x *ListBackdropsResponse) String() string
type PluginInfo ¶
type PluginInfo struct { Name *PluginName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Dependencies []*PluginName `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` Fields map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PluginInfo) Descriptor
deprecated
func (*PluginInfo) Descriptor() ([]byte, []int)
Deprecated: Use PluginInfo.ProtoReflect.Descriptor instead.
func (*PluginInfo) GetDependencies ¶
func (x *PluginInfo) GetDependencies() []*PluginName
func (*PluginInfo) GetFields ¶
func (x *PluginInfo) GetFields() map[string]string
func (*PluginInfo) GetName ¶
func (x *PluginInfo) GetName() *PluginName
func (*PluginInfo) ProtoMessage ¶
func (*PluginInfo) ProtoMessage()
func (*PluginInfo) ProtoReflect ¶
func (x *PluginInfo) ProtoReflect() protoreflect.Message
func (*PluginInfo) Reset ¶
func (x *PluginInfo) Reset()
func (*PluginInfo) String ¶
func (x *PluginInfo) String() string
type PluginName ¶
type PluginName struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PluginName) Descriptor
deprecated
func (*PluginName) Descriptor() ([]byte, []int)
Deprecated: Use PluginName.ProtoReflect.Descriptor instead.
func (*PluginName) GetName ¶
func (x *PluginName) GetName() string
func (*PluginName) GetType ¶
func (x *PluginName) GetType() string
func (*PluginName) ProtoMessage ¶
func (*PluginName) ProtoMessage()
func (*PluginName) ProtoReflect ¶
func (x *PluginName) ProtoReflect() protoreflect.Message
func (*PluginName) Reset ¶
func (x *PluginName) Reset()
func (*PluginName) String ¶
func (x *PluginName) String() string
type PortBinding ¶
type PortBinding struct { Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` Published string `protobuf:"bytes,2,opt,name=published,proto3" json:"published,omitempty"` Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` HostIp string `protobuf:"bytes,4,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"` // contains filtered or unexported fields }
func (*PortBinding) Descriptor
deprecated
func (*PortBinding) Descriptor() ([]byte, []int)
Deprecated: Use PortBinding.ProtoReflect.Descriptor instead.
func (*PortBinding) GetHostIp ¶
func (x *PortBinding) GetHostIp() string
func (*PortBinding) GetProtocol ¶
func (x *PortBinding) GetProtocol() string
func (*PortBinding) GetPublished ¶
func (x *PortBinding) GetPublished() string
func (*PortBinding) GetTarget ¶
func (x *PortBinding) GetTarget() string
func (*PortBinding) ProtoMessage ¶
func (*PortBinding) ProtoMessage()
func (*PortBinding) ProtoReflect ¶
func (x *PortBinding) ProtoReflect() protoreflect.Message
func (*PortBinding) Reset ¶
func (x *PortBinding) Reset()
func (*PortBinding) String ¶
func (x *PortBinding) String() string
type ResizeContainerRequest ¶
type ResizeContainerRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` // contains filtered or unexported fields }
func (*ResizeContainerRequest) Descriptor
deprecated
func (*ResizeContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResizeContainerRequest.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*ResizeContainerRequest) ProtoMessage()
func (*ResizeContainerRequest) ProtoReflect ¶
func (x *ResizeContainerRequest) ProtoReflect() protoreflect.Message
func (*ResizeContainerRequest) Reset ¶
func (x *ResizeContainerRequest) Reset()
func (*ResizeContainerRequest) String ¶
func (x *ResizeContainerRequest) String() string
type RuntimePluginClient ¶
type RuntimePluginClient interface { GetPluginInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PluginInfo, error) InitPlugin(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*InitPluginResponse, error) CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) DeleteContainer(ctx context.Context, in *DeleteContainerRequest, opts ...grpc.CallOption) (*empty.Empty, error) StartContainer(ctx context.Context, in *StartContainerRequest, opts ...grpc.CallOption) (*empty.Empty, error) StreamContainer(ctx context.Context, in *StreamContainerRequest, opts ...grpc.CallOption) (*StreamContainerResponse, error) ResizeContainer(ctx context.Context, in *ResizeContainerRequest, opts ...grpc.CallOption) (*empty.Empty, error) KillContainer(ctx context.Context, in *KillContainerRequest, opts ...grpc.CallOption) (*empty.Empty, error) GetImage(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*GetImageResponse, error) GetStreamingConnection(ctx context.Context, in *GetStreamingConnectionRequest, opts ...grpc.CallOption) (*GetStreamingConnectionResponse, error) }
RuntimePluginClient is the client API for RuntimePlugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRuntimePluginClient ¶
func NewRuntimePluginClient(cc grpc.ClientConnInterface) RuntimePluginClient
type RuntimePluginServer ¶
type RuntimePluginServer interface { GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error) InitPlugin(context.Context, *empty.Empty) (*InitPluginResponse, error) CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) DeleteContainer(context.Context, *DeleteContainerRequest) (*empty.Empty, error) StartContainer(context.Context, *StartContainerRequest) (*empty.Empty, error) StreamContainer(context.Context, *StreamContainerRequest) (*StreamContainerResponse, error) ResizeContainer(context.Context, *ResizeContainerRequest) (*empty.Empty, error) KillContainer(context.Context, *KillContainerRequest) (*empty.Empty, error) GetImage(context.Context, *GetImageRequest) (*GetImageResponse, error) GetStreamingConnection(context.Context, *GetStreamingConnectionRequest) (*GetStreamingConnectionResponse, error) }
RuntimePluginServer is the server API for RuntimePlugin service.
type SshAgent ¶
type SshAgent struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` IdentityFile string `protobuf:"bytes,2,opt,name=identity_file,json=identityFile,proto3" json:"identity_file,omitempty"` // contains filtered or unexported fields }
func (*SshAgent) Descriptor
deprecated
func (*SshAgent) GetIdentityFile ¶
func (*SshAgent) ProtoMessage ¶
func (*SshAgent) ProtoMessage()
func (*SshAgent) ProtoReflect ¶
func (x *SshAgent) ProtoReflect() protoreflect.Message
type StartContainerRequest ¶
type StartContainerRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*StartContainerRequest) Descriptor
deprecated
func (*StartContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartContainerRequest.ProtoReflect.Descriptor instead.
func (*StartContainerRequest) GetContainerId ¶
func (x *StartContainerRequest) GetContainerId() string
func (*StartContainerRequest) ProtoMessage ¶
func (*StartContainerRequest) ProtoMessage()
func (*StartContainerRequest) ProtoReflect ¶
func (x *StartContainerRequest) ProtoReflect() protoreflect.Message
func (*StartContainerRequest) Reset ¶
func (x *StartContainerRequest) Reset()
func (*StartContainerRequest) String ¶
func (x *StartContainerRequest) String() string
type StreamContainerRequest ¶
type StreamContainerRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` // contains filtered or unexported fields }
func (*StreamContainerRequest) Descriptor
deprecated
func (*StreamContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamContainerRequest.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*StreamContainerRequest) ProtoMessage()
func (*StreamContainerRequest) ProtoReflect ¶
func (x *StreamContainerRequest) ProtoReflect() protoreflect.Message
func (*StreamContainerRequest) Reset ¶
func (x *StreamContainerRequest) Reset()
func (*StreamContainerRequest) String ¶
func (x *StreamContainerRequest) String() string
type StreamContainerResponse ¶
type StreamContainerResponse struct { ExitCode int64 `protobuf:"varint,1,opt,name=exitCode,proto3" json:"exitCode,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*StreamContainerResponse) Descriptor
deprecated
func (*StreamContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamContainerResponse.ProtoReflect.Descriptor instead.
func (*StreamContainerResponse) GetExitCode ¶
func (x *StreamContainerResponse) GetExitCode() int64
func (*StreamContainerResponse) GetMessage ¶
func (x *StreamContainerResponse) GetMessage() string
func (*StreamContainerResponse) ProtoMessage ¶
func (*StreamContainerResponse) ProtoMessage()
func (*StreamContainerResponse) ProtoReflect ¶
func (x *StreamContainerResponse) ProtoReflect() protoreflect.Message
func (*StreamContainerResponse) Reset ¶
func (x *StreamContainerResponse) Reset()
func (*StreamContainerResponse) String ¶
func (x *StreamContainerResponse) String() string
type UnimplementedBuilderPluginServer ¶
type UnimplementedBuilderPluginServer struct { }
UnimplementedBuilderPluginServer can be embedded to have forward compatible implementations.
func (*UnimplementedBuilderPluginServer) CreateImage ¶
func (*UnimplementedBuilderPluginServer) CreateImage(context.Context, *CreateImageRequest) (*CreateImageResponse, error)
func (*UnimplementedBuilderPluginServer) GetPluginInfo ¶
func (*UnimplementedBuilderPluginServer) GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error)
func (*UnimplementedBuilderPluginServer) GetStreamingConnection ¶
func (*UnimplementedBuilderPluginServer) GetStreamingConnection(context.Context, *GetStreamingConnectionRequest) (*GetStreamingConnectionResponse, error)
func (*UnimplementedBuilderPluginServer) InitPlugin ¶
func (*UnimplementedBuilderPluginServer) InitPlugin(context.Context, *empty.Empty) (*InitPluginResponse, error)
type UnimplementedConfigurationPluginServer ¶
type UnimplementedConfigurationPluginServer struct { }
UnimplementedConfigurationPluginServer can be embedded to have forward compatible implementations.
func (*UnimplementedConfigurationPluginServer) GetBackdrop ¶
func (*UnimplementedConfigurationPluginServer) GetBackdrop(context.Context, *GetBackdropRequest) (*Backdrop, error)
func (*UnimplementedConfigurationPluginServer) GetPluginInfo ¶
func (*UnimplementedConfigurationPluginServer) GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error)
func (*UnimplementedConfigurationPluginServer) InitPlugin ¶
func (*UnimplementedConfigurationPluginServer) InitPlugin(context.Context, *empty.Empty) (*InitPluginResponse, error)
func (*UnimplementedConfigurationPluginServer) ListBackdrops ¶
func (*UnimplementedConfigurationPluginServer) ListBackdrops(context.Context, *empty.Empty) (*ListBackdropsResponse, error)
type UnimplementedRuntimePluginServer ¶
type UnimplementedRuntimePluginServer struct { }
UnimplementedRuntimePluginServer can be embedded to have forward compatible implementations.
func (*UnimplementedRuntimePluginServer) CreateContainer ¶
func (*UnimplementedRuntimePluginServer) CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
func (*UnimplementedRuntimePluginServer) DeleteContainer ¶
func (*UnimplementedRuntimePluginServer) DeleteContainer(context.Context, *DeleteContainerRequest) (*empty.Empty, error)
func (*UnimplementedRuntimePluginServer) GetImage ¶
func (*UnimplementedRuntimePluginServer) GetImage(context.Context, *GetImageRequest) (*GetImageResponse, error)
func (*UnimplementedRuntimePluginServer) GetPluginInfo ¶
func (*UnimplementedRuntimePluginServer) GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error)
func (*UnimplementedRuntimePluginServer) GetStreamingConnection ¶
func (*UnimplementedRuntimePluginServer) GetStreamingConnection(context.Context, *GetStreamingConnectionRequest) (*GetStreamingConnectionResponse, error)
func (*UnimplementedRuntimePluginServer) InitPlugin ¶
func (*UnimplementedRuntimePluginServer) InitPlugin(context.Context, *empty.Empty) (*InitPluginResponse, error)
func (*UnimplementedRuntimePluginServer) KillContainer ¶ added in v0.4.0
func (*UnimplementedRuntimePluginServer) KillContainer(context.Context, *KillContainerRequest) (*empty.Empty, error)
func (*UnimplementedRuntimePluginServer) ResizeContainer ¶
func (*UnimplementedRuntimePluginServer) ResizeContainer(context.Context, *ResizeContainerRequest) (*empty.Empty, error)
func (*UnimplementedRuntimePluginServer) StartContainer ¶
func (*UnimplementedRuntimePluginServer) StartContainer(context.Context, *StartContainerRequest) (*empty.Empty, error)
func (*UnimplementedRuntimePluginServer) StreamContainer ¶
func (*UnimplementedRuntimePluginServer) StreamContainer(context.Context, *StreamContainerRequest) (*StreamContainerResponse, error)
type VolumeMount ¶
type VolumeMount struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` Readonly bool `protobuf:"varint,3,opt,name=readonly,proto3" json:"readonly,omitempty"` // contains filtered or unexported fields }
func (*VolumeMount) Descriptor
deprecated
func (*VolumeMount) Descriptor() ([]byte, []int)
Deprecated: Use VolumeMount.ProtoReflect.Descriptor instead.
func (*VolumeMount) GetReadonly ¶
func (x *VolumeMount) GetReadonly() bool
func (*VolumeMount) GetSource ¶
func (x *VolumeMount) GetSource() string
func (*VolumeMount) GetTarget ¶
func (x *VolumeMount) GetTarget() string
func (*VolumeMount) ProtoMessage ¶
func (*VolumeMount) ProtoMessage()
func (*VolumeMount) ProtoReflect ¶
func (x *VolumeMount) ProtoReflect() protoreflect.Message
func (*VolumeMount) Reset ¶
func (x *VolumeMount) Reset()
func (*VolumeMount) String ¶
func (x *VolumeMount) String() string