config

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSEnvironment

type AWSEnvironment struct {
	RoleARN string
}

type AzureEnvironment

type AzureEnvironment struct {
	ClientID       string
	SubscriptionID string
	TenantID       string
	Region         string
}

type GCPEnvironment added in v0.7.1

type GCPEnvironment struct {
	Audience            string
	ServiceAccountEmail string
}

type TokenCCOAuthConfig

type TokenCCOAuthConfig struct {
	AWS   *AWSEnvironment
	Azure *AzureEnvironment
	GCP   *GCPEnvironment
}

func LoadConfig

func LoadConfig(scheme *runtime.Scheme, configFile string) (*configv1.ProjectConfig, *TokenCCOAuthConfig, ctrl.Options, error)

LoadConfig initializes the controller configuration, optionally overriding the defaults from a provided configuration file.

Jump to

Keyboard shortcuts

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