azure

package
v0.1.52 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 29 Imported by: 1

Documentation

Index

Constants

View Source
const (
	VirtualNetworkAddressPrefix       = "10.0.0.0/16"
	VirtualNetworkLinkLocation        = "global"
	VirtualNetworkSubnetAddressPrefix = "10.0.0.0/24"
)

Variables

This section is empty.

Functions

func NewCreateCommand

func NewCreateCommand() *cobra.Command

func NewDestroyCommand

func NewDestroyCommand() *cobra.Command

Types

type CreateInfraOptions

type CreateInfraOptions struct {
	Name                            string
	BaseDomain                      string
	Location                        string
	InfraID                         string
	CredentialsFile                 string
	Credentials                     *util.AzureCreds
	OutputFile                      string
	RHCOSImage                      string
	ResourceGroupName               string
	VnetID                          string
	NetworkSecurityGroupID          string
	ResourceGroupTags               map[string]string
	SubnetID                        string
	ManagedIdentityKeyVaultName     string
	ManagedIdentityKeyVaultTenantID string
	TechPreviewEnabled              bool
	ManagedIdentitiesFile           string
	DNSZoneRG                       string
}

func (*CreateInfraOptions) Run

type CreateInfraOutput

type CreateInfraOutput struct {
	BaseDomain        string                                 `json:"baseDomain"`
	PublicZoneID      string                                 `json:"publicZoneID"`
	PrivateZoneID     string                                 `json:"privateZoneID"`
	Location          string                                 `json:"region"`
	ResourceGroupName string                                 `json:"resourceGroupName"`
	VNetID            string                                 `json:"vnetID"`
	SubnetID          string                                 `json:"subnetID"`
	BootImageID       string                                 `json:"bootImageID"`
	InfraID           string                                 `json:"infraID"`
	MachineIdentityID string                                 `json:"machineIdentityID"`
	SecurityGroupID   string                                 `json:"securityGroupID"`
	ControlPlaneMIs   hyperv1.AzureResourceManagedIdentities `json:"controlPlaneMIs"`
}

type DestroyInfraOptions

type DestroyInfraOptions struct {
	Name                         string
	Location                     string
	InfraID                      string
	CredentialsFile              string
	Credentials                  *util.AzureCreds
	ResourceGroupName            string
	TechPreviewEnabled           bool
	ControlPlaneMIs              hyperv1.AzureResourceManagedIdentities
	SkipServicePrincipalDeletion bool
}

func (*DestroyInfraOptions) GetResourceGroupName added in v0.1.23

func (o *DestroyInfraOptions) GetResourceGroupName() string

func (*DestroyInfraOptions) Run

func (o *DestroyInfraOptions) Run(ctx context.Context, logger logr.Logger) error

Jump to

Keyboard shortcuts

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