file

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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeleteFilesCmd

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

func NewEditFileCmd

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

func NewGetFilesCmd

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

func NewReplaceFileCmd

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

Types

type DeleteOptions

type DeleteOptions struct {
	Project  string
	FileName string
	// contains filtered or unexported fields
}

func NewDeleteOptions

func NewDeleteOptions(ioStreams genericiooptions.IOStreams) *DeleteOptions

func (*DeleteOptions) AddFlags

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

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 {
	Project string
	// contains filtered or unexported fields
}

func NewEditOptions

func NewEditOptions(ioStreams genericiooptions.IOStreams) *EditOptions

func (*EditOptions) AddFlags

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

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 {
	Out string
	All bool
	Raw bool
	// contains filtered or unexported fields
}

func NewListOptions

func NewListOptions(ioStreams genericiooptions.IOStreams) *ListOptions

func (*ListOptions) AddFlags

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

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.

type ReplaceOptions

type ReplaceOptions struct {
	Project  string
	Ref      string
	RefMatch string
	FileName string
	Force    bool
	// contains filtered or unexported fields
}

func NewReplaceOptions

func NewReplaceOptions(ioStreams genericiooptions.IOStreams) *ReplaceOptions

func (*ReplaceOptions) AddFlags

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

func (*ReplaceOptions) Complete

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

Complete completes all the required options.

func (*ReplaceOptions) Run

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

Run executes a list subcommand using the specified options.

func (*ReplaceOptions) Validate

func (o *ReplaceOptions) 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