Versions in this module Expand all Collapse all v0 v0.5.0 Apr 9, 2022 Changes in this version + var File_api_v1alpha3_backdrop_proto protoreflect.FileDescriptor + var File_api_v1alpha3_build_proto protoreflect.FileDescriptor + var File_api_v1alpha3_builder_proto protoreflect.FileDescriptor + var File_api_v1alpha3_configuration_proto protoreflect.FileDescriptor + var File_api_v1alpha3_plugin_proto protoreflect.FileDescriptor + var File_api_v1alpha3_runtime_proto protoreflect.FileDescriptor + func RegisterBuilderPluginServer(s *grpc.Server, srv BuilderPluginServer) + func RegisterConfigurationPluginServer(s *grpc.Server, srv ConfigurationPluginServer) + func RegisterRuntimePluginServer(s *grpc.Server, srv RuntimePluginServer) + type Backdrop struct + Aliases []string + BuildInfo *BuildInfo + Capabilities []string + ContainerName string + Devices []*DeviceMapping + Entrypoint *Entrypoint + Environment []*EnvironmentVariable + ImageId string + Name string + Ports []*PortBinding + Runtime string + User string + Volumes []*VolumeMount + WorkingDir string + func (*Backdrop) Descriptor() ([]byte, []int) + func (*Backdrop) ProtoMessage() + 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 (x *Backdrop) ProtoReflect() protoreflect.Message + func (x *Backdrop) Reset() + func (x *Backdrop) String() string + type BuildArgument struct + Key string + Value string + func (*BuildArgument) Descriptor() ([]byte, []int) + func (*BuildArgument) ProtoMessage() + func (x *BuildArgument) GetKey() string + func (x *BuildArgument) GetValue() string + func (x *BuildArgument) ProtoReflect() protoreflect.Message + func (x *BuildArgument) Reset() + func (x *BuildArgument) String() string + type BuildInfo struct + Arguments []*BuildArgument + Builder string + Context string + Dependencies []string + Dockerfile string + ForcePull bool + ForceRebuild bool + ImageName string + InlineDockerfile []string + NoCache bool + Secrets []*BuildSecret + SshAgents []*SshAgent + func (*BuildInfo) Descriptor() ([]byte, []int) + func (*BuildInfo) ProtoMessage() + 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 (x *BuildInfo) ProtoReflect() protoreflect.Message + func (x *BuildInfo) Reset() + func (x *BuildInfo) String() string + type BuildSecret struct + Id string + Path string + func (*BuildSecret) Descriptor() ([]byte, []int) + func (*BuildSecret) ProtoMessage() + func (x *BuildSecret) GetId() string + func (x *BuildSecret) GetPath() string + func (x *BuildSecret) ProtoReflect() protoreflect.Message + func (x *BuildSecret) Reset() + func (x *BuildSecret) String() string + type BuilderPluginClient interface + CreateImage func(ctx context.Context, in *CreateImageRequest, opts ...grpc.CallOption) (*CreateImageResponse, error) + GetPluginInfo func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PluginInfo, error) + GetStreamingConnection func(ctx context.Context, in *GetStreamingConnectionRequest, ...) (*GetStreamingConnectionResponse, error) + InitPlugin func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*InitPluginResponse, error) + func NewBuilderPluginClient(cc grpc.ClientConnInterface) BuilderPluginClient + type BuilderPluginServer interface + CreateImage func(context.Context, *CreateImageRequest) (*CreateImageResponse, error) + GetPluginInfo func(context.Context, *empty.Empty) (*PluginInfo, error) + GetStreamingConnection func(context.Context, *GetStreamingConnectionRequest) (*GetStreamingConnectionResponse, error) + InitPlugin func(context.Context, *empty.Empty) (*InitPluginResponse, error) + type ConfigurationPluginClient interface + GetBackdrop func(ctx context.Context, in *GetBackdropRequest, opts ...grpc.CallOption) (*Backdrop, error) + GetPluginInfo func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PluginInfo, error) + InitPlugin func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*InitPluginResponse, error) + ListBackdrops func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListBackdropsResponse, error) + func NewConfigurationPluginClient(cc grpc.ClientConnInterface) ConfigurationPluginClient + type ConfigurationPluginServer interface + GetBackdrop func(context.Context, *GetBackdropRequest) (*Backdrop, error) + GetPluginInfo func(context.Context, *empty.Empty) (*PluginInfo, error) + InitPlugin func(context.Context, *empty.Empty) (*InitPluginResponse, error) + ListBackdrops func(context.Context, *empty.Empty) (*ListBackdropsResponse, error) + type CreateContainerRequest struct + Config *Backdrop + Stdio bool + Tty bool + func (*CreateContainerRequest) Descriptor() ([]byte, []int) + func (*CreateContainerRequest) ProtoMessage() + func (x *CreateContainerRequest) GetConfig() *Backdrop + func (x *CreateContainerRequest) GetStdio() bool + func (x *CreateContainerRequest) GetTty() bool + func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message + func (x *CreateContainerRequest) Reset() + func (x *CreateContainerRequest) String() string + type CreateContainerResponse struct + ContainerId string + func (*CreateContainerResponse) Descriptor() ([]byte, []int) + func (*CreateContainerResponse) ProtoMessage() + func (x *CreateContainerResponse) GetContainerId() string + func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message + func (x *CreateContainerResponse) Reset() + func (x *CreateContainerResponse) String() string + type CreateImageRequest struct + Config *BuildInfo + Height uint32 + Width uint32 + func (*CreateImageRequest) Descriptor() ([]byte, []int) + func (*CreateImageRequest) ProtoMessage() + func (x *CreateImageRequest) GetConfig() *BuildInfo + func (x *CreateImageRequest) GetHeight() uint32 + func (x *CreateImageRequest) GetWidth() uint32 + func (x *CreateImageRequest) ProtoReflect() protoreflect.Message + func (x *CreateImageRequest) Reset() + func (x *CreateImageRequest) String() string + type CreateImageResponse struct + ImageId string + func (*CreateImageResponse) Descriptor() ([]byte, []int) + func (*CreateImageResponse) ProtoMessage() + func (x *CreateImageResponse) GetImageId() string + func (x *CreateImageResponse) ProtoReflect() protoreflect.Message + func (x *CreateImageResponse) Reset() + func (x *CreateImageResponse) String() string + type DeleteContainerRequest struct + ContainerId string + func (*DeleteContainerRequest) Descriptor() ([]byte, []int) + func (*DeleteContainerRequest) ProtoMessage() + func (x *DeleteContainerRequest) GetContainerId() string + func (x *DeleteContainerRequest) ProtoReflect() protoreflect.Message + func (x *DeleteContainerRequest) Reset() + func (x *DeleteContainerRequest) String() string + type DeviceMapping struct + CgroupRule string + Permissions string + Source string + Target string + func (*DeviceMapping) Descriptor() ([]byte, []int) + func (*DeviceMapping) ProtoMessage() + func (x *DeviceMapping) GetCgroupRule() string + func (x *DeviceMapping) GetPermissions() string + func (x *DeviceMapping) GetSource() string + func (x *DeviceMapping) GetTarget() string + func (x *DeviceMapping) ProtoReflect() protoreflect.Message + func (x *DeviceMapping) Reset() + func (x *DeviceMapping) String() string + type Entrypoint struct + Arguments []string + Interactive bool + Interpreter []string + Script string + func (*Entrypoint) Descriptor() ([]byte, []int) + func (*Entrypoint) ProtoMessage() + func (x *Entrypoint) GetArguments() []string + func (x *Entrypoint) GetInteractive() bool + func (x *Entrypoint) GetInterpreter() []string + func (x *Entrypoint) GetScript() string + func (x *Entrypoint) ProtoReflect() protoreflect.Message + func (x *Entrypoint) Reset() + func (x *Entrypoint) String() string + type EnvironmentVariable struct + Key string + Value string + func (*EnvironmentVariable) Descriptor() ([]byte, []int) + func (*EnvironmentVariable) ProtoMessage() + func (x *EnvironmentVariable) GetKey() string + func (x *EnvironmentVariable) GetValue() string + func (x *EnvironmentVariable) ProtoReflect() protoreflect.Message + func (x *EnvironmentVariable) Reset() + func (x *EnvironmentVariable) String() string + type GetBackdropRequest struct + Alias string + func (*GetBackdropRequest) Descriptor() ([]byte, []int) + func (*GetBackdropRequest) ProtoMessage() + func (x *GetBackdropRequest) GetAlias() string + func (x *GetBackdropRequest) ProtoReflect() protoreflect.Message + func (x *GetBackdropRequest) Reset() + func (x *GetBackdropRequest) String() string + type GetImageRequest struct + ImageSpec string + func (*GetImageRequest) Descriptor() ([]byte, []int) + func (*GetImageRequest) ProtoMessage() + func (x *GetImageRequest) GetImageSpec() string + func (x *GetImageRequest) ProtoReflect() protoreflect.Message + func (x *GetImageRequest) Reset() + func (x *GetImageRequest) String() string + type GetImageResponse struct + ImageId string + func (*GetImageResponse) Descriptor() ([]byte, []int) + func (*GetImageResponse) ProtoMessage() + func (x *GetImageResponse) GetImageId() string + func (x *GetImageResponse) ProtoReflect() protoreflect.Message + func (x *GetImageResponse) Reset() + func (x *GetImageResponse) String() string + type GetStreamingConnectionRequest struct + func (*GetStreamingConnectionRequest) Descriptor() ([]byte, []int) + func (*GetStreamingConnectionRequest) ProtoMessage() + func (x *GetStreamingConnectionRequest) ProtoReflect() protoreflect.Message + func (x *GetStreamingConnectionRequest) Reset() + func (x *GetStreamingConnectionRequest) String() string + type GetStreamingConnectionResponse struct + Url string + func (*GetStreamingConnectionResponse) Descriptor() ([]byte, []int) + func (*GetStreamingConnectionResponse) ProtoMessage() + func (x *GetStreamingConnectionResponse) GetUrl() string + func (x *GetStreamingConnectionResponse) ProtoReflect() protoreflect.Message + func (x *GetStreamingConnectionResponse) Reset() + func (x *GetStreamingConnectionResponse) String() string + type InitPluginResponse struct + Config map[string]string + func (*InitPluginResponse) Descriptor() ([]byte, []int) + func (*InitPluginResponse) ProtoMessage() + func (x *InitPluginResponse) GetConfig() map[string]string + func (x *InitPluginResponse) ProtoReflect() protoreflect.Message + func (x *InitPluginResponse) Reset() + func (x *InitPluginResponse) String() string + type KillContainerRequest struct + ContainerId string + Signal string + func (*KillContainerRequest) Descriptor() ([]byte, []int) + func (*KillContainerRequest) ProtoMessage() + func (x *KillContainerRequest) GetContainerId() string + func (x *KillContainerRequest) GetSignal() string + func (x *KillContainerRequest) ProtoReflect() protoreflect.Message + func (x *KillContainerRequest) Reset() + func (x *KillContainerRequest) String() string + type ListBackdropsResponse struct + Backdrops []*Backdrop + func (*ListBackdropsResponse) Descriptor() ([]byte, []int) + func (*ListBackdropsResponse) ProtoMessage() + func (x *ListBackdropsResponse) GetBackdrops() []*Backdrop + func (x *ListBackdropsResponse) ProtoReflect() protoreflect.Message + func (x *ListBackdropsResponse) Reset() + func (x *ListBackdropsResponse) String() string + type PluginInfo struct + Dependencies []*PluginName + Fields map[string]string + Name *PluginName + func (*PluginInfo) Descriptor() ([]byte, []int) + func (*PluginInfo) ProtoMessage() + func (x *PluginInfo) GetDependencies() []*PluginName + func (x *PluginInfo) GetFields() map[string]string + func (x *PluginInfo) GetName() *PluginName + func (x *PluginInfo) ProtoReflect() protoreflect.Message + func (x *PluginInfo) Reset() + func (x *PluginInfo) String() string + type PluginName struct + Name string + Type string + func (*PluginName) Descriptor() ([]byte, []int) + func (*PluginName) ProtoMessage() + func (x *PluginName) GetName() string + func (x *PluginName) GetType() string + func (x *PluginName) ProtoReflect() protoreflect.Message + func (x *PluginName) Reset() + func (x *PluginName) String() string + type PortBinding struct + HostIp string + Protocol string + Published string + Target string + func (*PortBinding) Descriptor() ([]byte, []int) + func (*PortBinding) ProtoMessage() + func (x *PortBinding) GetHostIp() string + func (x *PortBinding) GetProtocol() string + func (x *PortBinding) GetPublished() string + func (x *PortBinding) GetTarget() string + func (x *PortBinding) ProtoReflect() protoreflect.Message + func (x *PortBinding) Reset() + func (x *PortBinding) String() string + type ResizeContainerRequest struct + ContainerId string + Height uint32 + Width uint32 + func (*ResizeContainerRequest) Descriptor() ([]byte, []int) + func (*ResizeContainerRequest) ProtoMessage() + func (x *ResizeContainerRequest) GetContainerId() string + func (x *ResizeContainerRequest) GetHeight() uint32 + func (x *ResizeContainerRequest) GetWidth() uint32 + func (x *ResizeContainerRequest) ProtoReflect() protoreflect.Message + func (x *ResizeContainerRequest) Reset() + func (x *ResizeContainerRequest) String() string + type RuntimePluginClient interface + CreateContainer func(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) + DeleteContainer func(ctx context.Context, in *DeleteContainerRequest, opts ...grpc.CallOption) (*empty.Empty, error) + GetImage func(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*GetImageResponse, error) + GetPluginInfo func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PluginInfo, error) + GetStreamingConnection func(ctx context.Context, in *GetStreamingConnectionRequest, ...) (*GetStreamingConnectionResponse, error) + InitPlugin func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*InitPluginResponse, error) + KillContainer func(ctx context.Context, in *KillContainerRequest, opts ...grpc.CallOption) (*empty.Empty, error) + ResizeContainer func(ctx context.Context, in *ResizeContainerRequest, opts ...grpc.CallOption) (*empty.Empty, error) + StartContainer func(ctx context.Context, in *StartContainerRequest, opts ...grpc.CallOption) (*empty.Empty, error) + StreamContainer func(ctx context.Context, in *StreamContainerRequest, opts ...grpc.CallOption) (*StreamContainerResponse, error) + func NewRuntimePluginClient(cc grpc.ClientConnInterface) RuntimePluginClient + type RuntimePluginServer interface + CreateContainer func(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) + DeleteContainer func(context.Context, *DeleteContainerRequest) (*empty.Empty, error) + GetImage func(context.Context, *GetImageRequest) (*GetImageResponse, error) + GetPluginInfo func(context.Context, *empty.Empty) (*PluginInfo, error) + GetStreamingConnection func(context.Context, *GetStreamingConnectionRequest) (*GetStreamingConnectionResponse, error) + InitPlugin func(context.Context, *empty.Empty) (*InitPluginResponse, error) + KillContainer func(context.Context, *KillContainerRequest) (*empty.Empty, error) + ResizeContainer func(context.Context, *ResizeContainerRequest) (*empty.Empty, error) + StartContainer func(context.Context, *StartContainerRequest) (*empty.Empty, error) + StreamContainer func(context.Context, *StreamContainerRequest) (*StreamContainerResponse, error) + type SshAgent struct + Id string + IdentityFile string + func (*SshAgent) Descriptor() ([]byte, []int) + func (*SshAgent) ProtoMessage() + func (x *SshAgent) GetId() string + func (x *SshAgent) GetIdentityFile() string + func (x *SshAgent) ProtoReflect() protoreflect.Message + func (x *SshAgent) Reset() + func (x *SshAgent) String() string + type StartContainerRequest struct + ContainerId string + func (*StartContainerRequest) Descriptor() ([]byte, []int) + func (*StartContainerRequest) ProtoMessage() + func (x *StartContainerRequest) GetContainerId() string + func (x *StartContainerRequest) ProtoReflect() protoreflect.Message + func (x *StartContainerRequest) Reset() + func (x *StartContainerRequest) String() string + type StreamContainerRequest struct + ContainerId string + Height uint32 + Width uint32 + func (*StreamContainerRequest) Descriptor() ([]byte, []int) + func (*StreamContainerRequest) ProtoMessage() + func (x *StreamContainerRequest) GetContainerId() string + func (x *StreamContainerRequest) GetHeight() uint32 + func (x *StreamContainerRequest) GetWidth() uint32 + func (x *StreamContainerRequest) ProtoReflect() protoreflect.Message + func (x *StreamContainerRequest) Reset() + func (x *StreamContainerRequest) String() string + type StreamContainerResponse struct + ExitCode int64 + Message string + func (*StreamContainerResponse) Descriptor() ([]byte, []int) + func (*StreamContainerResponse) ProtoMessage() + func (x *StreamContainerResponse) GetExitCode() int64 + func (x *StreamContainerResponse) GetMessage() string + func (x *StreamContainerResponse) ProtoReflect() protoreflect.Message + func (x *StreamContainerResponse) Reset() + func (x *StreamContainerResponse) String() string + type UnimplementedBuilderPluginServer struct + 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 struct + 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 struct + 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 struct + Readonly bool + Source string + Target string + func (*VolumeMount) Descriptor() ([]byte, []int) + func (*VolumeMount) ProtoMessage() + func (x *VolumeMount) GetReadonly() bool + func (x *VolumeMount) GetSource() string + func (x *VolumeMount) GetTarget() string + func (x *VolumeMount) ProtoReflect() protoreflect.Message + func (x *VolumeMount) Reset() + func (x *VolumeMount) String() string