k8s_client

package
v0.0.0-...-a9c5660 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNamespaceInfo

func GetNamespaceInfo(namespace string) (*models.StandInfo, error)

func ListPods

func ListPods(namespace string, client kubernetes.Interface) (*v1.PodList, error)

Types

type Chart

type Chart struct {
	HelmClient helm.Client
	Spec       helm.ChartSpec
	Output     *bytes.Buffer
}

func InitChart

func InitChart(name, namespace string) (*Chart, error)

func (*Chart) AddRepo

func (c *Chart) AddRepo() error

func (*Chart) Deploy

func (c *Chart) Deploy(values map[string]string) error

func (*Chart) Destroy

func (c *Chart) Destroy(release string) error

func (*Chart) Validate

func (c *Chart) Validate() error

Jump to

Keyboard shortcuts

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