cmd

package
v0.19.10 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 50 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Execute

func Execute()

Execute is ...

func NewCmdAdhoc

func NewCmdAdhoc(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdAdhoc creates the command

func NewCmdArt

func NewCmdArt(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdCreate

func NewCmdCreate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreate creates a command object for the "create" command

func NewCmdCreateConfig

func NewCmdCreateConfig(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateConfig creates a command object for the "create" command

func NewCmdCreateConfigController

func NewCmdCreateConfigController(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateConfigController creates a command object for the "create" command

func NewCmdCreateConfigGw

func NewCmdCreateConfigGw(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateConfigGw creates a command object for the "create" command

func NewCmdCreateConfigMgmt

func NewCmdCreateConfigMgmt(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateConfigMgmt creates a command object for the "create" command

func NewCmdCreateConfigRouter

func NewCmdCreateConfigRouter(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateConfigRouter creates a command object for the "create" command

func NewCmdCreateEnvironment

func NewCmdCreateEnvironment(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateEnvironment creates a command object for the "create" command

func NewCmdCreateStateStore

func NewCmdCreateStateStore(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdCreateStateStore creates a command object for the "create" command

func NewCmdDelete

func NewCmdDelete(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDelete creates a command object for the generic "delete" action

func NewCmdDeleteStateStore

func NewCmdDeleteStateStore(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdDeleteStateStore creates a command object for the "delete" command

func NewCmdExecute

func NewCmdExecute(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdExecute Executes a command object for the "Execute" command

func NewCmdExecuteController

func NewCmdExecuteController(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdExecuteController creates a command object for the "create" command

func NewCmdInit

func NewCmdInit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInit creates a command object for the generic "init" action

func NewCmdInstall

func NewCmdInstall(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInstall creates the command

func NewCmdInstallAnsible

func NewCmdInstallAnsible(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInstallAnsible defines the command

func NewCmdInstallTerraformProviderEdgeController

func NewCmdInstallTerraformProviderEdgeController(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInstallTerraformProviderEdgeController defines the command

func NewCmdInstallZitiALL

func NewCmdInstallZitiALL(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInstallZitiALL defines the command

func NewCmdInstallZitiController

func NewCmdInstallZitiController(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInstallZitiController defines the command

func NewCmdInstallZitiEdgeTunnel added in v0.16.3

func NewCmdInstallZitiEdgeTunnel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInstallZitiEdgeTunnel defines the command

func NewCmdInstallZitiEnroller

func NewCmdInstallZitiEnroller(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInstallZitiEnroller defines the command

func NewCmdInstallZitiFabric

func NewCmdInstallZitiFabric(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInstallZitiFabric defines the command

func NewCmdInstallZitiFabricTest

func NewCmdInstallZitiFabricTest(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInstallZitiFabricTest defines the command

func NewCmdInstallZitiMgmtGw

func NewCmdInstallZitiMgmtGw(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInstallZitiMgmtGw defines the command

func NewCmdInstallZitiProxC

func NewCmdInstallZitiProxC(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInstallZitiProxC defines the command

func NewCmdInstallZitiRouter

func NewCmdInstallZitiRouter(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInstallZitiRouter defines the command

func NewCmdInstallZitiTunnel

func NewCmdInstallZitiTunnel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdInstallZitiTunnel defines the command

func NewCmdLogFormat added in v0.17.8

func NewCmdLogFormat(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdLogFormat a command object for the "log-format" command

func NewCmdPKI

func NewCmdPKI(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPKI PKIs a command object for the "PKI" command

func NewCmdPKICreate

func NewCmdPKICreate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPKICreate creates a command object for the "create" command

func NewCmdPKICreateCA

func NewCmdPKICreateCA(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPKICreateCA creates a command object for the "create" command

func NewCmdPKICreateCSR

func NewCmdPKICreateCSR(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPKICreateCSR creates a command object for the "create" command

func NewCmdPKICreateClient

func NewCmdPKICreateClient(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPKICreateClient creates a command object for the "create" command

func NewCmdPKICreateIntermediate

func NewCmdPKICreateIntermediate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPKICreateIntermediate creates a command object for the "create" command

func NewCmdPKICreateKey

func NewCmdPKICreateKey(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPKICreateKey creates a command object for the "create" command

func NewCmdPKICreateServer

func NewCmdPKICreateServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPKICreateServer creates a command object for the "create" command

func NewCmdPing

func NewCmdPing(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPing creates the command

func NewCmdPlaybook

func NewCmdPlaybook(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdPs

func NewCmdPs(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPs Pss a command object for the "Ps" command

func NewCmdPsDumpRoutes added in v0.18.10

func NewCmdPsDumpRoutes(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsDumpRoutes creates a command object for the "dump-routes" command

func NewCmdPsGc

func NewCmdPsGc(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsGc creates a command object for the "create" command

func NewCmdPsGet

func NewCmdPsGet(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsGet creates a command object for the "create" command

func NewCmdPsGoversion

func NewCmdPsGoversion(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsGoversion creates a command object for the "create" command

func NewCmdPsMemstats

func NewCmdPsMemstats(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsMemstats creates a command object for the "create" command

func NewCmdPsPprofCpu

func NewCmdPsPprofCpu(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsPprofCpu creates a command object for the "create" command

func NewCmdPsPprofHeap

func NewCmdPsPprofHeap(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsPprofHeap creates a command object for the "create" command

func NewCmdPsRoute added in v0.18.10

func NewCmdPsRoute(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsRoute creates a command object for the "create" command

func NewCmdPsRouterDisconnect added in v0.19.0

func NewCmdPsRouterDisconnect(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsRouterDisconnect creates a command object for the "router-disconnect" command

func NewCmdPsRouterReconnect added in v0.19.0

func NewCmdPsRouterReconnect(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsRouterReconnect creates a command object for the "router-disconnect" command

func NewCmdPsSetLogLevel added in v0.18.4

func NewCmdPsSetLogLevel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsLogLevel creates a command object for the "create" command

func NewCmdPsSetgc

func NewCmdPsSetgc(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsSetgc creates a command object for the "create" command

func NewCmdPsStack

func NewCmdPsStack(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsStack creates a command object for the "create" command

func NewCmdPsStats

func NewCmdPsStats(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsStats creates a command object for the "create" command

func NewCmdPsTrace

func NewCmdPsTrace(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdPsTrace creates a command object for the "create" command

func NewCmdRoot

func NewCmdRoot(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command

func NewCmdUnInstall

func NewCmdUnInstall(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUnInstall creates the command

func NewCmdUnInstallZitiController

func NewCmdUnInstallZitiController(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUnInstallZitiController defines the command

func NewCmdUnInstallZitiEdgeTunnel added in v0.16.3

func NewCmdUnInstallZitiEdgeTunnel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUnInstallZitiEdgeTunnel defines the command

func NewCmdUnInstallZitiEnroller

func NewCmdUnInstallZitiEnroller(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUnInstallZitiEnroller defines the command

func NewCmdUnInstallZitiFabric

func NewCmdUnInstallZitiFabric(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUnInstallZitiFabric defines the command

func NewCmdUnInstallZitiFabricTest

func NewCmdUnInstallZitiFabricTest(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUnInstallZitiFabricTest defines the command

func NewCmdUnInstallZitiMgmtGw

func NewCmdUnInstallZitiMgmtGw(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUnInstallZitiMgmtGw defines the command

func NewCmdUnInstallZitiProxC

func NewCmdUnInstallZitiProxC(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUnInstallZitiProxC defines the command

func NewCmdUnInstallZitiRouter

func NewCmdUnInstallZitiRouter(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUnInstallZitiRouter defines the command

func NewCmdUnInstallZitiTunnel

func NewCmdUnInstallZitiTunnel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUnInstallZitiTunnel defines the command

func NewCmdUpdate

func NewCmdUpdate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpdate creates a command object for the "update" command

func NewCmdUpgrade

func NewCmdUpgrade(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgrade creates the command

func NewCmdUpgradeZiti

func NewCmdUpgradeZiti(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgradeZiti defines the command

func NewCmdUpgradeZitiController

func NewCmdUpgradeZitiController(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgradeZitiController defines the command

func NewCmdUpgradeZitiEdgeTunnel added in v0.16.3

func NewCmdUpgradeZitiEdgeTunnel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgradeZitiEdgeTunnel defines the command

func NewCmdUpgradeZitiEnroller

func NewCmdUpgradeZitiEnroller(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgradeZitiEnroller defines the command

func NewCmdUpgradeZitiFabric

func NewCmdUpgradeZitiFabric(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgradeZitiFabric defines the command

func NewCmdUpgradeZitiFabricTest

func NewCmdUpgradeZitiFabricTest(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgradeZitiFabricTest defines the command

func NewCmdUpgradeZitiMgmtGw

func NewCmdUpgradeZitiMgmtGw(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgradeZitiMgmtGw defines the command

func NewCmdUpgradeZitiProxC

func NewCmdUpgradeZitiProxC(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgradeZitiProxC defines the command

func NewCmdUpgradeZitiRouter

func NewCmdUpgradeZitiRouter(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgradeZitiRouter defines the command

func NewCmdUpgradeZitiTunnel

func NewCmdUpgradeZitiTunnel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUpgradeZitiTunnel defines the command

func NewCmdUse

func NewCmdUse(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

NewCmdUse creates the command

func NewCmdVersion

func NewCmdVersion(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command

Types

type AdhocOptions

type AdhocOptions struct {
	CommonOptions
}

AdhocOptions are the flags for delete commands

func (*AdhocOptions) Run

func (o *AdhocOptions) Run() error

Run implements this command

type ArtOptions

type ArtOptions struct {
	CommonOptions
}

func (*ArtOptions) Run

func (o *ArtOptions) Run() error

Run ...

type CommonOptions

type CommonOptions struct {
	Factory        cmdutil.Factory
	Out            io.Writer
	Err            io.Writer
	Cmd            *cobra.Command
	Args           []string
	BatchMode      bool
	Verbose        bool
	Staging        bool
	ConfigIdentity string
	Timeout        int
}

CommonOptions contains common options and helper methods

func (*CommonOptions) CreateTable

func (c *CommonOptions) CreateTable() table.Table

func (*CommonOptions) Debugf

func (c *CommonOptions) Debugf(format string, a ...interface{})

Debugf outputs the given text to the console if verbose mode is enabled

func (*CommonOptions) GetZitiComponent

func (o *CommonOptions) GetZitiComponent(p string) (string, error)

func (*CommonOptions) Stdout

func (c *CommonOptions) Stdout() io.Writer

type CreateConfigControllerOptions

type CreateConfigControllerOptions struct {
	CreateConfigOptions

	CtrlListener string
}

CreateConfigControllerOptions the options for the create spring command

func (*CreateConfigControllerOptions) Run

Run implements the command

type CreateConfigGwOptions

type CreateConfigGwOptions struct {
	CreateConfigOptions

	ListenAddress  string
	Mgmt           string
	MgmtGwCertPath string
	MgmtGwKeyPath  string
	MgmtCertPath   string
	MgmtKeyPath    string
	MgmtCaCertPath string
}

CreateConfigGwOptions the options for the create spring command

func (*CreateConfigGwOptions) Run

func (o *CreateConfigGwOptions) Run() error

Run implements the command

type CreateConfigMgmtOptions

type CreateConfigMgmtOptions struct {
	CreateConfigOptions

	CtrlAddress string
}

CreateConfigMgmtOptions the options for the create spring command

func (*CreateConfigMgmtOptions) Run

func (o *CreateConfigMgmtOptions) Run() error

Run implements the command

type CreateConfigOptions

type CreateConfigOptions struct {
	CreateOptions

	Namespace   string
	Version     string
	ReleaseName string
	HelmUpdate  bool
}

CreateConfigOptions the options for the create spring command

func (*CreateConfigOptions) Run

func (options *CreateConfigOptions) Run() error

Run implements this command

type CreateConfigRouterOptions

type CreateConfigRouterOptions struct {
	CreateConfigOptions

	CtrlAddress string
}

CreateConfigRouterOptions the options for the create spring command

func (*CreateConfigRouterOptions) Run

Run implements the command

type CreateEnvironmentOptions

type CreateEnvironmentOptions struct {
	CreateOptions

	EnvName string
}

CreateEnvironmentOptions the options for the create spring command

func (*CreateEnvironmentOptions) Run

Run implements this command

type CreateOptions

type CreateOptions struct {
	CommonOptions

	DisableImport bool
	OutDir        string
}

CreateOptions contains the command line options

func (*CreateOptions) Run

func (o *CreateOptions) Run() error

Run implements this command

type CreateStateStoreOptions

type CreateStateStoreOptions struct {
	CreateOptions
}

CreateStateStoreOptions the options for the create spring command

func (*CreateStateStoreOptions) Run

func (o *CreateStateStoreOptions) Run() error

Run implements the command

type DeleteOptions

type DeleteOptions struct {
	CommonOptions
}

DeleteOptions are the flags for delete commands

func (*DeleteOptions) Run

func (o *DeleteOptions) Run() error

Run implements this command

type DeleteStateStoreOptions

type DeleteStateStoreOptions struct {
	DeleteOptions
}

DeleteStateStoreOptions the options for the delete state-store command

func (*DeleteStateStoreOptions) Run

func (o *DeleteStateStoreOptions) Run() error

Run implements the command

type ExecuteControllerOptions

type ExecuteControllerOptions struct {
	ExecuteOptions

	CtrlListener string
}

ExecuteControllerOptions the options for the create spring command

func (*ExecuteControllerOptions) Run

Run implements the command

type ExecuteFlags

type ExecuteFlags struct {
	Identity string
}

type ExecuteOptions

type ExecuteOptions struct {
	CommonOptions

	Flags ExecuteFlags

	DisableImport bool
	OutDir        string
}

ExecuteOptions contains the command line options

func (*ExecuteOptions) Run

func (o *ExecuteOptions) Run() error

Run implements this command

type InitFlags

type InitFlags struct {
	Component string
}

type InitOptions

type InitOptions struct {
	CommonOptions
	Flags InitFlags
}

InitOptions the flags for running init

func (*InitOptions) Run

func (o *InitOptions) Run() error

type InstallAnsibleOptions

type InstallAnsibleOptions struct {
	InstallOptions

	Version string
}

InstallAnsibleOptions the options for the install command

func (*InstallAnsibleOptions) Run

func (o *InstallAnsibleOptions) Run() error

Run implements the command

type InstallOptions

type InstallOptions struct {
	CommonOptions
}

InstallOptions are the flags for delete commands

func (*InstallOptions) Run

func (o *InstallOptions) Run() error

Run implements this command

type InstallTerraformProviderEdgeControllerOptions

type InstallTerraformProviderEdgeControllerOptions struct {
	InstallOptions

	Version string
	Branch  string
}

InstallTerraformProviderEdgeControllerOptions the options for the upgrade ziti-tunnel command

func (*InstallTerraformProviderEdgeControllerOptions) Run

Run implements the command

type InstallZitiALLOptions

type InstallZitiALLOptions struct {
	InstallOptions

	Version string
}

InstallZitiALLOptions the options for the upgrade ziti-channel command

func (*InstallZitiALLOptions) Run

func (o *InstallZitiALLOptions) Run() error

Run implements the command

type InstallZitiControllerOptions

type InstallZitiControllerOptions struct {
	InstallOptions

	Version string
}

InstallZitiControllerOptions the options for the upgrade ziti-controller command

func (*InstallZitiControllerOptions) Run

Run implements the command

type InstallZitiEdgeTunnelOptions added in v0.16.3

type InstallZitiEdgeTunnelOptions struct {
	InstallOptions

	Version string
}

InstallZitiEdgeTunnelOptions the options for the upgrade ziti-edge-tunnel command

func (*InstallZitiEdgeTunnelOptions) Run added in v0.16.3

Run implements the command

type InstallZitiEnrollerOptions

type InstallZitiEnrollerOptions struct {
	InstallOptions

	Version string
}

InstallZitiEnrollerOptions the options for the upgrade ziti-enroller command

func (*InstallZitiEnrollerOptions) Run

Run implements the command

type InstallZitiFabricOptions

type InstallZitiFabricOptions struct {
	InstallOptions

	Version string
}

InstallZitiFabricOptions the options for the upgrade ziti-fabric command

func (*InstallZitiFabricOptions) Run

Run implements the command

type InstallZitiFabricTestOptions

type InstallZitiFabricTestOptions struct {
	InstallOptions

	Version string
}

InstallZitiFabricTestOptions the options for the upgrade ziti-channel command

func (*InstallZitiFabricTestOptions) Run

Run implements the command

type InstallZitiMgmtGwOptions

type InstallZitiMgmtGwOptions struct {
	InstallOptions

	Version string
}

InstallZitiMgmtGwOptions the options for the upgrade ziti-fabric-gw command

func (*InstallZitiMgmtGwOptions) Run

Run implements the command

type InstallZitiProxCOptions

type InstallZitiProxCOptions struct {
	InstallOptions

	Version string
}

InstallZitiProxCOptions the options for the upgrade ziti-prox-c command

func (*InstallZitiProxCOptions) Run

func (o *InstallZitiProxCOptions) Run() error

Run implements the command

type InstallZitiRouterOptions

type InstallZitiRouterOptions struct {
	InstallOptions

	Version string
}

InstallZitiRouterOptions the options for the upgrade ziti-router command

func (*InstallZitiRouterOptions) Run

Run implements the command

type InstallZitiTunnelOptions

type InstallZitiTunnelOptions struct {
	InstallOptions

	Version string
}

InstallZitiTunnelOptions the options for the upgrade ziti-tunnel command

func (*InstallZitiTunnelOptions) Run

Run implements the command

type LogFormatOptions added in v0.17.8

type LogFormatOptions struct {
	CommonOptions
	// contains filtered or unexported fields
}

PsOptions contains the command line options

func (*LogFormatOptions) Run added in v0.17.8

func (o *LogFormatOptions) Run() error

Run implements this command

type MainOptions

type MainOptions struct {
	CommonOptions
}

InitOptions the flags for running init

type PKICreateCAOptions

type PKICreateCAOptions struct {
	PKICreateOptions
}

PKICreateCAOptions the options for the create spring command

func (*PKICreateCAOptions) Run

func (o *PKICreateCAOptions) Run() error

Run implements this command

type PKICreateCSROptions

type PKICreateCSROptions struct {
	PKICreateOptions
}

PKICreateCSROptions the options for the create spring command

func (*PKICreateCSROptions) Run

func (o *PKICreateCSROptions) Run() error

Run implements this command

type PKICreateClientOptions

type PKICreateClientOptions struct {
	PKICreateOptions
}

PKICreateClientOptions the options for the create spring command

func (*PKICreateClientOptions) Run

func (o *PKICreateClientOptions) Run() error

Run implements this command

type PKICreateIntermediateOptions

type PKICreateIntermediateOptions struct {
	PKICreateOptions
}

PKICreateIntermediateOptions the options for the create spring command

func (*PKICreateIntermediateOptions) Run

Run implements this command

type PKICreateKeyOptions

type PKICreateKeyOptions struct {
	PKICreateOptions
}

PKICreateKeyOptions the options for the create spring command

func (*PKICreateKeyOptions) Run

func (o *PKICreateKeyOptions) Run() error

Run implements this command

type PKICreateOptions

type PKICreateOptions struct {
	PKIOptions
}

PKICreateOptions the options for the create spring command

func (*PKICreateOptions) ObtainCAFile

func (o *PKICreateOptions) ObtainCAFile() (string, error)

ObtainCAFile returns the value for ca-file

func (*PKICreateOptions) ObtainCAName

func (o *PKICreateOptions) ObtainCAName(pkiroot string) (string, error)

ObtainCAName returns the value for ca-name

func (*PKICreateOptions) ObtainCSRFile

func (o *PKICreateOptions) ObtainCSRFile() (string, error)

ObtainCSRFile returns the value for csr-file

func (*PKICreateOptions) ObtainClientCertFile

func (o *PKICreateOptions) ObtainClientCertFile() (string, error)

ObtainClientCertFile returns the value for client-file

func (*PKICreateOptions) ObtainCommonName

func (o *PKICreateOptions) ObtainCommonName() (string, error)

ObtainCommonName returns the value for CN

func (*PKICreateOptions) ObtainFileName

func (o *PKICreateOptions) ObtainFileName(cafile string, commonName string) string

ObtainFileName returns the value for the 'name' used in the PKI request

func (*PKICreateOptions) ObtainIPsAndDNSNames

func (o *PKICreateOptions) ObtainIPsAndDNSNames() ([]net.IP, []string, error)

ObtainIPsAndDNSNames returns the IP addrs and/or DNS names used in the PKI request template

func (*PKICreateOptions) ObtainIntermediateCAFile

func (o *PKICreateOptions) ObtainIntermediateCAFile() (string, error)

ObtainIntermediateCAFile returns the value for intermediate-file

func (*PKICreateOptions) ObtainIntermediateCSRFile

func (o *PKICreateOptions) ObtainIntermediateCSRFile() (string, error)

ObtainIntermediateCSRFile returns the value for intermediate-file

func (*PKICreateOptions) ObtainKeyFile

func (o *PKICreateOptions) ObtainKeyFile(required bool) (string, error)

ObtainKeyFile returns the value for key-file

func (*PKICreateOptions) ObtainKeyName

func (o *PKICreateOptions) ObtainKeyName(pkiroot string) (string, error)

ObtainKeyName returns the private key from the key-file

func (*PKICreateOptions) ObtainPKICSRRequestTemplate

func (o *PKICreateOptions) ObtainPKICSRRequestTemplate(commonName string) *x509.CertificateRequest

ObtainPKICSRRequestTemplate returns the CSR 'template' used in the PKI request

func (*PKICreateOptions) ObtainPKIRequestTemplate

func (o *PKICreateOptions) ObtainPKIRequestTemplate(commonName string) *x509.Certificate

ObtainPKIRequestTemplate returns the 'template' used in the PKI request

func (*PKICreateOptions) ObtainPKIRoot

func (o *PKICreateOptions) ObtainPKIRoot() (string, error)

ObtainPKIRoot returns the value for pki-root

func (*PKICreateOptions) ObtainServerCertFile

func (o *PKICreateOptions) ObtainServerCertFile() (string, error)

ObtainServerCertFile returns the value for server-file

func (*PKICreateOptions) Run

func (o *PKICreateOptions) Run() error

Run implements this command

type PKICreateServerOptions

type PKICreateServerOptions struct {
	PKICreateOptions
}

PKICreateServerOptions the options for the create spring command

func (*PKICreateServerOptions) Run

func (o *PKICreateServerOptions) Run() error

Run implements this command

type PKIFlags

type PKIFlags struct {
	PKIRoot               string
	PKIOrganization       string
	PKIOrganizationalUnit string
	PKICountry            string
	PKILocality           string
	PKIProvince           string
	CAFile                string
	CAName                string
	CommonName            string
	CAExpire              int
	CAMaxpath             int
	CAPrivateKeySize      int
	IntermediateFile      string
	IntermediateName      string
	ServerFile            string
	ServerName            string
	ClientFile            string
	ClientName            string
	KeyFile               string
	CSRFile               string
	CSRName               string
	KeyName               string
	DNSName               []string
	IP                    []string
	Email                 []string
	PKI                   *pki.ZitiPKI
}

type PKIOptions

type PKIOptions struct {
	CommonOptions

	Flags PKIFlags
}

PKIOptions contains the command line options

func (*PKIOptions) Run

func (o *PKIOptions) Run() error

Run implements this command

type PingOptions

type PingOptions struct {
	CommonOptions
}

PingOptions are the flags for delete commands

func (*PingOptions) Run

func (o *PingOptions) Run() error

Run implements this command

type PlaybookOptions

type PlaybookOptions struct {
	CommonOptions
}

func (*PlaybookOptions) Run

func (o *PlaybookOptions) Run() error

Run ...

type PsDumpRoutesOptions added in v0.18.10

type PsDumpRoutesOptions struct {
	PsOptions
	CtrlListener string
}

PsRouteOptions the options for the create spring command

func (*PsDumpRoutesOptions) Run added in v0.18.10

func (o *PsDumpRoutesOptions) Run() error

Run implements the command

type PsFlags

type PsFlags struct {
	Pid string
}

type PsGcOptions

type PsGcOptions struct {
	PsOptions
	CtrlListener string
}

PsGcOptions the options for the create spring command

func (*PsGcOptions) Run

func (o *PsGcOptions) Run() error

Run implements the command

type PsGetOptions

type PsGetOptions struct {
	PsOptions

	CtrlListener string
}

PsGetOptions the options for the create spring command

func (*PsGetOptions) Run

func (o *PsGetOptions) Run() error

Run implements the command

type PsGoversionOptions

type PsGoversionOptions struct {
	PsOptions
	CtrlListener string
}

PsGoversionOptions the options for the create spring command

func (*PsGoversionOptions) Run

func (o *PsGoversionOptions) Run() error

Run implements the command

type PsMemstatsOptions

type PsMemstatsOptions struct {
	PsOptions
	CtrlListener string
}

PsMemstatsOptions the options for the create spring command

func (*PsMemstatsOptions) Run

func (o *PsMemstatsOptions) Run() error

Run implements the command

type PsOptions

type PsOptions struct {
	CommonOptions

	Flags PsFlags
}

PsOptions contains the command line options

func (*PsOptions) Run

func (o *PsOptions) Run() error

Run implements this command

type PsPprofCpuOptions

type PsPprofCpuOptions struct {
	PsOptions
	CtrlListener string
}

PsPprofCpuOptions the options for the create spring command

func (*PsPprofCpuOptions) Run

func (o *PsPprofCpuOptions) Run() error

Run implements the command

type PsPprofHeapOptions

type PsPprofHeapOptions struct {
	PsOptions
}

PsPprofHeapOptions the options for the create spring command

func (*PsPprofHeapOptions) Run

func (o *PsPprofHeapOptions) Run() error

Run implements the command

type PsRouteOptions added in v0.18.10

type PsRouteOptions struct {
	PsOptions
	CtrlListener string
}

PsRouteOptions the options for the create spring command

func (*PsRouteOptions) Run added in v0.18.10

func (o *PsRouteOptions) Run() error

Run implements the command

type PsRouterDisconnectOptions added in v0.19.0

type PsRouterDisconnectOptions struct {
	PsOptions
	CtrlListener string
}

PsRouteOptions the options for the create spring command

func (*PsRouterDisconnectOptions) Run added in v0.19.0

Run implements the command

type PsRouterReconnectOptions added in v0.19.0

type PsRouterReconnectOptions struct {
	PsOptions
	CtrlListener string
}

PsRouteOptions the options for the create spring command

func (*PsRouterReconnectOptions) Run added in v0.19.0

Run implements the command

type PsSetLogLevelOptions added in v0.18.4

type PsSetLogLevelOptions struct {
	PsOptions
	CtrlListener string
}

PsSetgcOptions the options for the create spring command

func (*PsSetLogLevelOptions) Run added in v0.18.4

func (o *PsSetLogLevelOptions) Run() error

Run implements the command

type PsSetgcOptions

type PsSetgcOptions struct {
	PsOptions
	CtrlListener string
}

PsSetgcOptions the options for the create spring command

func (*PsSetgcOptions) Run

func (o *PsSetgcOptions) Run() error

Run implements the command

type PsStackOptions

type PsStackOptions struct {
	PsOptions
	CtrlListener string
}

PsStackOptions the options for the create spring command

func (*PsStackOptions) Run

func (o *PsStackOptions) Run() error

Run implements the command

type PsStatsOptions

type PsStatsOptions struct {
	PsOptions
	CtrlListener string
}

PsStatsOptions the options for the create spring command

func (*PsStatsOptions) Run

func (o *PsStatsOptions) Run() error

Run implements the command

type PsTraceOptions

type PsTraceOptions struct {
	PsOptions
}

PsTraceOptions the options for the create spring command

func (*PsTraceOptions) Run

func (o *PsTraceOptions) Run() error

Run implements the command

type RootCmd

type RootCmd struct {
	RegistryPath string
	// contains filtered or unexported fields
}

type ServerFlags

type ServerFlags struct {
	ServerName string
	ServerURL  string
}

func (*ServerFlags) IsEmpty

func (f *ServerFlags) IsEmpty() bool

type UnInstallOptions

type UnInstallOptions struct {
	CommonOptions
}

UnInstallOptions are the flags for delete commands

func (*UnInstallOptions) Run

func (o *UnInstallOptions) Run() error

Run implements this command

type UnInstallZitiControllerOptions

type UnInstallZitiControllerOptions struct {
	UnInstallOptions

	Version string
}

UnInstallZitiControllerOptions the options for the upgrade ziti-controller command

func (*UnInstallZitiControllerOptions) Run

Run implements the command

type UnInstallZitiEdgeTunnelOptions added in v0.16.3

type UnInstallZitiEdgeTunnelOptions struct {
	UnInstallOptions

	Version string
}

UnInstallZitiEdgeTunnelOptions the options for the upgrade ziti-edge-tunnel command

func (*UnInstallZitiEdgeTunnelOptions) Run added in v0.16.3

Run implements the command

type UnInstallZitiEnrollerOptions

type UnInstallZitiEnrollerOptions struct {
	UnInstallOptions

	Version string
}

UnInstallZitiEnrollerOptions the options for the upgrade ziti-enroller command

func (*UnInstallZitiEnrollerOptions) Run

Run implements the command

type UnInstallZitiFabricOptions

type UnInstallZitiFabricOptions struct {
	UnInstallOptions

	Version string
}

UnInstallZitiFabricOptions the options for the upgrade ziti-fabric command

func (*UnInstallZitiFabricOptions) Run

Run implements the command

type UnInstallZitiFabricTestOptions

type UnInstallZitiFabricTestOptions struct {
	UnInstallOptions

	Version string
}

UnInstallZitiFabricTestOptions the options for the upgrade ziti-channel command

func (*UnInstallZitiFabricTestOptions) Run

Run implements the command

type UnInstallZitiMgmtGwOptions

type UnInstallZitiMgmtGwOptions struct {
	UnInstallOptions

	Version string
}

UnInstallZitiMgmtGwOptions the options for the upgrade ziti-fabric-gw command

func (*UnInstallZitiMgmtGwOptions) Run

Run implements the command

type UnInstallZitiProxCOptions

type UnInstallZitiProxCOptions struct {
	UnInstallOptions

	Version string
}

UnInstallZitiProxCOptions the options for the upgrade ziti-prox-c command

func (*UnInstallZitiProxCOptions) Run

Run implements the command

type UnInstallZitiRouterOptions

type UnInstallZitiRouterOptions struct {
	UnInstallOptions

	Version string
}

UnInstallZitiRouterOptions the options for the upgrade ziti-router command

func (*UnInstallZitiRouterOptions) Run

Run implements the command

type UnInstallZitiTunnelOptions

type UnInstallZitiTunnelOptions struct {
	UnInstallOptions

	Version string
}

UnInstallZitiTunnelOptions the options for the upgrade ziti-tunnel command

func (*UnInstallZitiTunnelOptions) Run

Run implements the command

type UpdateOptions

type UpdateOptions struct {
	CommonOptions

	DisableImport bool
	OutDir        string
}

Update contains the command line options

func (*UpdateOptions) Run

func (o *UpdateOptions) Run() error

Run implements this command

type UpgradeOptions

type UpgradeOptions struct {
	CommonOptions
}

UpgradeOptions are the flags for delete commands

func (*UpgradeOptions) Run

func (o *UpgradeOptions) Run() error

Run implements this command

type UpgradeZitiControllerOptions

type UpgradeZitiControllerOptions struct {
	CreateOptions

	Version string
}

UpgradeZitiControllerOptions the options for the upgrade ziti-controller command

func (*UpgradeZitiControllerOptions) Run

Run implements the command

type UpgradeZitiEdgeTunnelOptions added in v0.16.3

type UpgradeZitiEdgeTunnelOptions struct {
	CreateOptions

	Version string
}

UpgradeZitiEdgeTunnelOptions the options for the upgrade ziti-edge-tunnel command

func (*UpgradeZitiEdgeTunnelOptions) Run added in v0.16.3

Run implements the command

type UpgradeZitiEnrollerOptions

type UpgradeZitiEnrollerOptions struct {
	CreateOptions

	Version string
}

UpgradeZitiEnrollerOptions the options for the upgrade ziti-enroller command

func (*UpgradeZitiEnrollerOptions) Run

Run implements the command

type UpgradeZitiFabricOptions

type UpgradeZitiFabricOptions struct {
	CreateOptions

	Version string
}

UpgradeZitiFabricOptions the options for the upgrade ziti-fabric command

func (*UpgradeZitiFabricOptions) Run

Run implements the command

type UpgradeZitiFabricTestOptions

type UpgradeZitiFabricTestOptions struct {
	CreateOptions

	Version string
}

UpgradeZitiFabricTestOptions the options for the upgrade ziti-fabric-test command

func (*UpgradeZitiFabricTestOptions) Run

Run implements the command

type UpgradeZitiMgmtGwOptions

type UpgradeZitiMgmtGwOptions struct {
	CreateOptions

	Version string
}

UpgradeZitiMgmtGwOptions the options for the upgrade ziti-fabric-gw command

func (*UpgradeZitiMgmtGwOptions) Run

Run implements the command

type UpgradeZitiOptions

type UpgradeZitiOptions struct {
	CreateOptions

	Version string
}

UpgradeZitiOptions the options for the create spring command

func (*UpgradeZitiOptions) Run

func (o *UpgradeZitiOptions) Run() error

Run implements the command

type UpgradeZitiProxCOptions

type UpgradeZitiProxCOptions struct {
	CreateOptions

	Version string
}

UpgradeZitiProxCOptions the options for the upgrade ziti-prox-c command

func (*UpgradeZitiProxCOptions) Run

func (o *UpgradeZitiProxCOptions) Run() error

Run implements the command

type UpgradeZitiRouterOptions

type UpgradeZitiRouterOptions struct {
	CreateOptions

	Version string
}

UpgradeZitiRouterOptions the options for the upgrade ziti-router command

func (*UpgradeZitiRouterOptions) Run

Run implements the command

type UpgradeZitiTunnelOptions

type UpgradeZitiTunnelOptions struct {
	CreateOptions

	Version string
}

UpgradeZitiTunnelOptions the options for the upgrade ziti-tunnel command

func (*UpgradeZitiTunnelOptions) Run

Run implements the command

type UseOptions

type UseOptions struct {
	InstallOptions

	Version string
	Branch  string
}

UseOptions are the flags for delete commands

func (*UseOptions) Run

func (o *UseOptions) Run() error

Run implements the command

type VersionOptions

type VersionOptions struct {
	CommonOptions

	Container      string
	NoVersionCheck bool
}

func (*VersionOptions) Run

func (o *VersionOptions) Run() error

Run ...

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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