gcp

package
v0.0.0-...-6c3490f Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

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

func New

func New(data json.RawMessage, domain, owner string,
	ipVersion ipversion.IPVersion, ipv6Suffix netip.Prefix) (
	p *Provider, err error,
)

func (*Provider) BuildDomainName

func (p *Provider) BuildDomainName() string

func (*Provider) Domain

func (p *Provider) Domain() string

func (*Provider) HTML

func (p *Provider) HTML() models.HTMLRow

func (*Provider) IPVersion

func (p *Provider) IPVersion() ipversion.IPVersion

func (*Provider) IPv6Suffix

func (p *Provider) IPv6Suffix() netip.Prefix

func (*Provider) Owner

func (p *Provider) Owner() string

func (*Provider) Proxied

func (p *Provider) Proxied() bool

func (*Provider) String

func (p *Provider) String() string

func (*Provider) Update

func (p *Provider) Update(ctx context.Context, client *http.Client, ip netip.Addr) (newIP netip.Addr, err error)

Jump to

Keyboard shortcuts

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