kubectl

package
v1.17.0-beta22 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

Provider provides a mechanism to generation operations that are performed via kubectl

func NewProvider

func NewProvider() *Provider

func (*Provider) Client

func (p *Provider) Client() *kubectl.Cli

Client returns the kubectl.Cli

func (*Provider) NewApplyManifestAction

func (p *Provider) NewApplyManifestAction(manifest string, args ...string) actions.ClusterAction

func (*Provider) NewDeleteManifestAction

func (p *Provider) NewDeleteManifestAction(manifest string, args ...string) actions.ClusterAction

func (*Provider) WithClusterCli

func (p *Provider) WithClusterCli(kubeCli *kubectl.Cli) *Provider

WithClusterCli sets the Provider to use a Cli

Jump to

Keyboard shortcuts

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