scripts

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 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
	Namespace string
}

func NewClient

func NewClient(client client.Client, namespace string) *ScriptsClient

func (ScriptsClient) Create

func (s ScriptsClient) Create(script *scriptv1.Script) (*scriptv1.Script, error)

func (ScriptsClient) Delete added in v0.6.0

func (s ScriptsClient) Delete(name string) error

func (ScriptsClient) DeleteAll added in v0.6.0

func (s ScriptsClient) DeleteAll() error

func (ScriptsClient) Get

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

func (ScriptsClient) List

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

func (ScriptsClient) ListTags added in v0.7.5

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

func (ScriptsClient) Update added in v0.6.1

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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