Documentation ¶
Index ¶
- func GetLBNameFromHostname(hostname string) (string, string, error)
- func Route53OwnerValue(clusterName, resource, ns, name string) string
- type AWS
- func (a *AWS) CleanupGlobalAccelerator(ctx context.Context, arn string) error
- func (a *AWS) CleanupRecordSet(ctx context.Context, clusterName, resource, ns, name string) error
- func (a *AWS) EnsureGlobalAcceleratorForIngress(ctx context.Context, ingress *networkingv1.Ingress, ...) (*string, bool, time.Duration, error)
- func (a *AWS) EnsureGlobalAcceleratorForService(ctx context.Context, svc *corev1.Service, ...) (*string, bool, time.Duration, error)
- func (a *AWS) EnsureRoute53ForIngress(ctx context.Context, ingress *networkingv1.Ingress, ...) (bool, time.Duration, error)
- func (a *AWS) EnsureRoute53ForService(ctx context.Context, svc *corev1.Service, ...) (bool, time.Duration, error)
- func (a *AWS) FindOwneredARecordSets(ctx context.Context, hostedZone *route53.HostedZone, ownerValue string) ([]*route53.ResourceRecordSet, error)
- func (a *AWS) GetEndpointGroup(ctx context.Context, listenerArn string) (*globalaccelerator.EndpointGroup, error)
- func (a *AWS) GetHostedZone(ctx context.Context, originalHostname string) (*route53.HostedZone, error)
- func (a *AWS) GetListener(ctx context.Context, acceleratorArn string) (*globalaccelerator.Listener, error)
- func (a *AWS) GetLoadBalancer(ctx context.Context, name string) (*elbv2.LoadBalancer, error)
- func (a *AWS) ListGlobalAcceleratorByHostname(ctx context.Context, hostname, clusterName string) ([]*globalaccelerator.Accelerator, error)
- func (a *AWS) ListGlobalAcceleratorByResource(ctx context.Context, clusterName, resource, ns, name string) ([]*globalaccelerator.Accelerator, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Route53OwnerValue ¶ added in v0.5.0
Types ¶
type AWS ¶
type AWS struct {
// contains filtered or unexported fields
}
func (*AWS) CleanupGlobalAccelerator ¶
func (*AWS) CleanupRecordSet ¶ added in v0.4.0
func (*AWS) EnsureGlobalAcceleratorForIngress ¶ added in v0.2.0
func (*AWS) EnsureGlobalAcceleratorForService ¶ added in v0.2.0
func (*AWS) EnsureRoute53ForIngress ¶ added in v0.4.0
func (*AWS) EnsureRoute53ForService ¶ added in v0.4.0
func (*AWS) FindOwneredARecordSets ¶ added in v0.5.0
func (a *AWS) FindOwneredARecordSets(ctx context.Context, hostedZone *route53.HostedZone, ownerValue string) ([]*route53.ResourceRecordSet, error)
func (*AWS) GetEndpointGroup ¶ added in v0.5.0
func (a *AWS) GetEndpointGroup(ctx context.Context, listenerArn string) (*globalaccelerator.EndpointGroup, error)
--------------------------------- EndpointGroup methods ---------------------------------
func (*AWS) GetHostedZone ¶ added in v0.5.0
func (*AWS) GetListener ¶ added in v0.5.0
func (a *AWS) GetListener(ctx context.Context, acceleratorArn string) (*globalaccelerator.Listener, error)
--------------------------------- Lstener methods ---------------------------------
func (*AWS) GetLoadBalancer ¶ added in v0.5.0
func (*AWS) ListGlobalAcceleratorByHostname ¶ added in v0.3.0
func (a *AWS) ListGlobalAcceleratorByHostname(ctx context.Context, hostname, clusterName string) ([]*globalaccelerator.Accelerator, error)
func (*AWS) ListGlobalAcceleratorByResource ¶ added in v0.5.0
func (a *AWS) ListGlobalAcceleratorByResource(ctx context.Context, clusterName, resource, ns, name string) ([]*globalaccelerator.Accelerator, error)
Click to show internal directories.
Click to hide internal directories.