Documentation ¶
Index ¶
- type ScriptsClient
- func (s ScriptsClient) Create(scripts *scriptsv2.Script) (*scriptsv2.Script, error)
- func (s ScriptsClient) Delete(namespace, name string) error
- func (s ScriptsClient) DeleteAll(namespace string) error
- func (s ScriptsClient) Get(namespace, name string) (*scriptsv2.Script, error)
- func (s ScriptsClient) List(namespace string, tags []string) (*scriptsv2.ScriptList, error)
- func (s ScriptsClient) ListTags(namespace string) ([]string, error)
- func (s ScriptsClient) Update(scripts *scriptsv2.Script) (*scriptsv2.Script, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScriptsClient ¶
func NewClient ¶
func NewClient(client client.Client) *ScriptsClient
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)
Click to show internal directories.
Click to hide internal directories.