variable_group

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

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

func CreateRaw

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

func Delete

func Delete(options *DeleteOptions) error

func DeleteRaw

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

func Edit

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

func EditRaw

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

func Get

func Get(options *common.ItemOptions) (*sdk.EnvironItemItem, error)

func GetRaw

func GetRaw(options *common.ItemOptions) (*sdk.EnvironItemItem, *http.Response, error)

func NewItemOptions

func NewItemOptions(id string) *common.ItemOptions

Types

type CreateOptions

type CreateOptions struct {
	common.Options

	sdk.EnvironItemCreateAction

	Value    string
	IsSecret enum.Bool
}

func NewCreateOptions

func NewCreateOptions() *CreateOptions

func (*CreateOptions) UpdateFlagSet

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

type DeleteOptions

type DeleteOptions struct {
	common.ItemOptions
}

func NewDeleteOptions

func NewDeleteOptions() *DeleteOptions

type EditData

type EditData struct {
	Value    string
	IsSecret enum.Bool
}

type EditOptions

type EditOptions struct {
	common.ItemOptions

	sdk.EnvironItemEditAction

	EditData
}

func NewEditOptions

func NewEditOptions(id string) *EditOptions

func (*EditOptions) UpdateFlagSet

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

type ListOptions

type ListOptions struct {
	common.ListOptions

	Organization string
	Environment  string

	Name      string
	GroupName 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