Documentation ¶
Index ¶
Constants ¶
View Source
const EnvBrowserDefault = "BACKPLANE_DEFAULT_OPEN_BROWSER"
EnvBrowserDefault environment variable that indicates if open by browser is set as default
View Source
const OldFlowSupportRole = "role/RH-Technical-Support-Access"
Variables ¶
View Source
var AssumeRoleSequence = awsutil.AssumeRoleSequence
View Source
var AssumeRoleWithJWT = awsutil.AssumeRoleWithJWT
View Source
var CloudCmd = &cobra.Command{ Use: "cloud", Short: "Cluster cloud provider access", Args: cobra.NoArgs, DisableAutoGenTag: true, Run: help, }
View Source
var ConsoleCmd = &cobra.Command{ Use: "console [CLUSTERID|EXTERNAL_ID|CLUSTER_NAME|CLUSTER_NAME_SEARCH]", Short: "Requests a link to cluster's cloud provider's console", Long: `Requests a link that utilizes temporary cloud credentials for the cluster's cloud provider's web console. This allows us to be able to perform operations such as debugging an issue, troubleshooting a customer misconfiguration, or directly access the underlying cloud infrastructure. If no cluster identifier is provided, the currently logged in cluster will be used.`, Example: " backplane cloud console\n backplane cloud console <id>\n backplane cloud console %test%\n backplane cloud console <external_id>", Args: cobra.RangeArgs(0, 1), Aliases: []string{"link", "web"}, RunE: runConsole, SilenceUsage: true, }
ConsoleCmd represents the cloud credentials command
View Source
var CredentialsCmd = &cobra.Command{ Use: "credentials [CLUSTERID|EXTERNAL_ID|CLUSTER_NAME|CLUSTER_NAME_SEARCH]", Short: "Requests a set of temporary cloud credentials for the cluster's cloud provider", Long: `Requests a set of temporary cloud credentials for the cluster's cloud provider. This allows us to be able to perform operations such as debugging an issue, troubleshooting a customer misconfiguration, or directly access the underlying cloud infrastructure. If no cluster identifier is provided, the currently logged in cluster will be used.`, Example: " backplane cloud credentials\n backplane cloud credentials <id>\n backplane cloud credentials %test%\n backplane cloud credentials <external_id>", Args: cobra.RangeArgs(0, 1), Aliases: []string{"creds", "cred"}, RunE: runCredentials, SilenceUsage: true, }
CredentialsCmd represents the cloud credentials command
View Source
var GetBackplaneClusterFromConfig = utils.DefaultClusterUtils.GetBackplaneClusterFromConfig
View Source
var GetBackplaneConfiguration = bpconfig.GetBackplaneConfiguration
View Source
var NewStaticCredentialsProvider = credentials.NewStaticCredentialsProvider
View Source
var StsClientWithProxy = awsutil.StsClientWithProxy
Functions ¶
This section is empty.
Types ¶
type ConsoleResponse ¶
type ConsoleResponse struct {
ConsoleLink string `json:"ConsoleLink" yaml:"ConsoleLink"`
}
func (*ConsoleResponse) String ¶
func (r *ConsoleResponse) String() string
Click to show internal directories.
Click to hide internal directories.