Documentation ¶
Index ¶
- Constants
- func AreTagsUpToDate(spec map[string]string, obs []route53types.Tag) ([]route53types.Tag, []string, bool)
- func GenerateCreateHostedZoneInput(cr *v1alpha1.HostedZone) *route53.CreateHostedZoneInput
- func GenerateObservation(op *route53.GetHostedZoneOutput) v1alpha1.HostedZoneObservation
- func GenerateUpdateHostedZoneCommentInput(spec v1alpha1.HostedZoneParameters, id string) *route53.UpdateHostedZoneCommentInput
- func GetHostedZoneID(cr *v1alpha1.HostedZone) string
- 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 AreTagsUpToDate ¶ added in v0.42.0
func AreTagsUpToDate(spec map[string]string, obs []route53types.Tag) ([]route53types.Tag, []string, bool)
AreTagsUpToDate checks whether the given spec and observed tags are the same.
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 GetHostedZoneID ¶ added in v0.42.0
func GetHostedZoneID(cr *v1alpha1.HostedZone) string
GetHostedZoneID for cr.
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) ListTagsForResource(ctx context.Context, params *route53.ListTagsForResourceInput, opts ...func(*route53.Options)) (*route53.ListTagsForResourceOutput, error) ChangeTagsForResource(ctx context.Context, params *route53.ChangeTagsForResourceInput, optFns ...func(*route53.Options)) (*route53.ChangeTagsForResourceOutput, error) }
Client defines Route53 Client operations