karmada

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstallArgs

type InstallArgs struct {
	SetFlags []string
}

type KarmadaPlugin

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

func NewKarmadaPlugin

func NewKarmadaPlugin(o *generic.Options, args *InstallArgs) (*KarmadaPlugin, error)

func (*KarmadaPlugin) Execute

func (p *KarmadaPlugin) 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.

func (*KarmadaPlugin) InstallKarmadactl

func (p *KarmadaPlugin) InstallKarmadactl() (string, error)

Jump to

Keyboard shortcuts

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