config

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package config manages configuration of the whole application.

Index

Constants

View Source
const (
	SslCertificateNamePrefix = "mcrt-"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// CertificateStatus holds mappings of SslCertificate statuses to ManagedCertificate statuses
	CertificateStatus certificateStatusConfig
	// Compute is GCP-specific configuration
	Compute computeConfig
	// MasterElection holds configuration settings needed for electing master
	MasterElection masterElectionConfig
	// SslCertificateNamePrefix is a prefix prepended to SslCertificate resources created by the controller
	SslCertificateNamePrefix string
}

func New

func New(gceConfigFilePath string) (*Config, error)

func NewFakeCertificateStatusConfig

func NewFakeCertificateStatusConfig() *Config

Jump to

Keyboard shortcuts

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