Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Status condition types for master upgrade state checking.
DeploymentCompleted = "DeploymentCompleted"
Stage = "Stage"
)
View Source
const (
Name = "workermigration"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
func IsInvalidConfig(err error) bool
IsInvalidConfig asserts invalidConfigError.
func IsMissingOrganizationLabel ¶
func IsMissingOrganizationLabel(err error) bool
IsMissingOrganizationLabel asserts missingOrganizationLabel.
func IsTooManyCredentials ¶
func IsTooManyCredentials(err error) bool
IsTooManyCredentials asserts tooManyCredentialsError.
func IsUnknownKindError ¶
func IsUnknownKindError(err error) bool
IsUnknownKindError asserts unknownKindError.
Types ¶
type Config ¶
type Config struct {
CertsSearcher certs.Interface
ClientFactory *azureclient.Factory
CPPublicIPAddressesClient *network.PublicIPAddressesClient
CtrlClient client.Client
Logger micrologger.Logger
InstallationName string
Location string
}
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
func (*Resource) EnsureCreated ¶
func (r *Resource) EnsureCreated(ctx context.Context, obj interface{}) error
EnsureCreated ensures that legacy workers are migrated to node pool.
func (*Resource) EnsureDeleted ¶
func (r *Resource) EnsureDeleted(ctx context.Context, obj interface{}) error
EnsureDeleted is no-op.
Click to show internal directories.
Click to hide internal directories.