podrescli

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteringClient

func NewFilteringClient(socketPath string, debug bool, referenceContainer *ContainerIdent) (podresourcesapi.PodResourcesListerClient, error)

func NewK8SClient

func NewK8SClient(socketPath string) (podresourcesapi.PodResourcesListerClient, error)

Types

type ContainerIdent

type ContainerIdent struct {
	Namespace     string
	PodName       string
	ContainerName string
}

func ContainerIdentFromEnv added in v0.1.1

func ContainerIdentFromEnv() *ContainerIdent

func ContainerIdentFromString added in v0.1.1

func ContainerIdentFromString(ident string) (*ContainerIdent, error)

func (*ContainerIdent) IsEmpty added in v0.1.1

func (ci *ContainerIdent) IsEmpty() bool

func (*ContainerIdent) String

func (ci *ContainerIdent) String() string

Jump to

Keyboard shortcuts

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