sqnc

package
v0.0.0-...-70db0ab Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const RuntimeName = "sqnc"
View Source
const (
	// RuntimeServiceName is the fully-qualified name of the RuntimeService service.
	RuntimeServiceName = "sequence.runtime.sqnc.RuntimeService"
)

Variables

View Source
var File_runtime_sqnc_container_proto protoreflect.FileDescriptor
View Source
var File_runtime_sqnc_image_proto protoreflect.FileDescriptor
View Source
var File_runtime_sqnc_runtime_proto protoreflect.FileDescriptor
View Source
var File_runtime_sqnc_volume_proto protoreflect.FileDescriptor

Functions

func NewRuntimeServiceHandler

func NewRuntimeServiceHandler(svc RuntimeServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)

NewRuntimeServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

Types

type AttachContainerRequest

type AttachContainerRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachContainerRequest) Descriptor deprecated

func (*AttachContainerRequest) Descriptor() ([]byte, []int)

Deprecated: Use AttachContainerRequest.ProtoReflect.Descriptor instead.

func (*AttachContainerRequest) GetId

func (x *AttachContainerRequest) GetId() string

func (*AttachContainerRequest) ProtoMessage

func (*AttachContainerRequest) ProtoMessage()

func (*AttachContainerRequest) ProtoReflect

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

func (*AttachContainerRequest) Reset

func (x *AttachContainerRequest) Reset()

func (*AttachContainerRequest) String

func (x *AttachContainerRequest) String() string

type AttachContainerResponse

type AttachContainerResponse struct {
	Log *rpcio.Log `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachContainerResponse) Descriptor deprecated

func (*AttachContainerResponse) Descriptor() ([]byte, []int)

Deprecated: Use AttachContainerResponse.ProtoReflect.Descriptor instead.

func (*AttachContainerResponse) GetLog

func (x *AttachContainerResponse) GetLog() *rpcio.Log

func (*AttachContainerResponse) ProtoMessage

func (*AttachContainerResponse) ProtoMessage()

func (*AttachContainerResponse) ProtoReflect

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

func (*AttachContainerResponse) Reset

func (x *AttachContainerResponse) Reset()

func (*AttachContainerResponse) String

func (x *AttachContainerResponse) String() string

type Container

type Container struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Container) Descriptor deprecated

func (*Container) Descriptor() ([]byte, []int)

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetId

func (x *Container) GetId() string

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

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

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

type CopyFromContainerRequest

type CopyFromContainerRequest struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*CopyFromContainerRequest) Descriptor deprecated

func (*CopyFromContainerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CopyFromContainerRequest.ProtoReflect.Descriptor instead.

func (*CopyFromContainerRequest) GetId

func (x *CopyFromContainerRequest) GetId() string

func (*CopyFromContainerRequest) GetSource

func (x *CopyFromContainerRequest) GetSource() string

func (*CopyFromContainerRequest) ProtoMessage

func (*CopyFromContainerRequest) ProtoMessage()

func (*CopyFromContainerRequest) ProtoReflect

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

func (*CopyFromContainerRequest) Reset

func (x *CopyFromContainerRequest) Reset()

func (*CopyFromContainerRequest) String

func (x *CopyFromContainerRequest) String() string

type CopyFromContainerResponse

type CopyFromContainerResponse struct {
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*CopyFromContainerResponse) Descriptor deprecated

func (*CopyFromContainerResponse) Descriptor() ([]byte, []int)

Deprecated: Use CopyFromContainerResponse.ProtoReflect.Descriptor instead.

func (*CopyFromContainerResponse) GetContent

func (x *CopyFromContainerResponse) GetContent() []byte

func (*CopyFromContainerResponse) ProtoMessage

func (*CopyFromContainerResponse) ProtoMessage()

func (*CopyFromContainerResponse) ProtoReflect

func (*CopyFromContainerResponse) Reset

func (x *CopyFromContainerResponse) Reset()

func (*CopyFromContainerResponse) String

func (x *CopyFromContainerResponse) String() string

type CopyToContainerRequest

type CopyToContainerRequest struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
	Content     []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*CopyToContainerRequest) Descriptor deprecated

func (*CopyToContainerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CopyToContainerRequest.ProtoReflect.Descriptor instead.

func (*CopyToContainerRequest) GetContent

func (x *CopyToContainerRequest) GetContent() []byte

func (*CopyToContainerRequest) GetDestination

func (x *CopyToContainerRequest) GetDestination() string

func (*CopyToContainerRequest) GetId

func (x *CopyToContainerRequest) GetId() string

func (*CopyToContainerRequest) ProtoMessage

func (*CopyToContainerRequest) ProtoMessage()

func (*CopyToContainerRequest) ProtoReflect

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

func (*CopyToContainerRequest) Reset

func (x *CopyToContainerRequest) Reset()

func (*CopyToContainerRequest) String

func (x *CopyToContainerRequest) String() string

type CopyToContainerResponse

type CopyToContainerResponse struct {
	// contains filtered or unexported fields
}

func (*CopyToContainerResponse) Descriptor deprecated

func (*CopyToContainerResponse) Descriptor() ([]byte, []int)

Deprecated: Use CopyToContainerResponse.ProtoReflect.Descriptor instead.

func (*CopyToContainerResponse) ProtoMessage

func (*CopyToContainerResponse) ProtoMessage()

func (*CopyToContainerResponse) ProtoReflect

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

func (*CopyToContainerResponse) Reset

func (x *CopyToContainerResponse) Reset()

func (*CopyToContainerResponse) String

func (x *CopyToContainerResponse) String() string

type CreateContainerRequest

type CreateContainerRequest struct {
	Spec *runtime.Spec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateContainerRequest) Descriptor deprecated

func (*CreateContainerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateContainerRequest.ProtoReflect.Descriptor instead.

func (*CreateContainerRequest) GetSpec

func (x *CreateContainerRequest) GetSpec() *runtime.Spec

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 {
	Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateContainerResponse) Descriptor deprecated

func (*CreateContainerResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateContainerResponse.ProtoReflect.Descriptor instead.

func (*CreateContainerResponse) GetContainer

func (x *CreateContainerResponse) GetContainer() *Container

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 CreateVolumeRequest

type CreateVolumeRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVolumeRequest) Descriptor deprecated

func (*CreateVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateVolumeRequest.ProtoReflect.Descriptor instead.

func (*CreateVolumeRequest) GetName

func (x *CreateVolumeRequest) GetName() string

func (*CreateVolumeRequest) ProtoMessage

func (*CreateVolumeRequest) ProtoMessage()

func (*CreateVolumeRequest) ProtoReflect

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

func (*CreateVolumeRequest) Reset

func (x *CreateVolumeRequest) Reset()

func (*CreateVolumeRequest) String

func (x *CreateVolumeRequest) String() string

type CreateVolumeResponse

type CreateVolumeResponse struct {
	Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVolumeResponse) Descriptor deprecated

func (*CreateVolumeResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateVolumeResponse.ProtoReflect.Descriptor instead.

func (*CreateVolumeResponse) GetVolume

func (x *CreateVolumeResponse) GetVolume() *Volume

func (*CreateVolumeResponse) ProtoMessage

func (*CreateVolumeResponse) ProtoMessage()

func (*CreateVolumeResponse) ProtoReflect

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

func (*CreateVolumeResponse) Reset

func (x *CreateVolumeResponse) Reset()

func (*CreateVolumeResponse) String

func (x *CreateVolumeResponse) String() string

type ExecContainerRequest

type ExecContainerRequest struct {
	Id   string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Exec *runtime.Exec `protobuf:"bytes,2,opt,name=exec,proto3" json:"exec,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecContainerRequest) Descriptor deprecated

func (*ExecContainerRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExecContainerRequest.ProtoReflect.Descriptor instead.

func (*ExecContainerRequest) GetExec

func (x *ExecContainerRequest) GetExec() *runtime.Exec

func (*ExecContainerRequest) GetId

func (x *ExecContainerRequest) GetId() string

func (*ExecContainerRequest) ProtoMessage

func (*ExecContainerRequest) ProtoMessage()

func (*ExecContainerRequest) ProtoReflect

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

func (*ExecContainerRequest) Reset

func (x *ExecContainerRequest) Reset()

func (*ExecContainerRequest) String

func (x *ExecContainerRequest) String() string

type ExecContainerResponse

type ExecContainerResponse struct {
	Log *rpcio.Log `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecContainerResponse) Descriptor deprecated

func (*ExecContainerResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExecContainerResponse.ProtoReflect.Descriptor instead.

func (*ExecContainerResponse) GetLog

func (x *ExecContainerResponse) GetLog() *rpcio.Log

func (*ExecContainerResponse) ProtoMessage

func (*ExecContainerResponse) ProtoMessage()

func (*ExecContainerResponse) ProtoReflect

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

func (*ExecContainerResponse) Reset

func (x *ExecContainerResponse) Reset()

func (*ExecContainerResponse) String

func (x *ExecContainerResponse) String() string

type GetContainerRequest

type GetContainerRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetContainerRequest) Descriptor deprecated

func (*GetContainerRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetContainerRequest.ProtoReflect.Descriptor instead.

func (*GetContainerRequest) GetId

func (x *GetContainerRequest) GetId() string

func (*GetContainerRequest) ProtoMessage

func (*GetContainerRequest) ProtoMessage()

func (*GetContainerRequest) ProtoReflect

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

func (*GetContainerRequest) Reset

func (x *GetContainerRequest) Reset()

func (*GetContainerRequest) String

func (x *GetContainerRequest) String() string

type GetContainerResponse

type GetContainerResponse struct {
	Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	// contains filtered or unexported fields
}

func (*GetContainerResponse) Descriptor deprecated

func (*GetContainerResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetContainerResponse.ProtoReflect.Descriptor instead.

func (*GetContainerResponse) GetContainer

func (x *GetContainerResponse) GetContainer() *Container

func (*GetContainerResponse) ProtoMessage

func (*GetContainerResponse) ProtoMessage()

func (*GetContainerResponse) ProtoReflect

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

func (*GetContainerResponse) Reset

func (x *GetContainerResponse) Reset()

func (*GetContainerResponse) String

func (x *GetContainerResponse) String() string

type GetVolumeRequest

type GetVolumeRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVolumeRequest) Descriptor deprecated

func (*GetVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVolumeRequest.ProtoReflect.Descriptor instead.

func (*GetVolumeRequest) GetName

func (x *GetVolumeRequest) GetName() string

func (*GetVolumeRequest) ProtoMessage

func (*GetVolumeRequest) ProtoMessage()

func (*GetVolumeRequest) ProtoReflect

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

func (*GetVolumeRequest) Reset

func (x *GetVolumeRequest) Reset()

func (*GetVolumeRequest) String

func (x *GetVolumeRequest) String() string

type GetVolumeResponse

type GetVolumeResponse struct {
	Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVolumeResponse) Descriptor deprecated

func (*GetVolumeResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetVolumeResponse.ProtoReflect.Descriptor instead.

func (*GetVolumeResponse) GetVolume

func (x *GetVolumeResponse) GetVolume() *Volume

func (*GetVolumeResponse) ProtoMessage

func (*GetVolumeResponse) ProtoMessage()

func (*GetVolumeResponse) ProtoReflect

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

func (*GetVolumeResponse) Reset

func (x *GetVolumeResponse) Reset()

func (*GetVolumeResponse) String

func (x *GetVolumeResponse) String() string

type Image

type Image struct {
	Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

func (*Image) Descriptor deprecated

func (*Image) Descriptor() ([]byte, []int)

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetRef

func (x *Image) GetRef() string

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

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

func (*Image) Reset

func (x *Image) Reset()

func (*Image) String

func (x *Image) String() string

type PruneContainersRequest

type PruneContainersRequest struct {
	// contains filtered or unexported fields
}

func (*PruneContainersRequest) Descriptor deprecated

func (*PruneContainersRequest) Descriptor() ([]byte, []int)

Deprecated: Use PruneContainersRequest.ProtoReflect.Descriptor instead.

func (*PruneContainersRequest) ProtoMessage

func (*PruneContainersRequest) ProtoMessage()

func (*PruneContainersRequest) ProtoReflect

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

func (*PruneContainersRequest) Reset

func (x *PruneContainersRequest) Reset()

func (*PruneContainersRequest) String

func (x *PruneContainersRequest) String() string

type PruneContainersResponse

type PruneContainersResponse struct {
	// contains filtered or unexported fields
}

func (*PruneContainersResponse) Descriptor deprecated

func (*PruneContainersResponse) Descriptor() ([]byte, []int)

Deprecated: Use PruneContainersResponse.ProtoReflect.Descriptor instead.

func (*PruneContainersResponse) ProtoMessage

func (*PruneContainersResponse) ProtoMessage()

func (*PruneContainersResponse) ProtoReflect

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

func (*PruneContainersResponse) Reset

func (x *PruneContainersResponse) Reset()

func (*PruneContainersResponse) String

func (x *PruneContainersResponse) String() string

type PruneImagesRequest

type PruneImagesRequest struct {
	// contains filtered or unexported fields
}

func (*PruneImagesRequest) Descriptor deprecated

func (*PruneImagesRequest) Descriptor() ([]byte, []int)

Deprecated: Use PruneImagesRequest.ProtoReflect.Descriptor instead.

func (*PruneImagesRequest) ProtoMessage

func (*PruneImagesRequest) ProtoMessage()

func (*PruneImagesRequest) ProtoReflect

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

func (*PruneImagesRequest) Reset

func (x *PruneImagesRequest) Reset()

func (*PruneImagesRequest) String

func (x *PruneImagesRequest) String() string

type PruneImagesResponse

type PruneImagesResponse struct {
	// contains filtered or unexported fields
}

func (*PruneImagesResponse) Descriptor deprecated

func (*PruneImagesResponse) Descriptor() ([]byte, []int)

Deprecated: Use PruneImagesResponse.ProtoReflect.Descriptor instead.

func (*PruneImagesResponse) ProtoMessage

func (*PruneImagesResponse) ProtoMessage()

func (*PruneImagesResponse) ProtoReflect

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

func (*PruneImagesResponse) Reset

func (x *PruneImagesResponse) Reset()

func (*PruneImagesResponse) String

func (x *PruneImagesResponse) String() string

type PruneVolumesRequest

type PruneVolumesRequest struct {
	// contains filtered or unexported fields
}

func (*PruneVolumesRequest) Descriptor deprecated

func (*PruneVolumesRequest) Descriptor() ([]byte, []int)

Deprecated: Use PruneVolumesRequest.ProtoReflect.Descriptor instead.

func (*PruneVolumesRequest) ProtoMessage

func (*PruneVolumesRequest) ProtoMessage()

func (*PruneVolumesRequest) ProtoReflect

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

func (*PruneVolumesRequest) Reset

func (x *PruneVolumesRequest) Reset()

func (*PruneVolumesRequest) String

func (x *PruneVolumesRequest) String() string

type PruneVolumesResponse

type PruneVolumesResponse struct {
	// contains filtered or unexported fields
}

func (*PruneVolumesResponse) Descriptor deprecated

func (*PruneVolumesResponse) Descriptor() ([]byte, []int)

Deprecated: Use PruneVolumesResponse.ProtoReflect.Descriptor instead.

func (*PruneVolumesResponse) ProtoMessage

func (*PruneVolumesResponse) ProtoMessage()

func (*PruneVolumesResponse) ProtoReflect

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

func (*PruneVolumesResponse) Reset

func (x *PruneVolumesResponse) Reset()

func (*PruneVolumesResponse) String

func (x *PruneVolumesResponse) String() string

type PullImageRequest

type PullImageRequest struct {
	Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

func (*PullImageRequest) Descriptor deprecated

func (*PullImageRequest) Descriptor() ([]byte, []int)

Deprecated: Use PullImageRequest.ProtoReflect.Descriptor instead.

func (*PullImageRequest) GetRef

func (x *PullImageRequest) GetRef() string

func (*PullImageRequest) ProtoMessage

func (*PullImageRequest) ProtoMessage()

func (*PullImageRequest) ProtoReflect

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

func (*PullImageRequest) Reset

func (x *PullImageRequest) Reset()

func (*PullImageRequest) String

func (x *PullImageRequest) String() string

type PullImageResponse

type PullImageResponse struct {
	Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*PullImageResponse) Descriptor deprecated

func (*PullImageResponse) Descriptor() ([]byte, []int)

Deprecated: Use PullImageResponse.ProtoReflect.Descriptor instead.

func (*PullImageResponse) GetImage

func (x *PullImageResponse) GetImage() *Image

func (*PullImageResponse) ProtoMessage

func (*PullImageResponse) ProtoMessage()

func (*PullImageResponse) ProtoReflect

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

func (*PullImageResponse) Reset

func (x *PullImageResponse) Reset()

func (*PullImageResponse) String

func (x *PullImageResponse) String() string

type RemoveContainerRequest

type RemoveContainerRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveContainerRequest) Descriptor deprecated

func (*RemoveContainerRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveContainerRequest.ProtoReflect.Descriptor instead.

func (*RemoveContainerRequest) GetId

func (x *RemoveContainerRequest) GetId() string

func (*RemoveContainerRequest) ProtoMessage

func (*RemoveContainerRequest) ProtoMessage()

func (*RemoveContainerRequest) ProtoReflect

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

func (*RemoveContainerRequest) Reset

func (x *RemoveContainerRequest) Reset()

func (*RemoveContainerRequest) String

func (x *RemoveContainerRequest) String() string

type RemoveContainerResponse

type RemoveContainerResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveContainerResponse) Descriptor deprecated

func (*RemoveContainerResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveContainerResponse.ProtoReflect.Descriptor instead.

func (*RemoveContainerResponse) ProtoMessage

func (*RemoveContainerResponse) ProtoMessage()

func (*RemoveContainerResponse) ProtoReflect

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

func (*RemoveContainerResponse) Reset

func (x *RemoveContainerResponse) Reset()

func (*RemoveContainerResponse) String

func (x *RemoveContainerResponse) String() string

type RemoveVolumeRequest

type RemoveVolumeRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveVolumeRequest) Descriptor deprecated

func (*RemoveVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveVolumeRequest.ProtoReflect.Descriptor instead.

func (*RemoveVolumeRequest) GetName

func (x *RemoveVolumeRequest) GetName() string

func (*RemoveVolumeRequest) ProtoMessage

func (*RemoveVolumeRequest) ProtoMessage()

func (*RemoveVolumeRequest) ProtoReflect

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

func (*RemoveVolumeRequest) Reset

func (x *RemoveVolumeRequest) Reset()

func (*RemoveVolumeRequest) String

func (x *RemoveVolumeRequest) String() string

type RemoveVolumeResponse

type RemoveVolumeResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveVolumeResponse) Descriptor deprecated

func (*RemoveVolumeResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveVolumeResponse.ProtoReflect.Descriptor instead.

func (*RemoveVolumeResponse) ProtoMessage

func (*RemoveVolumeResponse) ProtoMessage()

func (*RemoveVolumeResponse) ProtoReflect

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

func (*RemoveVolumeResponse) Reset

func (x *RemoveVolumeResponse) Reset()

func (*RemoveVolumeResponse) String

func (x *RemoveVolumeResponse) String() string

type RuntimeServiceClient

type RuntimeServiceClient interface {
	CreateContainer(context.Context, *connect_go.Request[CreateContainerRequest]) (*connect_go.Response[CreateContainerResponse], error)
	GetContainer(context.Context, *connect_go.Request[GetContainerRequest]) (*connect_go.Response[GetContainerResponse], error)
	ExecContainer(context.Context, *connect_go.Request[ExecContainerRequest]) (*connect_go.ServerStreamForClient[ExecContainerResponse], error)
	StartContainer(context.Context, *connect_go.Request[StartContainerRequest]) (*connect_go.Response[StartContainerResponse], error)
	AttachContainer(context.Context, *connect_go.Request[AttachContainerRequest]) (*connect_go.ServerStreamForClient[AttachContainerResponse], error)
	StopContainer(context.Context, *connect_go.Request[StopContainerRequest]) (*connect_go.Response[StopContainerResponse], error)
	RemoveContainer(context.Context, *connect_go.Request[RemoveContainerRequest]) (*connect_go.Response[RemoveContainerResponse], error)
	PruneContainers(context.Context, *connect_go.Request[PruneContainersRequest]) (*connect_go.Response[PruneContainersResponse], error)
	CopyToContainer(context.Context, *connect_go.Request[CopyToContainerRequest]) (*connect_go.Response[CopyToContainerResponse], error)
	CopyFromContainer(context.Context, *connect_go.Request[CopyFromContainerRequest]) (*connect_go.Response[CopyFromContainerResponse], error)
	PullImage(context.Context, *connect_go.Request[PullImageRequest]) (*connect_go.Response[PullImageResponse], error)
	PruneImages(context.Context, *connect_go.Request[PruneImagesRequest]) (*connect_go.Response[PruneImagesResponse], error)
	CreateVolume(context.Context, *connect_go.Request[CreateVolumeRequest]) (*connect_go.Response[CreateVolumeResponse], error)
	GetVolume(context.Context, *connect_go.Request[GetVolumeRequest]) (*connect_go.Response[GetVolumeResponse], error)
	RemoveVolume(context.Context, *connect_go.Request[RemoveVolumeRequest]) (*connect_go.Response[RemoveVolumeResponse], error)
	PruneVolumes(context.Context, *connect_go.Request[PruneVolumesRequest]) (*connect_go.Response[PruneVolumesResponse], error)
}

RuntimeServiceClient is a client for the sequence.runtime.sqnc.RuntimeService service.

func NewRuntimeServiceClient

func NewRuntimeServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) RuntimeServiceClient

NewRuntimeServiceClient constructs a client for the sequence.runtime.sqnc.RuntimeService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type RuntimeServiceHandler

type RuntimeServiceHandler interface {
	CreateContainer(context.Context, *connect_go.Request[CreateContainerRequest]) (*connect_go.Response[CreateContainerResponse], error)
	GetContainer(context.Context, *connect_go.Request[GetContainerRequest]) (*connect_go.Response[GetContainerResponse], error)
	ExecContainer(context.Context, *connect_go.Request[ExecContainerRequest], *connect_go.ServerStream[ExecContainerResponse]) error
	StartContainer(context.Context, *connect_go.Request[StartContainerRequest]) (*connect_go.Response[StartContainerResponse], error)
	AttachContainer(context.Context, *connect_go.Request[AttachContainerRequest], *connect_go.ServerStream[AttachContainerResponse]) error
	StopContainer(context.Context, *connect_go.Request[StopContainerRequest]) (*connect_go.Response[StopContainerResponse], error)
	RemoveContainer(context.Context, *connect_go.Request[RemoveContainerRequest]) (*connect_go.Response[RemoveContainerResponse], error)
	PruneContainers(context.Context, *connect_go.Request[PruneContainersRequest]) (*connect_go.Response[PruneContainersResponse], error)
	CopyToContainer(context.Context, *connect_go.Request[CopyToContainerRequest]) (*connect_go.Response[CopyToContainerResponse], error)
	CopyFromContainer(context.Context, *connect_go.Request[CopyFromContainerRequest]) (*connect_go.Response[CopyFromContainerResponse], error)
	PullImage(context.Context, *connect_go.Request[PullImageRequest]) (*connect_go.Response[PullImageResponse], error)
	PruneImages(context.Context, *connect_go.Request[PruneImagesRequest]) (*connect_go.Response[PruneImagesResponse], error)
	CreateVolume(context.Context, *connect_go.Request[CreateVolumeRequest]) (*connect_go.Response[CreateVolumeResponse], error)
	GetVolume(context.Context, *connect_go.Request[GetVolumeRequest]) (*connect_go.Response[GetVolumeResponse], error)
	RemoveVolume(context.Context, *connect_go.Request[RemoveVolumeRequest]) (*connect_go.Response[RemoveVolumeResponse], error)
	PruneVolumes(context.Context, *connect_go.Request[PruneVolumesRequest]) (*connect_go.Response[PruneVolumesResponse], error)
}

RuntimeServiceHandler is an implementation of the sequence.runtime.sqnc.RuntimeService service.

type StartContainerRequest

type StartContainerRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartContainerRequest) Descriptor deprecated

func (*StartContainerRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartContainerRequest.ProtoReflect.Descriptor instead.

func (*StartContainerRequest) GetId

func (x *StartContainerRequest) GetId() 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 StartContainerResponse

type StartContainerResponse struct {
	Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	// contains filtered or unexported fields
}

func (*StartContainerResponse) Descriptor deprecated

func (*StartContainerResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartContainerResponse.ProtoReflect.Descriptor instead.

func (*StartContainerResponse) GetContainer

func (x *StartContainerResponse) GetContainer() *Container

func (*StartContainerResponse) ProtoMessage

func (*StartContainerResponse) ProtoMessage()

func (*StartContainerResponse) ProtoReflect

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

func (*StartContainerResponse) Reset

func (x *StartContainerResponse) Reset()

func (*StartContainerResponse) String

func (x *StartContainerResponse) String() string

type StopContainerRequest

type StopContainerRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopContainerRequest) Descriptor deprecated

func (*StopContainerRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopContainerRequest.ProtoReflect.Descriptor instead.

func (*StopContainerRequest) GetId

func (x *StopContainerRequest) GetId() string

func (*StopContainerRequest) ProtoMessage

func (*StopContainerRequest) ProtoMessage()

func (*StopContainerRequest) ProtoReflect

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

func (*StopContainerRequest) Reset

func (x *StopContainerRequest) Reset()

func (*StopContainerRequest) String

func (x *StopContainerRequest) String() string

type StopContainerResponse

type StopContainerResponse struct {
	// contains filtered or unexported fields
}

func (*StopContainerResponse) Descriptor deprecated

func (*StopContainerResponse) Descriptor() ([]byte, []int)

Deprecated: Use StopContainerResponse.ProtoReflect.Descriptor instead.

func (*StopContainerResponse) ProtoMessage

func (*StopContainerResponse) ProtoMessage()

func (*StopContainerResponse) ProtoReflect

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

func (*StopContainerResponse) Reset

func (x *StopContainerResponse) Reset()

func (*StopContainerResponse) String

func (x *StopContainerResponse) String() string

type UnimplementedRuntimeServiceHandler

type UnimplementedRuntimeServiceHandler struct{}

UnimplementedRuntimeServiceHandler returns CodeUnimplemented from all methods.

type Volume

type Volume struct {
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*Volume) Descriptor deprecated

func (*Volume) Descriptor() ([]byte, []int)

Deprecated: Use Volume.ProtoReflect.Descriptor instead.

func (*Volume) GetSource

func (x *Volume) GetSource() string

func (*Volume) ProtoMessage

func (*Volume) ProtoMessage()

func (*Volume) ProtoReflect

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

func (*Volume) Reset

func (x *Volume) Reset()

func (*Volume) String

func (x *Volume) String() string

Jump to

Keyboard shortcuts

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