scripts

package
v0.9.2-beta001 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

TODO move to v1 to make it consistent

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, tags []string) (*scriptsAPI.ScriptList, error)

func (ScriptsClient) ListTags added in v0.7.5

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

func (ScriptsClient) Update added in v0.6.1

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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