Documentation ¶
Index ¶
- Constants
- func GenerateCreateHostedZoneInput(cr *v1alpha1.HostedZone) *route53.CreateHostedZoneInput
- func GenerateObservation(op *route53.GetHostedZoneOutput) v1alpha1.HostedZoneObservation
- func GenerateUpdateHostedZoneCommentInput(spec v1alpha1.HostedZoneParameters, id string) *route53.UpdateHostedZoneCommentInput
- func IsNotFound(err error) bool
- func IsUpToDate(spec v1alpha1.HostedZoneParameters, obs route53types.HostedZone) bool
- func LateInitialize(spec *v1alpha1.HostedZoneParameters, obs *route53.GetHostedZoneOutput)
- 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.GetHostedZoneOutput) 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 route53types.HostedZone) bool
IsUpToDate check whether the comment in Spec and Response are same or not
func LateInitialize ¶
func LateInitialize(spec *v1alpha1.HostedZoneParameters, obs *route53.GetHostedZoneOutput)
LateInitialize fills the empty fields in *v1alpha1.HostedZoneParameters with the values seen in route53types.HostedZone.
Types ¶
type Client ¶
type Client interface { CreateHostedZone(ctx context.Context, input *route53.CreateHostedZoneInput, opts ...func(*route53.Options)) (*route53.CreateHostedZoneOutput, error) DeleteHostedZone(ctx context.Context, input *route53.DeleteHostedZoneInput, opts ...func(*route53.Options)) (*route53.DeleteHostedZoneOutput, error) GetHostedZone(ctx context.Context, input *route53.GetHostedZoneInput, opts ...func(*route53.Options)) (*route53.GetHostedZoneOutput, error) UpdateHostedZoneComment(ctx context.Context, input *route53.UpdateHostedZoneCommentInput, opts ...func(*route53.Options)) (*route53.UpdateHostedZoneCommentOutput, error) }
Client defines Route53 Client operations