Documentation ¶
Index ¶
- Constants
- func Clone(options *CloneOptions) (*sdk.EnvironmentItem, error)
- func CloneRaw(options *CloneOptions) (*sdk.EnvironmentItem, *http.Response, error)
- func Create(options *CreateOptions) (*sdk.EnvironmentItem, error)
- func CreateRaw(options *CreateOptions) (*sdk.EnvironmentItem, *http.Response, error)
- func Delete(options *DeleteOptions) (*sdk.EventItem, error)
- func DeleteRaw(options *DeleteOptions) (*sdk.EventItem, *http.Response, error)
- func Deploy(options *DeployOptions) (*sdk.EventItem, error)
- func DeployRaw(options *DeployOptions) (*sdk.EventItem, *http.Response, error)
- func EditComponents(options *EditComponentOptions) (*sdk.EnvironmentItem, error)
- func EditComponentsRaw(options *EditComponentOptions) (*sdk.EnvironmentItem, *http.Response, error)
- func EditConfiguration(options *EditConfigurationOptions) (*sdk.EnvironmentItem, error)
- func EditConfigurationRaw(options *EditConfigurationOptions) (*sdk.EnvironmentItem, *http.Response, error)
- func EditSettings(options *EditSettingsOptions) (*sdk.EnvironmentItem, error)
- func EditSettingsRaw(options *EditSettingsOptions) (*sdk.EnvironmentItem, *http.Response, error)
- func Get(options *common.ItemOptions) (*sdk.EnvironmentItem, error)
- func GetRaw(options *common.ItemOptions) (*sdk.EnvironmentItem, *http.Response, error)
- func KubeConfigRaw(options *common.ItemOptions) (*sdk.EnvironmentKubeConfigKubeConfigRead, *http.Response, error)
- func List(options *ListOptions) (*sdk.PaginatedEnvironmentCollection, error)
- func ListRaw(options *ListOptions) (*sdk.PaginatedEnvironmentCollection, *http.Response, error)
- func NewItemOptions(id string) *common.ItemOptions
- func Start(options *StartOptions) (*sdk.EventItem, error)
- func StartRaw(options *StartOptions) (*sdk.EventItem, *http.Response, error)
- func Stop(options *StopOptions) (*sdk.EventItem, error)
- func StopRaw(options *StopOptions) (*sdk.EventItem, *http.Response, error)
- type CloneOptions
- type CreateOptions
- type DefinitionData
- type DefinitionItem
- type DefinitionOptions
- type DeleteOptions
- type DeployOptions
- type EditComponentOptions
- type EditComponentsData
- type EditConfigurationData
- type EditConfigurationOptions
- type EditSettingsData
- type EditSettingsOptions
- type KubeConfigData
- type KubeConfigItem
- type KubeConfigOptions
- type ListOptions
- type StartOptions
- type StopOptions
Constants ¶
View Source
const ( IncludedDepdendenciesNone string = "none" IncludedDepdendenciesAll string = "all" IncludedDepdendenciesMissing string = "missing" )
Variables ¶
This section is empty.
Functions ¶
func Clone ¶
func Clone(options *CloneOptions) (*sdk.EnvironmentItem, error)
func CloneRaw ¶
func CloneRaw(options *CloneOptions) (*sdk.EnvironmentItem, *http.Response, error)
func Create ¶ added in v0.13.0
func Create(options *CreateOptions) (*sdk.EnvironmentItem, error)
func CreateRaw ¶ added in v0.13.0
func CreateRaw(options *CreateOptions) (*sdk.EnvironmentItem, *http.Response, error)
func EditComponents ¶ added in v0.16.0
func EditComponents(options *EditComponentOptions) (*sdk.EnvironmentItem, error)
func EditComponentsRaw ¶ added in v0.16.0
func EditComponentsRaw(options *EditComponentOptions) (*sdk.EnvironmentItem, *http.Response, error)
func EditConfiguration ¶ added in v0.16.0
func EditConfiguration(options *EditConfigurationOptions) (*sdk.EnvironmentItem, error)
func EditConfigurationRaw ¶ added in v0.16.0
func EditConfigurationRaw(options *EditConfigurationOptions) (*sdk.EnvironmentItem, *http.Response, error)
func EditSettings ¶ added in v0.16.0
func EditSettings(options *EditSettingsOptions) (*sdk.EnvironmentItem, error)
func EditSettingsRaw ¶ added in v0.16.0
func EditSettingsRaw(options *EditSettingsOptions) (*sdk.EnvironmentItem, *http.Response, error)
func Get ¶
func Get(options *common.ItemOptions) (*sdk.EnvironmentItem, error)
func GetRaw ¶
func GetRaw(options *common.ItemOptions) (*sdk.EnvironmentItem, *http.Response, error)
func KubeConfigRaw ¶ added in v0.14.0
func KubeConfigRaw(options *common.ItemOptions) (*sdk.EnvironmentKubeConfigKubeConfigRead, *http.Response, error)
func List ¶
func List(options *ListOptions) (*sdk.PaginatedEnvironmentCollection, error)
func ListRaw ¶
func ListRaw(options *ListOptions) (*sdk.PaginatedEnvironmentCollection, *http.Response, error)
func NewItemOptions ¶
func NewItemOptions(id string) *common.ItemOptions
Types ¶
type CloneOptions ¶
type CloneOptions struct { common.ActionOptions sdk.EnvironmentCloneAction }
func NewCloneOptions ¶
func NewCloneOptions(id string) *CloneOptions
func (*CloneOptions) UpdateFlagSet ¶
func (co *CloneOptions) UpdateFlagSet(flags *pflag.FlagSet)
type CreateOptions ¶ added in v0.13.0
type CreateOptions struct { DeployOptions sdk.EnvironmentCreateAction WithDeploy bool Labels map[string]string }
func NewCreateOptions ¶ added in v0.13.0
func NewCreateOptions() *CreateOptions
func (*CreateOptions) UpdateFlagSet ¶ added in v0.13.0
func (co *CreateOptions) UpdateFlagSet(flags *pflag.FlagSet)
type DefinitionData ¶
func DefinitionRaw ¶
func DefinitionRaw(options *DefinitionOptions) (DefinitionData, *http.Response, error)
type DefinitionItem ¶
type DefinitionItem struct { Data DefinitionData Bytes []byte }
func Definition ¶
func Definition(options *DefinitionOptions) (*DefinitionItem, error)
type DefinitionOptions ¶
type DefinitionOptions struct {
common.ItemOptions
}
func NewDefinitionOptions ¶
func NewDefinitionOptions(id string) *DefinitionOptions
type DeleteOptions ¶
type DeleteOptions struct {
common.ActionOptions
}
func NewDeleteOptions ¶
func NewDeleteOptions(id string) *DeleteOptions
type DeployOptions ¶
type DeployOptions struct { common.PartialActionOptions IncludedDepdendencies string }
func NewDeployOptions ¶
func NewDeployOptions(id string) *DeployOptions
func (*DeployOptions) UpdateFlagSet ¶ added in v0.17.1
func (options *DeployOptions) UpdateFlagSet(flags *pflag.FlagSet)
type EditComponentOptions ¶ added in v0.16.0
type EditComponentOptions struct { DeployOptions EditComponentsData WithDeploy bool }
func NewEditComponentOptions ¶ added in v0.16.0
func NewEditComponentOptions() *EditComponentOptions
func (*EditComponentOptions) UpdateFlagSet ¶ added in v0.16.0
func (eo *EditComponentOptions) UpdateFlagSet(flags *pflag.FlagSet)
type EditComponentsData ¶ added in v0.16.0
type EditConfigurationData ¶ added in v0.16.0
type EditConfigurationData struct {
K8SIntegration string
}
type EditConfigurationOptions ¶ added in v0.16.0
type EditConfigurationOptions struct { DeployOptions sdk.EnvironmentEditConfiguration EditConfigurationData WithDeploy bool }
func NewEditConfigurationOptions ¶ added in v0.16.0
func NewEditConfigurationOptions(environment string) *EditConfigurationOptions
func (*EditConfigurationOptions) UpdateFlagSet ¶ added in v0.16.0
func (eco *EditConfigurationOptions) UpdateFlagSet(flags *pflag.FlagSet)
type EditSettingsData ¶ added in v0.16.0
type EditSettingsOptions ¶ added in v0.16.0
type EditSettingsOptions struct { common.ItemOptions sdk.EnvironmentEditSettings EditSettingsData }
func NewEditSettingsOptions ¶ added in v0.16.0
func NewEditSettingsOptions(environment string) *EditSettingsOptions
func (*EditSettingsOptions) UpdateFlagSet ¶ added in v0.16.0
func (eso *EditSettingsOptions) UpdateFlagSet(flags *pflag.FlagSet)
type KubeConfigData ¶ added in v0.14.0
type KubeConfigItem ¶ added in v0.14.0
type KubeConfigItem struct { Data *sdk.EnvironmentKubeConfigKubeConfigRead Bytes []byte }
func KubeConfig ¶ added in v0.14.0
func KubeConfig(options *KubeConfigOptions) (*KubeConfigItem, error)
type KubeConfigOptions ¶ added in v0.14.0
type KubeConfigOptions struct {
common.ItemOptions
}
func NewKubeConfigOptions ¶ added in v0.14.0
func NewKubeConfigOptions(id string) *KubeConfigOptions
type ListOptions ¶
type ListOptions struct { common.ListOptions Organization string Project string KubernetesIntegration string Type string ClusterStatus string OperationStatus string Search string Labels map[string]string }
func NewListOptions ¶
func NewListOptions() *ListOptions
func (*ListOptions) UpdateFlagSet ¶
func (lo *ListOptions) UpdateFlagSet(flags *pflag.FlagSet)
type StartOptions ¶
type StartOptions struct { common.PartialActionOptions WithDependencies bool }
func NewStartOptions ¶
func NewStartOptions(id string) *StartOptions
func (*StartOptions) UpdateFlagSet ¶ added in v0.17.1
func (options *StartOptions) UpdateFlagSet(flags *pflag.FlagSet)
type StopOptions ¶
type StopOptions struct {
common.PartialActionOptions
}
func NewStopOptions ¶
func NewStopOptions(id string) *StopOptions
Click to show internal directories.
Click to hide internal directories.