Documentation ¶
Index ¶
- Constants
- func IsInvalidConfig(err error) bool
- func IsTimeoutError(err error) bool
- func IsWrongTypeError(err error) bool
- type Config
- type Resource
- func (r *Resource) ApplyCreateChange(ctx context.Context, obj, change interface{}) error
- func (r *Resource) ApplyDeleteChange(ctx context.Context, obj, change interface{}) error
- func (r *Resource) ApplyUpdateChange(ctx context.Context, obj, change interface{}) error
- func (r *Resource) GetCurrentState(ctx context.Context, obj interface{}) (interface{}, error)
- func (r *Resource) GetDesiredState(ctx context.Context, obj interface{}) (interface{}, error)
- func (r *Resource) Name() string
- func (r *Resource) NewDeletePatch(ctx context.Context, obj, currentState, desiredState interface{}) (*crud.Patch, error)
- func (r *Resource) NewUpdatePatch(ctx context.Context, obj, currentState, desiredState interface{}) (*crud.Patch, error)
Constants ¶
View Source
const (
// Name is the identifier of the resource.
Name = "dnsrecord"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsTimeoutError ¶
IsTimeoutError asserts deleteTimeoutError.
func IsWrongTypeError ¶
IsWrongTypeError asserts wrongTypeError.
Types ¶
type Config ¶
type Config struct { HostAzureClientSetConfig client.AzureClientSetConfig Logger micrologger.Logger }
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
Resource manages Azure resource groups.
func (*Resource) ApplyCreateChange ¶
ApplyCreateChange is never called. We do not like it. It is not idempotent.
func (*Resource) ApplyDeleteChange ¶
ApplyDeleteChange deletes the resource group via the Azure API.
func (*Resource) ApplyUpdateChange ¶
func (*Resource) GetCurrentState ¶
func (*Resource) GetDesiredState ¶
GetDesiredState returns the desired resource group for this cluster.
Click to show internal directories.
Click to hide internal directories.