network

package
v0.0.0-...-7f57805 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNetworkCommand

func NewNetworkCommand(settings *environment.Settings) *cobra.Command

NewNetworkCommand creates a new "fabric network" command

func NewNetworkDeleteCommand

func NewNetworkDeleteCommand(settings *environment.Settings) *cobra.Command

NewNetworkDeleteCommand creates a new "fabric network delete" command

func NewNetworkListCommand

func NewNetworkListCommand(settings *environment.Settings) *cobra.Command

NewNetworkListCommand creates a new "fabric network list" command

func NewNetworkSetCommand

func NewNetworkSetCommand(settings *environment.Settings) *cobra.Command

NewNetworkSetCommand creates a new "fabric network set" command

func NewNetworkViewCommand

func NewNetworkViewCommand(settings *environment.Settings) *cobra.Command

NewNetworkViewCommand creates a new "fabric network view" command

Types

type DeleteCommand

type DeleteCommand struct {
	common.Command

	Name string
}

DeleteCommand implements the network delete command

func (*DeleteCommand) Run

func (c *DeleteCommand) Run() error

Run executes the command

func (*DeleteCommand) Validate

func (c *DeleteCommand) Validate() error

Validate checks the required parameters for run

type ListCommand

type ListCommand struct {
	common.Command
}

ListCommand implements the network list command

func (*ListCommand) Run

func (c *ListCommand) Run() error

Run executes the command

type SetCommand

type SetCommand struct {
	common.Command

	Name    string
	Network *environment.Network
}

SetCommand implements the network set command

func (*SetCommand) Run

func (c *SetCommand) Run() error

Run executes the command

func (*SetCommand) Validate

func (c *SetCommand) Validate() error

Validate checks the required parameters for run

type ViewCommand

type ViewCommand struct {
	common.Command

	Name string
}

ViewCommand implements the current command

func (*ViewCommand) Run

func (c *ViewCommand) Run() error

Run executes the command

Jump to

Keyboard shortcuts

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