Documentation ¶
Index ¶
- Constants
- func GenerateCreateHostedZoneInput(cr *v1alpha1.HostedZone) *route53.CreateHostedZoneInput
- func GenerateObservation(op *route53.GetHostedZoneResponse) v1alpha1.HostedZoneObservation
- func GenerateUpdateHostedZoneCommentInput(spec v1alpha1.HostedZoneParameters, id string) *route53.UpdateHostedZoneCommentInput
- func IsNotFound(err error) bool
- func IsUpToDate(spec v1alpha1.HostedZoneParameters, obs route53.HostedZone) bool
- func LateInitialize(spec *v1alpha1.HostedZoneParameters, obs *route53.GetHostedZoneResponse)
- type Client
Constants ¶
const IDPrefix = "/hostedzone/"
IDPrefix is the prefix of the actual ID that's returned from GET call.
Variables ¶
This section is empty.
Functions ¶
func GenerateCreateHostedZoneInput ¶
func GenerateCreateHostedZoneInput(cr *v1alpha1.HostedZone) *route53.CreateHostedZoneInput
GenerateCreateHostedZoneInput returns a route53 CreateHostedZoneInput using which a route53 Hosted Zone can be created.
func GenerateObservation ¶
func GenerateObservation(op *route53.GetHostedZoneResponse) v1alpha1.HostedZoneObservation
GenerateObservation generates and returns v1alpha1.HostedZoneObservation which can be used as the status of the runtime object
func GenerateUpdateHostedZoneCommentInput ¶
func GenerateUpdateHostedZoneCommentInput(spec v1alpha1.HostedZoneParameters, id string) *route53.UpdateHostedZoneCommentInput
GenerateUpdateHostedZoneCommentInput returns a route53 UpdateHostedZoneCommentInput using which a route53 Hosted Zone comment can be updated.
func IsNotFound ¶
IsNotFound returns true if the error code indicates that the requested Zone was not found
func IsUpToDate ¶
func IsUpToDate(spec v1alpha1.HostedZoneParameters, obs route53.HostedZone) bool
IsUpToDate check whether the comment in Spec and Response are same or not
func LateInitialize ¶
func LateInitialize(spec *v1alpha1.HostedZoneParameters, obs *route53.GetHostedZoneResponse)
LateInitialize fills the empty fields in *v1alpha1.HostedZoneParameters with the values seen in route53.HostedZone.
Types ¶
type Client ¶
type Client interface { CreateHostedZoneRequest(input *route53.CreateHostedZoneInput) route53.CreateHostedZoneRequest DeleteHostedZoneRequest(input *route53.DeleteHostedZoneInput) route53.DeleteHostedZoneRequest GetHostedZoneRequest(input *route53.GetHostedZoneInput) route53.GetHostedZoneRequest UpdateHostedZoneCommentRequest(input *route53.UpdateHostedZoneCommentInput) route53.UpdateHostedZoneCommentRequest }
Client defines Route53 Client operations