defaultappsvalues

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IdentityClientIDKey = "identityClientID"
)

Variables

This section is empty.

Functions

func GetCertManagerConfig

func GetCertManagerConfig() string

func GetDefaultAppsValuesFile

func GetDefaultAppsValuesFile(c Config) (string, error)

func GetExternalDNSConfig

func GetExternalDNSConfig() string

func IntegrateDefaultAppsValuesInClusterValues

func IntegrateDefaultAppsValuesInClusterValues(clusterValues string, c Config) (string, error)

func IsPrivateMC

func IsPrivateMC(file string) bool

Types

type App

type App struct {
	ConfigMap    ConfigMap     `yaml:"configMap,omitempty"`
	ExtraConfigs []ExtraConfig `yaml:"extraConfigs,omitempty"`
}

type Config

type Config struct {
	Cluster                 string
	Provider                string
	CertManagerDNSChallenge bool
	PrivateCA               bool
	PrivateMC               bool
	SubscriptionID          string
	IdentityClientID        string
}

type ConfigMap

type ConfigMap struct {
	Values string `yaml:"values,omitempty"`
}

type DefaultAppsValues

type DefaultAppsValues struct {
	ClusterName       string     `yaml:"clusterName"`
	Organization      string     `yaml:"organization"`
	ManagementCluster string     `yaml:"managementCluster"`
	UserConfig        UserConfig `yaml:"userConfig,omitempty"`
	Apps              string     `yaml:"apps,omitempty"`
	SubscriptionID    string     `yaml:"subscriptionID,omitempty"`
	IdentityClientID  string     `yaml:"identityClientID,omitempty"`
}

type ExtraConfig

type ExtraConfig struct {
	Kind      string `yaml:"kind,omitempty"`
	Name      string `yaml:"name,omitempty"`
	Namespace string `yaml:"namespace,omitempty"`
}

type Global

type Global struct {
	Apps UserConfig `yaml:"apps,omitempty"`
}

type IntegratedDefaultAppsValues

type IntegratedDefaultAppsValues struct {
	Global Global `yaml:"global,omitempty"`
}

type UserConfig

type UserConfig struct {
	CertManager App `yaml:"certManager,omitempty"`
	ExternalDNS App `yaml:"externalDNS,omitempty"`
}

Jump to

Keyboard shortcuts

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