Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEnvironmentCmd ¶ added in v1.1.0
func NewEnvironmentCmd(f client.NewClientFunc) *cobra.Command
Types ¶
type DeleteParams ¶
DeleteParams defines parameters for deleting a single environment
func (DeleteParams) GetEnvironmentName ¶
func (p DeleteParams) GetEnvironmentName() string
func (DeleteParams) GetNamespace ¶
func (p DeleteParams) GetNamespace() string
type Environment ¶
type Environment struct {
// contains filtered or unexported fields
}
Environment implements environment operations
func (*Environment) Delete ¶
func (e *Environment) Delete(params DeleteParams) error
Delete deletes a single environment
func (*Environment) Get ¶
func (e *Environment) Get(params GetParams) error
Get retrieves a single environment and outputs it as YAML
func (*Environment) List ¶
func (e *Environment) List(params ListParams) error
List lists all environments in a namespace
type GetParams ¶
GetParams defines parameters for getting a single environment
func (GetParams) GetNamespace ¶
type ListParams ¶
type ListParams struct {
Namespace string
}
ListParams defines parameters for listing environments
func (ListParams) GetNamespace ¶
func (p ListParams) GetNamespace() string
Click to show internal directories.
Click to hide internal directories.