accounts

package
v1.2.0-rc.6 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SpringProfile     = "accounts"
	AccountSecretPath = "/var/operator-accounts"
)

Variables

View Source
var ServicesWithAccountsFiles = []string{"clouddriver"}

Functions

func AllValidCRDAccounts

func AllValidCRDAccounts(ctx context.Context, c client.Client, ns string) ([]account.Account, error)

func FromSpinnakerConfigSlice

func FromSpinnakerConfigSlice(ctx context.Context, accountType account.SpinnakerAccountType, settingsSlice []map[string]interface{}, ignoreInvalid bool) ([]account.Account, error)

FromSpinnakerConfigSlice builds accounts from a given slice of settings

func GetAllServicesWithAccounts

func GetAllServicesWithAccounts() []string

GetAllServicesWithAccounts returns all services potentially using accounts defined via CRDs

func PrepareSettings

func PrepareSettings(ctx context.Context, svc string, accountList []account.Account) (map[string]interface{}, error)

PrepareSettings gathers all accounts for the given services in the given namespace

func Register

func Register(accountTypes ...account.SpinnakerAccountType)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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