cherryservers

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBase64

func IsBase64(s string) bool

func IsValidUUID

func IsValidUUID(u string) bool

func Provider

func Provider() *schema.Provider

func ServerHostnameToID

func ServerHostnameToID(hostname string, projectID int, ServerService cherrygo.ServersService) (int, error)

func ServerIPSchema

func ServerIPSchema() *schema.Resource

Types

type Client

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

Client wrap cherrygo client

type Config

type Config struct {
	AuthToken string
}

Config for auth variable

func (*Config) Client

func (c *Config) Client() (*Client, error)

Client initialize cherrygo client

Jump to

Keyboard shortcuts

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