project

package
v0.0.0-...-37b8e2e Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateProjectCmd

func NewCreateProjectCmd(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command

func NewDeleteProjectCmd

func NewDeleteProjectCmd(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command

func NewEditProjectCmd

func NewEditProjectCmd(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command

func NewGetProjectsCmd

func NewGetProjectsCmd(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command

Types

type CreateOptions

type CreateOptions struct {
	Out string
	// contains filtered or unexported fields
}

func NewCreateOptions

func NewCreateOptions(ioStreams genericiooptions.IOStreams) *CreateOptions

func (*CreateOptions) AddFlags

func (o *CreateOptions) AddFlags(cmd *cobra.Command)

AddFlags registers flags for a cli

func (*CreateOptions) Complete

func (o *CreateOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*CreateOptions) Run

func (o *CreateOptions) Run(args []string) error

Run executes a list subcommand using the specified options.

func (*CreateOptions) Validate

func (o *CreateOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepency in command options.

type DeleteOptions

type DeleteOptions struct {
	// contains filtered or unexported fields
}

func NewDeleteOptions

func NewDeleteOptions(ioStreams genericiooptions.IOStreams) *DeleteOptions

func (*DeleteOptions) Complete

func (o *DeleteOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*DeleteOptions) Run

func (o *DeleteOptions) Run(args []string) error

Run executes a list subcommand using the specified options.

func (*DeleteOptions) Validate

func (o *DeleteOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepency in command options.

type EditOptions

type EditOptions struct {
	Out string
	// contains filtered or unexported fields
}

func NewEditOptions

func NewEditOptions(ioStreams genericiooptions.IOStreams) *EditOptions

func (*EditOptions) AddFlags

func (o *EditOptions) AddFlags(cmd *cobra.Command)

AddFlags registers flags for a cli

func (*EditOptions) Complete

func (o *EditOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*EditOptions) Run

func (o *EditOptions) Run(args []string) error

Run executes a list subcommand using the specified options.

func (*EditOptions) Validate

func (o *EditOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepency in command options.

type ListOptions

type ListOptions struct {
	Visibility string
	FromGroup  string
	Out        string

	ProjectId *string
	AllGroups bool
	// contains filtered or unexported fields
}

func NewListOptions

func NewListOptions(ioStreams genericiooptions.IOStreams) *ListOptions

func (*ListOptions) AddFlags

func (o *ListOptions) AddFlags(cmd *cobra.Command)

AddFlags registers flags for a cli

func (*ListOptions) Complete

func (o *ListOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*ListOptions) Run

func (o *ListOptions) Run(args []string) error

Run executes a list subcommand using the specified options.

func (*ListOptions) Validate

func (o *ListOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepency in command options.

Jump to

Keyboard shortcuts

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