azure

package
v1.4.17 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 20 Imported by: 3

Documentation

Overview

Package azure generates Machine objects for azure.

Package azure generates Machine objects for azure.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CapzTagsFromUserTags added in v0.90.0

func CapzTagsFromUserTags(clusterID string, usertags map[string]string) (capz.Tags, error)

CapzTagsFromUserTags converts a map of user tags to a map of capz.Tags.

func ConfigMasters

func ConfigMasters(machines []machineapi.Machine, controlPlane *machinev1.ControlPlaneMachineSet, clusterID string) error

ConfigMasters sets the PublicIP flag and assigns a set of load balancers to the given machines

func GenerateMachines added in v0.90.0

func GenerateMachines(clusterID, resourceGroup, subscriptionID string, in *MachineInput) ([]*asset.RuntimeFile, error)

GenerateMachines returns manifests and runtime objects to provision the control plane (including bootstrap, if applicable) nodes using CAPI.

func MachineSets

func MachineSets(clusterID string, config *types.InstallConfig, pool *types.MachinePool, osImage, role, userDataSecret string, capabilities map[string]string, useImageGallery bool) ([]*clusterapi.MachineSet, error)

MachineSets returns a list of machinesets for a machinepool.

func Machines

func Machines(clusterID string, config *types.InstallConfig, pool *types.MachinePool, osImage, role, userDataSecret string, capabilities map[string]string, useImageGallery bool) ([]machineapi.Machine, *machinev1.ControlPlaneMachineSet, error)

Machines returns a list of machines for a machinepool.

Types

type MachineInput added in v0.90.17

type MachineInput struct {
	Subnet          string
	Role            string
	UserDataSecret  string
	HyperVGen       string
	UseImageGallery bool
	Private         bool
	UserTags        map[string]string
	Platform        *azure.Platform
	Pool            *types.MachinePool
}

MachineInput defines the inputs needed to generate a machine asset.

Jump to

Keyboard shortcuts

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