Documentation ¶
Index ¶
- Constants
- Variables
- func AddLoginFlags(cmd *cobra.Command, options *LoginOptions)
- func CreateEntityOfType(entityType string, body string, options *api.Options) (*gabs.Container, error)
- func DetailEntityOfType(entityType, entityId string, logJSON bool, out io.Writer, timeout int, ...) (*gabs.Container, error)
- func ListEntitiesOfType(entityType string, params url.Values, logJSON bool, out io.Writer, timeout int, ...) ([]*gabs.Container, *api.Paging, error)
- func ListEntitiesWithFilter(entityType string, filter string) ([]*gabs.Container, *api.Paging, error)
- func NewCmdEdge(out io.Writer, errOut io.Writer, p common.OptionsProvider) *cobra.Command
- func NewCreateEdgeRouterCmd(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCreateEdgeRouterPolicyCmd(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCreateServiceEdgeRouterPolicyCmd(out io.Writer, errOut io.Writer) *cobra.Command
- func NewLoginCmd(out io.Writer, errOut io.Writer) *cobra.Command
- func NewQuickStartCmd(out io.Writer, errOut io.Writer, context context.Context) *cobra.Command
- func NewQuickStartHaCmd(out io.Writer, errOut io.Writer, context context.Context) *cobra.Command
- func NewQuickStartJoinClusterCmd(out io.Writer, errOut io.Writer, context context.Context) *cobra.Command
- func NewValidateServiceHostingCmd(p common.OptionsProvider) *cobra.Command
- func Ptr[T any](sub T) *T
- func WrapHardEllipses(str string, wrapLen int) string
- type LoginOptions
- type QuickstartOpts
Constants ¶
View Source
const ( OsAndroid = "Android" OsWindows = "Windows" OsWindowsServer = "WindowsServer" OsMacOs = "macOS" OsIOS = "iOS" OsLinux = "Linux" PostureCheckTypeDomain = "DOMAIN" PostureCheckTypeProcess = "PROCESS" PostureCheckTypeMAC = "MAC" PostureCheckTypeOS = "OS" PostureCheckTypeMFA = "MFA" )
Variables ¶
View Source
var ExtraEdgeCommands []func(p common.OptionsProvider) *cobra.Command
Functions ¶
func AddLoginFlags ¶ added in v1.2.0
func AddLoginFlags(cmd *cobra.Command, options *LoginOptions)
func CreateEntityOfType ¶
func CreateEntityOfType(entityType string, body string, options *api.Options) (*gabs.Container, error)
CreateEntityOfType create an entity of the given type on the Ziti Controller
func DetailEntityOfType ¶
func ListEntitiesOfType ¶
func ListEntitiesOfType(entityType string, params url.Values, logJSON bool, out io.Writer, timeout int, verbose bool) ([]*gabs.Container, *api.Paging, error)
ListEntitiesOfType queries the Ziti Controller for entities of the given type
func ListEntitiesWithFilter ¶
func NewCmdEdge ¶
NewCmdEdge creates a command object for the "controller" command
func NewCreateEdgeRouterCmd ¶ added in v0.30.4
func NewCreateEdgeRouterPolicyCmd ¶ added in v0.30.5
NewCreateEdgeRouterPolicyCmd creates the 'edge controller create edge-router-policy' command
func NewCreateServiceEdgeRouterPolicyCmd ¶ added in v0.30.5
NewCreateServiceEdgeRouterPolicyCmd creates the 'edge controller create service-edge-router-policy' command
func NewLoginCmd ¶ added in v0.30.4
NewLoginCmd creates the command
func NewQuickStartCmd ¶ added in v0.30.4
NewQuickStartCmd creates a command object for the "create" command
func NewQuickStartHaCmd ¶ added in v1.2.1
func NewQuickStartJoinClusterCmd ¶ added in v1.2.1
func NewValidateServiceHostingCmd ¶ added in v0.33.0
func NewValidateServiceHostingCmd(p common.OptionsProvider) *cobra.Command
func WrapHardEllipses ¶
Types ¶
type LoginOptions ¶ added in v0.28.0
type LoginOptions struct { api.Options Username string Password string Token string CaCert string ReadOnly bool Yes bool IgnoreConfig bool ClientCert string ClientKey string ExtJwt string File string FileCertCreds *edge_apis.IdentityCredentials }
LoginOptions are the flags for login commands
func (*LoginOptions) ConfigureCerts ¶ added in v0.28.0
func (o *LoginOptions) ConfigureCerts(host string, ctrlUrl *url.URL) error
func (*LoginOptions) Run ¶ added in v0.28.0
func (o *LoginOptions) Run() error
Run implements this command
type QuickstartOpts ¶ added in v0.30.4
Source Files ¶
- common.go
- create.go
- create_authenticator.go
- create_authenticator_updb.go
- create_authpolicy.go
- create_ca.go
- create_config.go
- create_config_type.go
- create_edge_router.go
- create_edge_router_policy.go
- create_enrollment.go
- create_extjwtsigner.go
- create_identity.go
- create_posture_check.go
- create_service.go
- create_service_edge_router_policy.go
- create_service_policy.go
- create_terminator.go
- create_transit_router.go
- db.go
- db_check_integrity.go
- db_snapshot.go
- delete.go
- detail.go
- encryption_var.go
- list.go
- login.go
- logout.go
- policy_advisor.go
- quickstart.go
- reenroll.go
- reenroll_edge_router.go
- root.go
- show.go
- trace_identity.go
- traceroute.go
- update.go
- update_authenticator.go
- update_authenticator_updb.go
- update_authpolicy.go
- update_ca.go
- update_config.go
- update_config_type.go
- update_edge_router.go
- update_edge_router_policy.go
- update_extjwtsigner.go
- update_identity.go
- update_identity_configs.go
- update_posture_check.go
- update_service.go
- update_service_edge_router_policy.go
- update_service_policy.go
- update_terminator.go
- use.go
- validate_service_hosting.go
- verify.go
- verify_ca.go
- version.go
Click to show internal directories.
Click to hide internal directories.