cmdimpl

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeployTypeKustomize DeploymentType = "kustomize"
	DeployTypeHelm      DeploymentType = "helm"

	SourceTypeGit  SourceType = "git"
	SourceTypeHelm SourceType = "helm"

	ConfigTypeUserRepo ConfigType = ""
	ConfigTypeNone     ConfigType = "NONE"
)

Variables

This section is empty.

Functions

func Add

func Add(args []string, allParams AddParamSet, deps *AddDependencies) error

func Install added in v0.0.3

func Install(params InstallParamSet) error

func Status added in v0.0.4

func Status(allParams AddParamSet) error

Status provides the implementation for the wego status application command

Types

type AddDependencies added in v0.0.4

type AddDependencies struct {
	GitClient git.Git
}

type AddParamSet

type AddParamSet struct {
	Dir            string
	Name           string
	Owner          string
	Url            string
	Path           string
	Branch         string
	PrivateKey     string
	PrivateKeyPass string
	DeploymentType string
	Chart          string
	SourceType     string
	AppConfigUrl   string
	Namespace      string
	DryRun         bool
}

type ConfigType added in v0.0.4

type ConfigType string

type DeploymentType added in v0.0.4

type DeploymentType string

type InstallParamSet added in v0.0.3

type InstallParamSet struct {
	Namespace string
	DryRun    bool
}

type SourceType added in v0.0.4

type SourceType string

type Yaml added in v0.0.4

type Yaml struct {
	Status struct {
		Conditions []struct {
			LastTransitionTime string `yaml:"lastTransitionTime"`
		} `yaml:"conditions"`
	} `yaml:"status"`
}

Jump to

Keyboard shortcuts

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