Documentation ¶
Index ¶
- Constants
- func IsInvalidConfigError(err error) bool
- func IsMissingOrganizationLabel(err error) bool
- func IsMissingOutputValue(err error) bool
- func IsNatGatewayNotReadyError(err error) bool
- func IsNotFound(err error) bool
- func IsSubnetInUse(err error) bool
- func IsTooManyCredentialsError(err error) bool
- func IsWrongTypeError(err error) bool
- type Config
- type Resource
- type StorageAccountIpRule
Constants ¶
const (
// Name is the identifier of the resource.
Name = "subnet"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfigError ¶
IsInvalidConfigError asserts invalidConfigError.
func IsMissingOrganizationLabel ¶
IsMissingOrganizationLabel asserts missingOrganizationLabel.
func IsMissingOutputValue ¶
IsMissingOutputValue asserts missingOutputValueError.
func IsNatGatewayNotReadyError ¶
IsNatGatewayNotReadyError asserts natGatewayNotReadyError.
func IsSubnetInUse ¶
IsSubnetInUse asserts subnet in use error from Azure API message.
func IsTooManyCredentialsError ¶
IsTooManyCredentialsError asserts tooManyCredentialsError.
func IsWrongTypeError ¶
IsWrongTypeError asserts wrongTypeError.
Types ¶
type Config ¶
type Config struct { AzureClientsFactory client.OrganizationFactory CtrlClient ctrlclient.Client Debugger *debugger.Debugger Logger micrologger.Logger }
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
Resource creates a different subnet for every node pool using ARM deployments.
func (*Resource) EnsureCreated ¶
For every subnet declared in the `AzureCluster.Spec.NetworkSpec.Subnets` field, we submit a deployment to Azure to create the subnet. The ipam handler is the one updating AzureCluster with the required subnets.
func (*Resource) EnsureDeleted ¶
EnsureDeleted is a noop since the deletion of deployments is redirected to the deletion of resource groups because they garbage collect them.