Documentation
¶
Index ¶
- Variables
- type Pod
- func (x *Pod) GetContainerd() []*containerd.Containerd
- func (x *Pod) GetID() string
- func (x *Pod) GetName() string
- func (x *Pod) GetNamespace() string
- func (x *Pod) GetRootfsOnly() bool
- func (x *Pod) GetUID() string
- func (*Pod) ProtoMessage()
- func (x *Pod) ProtoReflect() protoreflect.Message
- func (x *Pod) Reset()
- func (x *Pod) SetContainerd(v []*containerd.Containerd)
- func (x *Pod) SetID(v string)
- func (x *Pod) SetName(v string)
- func (x *Pod) SetNamespace(v string)
- func (x *Pod) SetRootfsOnly(v bool)
- func (x *Pod) SetUID(v string)
- func (x *Pod) String() string
- type Pod_builder
- type QueryReq
- func (x *QueryReq) GetContainerType() string
- func (x *QueryReq) GetNames() []string
- func (x *QueryReq) GetNamespace() string
- func (*QueryReq) ProtoMessage()
- func (x *QueryReq) ProtoReflect() protoreflect.Message
- func (x *QueryReq) Reset()
- func (x *QueryReq) SetContainerType(v string)
- func (x *QueryReq) SetNames(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_k8s_k8s_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Pod ¶
type Pod struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
Namespace string `protobuf:"bytes,3,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
UID string `protobuf:"bytes,4,opt,name=UID,proto3" json:"UID,omitempty"`
RootfsOnly bool `protobuf:"varint,5,opt,name=RootfsOnly,proto3" json:"RootfsOnly,omitempty"`
Containerd []*containerd.Containerd `protobuf:"bytes,101,rep,name=Containerd,proto3" json:"Containerd,omitempty"` // Can add additional high-level runtimes here
// contains filtered or unexported fields
}
func (*Pod) GetContainerd ¶
func (x *Pod) GetContainerd() []*containerd.Containerd
func (*Pod) ProtoReflect ¶
func (x *Pod) ProtoReflect() protoreflect.Message
func (*Pod) SetContainerd ¶
func (x *Pod) SetContainerd(v []*containerd.Containerd)
type Pod_builder ¶
type Pod_builder struct {
ID string
Name string
Namespace string
UID string
RootfsOnly bool
Containerd []*containerd.Containerd
// contains filtered or unexported fields
}
func (Pod_builder) Build ¶
func (b0 Pod_builder) Build() *Pod
type QueryReq ¶
type QueryReq struct {
Namespace string `protobuf:"bytes,1,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
ContainerType string `protobuf:"bytes,2,opt,name=ContainerType,proto3" json:"ContainerType,omitempty"` // "container" or "sandbox"
Names []string `protobuf:"bytes,3,rep,name=Names,proto3" json:"Names,omitempty"`
// contains filtered or unexported fields
}
func (*QueryReq) ProtoReflect ¶
func (x *QueryReq) ProtoReflect() protoreflect.Message
type QueryReq_builder ¶
type QueryReq_builder struct {
Namespace string
ContainerType string
Names []string
// contains filtered or unexported fields
}
func (QueryReq_builder) Build ¶
func (b0 QueryReq_builder) Build() *QueryReq
type QueryResp ¶
type QueryResp struct {
Pods []*Pod `protobuf:"bytes,1,rep,name=Pods,proto3" json:"Pods,omitempty"`
// contains filtered or unexported fields
}
func (*QueryResp) ProtoReflect ¶
func (x *QueryResp) ProtoReflect() protoreflect.Message
type QueryResp_builder ¶
type QueryResp_builder struct {
Pods []*Pod
// contains filtered or unexported fields
}
func (QueryResp_builder) Build ¶
func (b0 QueryResp_builder) Build() *QueryResp
Source Files
¶
- k8s.pb.go
Click to show internal directories.
Click to hide internal directories.