plugin

package
v0.0.1-alpha1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppStatus

type AppStatus struct {
	LastUpdateTime string
	Reason         string
	Type           string
	Status         string
}

type AppVersion

type AppVersion struct {
	Namespace            string
	Kind                 string
	Name                 string
	InitContainersImages []ContainerImage
	ContainersImages     []ContainerImage
	LastStatus           AppStatus
	Metadata             Metadata
}

type AppVersions

type AppVersions []AppVersion

func RunPlugin

func RunPlugin(configFlags *genericclioptions.ConfigFlags, outputCh chan string, ctx context.Context, pluginConfig *PluginConfig) (AppVersions, error)

func (AppVersions) Print

func (apps AppVersions) Print(w io.Writer)

type ContainerImage

type ContainerImage struct {
	Name  string
	Image string
}

type Metadata

type Metadata struct {
	ManagedBy string
	HelmChart string
	ArgoCDApp string
}

type PluginConfig

type PluginConfig struct {
	Namespace           string
	AllNamespaces       bool
	ExcludedNs          []string
	IncludeStatefulSets bool
	IncludeDaemonSets   bool
}

Jump to

Keyboard shortcuts

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