scriptmodules

package
v2.36.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(client newclient.Client, scriptModule *variables.ScriptModule) (*variables.ScriptModule, error)

Add creates a new script module.

func DeleteByID

func DeleteByID(client newclient.Client, spaceID string, id string) error

DeleteByID deletes the resource that matches the space ID and input ID.

func Get

func Get(client newclient.Client, spaceID string, libraryVariablesQuery variables.LibraryVariablesQuery) (*resources.Resources[*variables.ScriptModule], error)

Get returns a collection of script modules based on the criteria defined by its input query parameter. If an error occurs, an empty collection is returned along with the associated error.

func GetByID

func GetByID(client newclient.Client, spaceID string, id string) (*variables.ScriptModule, error)

GetByID returns the script module that matches the space ID and input ID. If one cannot be found, it returns nil and an error.

func Update

func Update(client newclient.Client, scriptModule *variables.ScriptModule) (*variables.ScriptModule, error)

Update modifies a script module based on the one provided as input.

Types

This section is empty.

Jump to

Keyboard shortcuts

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