pkg

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunConfigmap

func RunConfigmap(option ConfigmapOptions) error

Types

type ConfigmapOptions

type ConfigmapOptions struct {
	DryRun      bool
	History     int
	ChartName   string
	Namespace   string
	KubeContext string
}

type History

type History struct {
	Revision   int    `json:"revision"`
	Updated    string `json:"updated"`
	Status     string `json:"status"`
	Chart      string `json:"chart"`
	AppVersion string `json:"app_version"`
}

func GetHistory

func GetHistory(name, namespace, kubeCtx string, count int) ([]History, error)

type Manifest added in v0.2.0

type Manifest struct {
	APIVersion string `yaml:"apiVersion"`
	Kind       string
	Metadata   struct {
		Namespace   string
		Name        string
		Annotations map[string]string
	}
}

func GetManifests added in v0.2.0

func GetManifests(name, namespace, kubeCtx string) ([]Manifest, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳