cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDataplaneCLIFlags

func GetDataplaneCLIFlags(args *DataplaneCLIArgs) []cli.Flag

GetDataplaneCLIFlags fetch the list of CLI arguments needed by dataplane API subcommands

@param args *DataplaneCLIArgs - where CLI arguments are stored
@return the list CLI arguments

func GetDataplaneCLISubcmds

func GetDataplaneCLISubcmds(args *DataplaneCLIArgs) []*cli.Command

GetDataplaneCLISubcmds fetch the list of subcommands supported for the dataplane API

func GetManagementCLIFlags

func GetManagementCLIFlags(args *ManagementCLIArgs) []cli.Flag

GetManagementCLIFlags fetch the list of CLI arguments needed by management API subcommands

@param args *ManagementCLIArgs - where CLI arguments are stored
@return the list CLI arguments

func GetManagementCLISubcmds

func GetManagementCLISubcmds(args *ManagementCLIArgs) []*cli.Command

GetManagementCLISubcmds fetch the list of subcommands supported for the management API

@param args *ManagementCLIArgs - the structure where the CLI arguments are stored
@return the list of CLI subcommands

Types

type CommonCLIArgs

type CommonCLIArgs struct {
	// Logging logging related configuration
	Logging loggingArgs `validate:"required,dive"`
	// HTTP are client related configuration
	HTTP httpClientArgs `validate:"required,dive"`
	// contains filtered or unexported fields
}

CommonCLIArgs cli arguments needed for operating against all APIs

type DataplaneCLIArgs

type DataplaneCLIArgs struct {
	CommonCLIArgs
	// contains filtered or unexported fields
}

DataplaneCLIArgs cli arguments needed for operating against dataplane APIs

type ManagementCLIArgs

type ManagementCLIArgs struct {
	CommonCLIArgs
	// contains filtered or unexported fields
}

ManagementCLIArgs cli arguments needed for operating against management APIs

Jump to

Keyboard shortcuts

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