config

package
v2.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const MasterScalesetName = "ss-master"

Variables

View Source
var Derived derived

Functions

func GetComputerNamePrefix

func GetComputerNamePrefix(app *api.AgentPoolProfile, suffix string) string

GetComputerNamePrefix returns the computer name prefix for a given AgentPoolProfile

func GetMasterInstanceName

func GetMasterInstanceName(instance int64) string

GetMasterInstanceName returns the VMSS instance name for a given AgentPoolProfile name and instance number

func GetScalesetName

func GetScalesetName(app *api.AgentPoolProfile, suffix string) string

GetScalesetName returns the VMSS name for a given AgentPoolProfile

Types

type Generator

type Generator interface {
	Generate(cs *api.OpenShiftManagedCluster, template *pluginapi.Config) error
	InvalidateSecrets(cs *api.OpenShiftManagedCluster) error
}

Generator is an interface for sharing the cluster and plugin configs

func NewSimpleGenerator

func NewSimpleGenerator(pluginConfig *api.PluginConfig) Generator

NewSimpleGenerator creates a struct to hold both the cluster and plugin configs

Jump to

Keyboard shortcuts

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