containerd

package
v1.36.11-2026021319155... Latest Latest
Warning

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

Go to latest
Published: unknown License: AGPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_plugins_containerd_containerd_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Containerd

type Containerd struct {
	ID          string     `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Address     string     `protobuf:"bytes,2,opt,name=Address,proto3" json:"Address,omitempty"`
	Namespace   string     `protobuf:"bytes,3,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
	Image       *Image     `protobuf:"bytes,4,opt,name=Image,proto3" json:"Image,omitempty"`
	Rootfs      bool       `protobuf:"varint,5,opt,name=Rootfs,proto3" json:"Rootfs,omitempty"`
	RootfsOnly  bool       `protobuf:"varint,6,opt,name=RootfsOnly,proto3" json:"RootfsOnly,omitempty"`
	GPUs        []int32    `protobuf:"varint,7,rep,packed,name=GPUs,proto3" json:"GPUs,omitempty"`
	Args        []string   `protobuf:"bytes,8,rep,name=Args,proto3" json:"Args,omitempty"`
	NoPivot     bool       `protobuf:"varint,9,opt,name=NoPivot,proto3" json:"NoPivot,omitempty"`
	Env         []string   `protobuf:"bytes,10,rep,name=Env,proto3" json:"Env,omitempty"`
	Snapshotter string     `protobuf:"bytes,11,opt,name=Snapshotter,proto3" json:"Snapshotter,omitempty"`
	Runc        *runc.Runc `protobuf:"bytes,101,opt,name=Runc,proto3,oneof" json:"Runc,omitempty"` // Can add additional low-level runtimes here
	// contains filtered or unexported fields
}

func (*Containerd) ClearImage

func (x *Containerd) ClearImage()

func (*Containerd) ClearRunc

func (x *Containerd) ClearRunc()

func (*Containerd) GetAddress

func (x *Containerd) GetAddress() string

func (*Containerd) GetArgs

func (x *Containerd) GetArgs() []string

func (*Containerd) GetEnv

func (x *Containerd) GetEnv() []string

func (*Containerd) GetGPUs

func (x *Containerd) GetGPUs() []int32

func (*Containerd) GetID

func (x *Containerd) GetID() string

func (*Containerd) GetImage

func (x *Containerd) GetImage() *Image

func (*Containerd) GetNamespace

func (x *Containerd) GetNamespace() string

func (*Containerd) GetNoPivot

func (x *Containerd) GetNoPivot() bool

func (*Containerd) GetRootfs

func (x *Containerd) GetRootfs() bool

func (*Containerd) GetRootfsOnly

func (x *Containerd) GetRootfsOnly() bool

func (*Containerd) GetRunc

func (x *Containerd) GetRunc() *runc.Runc

func (*Containerd) GetSnapshotter

func (x *Containerd) GetSnapshotter() string

func (*Containerd) HasImage

func (x *Containerd) HasImage() bool

func (*Containerd) HasRunc

func (x *Containerd) HasRunc() bool

func (*Containerd) ProtoMessage

func (*Containerd) ProtoMessage()

func (*Containerd) ProtoReflect

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

func (*Containerd) Reset

func (x *Containerd) Reset()

func (*Containerd) SetAddress

func (x *Containerd) SetAddress(v string)

func (*Containerd) SetArgs

func (x *Containerd) SetArgs(v []string)

func (*Containerd) SetEnv

func (x *Containerd) SetEnv(v []string)

func (*Containerd) SetGPUs

func (x *Containerd) SetGPUs(v []int32)

func (*Containerd) SetID

func (x *Containerd) SetID(v string)

func (*Containerd) SetImage

func (x *Containerd) SetImage(v *Image)

func (*Containerd) SetNamespace

func (x *Containerd) SetNamespace(v string)

func (*Containerd) SetNoPivot

func (x *Containerd) SetNoPivot(v bool)

func (*Containerd) SetRootfs

func (x *Containerd) SetRootfs(v bool)

func (*Containerd) SetRootfsOnly

func (x *Containerd) SetRootfsOnly(v bool)

func (*Containerd) SetRunc

func (x *Containerd) SetRunc(v *runc.Runc)

func (*Containerd) SetSnapshotter

func (x *Containerd) SetSnapshotter(v string)

func (*Containerd) String

func (x *Containerd) String() string

type Containerd_builder

type Containerd_builder struct {
	ID          string
	Address     string
	Namespace   string
	Image       *Image
	Rootfs      bool
	RootfsOnly  bool
	GPUs        []int32
	Args        []string
	NoPivot     bool
	Env         []string
	Snapshotter string
	Runc        *runc.Runc
	// contains filtered or unexported fields
}

func (Containerd_builder) Build

func (b0 Containerd_builder) Build() *Containerd

type Image

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

func (*Image) GetName

func (x *Image) GetName() string

func (*Image) GetSecret

func (x *Image) GetSecret() string

func (*Image) GetUsername

func (x *Image) GetUsername() 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) SetName

func (x *Image) SetName(v string)

func (*Image) SetSecret

func (x *Image) SetSecret(v string)

func (*Image) SetUsername

func (x *Image) SetUsername(v string)

func (*Image) String

func (x *Image) String() string

type Image_builder

type Image_builder struct {
	Name     string
	Username string
	Secret   string
	// contains filtered or unexported fields
}

func (Image_builder) Build

func (b0 Image_builder) Build() *Image

type QueryReq

type QueryReq struct {
	Address   string   `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	Namespace string   `protobuf:"bytes,2,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
	IDs       []string `protobuf:"bytes,3,rep,name=IDs,proto3" json:"IDs,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryReq) GetAddress

func (x *QueryReq) GetAddress() string

func (*QueryReq) GetIDs

func (x *QueryReq) GetIDs() []string

func (*QueryReq) GetNamespace

func (x *QueryReq) GetNamespace() string

func (*QueryReq) ProtoMessage

func (*QueryReq) ProtoMessage()

func (*QueryReq) ProtoReflect

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

func (*QueryReq) Reset

func (x *QueryReq) Reset()

func (*QueryReq) SetAddress

func (x *QueryReq) SetAddress(v string)

func (*QueryReq) SetIDs

func (x *QueryReq) SetIDs(v []string)

func (*QueryReq) SetNamespace

func (x *QueryReq) SetNamespace(v string)

func (*QueryReq) String

func (x *QueryReq) String() string

type QueryReq_builder

type QueryReq_builder struct {
	Address   string
	Namespace string
	IDs       []string
	// contains filtered or unexported fields
}

func (QueryReq_builder) Build

func (b0 QueryReq_builder) Build() *QueryReq

type QueryResp

type QueryResp struct {
	Containers []*Containerd `protobuf:"bytes,1,rep,name=Containers,proto3" json:"Containers,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryResp) GetContainers

func (x *QueryResp) GetContainers() []*Containerd

func (*QueryResp) ProtoMessage

func (*QueryResp) ProtoMessage()

func (*QueryResp) ProtoReflect

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

func (*QueryResp) Reset

func (x *QueryResp) Reset()

func (*QueryResp) SetContainers

func (x *QueryResp) SetContainers(v []*Containerd)

func (*QueryResp) String

func (x *QueryResp) String() string

type QueryResp_builder

type QueryResp_builder struct {
	Containers []*Containerd
	// contains filtered or unexported fields
}

func (QueryResp_builder) Build

func (b0 QueryResp_builder) Build() *QueryResp

Source Files

  • containerd.pb.go

Jump to

Keyboard shortcuts

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