Documentation ¶
Index ¶
- func Add(client newclient.Client, libraryVariableSet *variables.LibraryVariableSet) (*variables.LibraryVariableSet, error)
- func DeleteByID(client newclient.Client, spaceID string, id string) error
- func Get(client newclient.Client, spaceID string, ...) (*resources.Resources[*variables.LibraryVariableSet], error)
- func GetByID(client newclient.Client, spaceID string, id string) (*variables.LibraryVariableSet, error)
- func Update(client newclient.Client, libraryVariableSet *variables.LibraryVariableSet) (*variables.LibraryVariableSet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(client newclient.Client, libraryVariableSet *variables.LibraryVariableSet) (*variables.LibraryVariableSet, error)
Add creates a new library variable set.
func DeleteByID ¶
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.LibraryVariableSet], error)
Get returns a collection of library variable sets 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.LibraryVariableSet, error)
GetByID returns the library variable set 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, libraryVariableSet *variables.LibraryVariableSet) (*variables.LibraryVariableSet, error)
Update modifies a library variable set based on the one provided as input.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.