hostedzone

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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

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

func IsNotFound(err error) bool

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

func NewClient

func NewClient(cfg aws.Config) Client

NewClient creates new RDS RDSClient with provided AWS Configurations/Credentials

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL