Documentation
¶
Index ¶
- Variables
- type Containerd
- func (x *Containerd) ClearImage()
- func (x *Containerd) ClearRunc()
- func (x *Containerd) GetAddress() string
- func (x *Containerd) GetArgs() []string
- func (x *Containerd) GetEnv() []string
- func (x *Containerd) GetGPUs() []int32
- func (x *Containerd) GetID() string
- func (x *Containerd) GetImage() *Image
- func (x *Containerd) GetNamespace() string
- func (x *Containerd) GetNoPivot() bool
- func (x *Containerd) GetRootfs() bool
- func (x *Containerd) GetRootfsOnly() bool
- func (x *Containerd) GetRunc() *runc.Runc
- func (x *Containerd) GetSnapshotter() string
- func (x *Containerd) HasImage() bool
- func (x *Containerd) HasRunc() bool
- func (*Containerd) ProtoMessage()
- func (x *Containerd) ProtoReflect() protoreflect.Message
- func (x *Containerd) Reset()
- func (x *Containerd) SetAddress(v string)
- func (x *Containerd) SetArgs(v []string)
- func (x *Containerd) SetEnv(v []string)
- func (x *Containerd) SetGPUs(v []int32)
- func (x *Containerd) SetID(v string)
- func (x *Containerd) SetImage(v *Image)
- func (x *Containerd) SetNamespace(v string)
- func (x *Containerd) SetNoPivot(v bool)
- func (x *Containerd) SetRootfs(v bool)
- func (x *Containerd) SetRootfsOnly(v bool)
- func (x *Containerd) SetRunc(v *runc.Runc)
- func (x *Containerd) SetSnapshotter(v string)
- func (x *Containerd) String() string
- type Containerd_builder
- type Image
- func (x *Image) GetName() string
- func (x *Image) GetSecret() string
- func (x *Image) GetUsername() string
- func (*Image) ProtoMessage()
- func (x *Image) ProtoReflect() protoreflect.Message
- func (x *Image) Reset()
- func (x *Image) SetName(v string)
- func (x *Image) SetSecret(v string)
- func (x *Image) SetUsername(v string)
- func (x *Image) String() string
- type Image_builder
- type QueryReq
- func (x *QueryReq) GetAddress() string
- func (x *QueryReq) GetIDs() []string
- func (x *QueryReq) GetNamespace() string
- func (*QueryReq) ProtoMessage()
- func (x *QueryReq) ProtoReflect() protoreflect.Message
- func (x *QueryReq) Reset()
- func (x *QueryReq) SetAddress(v string)
- func (x *QueryReq) SetIDs(v []string)
- func (x *QueryReq) SetNamespace(v string)
- func (x *QueryReq) String() string
- type QueryReq_builder
- type QueryResp
- type QueryResp_builder
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) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
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) ProtoReflect ¶
func (x *QueryReq) ProtoReflect() protoreflect.Message
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) ProtoReflect ¶
func (x *QueryResp) ProtoReflect() protoreflect.Message
func (*QueryResp) SetContainers ¶
func (x *QueryResp) SetContainers(v []*Containerd)
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
Click to show internal directories.
Click to hide internal directories.