Documentation ¶
Index ¶
- type ScriptsClient
- func (s ScriptsClient) Create(scripts *scriptsAPI.Script) (*scriptsAPI.Script, error)
- func (s ScriptsClient) Delete(namespace, name string) error
- func (s ScriptsClient) DeleteAll(namespace string) error
- func (s ScriptsClient) Get(namespace, name string) (*scriptsAPI.Script, error)
- func (s ScriptsClient) List(namespace string) (*scriptsAPI.ScriptList, error)
- func (s ScriptsClient) Update(scripts *scriptsAPI.Script) (*scriptsAPI.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) 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)
Click to show internal directories.
Click to hide internal directories.