argocd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgoCDPlugin

type ArgoCDPlugin struct {
	*client.Client
	// contains filtered or unexported fields
}

func NewArgoCDPlugin

func NewArgoCDPlugin(s *generic.Options, args *InstallArgs) (*ArgoCDPlugin, error)

func (*ArgoCDPlugin) Execute

func (p *ArgoCDPlugin) Execute(cmdArgs, environment []string) error

Execute receives an executable's filepath, a slice of arguments, and a slice of environment variables to relay to the executable.

type InstallArgs

type InstallArgs struct {
	// basically specify the karmada apiserver kubeconfig, where argocd deploy apps to.
	ClusterKubeconfig string
	ClusterContext    string
}

Jump to

Keyboard shortcuts

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