Documentation ¶
Index ¶
- func NewCmdCreate(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateConfig() *cobra.Command
- func NewCmdCreateConfigEnvironment() *cobra.Command
- func NewCmdCreateConfigRouterEdge(routerOptions *CreateConfigRouterOptions, data *ConfigTemplateValues) *cobra.Command
- func NewCmdCreateConfigRouterFabric(routerOptions *CreateConfigRouterOptions, data *ConfigTemplateValues) *cobra.Command
- func SetControllerIdentity(data *ControllerTemplateValues)
- func SetControllerIdentityCA(c *ControllerTemplateValues)
- func SetControllerIdentityCert(c *ControllerTemplateValues)
- func SetControllerIdentityKey(c *ControllerTemplateValues)
- func SetControllerIdentityServerCert(c *ControllerTemplateValues)
- func SetCtrlAltServerCerts(c *ControllerTemplateValues)
- func SetEdgeConfig(data *ControllerTemplateValues)
- func SetEdgeSigningCert(c *ControllerTemplateValues)
- func SetEdgeSigningKey(c *ControllerTemplateValues)
- func SetRouterAltServerCerts(c *RouterTemplateValues)
- func SetWebConfig(data *ControllerTemplateValues)
- func SetWebIdentityCA(c *ControllerTemplateValues)
- func SetWebIdentityCert(c *ControllerTemplateValues)
- func SetWebIdentityKey(c *ControllerTemplateValues)
- func SetWebIdentityServerCert(c *ControllerTemplateValues)
- func SetZitiRouterIdentity(r *RouterTemplateValues, routerName string)
- func SetZitiRouterIdentityCA(r *RouterTemplateValues, routerName string)
- func SetZitiRouterIdentityCert(r *RouterTemplateValues, routerName string)
- func SetZitiRouterIdentityKey(r *RouterTemplateValues, routerName string)
- func SetZitiRouterIdentityServerCert(r *RouterTemplateValues, routerName string)
- type BindPointsValues
- type ConfigTemplateValues
- type ControllerTemplateValues
- type CreateConfigControllerOptions
- type CreateConfigEnvironmentOptions
- type CreateConfigOptions
- type CreateConfigRouterOptions
- type CreateControllerConfigCmd
- type CtrlValues
- type DatabaseValues
- type EdgeApiValues
- type EdgeEnrollmentValues
- type EdgeRouterTemplateValues
- type EnvVar
- type EnvVariableTemplateData
- type HealthChecksValues
- type IdentityValues
- type NewCreateConfigRouterCmd
- type RouterForwarderTemplateValues
- type RouterListenerTemplateValues
- type RouterTemplateValues
- type WSSRouterTemplateValues
- type WebOptionsValues
- type WebValues
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreate ¶
NewCmdCreate creates a command object for the "create" command
func NewCmdCreateConfig ¶
NewCmdCreateConfig creates a command object for the "config" command
func NewCmdCreateConfigEnvironment ¶
NewCmdCreateConfigEnvironment creates a command object for the "environment" command
func NewCmdCreateConfigRouterEdge ¶
func NewCmdCreateConfigRouterEdge(routerOptions *CreateConfigRouterOptions, data *ConfigTemplateValues) *cobra.Command
NewCmdCreateConfigRouterEdge creates a command object for the "edge" command
func NewCmdCreateConfigRouterFabric ¶
func NewCmdCreateConfigRouterFabric(routerOptions *CreateConfigRouterOptions, data *ConfigTemplateValues) *cobra.Command
NewCmdCreateConfigRouterFabric creates a command object for the "fabric" command
func SetControllerIdentity ¶
func SetControllerIdentity(data *ControllerTemplateValues)
func SetControllerIdentityCA ¶
func SetControllerIdentityCA(c *ControllerTemplateValues)
func SetControllerIdentityCert ¶
func SetControllerIdentityCert(c *ControllerTemplateValues)
func SetControllerIdentityKey ¶
func SetControllerIdentityKey(c *ControllerTemplateValues)
func SetControllerIdentityServerCert ¶
func SetControllerIdentityServerCert(c *ControllerTemplateValues)
func SetCtrlAltServerCerts ¶
func SetCtrlAltServerCerts(c *ControllerTemplateValues)
func SetEdgeConfig ¶
func SetEdgeConfig(data *ControllerTemplateValues)
func SetEdgeSigningCert ¶
func SetEdgeSigningCert(c *ControllerTemplateValues)
func SetEdgeSigningKey ¶
func SetEdgeSigningKey(c *ControllerTemplateValues)
func SetRouterAltServerCerts ¶
func SetRouterAltServerCerts(c *RouterTemplateValues)
func SetWebConfig ¶
func SetWebConfig(data *ControllerTemplateValues)
func SetWebIdentityCA ¶
func SetWebIdentityCA(c *ControllerTemplateValues)
func SetWebIdentityCert ¶
func SetWebIdentityCert(c *ControllerTemplateValues)
func SetWebIdentityKey ¶
func SetWebIdentityKey(c *ControllerTemplateValues)
func SetWebIdentityServerCert ¶
func SetWebIdentityServerCert(c *ControllerTemplateValues)
func SetZitiRouterIdentity ¶
func SetZitiRouterIdentity(r *RouterTemplateValues, routerName string)
func SetZitiRouterIdentityCA ¶
func SetZitiRouterIdentityCA(r *RouterTemplateValues, routerName string)
func SetZitiRouterIdentityCert ¶
func SetZitiRouterIdentityCert(r *RouterTemplateValues, routerName string)
func SetZitiRouterIdentityKey ¶
func SetZitiRouterIdentityKey(r *RouterTemplateValues, routerName string)
func SetZitiRouterIdentityServerCert ¶
func SetZitiRouterIdentityServerCert(r *RouterTemplateValues, routerName string)
Types ¶
type BindPointsValues ¶
type ConfigTemplateValues ¶
type ConfigTemplateValues struct { ZitiHome string HostnameOrNetworkName string Controller ControllerTemplateValues Router RouterTemplateValues }
func (*ConfigTemplateValues) PopulateConfigValues ¶
func (data *ConfigTemplateValues) PopulateConfigValues()
type ControllerTemplateValues ¶
type ControllerTemplateValues struct { Identity IdentityValues Database DatabaseValues Ctrl CtrlValues HealthChecks HealthChecksValues EdgeApi EdgeApiValues EdgeEnrollment EdgeEnrollmentValues Web WebValues }
type CreateConfigControllerOptions ¶
type CreateConfigControllerOptions struct { CreateConfigOptions CtrlPort string EdgeIdentityEnrollmentDuration time.Duration EdgeRouterEnrollmentDuration time.Duration MinCluster int }
CreateConfigControllerOptions the options for the create spring command
type CreateConfigEnvironmentOptions ¶
type CreateConfigEnvironmentOptions struct { CreateConfigOptions EnvVariableTemplateData DisableOSVarDeclare bool }
CreateConfigEnvironmentOptions the options for the create environment command
type CreateConfigOptions ¶
type CreateConfigOptions struct { common.CommonOptions Output string DatabaseFile string }
CreateConfigOptions the options for the create config command
type CreateConfigRouterOptions ¶
type CreateConfigRouterOptions struct { CreateConfigOptions RouterName string WssEnabled bool IsPrivate bool TunnelerMode string LanInterface string }
CreateConfigRouterOptions the options for the router command
type CreateControllerConfigCmd ¶
type CreateControllerConfigCmd struct { *cobra.Command ConfigData *ConfigTemplateValues }
func NewCmdCreateConfigController ¶
func NewCmdCreateConfigController() *CreateControllerConfigCmd
NewCmdCreateConfigController creates a command object for the "create" command
type CtrlValues ¶
type CtrlValues struct { MinQueuedConnects int MaxQueuedConnects int DefaultQueuedConnects int MinOutstandingConnects int MaxOutstandingConnects int DefaultOutstandingConnects int MinConnectTimeout time.Duration MaxConnectTimeout time.Duration DefaultConnectTimeout time.Duration AdvertisedAddress string AdvertisedPort string BindAddress string AltAdvertisedAddress string MinClusterSize int }
type DatabaseValues ¶ added in v1.1.0
type DatabaseValues struct {
DatabaseFile string
}
type EdgeApiValues ¶
type EdgeEnrollmentValues ¶
type EnvVariableTemplateData ¶
type HealthChecksValues ¶
type IdentityValues ¶
type NewCreateConfigRouterCmd ¶
type NewCreateConfigRouterCmd struct { *cobra.Command RenderedValues *ConfigTemplateValues }
func NewCmdCreateConfigRouter ¶
func NewCmdCreateConfigRouter(routerOptions *CreateConfigRouterOptions) *NewCreateConfigRouterCmd
NewCmdCreateConfigRouter creates a command object for the "router" command
type RouterTemplateValues ¶
type RouterTemplateValues struct { Name string IsPrivate bool IsFabric bool IsWss bool TunnelerMode string IdentityCert string IdentityServerCert string IdentityKey string IdentityCA string AltServerCert string AltServerKey string AltCertsEnabled bool Edge EdgeRouterTemplateValues Wss WSSRouterTemplateValues Forwarder RouterForwarderTemplateValues Listener RouterListenerTemplateValues }
type WSSRouterTemplateValues ¶
type WebOptionsValues ¶
type WebValues ¶
type WebValues struct { BindPoints BindPointsValues Identity IdentityValues Options WebOptionsValues }