Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidProvider = errors.New("not a valid Provider")
View Source
var ProviderMap = _ProviderMap
re-export ProviderMap
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider int
ENUM( Unknown Aws Alibaba Azure Cloudflare Digitalocean Fastly Gcp Ibm Linode Oracle Ovh Scaleway Tencent Ucloud Vercel Akamai )
func ParseProvider ¶ added in v0.1.5
ParseProvider attempts to convert a string to a Provider.
func (*Provider) AppendText ¶ added in v0.1.278
AppendText appends the textual representation of itself to the end of b (allocating a larger slice if necessary) and returns the updated slice.
Implementations must not retain b, nor mutate any bytes within b[:len(b)].
func (Provider) IsValid ¶ added in v0.1.5
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (Provider) MarshalText ¶ added in v0.1.5
MarshalText implements the text marshaller method.
func (*Provider) UnmarshalText ¶ added in v0.1.5
UnmarshalText implements the text unmarshaller method.
Click to show internal directories.
Click to hide internal directories.