project

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

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

type DeleteParams struct {
	Namespace   string
	ProjectName string
}

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

type GetParams struct {
	Namespace   string
	ProjectName string
}

GetParams defines parameters for getting a single project

func (GetParams) GetNamespace

func (p GetParams) GetNamespace() string

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 New

func New(c client.Interface) *Project

New creates a new project implementation

func (*Project) Delete

func (l *Project) Delete(params DeleteParams) error

Delete deletes a single project

func (*Project) Get

func (l *Project) Get(params GetParams) error

Get retrieves a single project and outputs it as YAML

func (*Project) List

func (l *Project) List(params ListParams) error

List lists all projects in a namespace

Jump to

Keyboard shortcuts

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