providers

package
v0.0.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AzAcrExists

func AzAcrExists(acrName string) bool

func AzAksExists

func AzAksExists(aksName string, resourceGroup string) bool

func AzAppExists

func AzAppExists(appName string) bool

func CheckAzCliInstalled

func CheckAzCliInstalled()

func GetAzCliVersion added in v0.0.23

func GetAzCliVersion() string

func GetCurrentAzSubscriptionId

func GetCurrentAzSubscriptionId() []string

func HasGhCli

func HasGhCli() bool

func InitiateAzureOIDCFlow

func InitiateAzureOIDCFlow(sc *SetUpCmd, s spinner.Spinner) error

func IsLoggedInToAz

func IsLoggedInToAz() bool

func IsLoggedInToGh

func IsLoggedInToGh() bool

func IsSubscriptionIdValid

func IsSubscriptionIdValid(subscriptionId string) error

func LogInToAz

func LogInToAz() error

func LogInToGh

func LogInToGh() error

Types

type SetUpCmd

type SetUpCmd struct {
	AppName           string
	SubscriptionID    string
	ResourceGroupName string
	Provider          string
	Repo              string
	// contains filtered or unexported fields
}

func (*SetUpCmd) CreateServicePrincipal

func (sc *SetUpCmd) CreateServicePrincipal() error

func (*SetUpCmd) ServicePrincipalExists

func (sc *SetUpCmd) ServicePrincipalExists() bool

func (*SetUpCmd) ValidateSetUpConfig

func (sc *SetUpCmd) ValidateSetUpConfig() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL