Documentation ¶
Index ¶
- func AzAcrExists(acrName string) bool
- func AzAksExists(aksName string, resourceGroup string) bool
- func AzAppExists(appName string) bool
- func CheckAzCliInstalled()
- func GetAzCliVersion() string
- func HasGhCli() bool
- func InitiateAzureOIDCFlow(ctx context.Context, sc *SetUpCmd, s spinner.Spinner) error
- func IsLoggedInToAz() bool
- func IsLoggedInToGh() bool
- func IsSubscriptionIdValid(subscriptionId string) error
- func LogInToAz() error
- func LogInToGh() error
- type AzClient
- type SetUpCmd
- type SubLabel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AzAcrExists ¶
func AzAksExists ¶
func AzAppExists ¶
func CheckAzCliInstalled ¶
func CheckAzCliInstalled()
func GetAzCliVersion ¶ added in v0.0.23
func GetAzCliVersion() string
func InitiateAzureOIDCFlow ¶
func IsLoggedInToAz ¶
func IsLoggedInToAz() bool
func IsLoggedInToGh ¶
func IsLoggedInToGh() bool
func IsSubscriptionIdValid ¶
Types ¶
type SetUpCmd ¶
type SetUpCmd struct { AppName string SubscriptionID string ResourceGroupName string Provider string Repo string AzClient AzClient // contains filtered or unexported fields }
func (*SetUpCmd) CreateServicePrincipal ¶
func (*SetUpCmd) ServicePrincipalExists ¶
func (*SetUpCmd) ValidateSetUpConfig ¶
type SubLabel ¶ added in v0.0.36
func GetAzSubscriptionLabels ¶ added in v0.0.36
func GetCurrentAzSubscriptionLabel ¶ added in v0.0.36
Click to show internal directories.
Click to hide internal directories.