config

package
v0.0.0-...-fbcd7f5 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Project           string                          `yaml:"project"`
	Region            string                          `yaml:"region"`
	Buckets           []storage.Bucket                `yaml:"buckets"`
	KeyringName       string                          `yaml:"keyring_name"`
	EncryptionKeyName string                          `yaml:"encryption_key_name"`
	Kubeconfig        string                          `yaml:"kubeconfig,omitempty"`
	Prefix            string                          `yaml:"prefix,omitempty"`
	ServiceAccounts   []serviceaccount.ServiceAccount `yaml:"serviceAccounts"`
	GenericSecrets    []k8s.GenericSecret             `yaml:"generics,flow,omitempty"`
	Labels            map[string]string               `yaml:"labels"`
	Clusters          map[string]cluster.Cluster      `yaml:"clusters"`
}

Configuration for prow config.

func ReadConfig

func ReadConfig(configFilePath string) (*Config, error)

Get config configuration from yaml file.

Jump to

Keyboard shortcuts

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