runtime

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: Apache-2.0 Imports: 11 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddComponent

func AddComponent(component SystemComponent) error

func AddMysql added in v0.2.1

func AddMysql(artifactsPath string, isPersistentVolume bool) error

func ApplyIstioCrds added in v0.2.1

func ApplyIstioCrds(artifactsPath string) error

func ApplyKnativeCrds added in v0.4.0

func ApplyKnativeCrds(artifactsPath string) error

func CreateCelleryNameSpace added in v0.2.1

func CreateCelleryNameSpace() error

func CreateGlobalGatewayConfigMaps added in v0.2.1

func CreateGlobalGatewayConfigMaps(artifactsPath string) error

func CreateIdpConfigMaps added in v0.2.1

func CreateIdpConfigMaps(artifactsPath string) error

func CreateObservabilityConfigMaps added in v0.2.1

func CreateObservabilityConfigMaps(artifactsPath string) error

func CreateRuntime added in v0.2.1

func CreateRuntime(artifactsPath string, isPersistentVolume, hasNfsStorage, isLoadBalancerIngressMode bool, nfs Nfs,
	db MysqlDb, nodePortIpAddress string) error

func DeleteComponent

func DeleteComponent(component SystemComponent) error

func GetInstancesNames added in v0.3.0

func GetInstancesNames() ([]string, error)

func InstallController added in v0.2.1

func InstallController(artifactsPath string) error

func InstallHPA added in v0.3.0

func InstallHPA(artifactsPath string) error

func InstallIstio added in v0.2.1

func InstallIstio(artifactsPath string) error

func InstallKnativeServing added in v0.3.0

func InstallKnativeServing(artifactsPath string) error

func IsApimEnabled added in v0.3.0

func IsApimEnabled() (bool, error)

func IsComponentEnabled added in v0.3.0

func IsComponentEnabled(component SystemComponent) (bool, error)

func IsGcpRuntime added in v0.3.0

func IsGcpRuntime() bool

func IsHpaEnabled added in v0.3.0

func IsHpaEnabled() (bool, error)

func IsKnativeEnabled added in v0.3.0

func IsKnativeEnabled() (bool, error)

func IsObservabilityEnabled added in v0.3.0

func IsObservabilityEnabled() (bool, error)

func SetCompleteSetup added in v0.3.0

func SetCompleteSetup(completeSetup bool)

func UpdateRuntime

func UpdateRuntime(apiManagement, observability, knative, hpa Selection) error

func WaitFor added in v0.4.0

func WaitFor(checkKnative, hpaEnabled bool)

Types

type ConfigMap added in v0.2.1

type ConfigMap struct {
	Name string
	Path string
}

type MysqlDb added in v0.2.1

type MysqlDb struct {
	DbHostName string
	DbUserName string
	DbPassword string
}

type Nfs added in v0.2.1

type Nfs struct {
	NfsServerIp string
	FileShare   string
}

type Selection added in v0.3.0

type Selection int
const (
	NoChange Selection = iota
	Enable
	Disable
)

type SystemComponent

type SystemComponent string
const (
	ApiManager       SystemComponent = "ApiManager"
	IdentityProvider SystemComponent = "IdentityProvider"
	Observability    SystemComponent = "Observability"
	ScaleToZero      SystemComponent = "Scale to zero"
	HPA              SystemComponent = "Horizontal pod auto scalar"
	Controller       SystemComponent = "Controller"
	System           SystemComponent = "System"
	Mysql            SystemComponent = "Mysql"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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