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 ¶
func IsBootstrapCRNotReady(err error) bool
IsMissingCloudConfigSecret asserts bootstrapCRNotReady.
func IsInvalidConfig ¶
func IsInvalidConfig(err error) bool
IsInvalidConfig asserts invalidConfigError.
func IsMissingOrganizationLabel ¶
func IsMissingOrganizationLabel(err error) bool
IsMissingOrganizationLabel asserts missingOrganizationLabel.
func IsNotFound ¶
func IsNotFound(err error) bool
IsNotFound asserts storage account not found error from upstream's API message.
func IsOwnerReferenceNotSet ¶
func IsOwnerReferenceNotSet(err error) bool
IsOwnerReferenceNotSet asserts ownerReferenceNotSet.
func IsStorageAccountNotProvisioned ¶
func IsStorageAccountNotProvisioned(err error) bool
IsStorageAccountNotProvisioned asserts storage account not provisioned error from upstream's API message.
func IsTooManyCredentialsError ¶
func IsTooManyCredentialsError(err error) bool
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 ¶
func (r *Resource) EnsureCreated(ctx context.Context, obj interface{}) error
EnsureCreated will make sure that a blob is saved in the Storage Account containing the cloud config for the node pool.
func (*Resource) EnsureDeleted ¶
func (r *Resource) EnsureDeleted(ctx context.Context, obj interface{}) error
EnsureDeleted will delete the blob in the Storage Account containing the cloud config for the node pool.