registrar

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RecordNS    = "NS"
	RecordA     = "A"
	RecordCNAME = "CNAME"
)
View Source
const (
	EndpointIngress  = "ingress"
	EndpointWildcard = "*"
)
View Source
const EndpointAPI = "api"

Variables

This section is empty.

Functions

func EndpointBastion added in v0.5.0

func EndpointBastion(index int) string

Types

type API

type API struct {
	// contains filtered or unexported fields
}

func NewAPI

func NewAPI(baseDomain string, dnsService *clouddns.Service) *API

func (*API) Register

func (r *API) Register(ctx context.Context, cluster *capg.GCPCluster) error

func (*API) Unregister

func (r *API) Unregister(ctx context.Context, cluster *capg.GCPCluster) error

type Bastion added in v0.5.0

type Bastion struct {
	// contains filtered or unexported fields
}

func NewBastion added in v0.5.0

func NewBastion(baseDomain string, bastionsClient BastionsClient, dnsService *clouddns.Service) *Bastion

func (*Bastion) Register added in v0.5.0

func (r *Bastion) Register(ctx context.Context, cluster *capg.GCPCluster) error

func (*Bastion) Unregister added in v0.5.0

func (r *Bastion) Unregister(ctx context.Context, cluster *capg.GCPCluster) error

type BastionsClient added in v0.5.0

type BastionsClient interface {
	GetBastionIPList(ctx context.Context, cluster *capg.GCPCluster) ([]string, error)
}

type Wildcard

type Wildcard struct {
	// contains filtered or unexported fields
}

func NewWildcard

func NewWildcard(baseDomain string, dnsService *clouddns.Service) *Wildcard

func (*Wildcard) Register

func (r *Wildcard) Register(ctx context.Context, cluster *capg.GCPCluster) error

func (*Wildcard) Unregister

func (r *Wildcard) Unregister(ctx context.Context, cluster *capg.GCPCluster) error

type Zone

type Zone struct {
	// contains filtered or unexported fields
}

func NewZone

func NewZone(baseDomain, parentDNSZone, parentGCPProject string, dnsService *clouddns.Service) *Zone

func (*Zone) Register

func (r *Zone) Register(ctx context.Context, cluster *capg.GCPCluster) error

func (*Zone) Unregister

func (r *Zone) Unregister(ctx context.Context, cluster *capg.GCPCluster) error

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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