Documentation ¶
Index ¶
- Constants
- func IsBootstrapCRNotReady(err error) bool
- func IsInvalidConfig(err error) bool
- func IsMissingOrganizationLabel(err error) bool
- func IsNotFound(err error) bool
- func IsOwnerReferenceNotSet(err error) bool
- func IsStorageAccountNotProvisioned(err error) bool
- func IsTimeout(err error) bool
- func IsTooManyCredentialsError(err error) bool
- type Config
- type Resource
Constants ¶
const (
// Name is the identifier of the resource.
Name = "cloudconfigblob"
)
Variables ¶
This section is empty.
Functions ¶
func IsBootstrapCRNotReady ¶
IsMissingCloudConfigSecret asserts bootstrapCRNotReady.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsMissingOrganizationLabel ¶
IsMissingOrganizationLabel asserts missingOrganizationLabel.
func IsNotFound ¶
IsNotFound asserts storage account not found error from upstream's API message.
func IsOwnerReferenceNotSet ¶
IsOwnerReferenceNotSet asserts ownerReferenceNotSet.
func IsStorageAccountNotProvisioned ¶
IsStorageAccountNotProvisioned asserts storage account not provisioned error from upstream's API message.
func IsTooManyCredentialsError ¶
IsTooManyCredentialsError asserts tooManyCredentialsError.
Types ¶
type Config ¶
type Config struct { ClientFactory client.OrganizationFactory CtrlClient ctrlclient.Client Logger micrologger.Logger }
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
Resource manages the blob saved in Azure Storage Account that contains the cloudconfig files to bootstrap our virtual machines.
func (*Resource) EnsureCreated ¶
EnsureCreated will make sure that a blob is saved in the Storage Account containing the cloud config for the node pool.
func (*Resource) EnsureDeleted ¶
EnsureDeleted will delete the blob in the Storage Account containing the cloud config for the node pool.