kubectl

package
v0.0.0-...-62d251f Latest Latest
Warning

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

Go to latest
Published: Jan 17, 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 Cmd

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

Cmd ...

func New

func New(c *Config) *Cmd

func (*Cmd) Apply

func (c *Cmd) Apply(data []byte, arg ...string) ([]byte, error)

Apply ...

func (*Cmd) Delete

func (c *Cmd) Delete(data []byte, arg ...string) ([]byte, error)

Delete ...

func (*Cmd) DeleteBySelector

func (c *Cmd) DeleteBySelector(selector string) ([]byte, error)

Delete ...

func (*Cmd) Exec

func (c *Cmd) Exec(args []string) ([]byte, error)

func (*Cmd) Get

func (c *Cmd) Get(arg ...string) ([]byte, error)

Get ...

func (*Cmd) Validate

func (c *Cmd) Validate(data []byte, arg ...string) ([]byte, error)

Validate ...

type Config

type Config struct {
	Bin    string
	Server string
	Token  string
}

Jump to

Keyboard shortcuts

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