scripts

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScriptsClient

type ScriptsClient struct {
	Client client.Client
}

func NewClient

func NewClient(client client.Client) *ScriptsClient

func (ScriptsClient) Create

func (s ScriptsClient) Create(scripts *scriptsAPI.Script) (*scriptsAPI.Script, error)

func (ScriptsClient) Delete added in v0.6.0

func (s ScriptsClient) Delete(namespace, name string) error

func (ScriptsClient) DeleteAll added in v0.6.0

func (s ScriptsClient) DeleteAll(namespace string) error

func (ScriptsClient) Get

func (s ScriptsClient) Get(namespace, name string) (*scriptsAPI.Script, error)

func (ScriptsClient) List

func (s ScriptsClient) List(namespace string) (*scriptsAPI.ScriptList, error)

func (ScriptsClient) Update added in v0.6.1

func (s ScriptsClient) Update(scripts *scriptsAPI.Script) (*scriptsAPI.Script, error)

Jump to

Keyboard shortcuts

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