variable

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create added in v0.18.0

func Create(options *CreateOptions) (*sdk.EnvironmentVariableItem, error)

func CreateRaw added in v0.18.0

func CreateRaw(options *CreateOptions) (*sdk.EnvironmentVariableItem, *http.Response, error)

func Delete added in v0.18.0

func Delete(options *DeleteOptions) error

func DeleteRaw added in v0.18.0

func DeleteRaw(options *DeleteOptions) (*http.Response, error)

func Edit added in v0.18.0

func Edit(options *EditOptions) (*sdk.EnvironmentVariableItem, error)

func EditRaw added in v0.18.0

func EditRaw(options *EditOptions) (*sdk.EnvironmentVariableItem, *http.Response, error)

func Get

func NewItemOptions

func NewItemOptions(id string) *common.ItemOptions

Types

type CreateOptions added in v0.18.0

type CreateOptions struct {
	common.Options

	sdk.EnvironmentVariableCreateAction

	Value    string
	IsSecret enum.Bool
}

func NewCreateOptions added in v0.18.0

func NewCreateOptions() *CreateOptions

func (*CreateOptions) UpdateFlagSet added in v0.18.0

func (co *CreateOptions) UpdateFlagSet(flags *pflag.FlagSet)

type DeleteOptions added in v0.18.0

type DeleteOptions struct {
	common.ItemOptions
}

func NewDeleteOptions added in v0.18.0

func NewDeleteOptions() *DeleteOptions

type EditData added in v0.18.0

type EditData struct {
	Value    string
	IsSecret enum.Bool
}

type EditOptions added in v0.18.0

func NewEditOptions added in v0.18.0

func NewEditOptions(id string) *EditOptions

func (*EditOptions) UpdateFlagSet added in v0.18.0

func (eso *EditOptions) UpdateFlagSet(flags *pflag.FlagSet)

type ListOptions

type ListOptions struct {
	common.ListOptions

	Organization string
	Environment  string

	Name string
}

func NewListOptions

func NewListOptions() *ListOptions

func (*ListOptions) UpdateFlagSet

func (lo *ListOptions) UpdateFlagSet(flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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