v1alpha2

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_v1alpha2_backdrop_proto protoreflect.FileDescriptor
View Source
var File_api_v1alpha2_build_proto protoreflect.FileDescriptor
View Source
var File_api_v1alpha2_builder_proto protoreflect.FileDescriptor
View Source
var File_api_v1alpha2_configuration_proto protoreflect.FileDescriptor
View Source
var File_api_v1alpha2_plugin_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Backdrop.ProtoReflect.Descriptor instead.

func (*Backdrop) GetAliases

func (x *Backdrop) GetAliases() []string

func (*Backdrop) GetBuildInfo

func (x *Backdrop) GetBuildInfo() *BuildInfo

func (*Backdrop) GetCapabilities

func (x *Backdrop) GetCapabilities() []string

func (*Backdrop) GetContainerName

func (x *Backdrop) GetContainerName() string

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 (x *Backdrop) GetImageId() string

func (*Backdrop) GetName

func (x *Backdrop) GetName() string

func (*Backdrop) GetPorts

func (x *Backdrop) GetPorts() []*PortBinding

func (*Backdrop) GetRuntime

func (x *Backdrop) GetRuntime() string

func (*Backdrop) GetUser

func (x *Backdrop) GetUser() string

func (*Backdrop) GetVolumes

func (x *Backdrop) GetVolumes() []*VolumeMount

func (*Backdrop) GetWorkingDir

func (x *Backdrop) GetWorkingDir() string

func (*Backdrop) ProtoMessage

func (*Backdrop) ProtoMessage()

func (*Backdrop) ProtoReflect

func (x *Backdrop) ProtoReflect() protoreflect.Message

func (*Backdrop) Reset

func (x *Backdrop) Reset()

func (*Backdrop) String

func (x *Backdrop) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use BuildInfo.ProtoReflect.Descriptor instead.

func (*BuildInfo) GetArguments

func (x *BuildInfo) GetArguments() []*BuildArgument

func (*BuildInfo) GetBuilder

func (x *BuildInfo) GetBuilder() string

func (*BuildInfo) GetContext

func (x *BuildInfo) GetContext() string

func (*BuildInfo) GetDependencies

func (x *BuildInfo) GetDependencies() []string

func (*BuildInfo) GetDockerfile

func (x *BuildInfo) GetDockerfile() string

func (*BuildInfo) GetForcePull

func (x *BuildInfo) GetForcePull() bool

func (*BuildInfo) GetForceRebuild

func (x *BuildInfo) GetForceRebuild() bool

func (*BuildInfo) GetImageName

func (x *BuildInfo) GetImageName() string

func (*BuildInfo) GetInlineDockerfile

func (x *BuildInfo) GetInlineDockerfile() []string

func (*BuildInfo) GetNoCache

func (x *BuildInfo) GetNoCache() bool

func (*BuildInfo) GetSecrets

func (x *BuildInfo) GetSecrets() []*BuildSecret

func (*BuildInfo) GetSshAgents

func (x *BuildInfo) GetSshAgents() []*SshAgent

func (*BuildInfo) ProtoMessage

func (*BuildInfo) ProtoMessage()

func (*BuildInfo) ProtoReflect

func (x *BuildInfo) ProtoReflect() protoreflect.Message

func (*BuildInfo) Reset

func (x *BuildInfo) Reset()

func (*BuildInfo) String

func (x *BuildInfo) String() string

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.

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.

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 (*GetStreamingConnectionRequest) Reset

func (x *GetStreamingConnectionRequest) Reset()

func (*GetStreamingConnectionRequest) 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 (*GetStreamingConnectionResponse) ProtoMessage

func (*GetStreamingConnectionResponse) ProtoMessage()

func (*GetStreamingConnectionResponse) ProtoReflect

func (*GetStreamingConnectionResponse) Reset

func (x *GetStreamingConnectionResponse) Reset()

func (*GetStreamingConnectionResponse) 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.

type RuntimePluginServer

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) Descriptor() ([]byte, []int)

Deprecated: Use SshAgent.ProtoReflect.Descriptor instead.

func (*SshAgent) GetId

func (x *SshAgent) GetId() string

func (*SshAgent) GetIdentityFile

func (x *SshAgent) GetIdentityFile() string

func (*SshAgent) ProtoMessage

func (*SshAgent) ProtoMessage()

func (*SshAgent) ProtoReflect

func (x *SshAgent) ProtoReflect() protoreflect.Message

func (*SshAgent) Reset

func (x *SshAgent) Reset()

func (*SshAgent) String

func (x *SshAgent) String() string

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) GetPluginInfo

func (*UnimplementedBuilderPluginServer) InitPlugin

type UnimplementedConfigurationPluginServer

type UnimplementedConfigurationPluginServer struct {
}

UnimplementedConfigurationPluginServer can be embedded to have forward compatible implementations.

func (*UnimplementedConfigurationPluginServer) GetBackdrop

func (*UnimplementedConfigurationPluginServer) GetPluginInfo

func (*UnimplementedConfigurationPluginServer) InitPlugin

func (*UnimplementedConfigurationPluginServer) ListBackdrops

type UnimplementedRuntimePluginServer

type UnimplementedRuntimePluginServer struct {
}

UnimplementedRuntimePluginServer can be embedded to have forward compatible implementations.

func (*UnimplementedRuntimePluginServer) CreateContainer

func (*UnimplementedRuntimePluginServer) DeleteContainer

func (*UnimplementedRuntimePluginServer) GetImage

func (*UnimplementedRuntimePluginServer) GetPluginInfo

func (*UnimplementedRuntimePluginServer) InitPlugin

func (*UnimplementedRuntimePluginServer) KillContainer added in v0.4.0

func (*UnimplementedRuntimePluginServer) ResizeContainer

func (*UnimplementedRuntimePluginServer) StartContainer

func (*UnimplementedRuntimePluginServer) StreamContainer

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

Jump to

Keyboard shortcuts

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