Documentation ¶
Index ¶
- Constants
- func IsInvalidConfig(err error) bool
- func IsNotFound(err error) bool
- type Config
- type Resource
- func (r *Resource) EnsureCreated(ctx context.Context, obj interface{}) error
- func (r *Resource) EnsureDeleted(ctx context.Context, obj interface{}) error
- func (r *Resource) Name() string
- func (r *Resource) UpdateVPNGatewayReadyCondition(ctx context.Context, azureConfig v1alpha1.AzureConfig, ...) error
Constants ¶
View Source
const ( ProvisioningStateSucceeded = "Succeeded" ProvisioningStateFailed = "Failed" )
View Source
const (
// Name is the identifier of the resource.
Name = "vpn"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { CtrlClient ctrlclient.Client Debugger *debugger.Debugger Logger micrologger.Logger Azure setting.Azure }
Config contains information required by Resource.
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
Resource ensures Microsoft Virtual Network Gateways are running.
func (*Resource) EnsureCreated ¶
EnsureCreated ensures the resource is created.
func (*Resource) EnsureDeleted ¶
EnsureDeleted ensures the resource is deleted.
func (*Resource) UpdateVPNGatewayReadyCondition ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.