Documentation ¶
Index ¶
- Constants
- func NeedsUpdate(kube *v1alpha2.Redis, az redismgmt.ResourceType) bool
- func NewCreateParameters(r *v1alpha2.Redis) redismgmt.CreateParameters
- func NewResourceName(o metav1.Object) string
- func NewSKU(s v1alpha2.SKUSpec) *redismgmt.Sku
- func NewUpdateParameters(r *v1alpha2.Redis) redismgmt.UpdateParameters
- type Client
Constants ¶
View Source
const NamePrefix = "acr"
NamePrefix is the prefix for all created Azure Cache instances.
Variables ¶
This section is empty.
Functions ¶
func NeedsUpdate ¶
func NeedsUpdate(kube *v1alpha2.Redis, az redismgmt.ResourceType) bool
NeedsUpdate returns true if the supplied Kubernetes resource differs from the supplied Azure resource. It considers only fields that can be modified in place without deleting and recreating the instance.
func NewCreateParameters ¶
func NewCreateParameters(r *v1alpha2.Redis) redismgmt.CreateParameters
NewCreateParameters returns Redis resource creation parameters suitable for use with the Azure API.
func NewResourceName ¶
NewResourceName returns a resource name used to identify a Redis resource in the Azure API.
func NewUpdateParameters ¶
func NewUpdateParameters(r *v1alpha2.Redis) redismgmt.UpdateParameters
NewUpdateParameters returns Redis resource update parameters suitable for use with the Azure API.
Types ¶
Click to show internal directories.
Click to hide internal directories.