docker

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRuntimeResourceType

func GetRuntimeResourceType(labels map[string]string) resource_executor.RuntimeResourceType

func HostConfigToResource

func HostConfigToResource(config *container.HostConfig) *v1alpha1.LinuxContainerResources

func ToCriCgroupPath

func ToCriCgroupPath(cgroupDriver, cgroupParent string) string

Types

type RuntimeManagerDockerServer

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

func NewRuntimeManagerDockerServer

func NewRuntimeManagerDockerServer() *RuntimeManagerDockerServer

func (*RuntimeManagerDockerServer) Direct

func (*RuntimeManagerDockerServer) HandleCreateContainer

func (d *RuntimeManagerDockerServer) HandleCreateContainer(ctx context.Context, wr http.ResponseWriter, req *http.Request)

func (*RuntimeManagerDockerServer) HandleStartContainer

func (d *RuntimeManagerDockerServer) HandleStartContainer(ctx context.Context, wr http.ResponseWriter, req *http.Request)

func (*RuntimeManagerDockerServer) HandleStopContainer

func (d *RuntimeManagerDockerServer) HandleStopContainer(ctx context.Context, wr http.ResponseWriter, req *http.Request)

func (*RuntimeManagerDockerServer) HandleUpdateContainer

func (d *RuntimeManagerDockerServer) HandleUpdateContainer(ctx context.Context, wr http.ResponseWriter, req *http.Request)

func (*RuntimeManagerDockerServer) Name

func (*RuntimeManagerDockerServer) Run

func (*RuntimeManagerDockerServer) ServeHTTP

Jump to

Keyboard shortcuts

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