Documentation ¶
Index ¶
- Variables
- func Execute()
- func NewCmdAdhoc(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdArt(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateConfig(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateConfigController(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateConfigGw(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateConfigMgmt(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateConfigRouter(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateEnvironment(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateStateStore(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDelete(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteStateStore(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdExecute(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdExecuteController(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInit(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstall(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstallAnsible(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstallTerraformProviderEdgeController(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstallZitiALL(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstallZitiController(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstallZitiEdgeTunnel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstallZitiEnroller(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstallZitiFabric(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstallZitiFabricTest(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstallZitiMgmtGw(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstallZitiProxC(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstallZitiRouter(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdInstallZitiTunnel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdLogFormat(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPKI(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPKICreate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPKICreateCA(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPKICreateCSR(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPKICreateClient(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPKICreateIntermediate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPKICreateKey(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPKICreateServer(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPing(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPlaybook(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPs(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsDumpRoutes(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsGc(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsGet(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsGoversion(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsMemstats(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsPprofCpu(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsPprofHeap(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsRoute(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsRouterDisconnect(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsRouterReconnect(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsSetLogLevel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsSetgc(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsStack(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsStats(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdPsTrace(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdRoot(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command
- func NewCmdUnInstall(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUnInstallZitiController(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUnInstallZitiEdgeTunnel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUnInstallZitiEnroller(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUnInstallZitiFabric(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUnInstallZitiFabricTest(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUnInstallZitiMgmtGw(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUnInstallZitiProxC(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUnInstallZitiRouter(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUnInstallZitiTunnel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpdate(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgrade(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeZiti(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeZitiController(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeZitiEdgeTunnel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeZitiEnroller(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeZitiFabric(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeZitiFabricTest(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeZitiMgmtGw(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeZitiProxC(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeZitiRouter(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpgradeZitiTunnel(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUse(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdVersion(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.Command
- type AdhocOptions
- type ArtOptions
- type CommonOptions
- type CreateConfigControllerOptions
- type CreateConfigGwOptions
- type CreateConfigMgmtOptions
- type CreateConfigOptions
- type CreateConfigRouterOptions
- type CreateEnvironmentOptions
- type CreateOptions
- type CreateStateStoreOptions
- type DeleteOptions
- type DeleteStateStoreOptions
- type ExecuteControllerOptions
- type ExecuteFlags
- type ExecuteOptions
- type InitFlags
- type InitOptions
- type InstallAnsibleOptions
- type InstallOptions
- type InstallTerraformProviderEdgeControllerOptions
- type InstallZitiALLOptions
- type InstallZitiControllerOptions
- type InstallZitiEdgeTunnelOptions
- type InstallZitiEnrollerOptions
- type InstallZitiFabricOptions
- type InstallZitiFabricTestOptions
- type InstallZitiMgmtGwOptions
- type InstallZitiProxCOptions
- type InstallZitiRouterOptions
- type InstallZitiTunnelOptions
- type LogFormatOptions
- type MainOptions
- type PKICreateCAOptions
- type PKICreateCSROptions
- type PKICreateClientOptions
- type PKICreateIntermediateOptions
- type PKICreateKeyOptions
- type PKICreateOptions
- func (o *PKICreateOptions) ObtainCAFile() (string, error)
- func (o *PKICreateOptions) ObtainCAName(pkiroot string) (string, error)
- func (o *PKICreateOptions) ObtainCSRFile() (string, error)
- func (o *PKICreateOptions) ObtainClientCertFile() (string, error)
- func (o *PKICreateOptions) ObtainCommonName() (string, error)
- func (o *PKICreateOptions) ObtainFileName(cafile string, commonName string) string
- func (o *PKICreateOptions) ObtainIPsAndDNSNames() ([]net.IP, []string, error)
- func (o *PKICreateOptions) ObtainIntermediateCAFile() (string, error)
- func (o *PKICreateOptions) ObtainIntermediateCSRFile() (string, error)
- func (o *PKICreateOptions) ObtainKeyFile(required bool) (string, error)
- func (o *PKICreateOptions) ObtainKeyName(pkiroot string) (string, error)
- func (o *PKICreateOptions) ObtainPKICSRRequestTemplate(commonName string) *x509.CertificateRequest
- func (o *PKICreateOptions) ObtainPKIRequestTemplate(commonName string) *x509.Certificate
- func (o *PKICreateOptions) ObtainPKIRoot() (string, error)
- func (o *PKICreateOptions) ObtainServerCertFile() (string, error)
- func (o *PKICreateOptions) Run() error
- type PKICreateServerOptions
- type PKIFlags
- type PKIOptions
- type PingOptions
- type PlaybookOptions
- type PsDumpRoutesOptions
- type PsFlags
- type PsGcOptions
- type PsGetOptions
- type PsGoversionOptions
- type PsMemstatsOptions
- type PsOptions
- type PsPprofCpuOptions
- type PsPprofHeapOptions
- type PsRouteOptions
- type PsRouterDisconnectOptions
- type PsRouterReconnectOptions
- type PsSetLogLevelOptions
- type PsSetgcOptions
- type PsStackOptions
- type PsStatsOptions
- type PsTraceOptions
- type RootCmd
- type ServerFlags
- type UnInstallOptions
- type UnInstallZitiControllerOptions
- type UnInstallZitiEdgeTunnelOptions
- type UnInstallZitiEnrollerOptions
- type UnInstallZitiFabricOptions
- type UnInstallZitiFabricTestOptions
- type UnInstallZitiMgmtGwOptions
- type UnInstallZitiProxCOptions
- type UnInstallZitiRouterOptions
- type UnInstallZitiTunnelOptions
- type UpdateOptions
- type UpgradeOptions
- type UpgradeZitiControllerOptions
- type UpgradeZitiEdgeTunnelOptions
- type UpgradeZitiEnrollerOptions
- type UpgradeZitiFabricOptions
- type UpgradeZitiFabricTestOptions
- type UpgradeZitiMgmtGwOptions
- type UpgradeZitiOptions
- type UpgradeZitiProxCOptions
- type UpgradeZitiRouterOptions
- type UpgradeZitiTunnelOptions
- type UseOptions
- type VersionOptions
Constants ¶
This section is empty.
Variables ¶
var ZITI_COMPONENTS = []string{ c.ZITI, c.ZITI_CONTROLLER, c.ZITI_ENROLLER, c.ZITI_FABRIC, c.ZITI_FABRIC_GW, c.ZITI_FABRIC_TEST, c.ZITI_PROX_C, c.ZITI_ROUTER, c.ZITI_TUNNEL, c.ZITI_EDGE_TUNNEL, }
Functions ¶
func NewCmdAdhoc ¶
NewCmdAdhoc creates the command
func NewCmdCreate ¶
NewCmdCreate creates a command object for the "create" command
func NewCmdCreateConfig ¶
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 ¶
NewCmdCreateConfigGw creates a command object for the "create" command
func NewCmdCreateConfigMgmt ¶
NewCmdCreateConfigMgmt creates a command object for the "create" command
func NewCmdCreateConfigRouter ¶
NewCmdCreateConfigRouter creates a command object for the "create" command
func NewCmdCreateEnvironment ¶
NewCmdCreateEnvironment creates a command object for the "create" command
func NewCmdCreateStateStore ¶
NewCmdCreateStateStore creates a command object for the "create" command
func NewCmdDelete ¶
NewCmdDelete creates a command object for the generic "delete" action
func NewCmdDeleteStateStore ¶
NewCmdDeleteStateStore creates a command object for the "delete" command
func NewCmdExecute ¶
NewCmdExecute Executes a command object for the "Execute" command
func NewCmdExecuteController ¶
NewCmdExecuteController creates a command object for the "create" command
func NewCmdInit ¶
NewCmdInit creates a command object for the generic "init" action
func NewCmdInstall ¶
NewCmdInstall creates the command
func NewCmdInstallAnsible ¶
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 ¶
NewCmdInstallZitiALL defines the command
func NewCmdInstallZitiController ¶
NewCmdInstallZitiController defines the command
func NewCmdInstallZitiEdgeTunnel ¶ added in v0.16.3
NewCmdInstallZitiEdgeTunnel defines the command
func NewCmdInstallZitiEnroller ¶
NewCmdInstallZitiEnroller defines the command
func NewCmdInstallZitiFabric ¶
NewCmdInstallZitiFabric defines the command
func NewCmdInstallZitiFabricTest ¶
NewCmdInstallZitiFabricTest defines the command
func NewCmdInstallZitiMgmtGw ¶
NewCmdInstallZitiMgmtGw defines the command
func NewCmdInstallZitiProxC ¶
NewCmdInstallZitiProxC defines the command
func NewCmdInstallZitiRouter ¶
NewCmdInstallZitiRouter defines the command
func NewCmdInstallZitiTunnel ¶
NewCmdInstallZitiTunnel defines the command
func NewCmdLogFormat ¶ added in v0.17.8
NewCmdLogFormat a command object for the "log-format" command
func NewCmdPKICreate ¶
NewCmdPKICreate creates a command object for the "create" command
func NewCmdPKICreateCA ¶
NewCmdPKICreateCA creates a command object for the "create" command
func NewCmdPKICreateCSR ¶
NewCmdPKICreateCSR creates a command object for the "create" command
func NewCmdPKICreateClient ¶
NewCmdPKICreateClient creates a command object for the "create" command
func NewCmdPKICreateIntermediate ¶
NewCmdPKICreateIntermediate creates a command object for the "create" command
func NewCmdPKICreateKey ¶
NewCmdPKICreateKey creates a command object for the "create" command
func NewCmdPKICreateServer ¶
NewCmdPKICreateServer creates a command object for the "create" command
func NewCmdPing ¶
NewCmdPing creates the command
func NewCmdPlaybook ¶
func NewCmdPsDumpRoutes ¶ added in v0.18.10
NewCmdPsDumpRoutes creates a command object for the "dump-routes" command
func NewCmdPsGc ¶
NewCmdPsGc creates a command object for the "create" command
func NewCmdPsGet ¶
NewCmdPsGet creates a command object for the "create" command
func NewCmdPsGoversion ¶
NewCmdPsGoversion creates a command object for the "create" command
func NewCmdPsMemstats ¶
NewCmdPsMemstats creates a command object for the "create" command
func NewCmdPsPprofCpu ¶
NewCmdPsPprofCpu creates a command object for the "create" command
func NewCmdPsPprofHeap ¶
NewCmdPsPprofHeap creates a command object for the "create" command
func NewCmdPsRoute ¶ added in v0.18.10
NewCmdPsRoute creates a command object for the "create" command
func NewCmdPsRouterDisconnect ¶ added in v0.19.0
NewCmdPsRouterDisconnect creates a command object for the "router-disconnect" command
func NewCmdPsRouterReconnect ¶ added in v0.19.0
NewCmdPsRouterReconnect creates a command object for the "router-disconnect" command
func NewCmdPsSetLogLevel ¶ added in v0.18.4
NewCmdPsLogLevel creates a command object for the "create" command
func NewCmdPsSetgc ¶
NewCmdPsSetgc creates a command object for the "create" command
func NewCmdPsStack ¶
NewCmdPsStack creates a command object for the "create" command
func NewCmdPsStats ¶
NewCmdPsStats creates a command object for the "create" command
func NewCmdPsTrace ¶
NewCmdPsTrace creates a command object for the "create" command
func NewCmdRoot ¶
func NewCmdUnInstall ¶
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 ¶
NewCmdUnInstallZitiEnroller defines the command
func NewCmdUnInstallZitiFabric ¶
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 ¶
NewCmdUnInstallZitiMgmtGw defines the command
func NewCmdUnInstallZitiProxC ¶
NewCmdUnInstallZitiProxC defines the command
func NewCmdUnInstallZitiRouter ¶
NewCmdUnInstallZitiRouter defines the command
func NewCmdUnInstallZitiTunnel ¶
NewCmdUnInstallZitiTunnel defines the command
func NewCmdUpdate ¶
NewCmdUpdate creates a command object for the "update" command
func NewCmdUpgrade ¶
NewCmdUpgrade creates the command
func NewCmdUpgradeZiti ¶
NewCmdUpgradeZiti defines the command
func NewCmdUpgradeZitiController ¶
NewCmdUpgradeZitiController defines the command
func NewCmdUpgradeZitiEdgeTunnel ¶ added in v0.16.3
NewCmdUpgradeZitiEdgeTunnel defines the command
func NewCmdUpgradeZitiEnroller ¶
NewCmdUpgradeZitiEnroller defines the command
func NewCmdUpgradeZitiFabric ¶
NewCmdUpgradeZitiFabric defines the command
func NewCmdUpgradeZitiFabricTest ¶
NewCmdUpgradeZitiFabricTest defines the command
func NewCmdUpgradeZitiMgmtGw ¶
NewCmdUpgradeZitiMgmtGw defines the command
func NewCmdUpgradeZitiProxC ¶
NewCmdUpgradeZitiProxC defines the command
func NewCmdUpgradeZitiRouter ¶
NewCmdUpgradeZitiRouter defines the command
func NewCmdUpgradeZitiTunnel ¶
NewCmdUpgradeZitiTunnel defines the command
Types ¶
type AdhocOptions ¶
type AdhocOptions struct {
CommonOptions
}
AdhocOptions are the flags for delete commands
type ArtOptions ¶
type ArtOptions struct {
CommonOptions
}
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 ¶
func (o *CreateConfigControllerOptions) Run() error
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 ¶
func (o *CreateConfigRouterOptions) Run() error
Run implements the command
type CreateEnvironmentOptions ¶
type CreateEnvironmentOptions struct { CreateOptions EnvName string }
CreateEnvironmentOptions the options for the create spring command
func (*CreateEnvironmentOptions) Run ¶
func (o *CreateEnvironmentOptions) Run() error
Run implements this command
type CreateOptions ¶
type CreateOptions struct { CommonOptions DisableImport bool OutDir string }
CreateOptions contains the command line options
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
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 ¶
func (o *ExecuteControllerOptions) Run() error
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
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
type InstallTerraformProviderEdgeControllerOptions ¶
type InstallTerraformProviderEdgeControllerOptions struct { InstallOptions Version string Branch string }
InstallTerraformProviderEdgeControllerOptions the options for the upgrade ziti-tunnel command
func (*InstallTerraformProviderEdgeControllerOptions) Run ¶
func (o *InstallTerraformProviderEdgeControllerOptions) Run() error
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 ¶
func (o *InstallZitiControllerOptions) Run() error
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
func (o *InstallZitiEdgeTunnelOptions) Run() error
Run implements the command
type InstallZitiEnrollerOptions ¶
type InstallZitiEnrollerOptions struct { InstallOptions Version string }
InstallZitiEnrollerOptions the options for the upgrade ziti-enroller command
func (*InstallZitiEnrollerOptions) Run ¶
func (o *InstallZitiEnrollerOptions) Run() error
Run implements the command
type InstallZitiFabricOptions ¶
type InstallZitiFabricOptions struct { InstallOptions Version string }
InstallZitiFabricOptions the options for the upgrade ziti-fabric command
func (*InstallZitiFabricOptions) Run ¶
func (o *InstallZitiFabricOptions) Run() error
Run implements the command
type InstallZitiFabricTestOptions ¶
type InstallZitiFabricTestOptions struct { InstallOptions Version string }
InstallZitiFabricTestOptions the options for the upgrade ziti-channel command
func (*InstallZitiFabricTestOptions) Run ¶
func (o *InstallZitiFabricTestOptions) Run() error
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 ¶
func (o *InstallZitiMgmtGwOptions) Run() error
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 ¶
func (o *InstallZitiRouterOptions) Run() error
Run implements the command
type InstallZitiTunnelOptions ¶
type InstallZitiTunnelOptions struct { InstallOptions Version string }
InstallZitiTunnelOptions the options for the upgrade ziti-tunnel command
func (*InstallZitiTunnelOptions) Run ¶
func (o *InstallZitiTunnelOptions) Run() error
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 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 ¶
func (o *PKICreateIntermediateOptions) Run() error
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
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
type PingOptions ¶
type PingOptions struct {
CommonOptions
}
PingOptions are the flags for delete commands
type PlaybookOptions ¶
type PlaybookOptions struct {
CommonOptions
}
type PsDumpRoutesOptions ¶ added in v0.18.10
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 PsGcOptions ¶
PsGcOptions the options for the create spring command
type PsGetOptions ¶
PsGetOptions the options for the create spring command
type PsGoversionOptions ¶
PsGoversionOptions the options for the create spring command
func (*PsGoversionOptions) Run ¶
func (o *PsGoversionOptions) Run() error
Run implements the command
type PsMemstatsOptions ¶
PsMemstatsOptions the options for the create spring command
type PsOptions ¶
type PsOptions struct { CommonOptions Flags PsFlags }
PsOptions contains the command line options
type PsPprofCpuOptions ¶
PsPprofCpuOptions the options for the create spring 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
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
PsRouteOptions the options for the create spring command
func (*PsRouterDisconnectOptions) Run ¶ added in v0.19.0
func (o *PsRouterDisconnectOptions) Run() error
Run implements the command
type PsRouterReconnectOptions ¶ added in v0.19.0
PsRouteOptions the options for the create spring command
func (*PsRouterReconnectOptions) Run ¶ added in v0.19.0
func (o *PsRouterReconnectOptions) Run() error
Run implements the command
type PsSetLogLevelOptions ¶ added in v0.18.4
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 ¶
PsSetgcOptions the options for the create spring command
type PsStackOptions ¶
PsStackOptions the options for the create spring command
type PsStatsOptions ¶
PsStatsOptions the options for the create spring command
type PsTraceOptions ¶
type PsTraceOptions struct {
PsOptions
}
PsTraceOptions the options for the create spring command
type RootCmd ¶
type RootCmd struct { RegistryPath string // contains filtered or unexported fields }
type ServerFlags ¶
func (*ServerFlags) IsEmpty ¶
func (f *ServerFlags) IsEmpty() bool
type UnInstallOptions ¶
type UnInstallOptions struct {
CommonOptions
}
UnInstallOptions are the flags for delete commands
type UnInstallZitiControllerOptions ¶
type UnInstallZitiControllerOptions struct { UnInstallOptions Version string }
UnInstallZitiControllerOptions the options for the upgrade ziti-controller command
func (*UnInstallZitiControllerOptions) Run ¶
func (o *UnInstallZitiControllerOptions) Run() error
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
func (o *UnInstallZitiEdgeTunnelOptions) Run() error
Run implements the command
type UnInstallZitiEnrollerOptions ¶
type UnInstallZitiEnrollerOptions struct { UnInstallOptions Version string }
UnInstallZitiEnrollerOptions the options for the upgrade ziti-enroller command
func (*UnInstallZitiEnrollerOptions) Run ¶
func (o *UnInstallZitiEnrollerOptions) Run() error
Run implements the command
type UnInstallZitiFabricOptions ¶
type UnInstallZitiFabricOptions struct { UnInstallOptions Version string }
UnInstallZitiFabricOptions the options for the upgrade ziti-fabric command
func (*UnInstallZitiFabricOptions) Run ¶
func (o *UnInstallZitiFabricOptions) Run() error
Run implements the command
type UnInstallZitiFabricTestOptions ¶
type UnInstallZitiFabricTestOptions struct { UnInstallOptions Version string }
UnInstallZitiFabricTestOptions the options for the upgrade ziti-channel command
func (*UnInstallZitiFabricTestOptions) Run ¶
func (o *UnInstallZitiFabricTestOptions) Run() error
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 ¶
func (o *UnInstallZitiMgmtGwOptions) Run() error
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 ¶
func (o *UnInstallZitiProxCOptions) Run() error
Run implements the command
type UnInstallZitiRouterOptions ¶
type UnInstallZitiRouterOptions struct { UnInstallOptions Version string }
UnInstallZitiRouterOptions the options for the upgrade ziti-router command
func (*UnInstallZitiRouterOptions) Run ¶
func (o *UnInstallZitiRouterOptions) Run() error
Run implements the command
type UnInstallZitiTunnelOptions ¶
type UnInstallZitiTunnelOptions struct { UnInstallOptions Version string }
UnInstallZitiTunnelOptions the options for the upgrade ziti-tunnel command
func (*UnInstallZitiTunnelOptions) Run ¶
func (o *UnInstallZitiTunnelOptions) Run() error
Run implements the command
type UpdateOptions ¶
type UpdateOptions struct { CommonOptions DisableImport bool OutDir string }
Update contains the command line options
type UpgradeOptions ¶
type UpgradeOptions struct {
CommonOptions
}
UpgradeOptions are the flags for delete commands
type UpgradeZitiControllerOptions ¶
type UpgradeZitiControllerOptions struct { CreateOptions Version string }
UpgradeZitiControllerOptions the options for the upgrade ziti-controller command
func (*UpgradeZitiControllerOptions) Run ¶
func (o *UpgradeZitiControllerOptions) Run() error
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
func (o *UpgradeZitiEdgeTunnelOptions) Run() error
Run implements the command
type UpgradeZitiEnrollerOptions ¶
type UpgradeZitiEnrollerOptions struct { CreateOptions Version string }
UpgradeZitiEnrollerOptions the options for the upgrade ziti-enroller command
func (*UpgradeZitiEnrollerOptions) Run ¶
func (o *UpgradeZitiEnrollerOptions) Run() error
Run implements the command
type UpgradeZitiFabricOptions ¶
type UpgradeZitiFabricOptions struct { CreateOptions Version string }
UpgradeZitiFabricOptions the options for the upgrade ziti-fabric command
func (*UpgradeZitiFabricOptions) Run ¶
func (o *UpgradeZitiFabricOptions) Run() error
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 ¶
func (o *UpgradeZitiFabricTestOptions) Run() error
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 ¶
func (o *UpgradeZitiMgmtGwOptions) Run() error
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 ¶
func (o *UpgradeZitiRouterOptions) Run() error
Run implements the command
type UpgradeZitiTunnelOptions ¶
type UpgradeZitiTunnelOptions struct { CreateOptions Version string }
UpgradeZitiTunnelOptions the options for the upgrade ziti-tunnel command
func (*UpgradeZitiTunnelOptions) Run ¶
func (o *UpgradeZitiTunnelOptions) Run() error
Run implements the command
type UseOptions ¶
type UseOptions struct { InstallOptions Version string Branch string }
UseOptions are the flags for delete commands
type VersionOptions ¶
type VersionOptions struct { CommonOptions Container string NoVersionCheck bool }
Source Files ¶
- adhoc.go
- art.go
- cmd.go
- common.go
- common_commands.go
- common_init.go
- common_install.go
- create.go
- create_config.go
- create_config_controller.go
- create_config_gw.go
- create_config_mgmt.go
- create_config_router.go
- create_environment.go
- create_statestore.go
- delete.go
- delete_statestore.go
- execute.go
- execute_controller.go
- init.go
- install.go
- install_ansible.go
- install_terraform_provider_edge_controller.go
- install_ziti_ALL.go
- install_ziti_controller.go
- install_ziti_edge_tunnel.go
- install_ziti_enroller.go
- install_ziti_fabric.go
- install_ziti_fabrictest.go
- install_ziti_mgmt_gw.go
- install_ziti_prox_c.go
- install_ziti_router.go
- install_ziti_tunnel.go
- log_filter.go
- ping.go
- pki.go
- pki_create.go
- pki_create_ca.go
- pki_create_client.go
- pki_create_csr.go
- pki_create_intermediate.go
- pki_create_key.go
- pki_create_server.go
- playbook.go
- ps.go
- ps_gc.go
- ps_get.go
- ps_goversion.go
- ps_memstats.go
- ps_pprof_cpu.go
- ps_pprof_heap.go
- ps_route.go
- ps_route_dump.go
- ps_router_disconnect.go
- ps_router_reconnect.go
- ps_set_log_level.go
- ps_setgc.go
- ps_stack.go
- ps_stats.go
- ps_trace.go
- pscmd.go
- uninstall.go
- uninstall_ziti_controller.go
- uninstall_ziti_edge_tunnel.go
- uninstall_ziti_enroller.go
- uninstall_ziti_fabric.go
- uninstall_ziti_fabrictest.go
- uninstall_ziti_mgmt_gw.go
- uninstall_ziti_proxy_c.go
- uninstall_ziti_router.go
- uninstall_ziti_tunnel.go
- update.go
- upgrade.go
- upgrade_ziti.go
- upgrade_ziti_controller.go
- upgrade_ziti_edge_tunnel.go
- upgrade_ziti_enroller.go
- upgrade_ziti_fabric.go
- upgrade_ziti_fabrictest.go
- upgrade_ziti_mgmt_gw.go
- upgrade_ziti_prox_c.go
- upgrade_ziti_router.go
- upgrade_ziti_tunnel.go
- use.go
- version.go