overrides

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableAzureBroker

func EnableAzureBroker(installationData *config.InstallationData) (string, error)

EnableAzureBroker provides Azure parameters from Vault

func GetCoreOverrides

func GetCoreOverrides(installationData *config.InstallationData) (string, error)

GetCoreOverrides - returns values overrides for core installation basing on domain

func GetEcDefaultOverrides

func GetEcDefaultOverrides() string

GetEcDefaultOverrides returns values overrides for ec default remote environment

func GetGlobalOverrides

func GetGlobalOverrides(installationData *config.InstallationData) (string, error)

GetGlobalOverrides .

func GetHmcDefaultOverrides

func GetHmcDefaultOverrides() string

GetHmcDefaultOverrides returns values overrides for hmc default remote environment

func GetIstioOverrides

func GetIstioOverrides(installationData *config.InstallationData) (string, error)

GetIstioOverrides returns values overrides for istio ingressgateway

Types

type ClusterStaticFile

type ClusterStaticFile struct {
	DirectoryPath *string
}

ClusterStaticFile struct defines static file overrides for cluster

func NewClusterStaticFile

func NewClusterStaticFile(dirPath string) *ClusterStaticFile

NewClusterStaticFile function creates instance of ClusterStaticFile struct for cluster overrides

func (*ClusterStaticFile) GetOverrides

func (clusterStaticFile *ClusterStaticFile) GetOverrides() (*string, error)

GetOverrides function reads cluster overrides file and returns its content

func (*ClusterStaticFile) HasOverrides

func (clusterStaticFile *ClusterStaticFile) HasOverrides() bool

HasOverrides function returns boolean whether additional overrides are defined

type LocalStaticFile

type LocalStaticFile struct{}

LocalStaticFile struct defines static file overrides for local

func NewLocalStaticFile

func NewLocalStaticFile() *LocalStaticFile

NewLocalStaticFile function creates instance of LocalStaticFile struct for cluster overrides

func (*LocalStaticFile) GetOverrides

func (localStaticFile *LocalStaticFile) GetOverrides() (*string, error)

GetOverrides .

func (*LocalStaticFile) HasOverrides

func (localStaticFile *LocalStaticFile) HasOverrides() bool

HasOverrides .

type StaticFile

type StaticFile interface {
	HasOverrides() bool
	GetOverrides() (*string, error)
}

StaticFile interface defines contract for overrides file representation

Jump to

Keyboard shortcuts

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