netrule

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommand

func AddCommand(cmd *cobra.Command, co *cmdutil.CliOptions)

func CreateCmd

func CreateCmd(cmd *cobra.Command, cliOpt *cmdutil.UserNamespacedCliOptions) *cobra.Command

func DeleteCmd

func DeleteCmd(cmd *cobra.Command, cliOpt *cmdutil.UserNamespacedCliOptions) *cobra.Command

Types

type CreateOption

type CreateOption struct {
	*cmdutil.UserNamespacedCliOptions

	WorkspaceName    string
	CustomHostPrefix string
	PortNumber       int32
	HTTPPath         string
	Public           bool
	// contains filtered or unexported fields
}

func (*CreateOption) Complete

func (o *CreateOption) Complete(cmd *cobra.Command, args []string) error

func (*CreateOption) PreRunE

func (o *CreateOption) PreRunE(cmd *cobra.Command, args []string) error

func (*CreateOption) RunE

func (o *CreateOption) RunE(cmd *cobra.Command, args []string) error

func (*CreateOption) Validate

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

type DeleteOption

type DeleteOption struct {
	*cmdutil.UserNamespacedCliOptions

	WorkspaceName string

	Index int
}

func (*DeleteOption) Complete

func (o *DeleteOption) Complete(cmd *cobra.Command, args []string) error

func (*DeleteOption) PreRunE

func (o *DeleteOption) PreRunE(cmd *cobra.Command, args []string) error

func (*DeleteOption) RunE

func (o *DeleteOption) RunE(cmd *cobra.Command, args []string) error

func (*DeleteOption) Validate

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

Jump to

Keyboard shortcuts

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