gcp

package
v0.0.0-...-b72711b Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 14 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, host 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) Host

func (p *Provider) Host() string

func (*Provider) IPVersion

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

func (*Provider) IPv6Suffix

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

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