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 ¶
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
Click to show internal directories.
Click to hide internal directories.