Documentation
¶
Index ¶
- Constants
- func Get() *apiclient.Radixapi
- func GetForCluster(cluster, environment string) *apiclient.Radixapi
- func GetForCommand(cmd *cobra.Command) (*apiclient.Radixapi, error)
- func GetForContext(context string) *apiclient.Radixapi
- func GetForToken(context, cluster, environment, token string) *apiclient.Radixapi
- func LoginCommand(cmd *cobra.Command) error
- func LoginContext(context string) error
- func LogoutCommand(cmd *cobra.Command) error
Constants ¶
View Source
const (
// TokenEnvironmentName Name of environment variable to load token from
TokenEnvironmentName = "APP_SERVICE_ACCOUNT_TOKEN"
)
Variables ¶
This section is empty.
Functions ¶
func GetForCluster ¶
GetForCluster Gets API client for cluster
func GetForCommand ¶
GetForCommand Gets client for command
func GetForContext ¶
GetForContext Gets API client for set context
func GetForToken ¶
GetForToken Gets API client with passed token
func LoginCommand ¶ added in v1.0.7
LoginCommand Login client for command
func LoginContext ¶ added in v1.0.7
LoginContext Performs login
func LogoutCommand ¶ added in v1.0.7
LogoutCommand Logout command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.