Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DiverBuild string
DiverBuild is the current GIT commit
View Source
var DiverRO bool
DiverRO Sets Diver to READ ONLY (all SET/CREATE commands are disabled)
View Source
var DiverVersion string
DiverVersion is the release TAG
View Source
var UCPRoot = &cobra.Command{ Use: "ucp", Short: "Universal Control Plane ", Run: func(cmd *cobra.Command, args []string) { existingClient, err := ucp.ReadToken() if err != nil { cmd.Help() log.Errorf("%v", err) return } currentAccount, err := existingClient.AuthStatus() if err != nil { cmd.Help() log.Warn("Session has expired, please login") return } cmd.Help() fmt.Printf("\n\n") log.Infof("Current user [%s]", currentAccount.Name) return }, }
UCPRoot - This is the root of all UCP commands / flags
Functions ¶
Types ¶
This section is empty.
Source Files ¶
- diver.go
- dtr.go
- dtr_settings.go
- dtr_settings_set.go
- store.go
- ucp.go
- ucp_auth.go
- ucp_auth_grants.go
- ucp_auth_org.go
- ucp_auth_roles.go
- ucp_auth_teams.go
- ucp_auth_users.go
- ucp_build.go
- ucp_client_bundles.go
- ucp_collections.go
- ucp_config.go
- ucp_containers.go
- ucp_interlock.go
- ucp_ldap.go
- ucp_login.go
- ucp_networks.go
- ucp_nodes.go
- ucp_service.go
- ucp_support.go
- ucp_swarm.go
- ucp_update.go
Click to show internal directories.
Click to hide internal directories.