providers

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MIT Imports: 9 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 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) bool

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