Documentation
¶
Index ¶
Constants ¶
View Source
const ( SubnetName = "default" VirtualNetworkAddressPrefix = "10.0.0.0/16" VirtualNetworkLinkLocation = "global" VirtualNetworkSubnetAddressPrefix = "10.0.0.0/24" )
Variables ¶
This section is empty.
Functions ¶
func NewCreateCommand ¶
func NewDestroyCommand ¶
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
NetworkSecurityGroup string
ResourceGroupTags map[string]string
}
func (*CreateInfraOptions) Run ¶
func (o *CreateInfraOptions) Run(ctx context.Context, l logr.Logger) (*CreateInfraOutput, error)
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"`
VnetName string `json:"vnetName"`
SubnetName string `json:"subnetName"`
BootImageID string `json:"bootImageID"`
InfraID string `json:"infraID"`
MachineIdentityID string `json:"machineIdentityID"`
SecurityGroupName string `json:"securityGroupName"`
}
type DestroyInfraOptions ¶
Click to show internal directories.
Click to hide internal directories.