Documentation ¶
Index ¶
- func Create(options *CreateOptions) (*sdk.EnvironmentVariableItem, error)
- func CreateRaw(options *CreateOptions) (*sdk.EnvironmentVariableItem, *http.Response, error)
- func Delete(options *DeleteOptions) error
- func DeleteRaw(options *DeleteOptions) (*http.Response, error)
- func Edit(options *EditOptions) (*sdk.EnvironmentVariableItem, error)
- func EditRaw(options *EditOptions) (*sdk.EnvironmentVariableItem, *http.Response, error)
- func Get(options *common.ItemOptions) (*sdk.EnvironmentVariableItem, error)
- func GetRaw(options *common.ItemOptions) (*sdk.EnvironmentVariableItem, *http.Response, error)
- func List(options *ListOptions) (*sdk.PaginatedEnvironmentVariableCollection, error)
- func ListRaw(options *ListOptions) (*sdk.PaginatedEnvironmentVariableCollection, *http.Response, error)
- func NewItemOptions(id string) *common.ItemOptions
- type CreateOptions
- type DeleteOptions
- type EditData
- type EditOptions
- type ListOptions
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 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 Get(options *common.ItemOptions) (*sdk.EnvironmentVariableItem, error)
func GetRaw ¶
func GetRaw(options *common.ItemOptions) (*sdk.EnvironmentVariableItem, *http.Response, error)
func List ¶
func List(options *ListOptions) (*sdk.PaginatedEnvironmentVariableCollection, error)
func ListRaw ¶
func ListRaw(options *ListOptions) (*sdk.PaginatedEnvironmentVariableCollection, *http.Response, error)
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 EditOptions ¶ added in v0.18.0
type EditOptions struct { common.ItemOptions sdk.EnvironmentVariableEditAction EditData }
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)
Click to show internal directories.
Click to hide internal directories.