k8s

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Deployment  = "Deployment"
	StatefulSet = "StatefulSet"
	DaemonSet   = "DaemonSet"
)

Variables

This section is empty.

Functions

func PodList

func PodList(options *PodListOptions) ([]sdk.ComponentResourceItem, error)

func PodSelect

func PodSelect(options *PodListOptions) (*sdk.ComponentResourceItem, error)

func RDevList added in v0.15.0

func RDevList(options *RDevListOptions) ([]sdk.ComponentResourceItem, error)

func RDevSelect added in v0.15.0

func RDevSelect(options *PodListOptions) (*sdk.ComponentResourceItem, error)

Types

type ContainerItem

type ContainerItem struct {
	fmt.Stringer

	*corev1.Container

	State corev1.ContainerState
}

func ContainerList

func ContainerList(options *ContainerListOptions) ([]*ContainerItem, error)

func ContainerSelect

func ContainerSelect(options *ContainerListOptions) (*ContainerItem, error)

func (*ContainerItem) String

func (c *ContainerItem) String() string

type ContainerListOptions

type ContainerListOptions struct {
	Namespace string
	PodName   string
	Container string

	Client v1.PodsGetter
}

type PodListOptions

type PodListOptions struct {
	Component string
}

type RDevListOptions added in v0.15.0

type RDevListOptions struct {
	Component string
}

func NewRDevListOptions added in v0.15.0

func NewRDevListOptions(component string) *RDevListOptions

Jump to

Keyboard shortcuts

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