scripts

package
v0.9.9-beta001 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: MIT Imports: 5 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(script *scriptsv2.Script) (*scriptsv2.Script, error)

func (ScriptsClient) Delete

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

func (ScriptsClient) DeleteAll

func (s ScriptsClient) DeleteAll(namespace string) error

func (ScriptsClient) Get

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

func (ScriptsClient) List

func (s ScriptsClient) List(namespace string, tags []string) (*scriptsv2.ScriptList, error)

func (ScriptsClient) ListTags

func (s ScriptsClient) ListTags(namespace string) ([]string, error)

func (ScriptsClient) Update

func (s ScriptsClient) Update(script *scriptsv2.Script) (*scriptsv2.Script, error)

Jump to

Keyboard shortcuts

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