component

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

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

func GetRaw

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

func List

func NewItemOptions

func NewItemOptions(id string) *common.ItemOptions

func RDevConfig added in v0.15.0

func RDevConfig(options *RDevContextOptions) (*sdk.ComponentConfigItem, error)

func RDevConfigRaw added in v0.15.0

func RDevConfigRaw(options *RDevContextOptions) (*sdk.ComponentConfigItem, *http.Response, error)

func RDevContext added in v0.15.0

func RDevContext(options *RDevContextOptions) (*sdk.ComponentProfileItem, error)

func RDevContextRaw added in v0.15.0

func RDevContextRaw(options *RDevContextOptions) (*sdk.ComponentProfileItem, *http.Response, error)

func Resources

func Resources(options *ResourceOptions) ([]sdk.ComponentResourceItem, error)

func ResourcesRaw

func ResourcesRaw(options *ResourceOptions) ([]sdk.ComponentResourceItem, *http.Response, error)

Types

type EditComponentData added in v0.18.0

type EditComponentData struct {
	K8SIntegration string

	TargetRepository string
	TargetBranch     string
}

type EditComponentOptions added in v0.18.0

type EditComponentOptions struct {
	common.ItemOptions

	environment.DeployOptions

	EditComponentData

	WithDeploy bool
}

func NewEditComponentOptions added in v0.18.0

func NewEditComponentOptions(component string) *EditComponentOptions

func (*EditComponentOptions) UpdateFlagSet added in v0.18.0

func (eo *EditComponentOptions) UpdateFlagSet(flags *pflag.FlagSet)

type ListOptions

type ListOptions struct {
	common.ListOptions

	Organization string
	Project      string
	Environment  string

	ClusterStatus   string
	OperationStatus string
}

func NewListOptions

func NewListOptions() *ListOptions

func (*ListOptions) UpdateFlagSet

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

type RDevConfigOptions added in v0.15.0

type RDevConfigOptions struct {
	common.ItemOptions
}

type RDevContextOptions added in v0.15.0

type RDevContextOptions struct {
	common.ItemOptions

	Profile any
}

func NewRDevConfigOptions added in v0.15.0

func NewRDevConfigOptions(id string) *RDevContextOptions

func NewRDevContextOptions added in v0.15.0

func NewRDevContextOptions(id string) *RDevContextOptions

type ResourceOptions

type ResourceOptions struct {
	common.ItemOptions
}

func NewResourceOptions

func NewResourceOptions(id string) *ResourceOptions

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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