k8s

package
v1.36.11-2026050812565... 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: 3

Documentation

Index

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) GetID

func (x *Pod) GetID() string

func (*Pod) GetName

func (x *Pod) GetName() string

func (*Pod) GetNamespace

func (x *Pod) GetNamespace() string

func (*Pod) GetRootfsOnly

func (x *Pod) GetRootfsOnly() bool

func (*Pod) GetUID

func (x *Pod) GetUID() string

func (*Pod) ProtoMessage

func (*Pod) ProtoMessage()

func (*Pod) ProtoReflect

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

func (*Pod) Reset

func (x *Pod) Reset()

func (*Pod) SetContainerd

func (x *Pod) SetContainerd(v []*containerd.Containerd)

func (*Pod) SetID

func (x *Pod) SetID(v string)

func (*Pod) SetName

func (x *Pod) SetName(v string)

func (*Pod) SetNamespace

func (x *Pod) SetNamespace(v string)

func (*Pod) SetRootfsOnly

func (x *Pod) SetRootfsOnly(v bool)

func (*Pod) SetUID

func (x *Pod) SetUID(v string)

func (*Pod) String

func (x *Pod) String() string

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) GetContainerType

func (x *QueryReq) GetContainerType() string

func (*QueryReq) GetNames

func (x *QueryReq) GetNames() []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) SetContainerType

func (x *QueryReq) SetContainerType(v string)

func (*QueryReq) SetNames

func (x *QueryReq) SetNames(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 {
	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) GetPods

func (x *QueryResp) GetPods() []*Pod

func (*QueryResp) ProtoMessage

func (*QueryResp) ProtoMessage()

func (*QueryResp) ProtoReflect

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

func (*QueryResp) Reset

func (x *QueryResp) Reset()

func (*QueryResp) SetPods

func (x *QueryResp) SetPods(v []*Pod)

func (*QueryResp) String

func (x *QueryResp) String() string

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

Jump to

Keyboard shortcuts

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