Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProjectCmd ¶ added in v1.1.0
func NewProjectCmd(f client.NewClientFunc) *cobra.Command
Types ¶
type DeleteParams ¶
DeleteParams defines parameters for deleting a single project
func (DeleteParams) GetNamespace ¶
func (p DeleteParams) GetNamespace() string
func (DeleteParams) GetProjectName ¶
func (p DeleteParams) GetProjectName() string
type GetParams ¶
GetParams defines parameters for getting a single project
func (GetParams) GetNamespace ¶
type ListParams ¶
type ListParams struct {
Namespace string
}
ListParams defines parameters for listing projects
func (ListParams) GetNamespace ¶
func (p ListParams) GetNamespace() string
type Project ¶
type Project struct {
// contains filtered or unexported fields
}
Project implements project operations
func (*Project) Delete ¶
func (l *Project) Delete(params DeleteParams) error
Delete deletes a single project
func (*Project) List ¶
func (l *Project) List(params ListParams) error
List lists all projects in a namespace
Click to show internal directories.
Click to hide internal directories.