gcloud

package
v0.0.0-...-90932d8 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendBucket

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

func (*BackendBucket) Create

func (b *BackendBucket) Create() (string, error)

func (*BackendBucket) Destroy

func (b *BackendBucket) Destroy() (string, error)

func (*BackendBucket) Exists

func (b *BackendBucket) Exists() bool

type ForwardRule

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

func (*ForwardRule) Create

func (f *ForwardRule) Create() (string, error)

func (*ForwardRule) Destroy

func (f *ForwardRule) Destroy() (string, error)

func (*ForwardRule) Exists

func (f *ForwardRule) Exists() bool

type GCloud

type GCloud struct {
	Project       string
	Bucket        string
	IP            *IP
	BackendBucket *BackendBucket
	URLMap        *URLMap
	SSLCert       *SSLCert
	Proxy         *Proxy
	ForwardRule   *ForwardRule
}

func Init

func Init(project, bucket string) *GCloud

func (*GCloud) Exec

func (g *GCloud) Exec(args []string) (string, error)

type IP

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

func (*IP) Destroy

func (ip *IP) Destroy() (string, error)

func (*IP) Exists

func (ip *IP) Exists() bool

func (*IP) Reserve

func (ip *IP) Reserve() (string, error)

type Proxy

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

func (*Proxy) Create

func (p *Proxy) Create(which string) (string, error)

type is a reserved word :/

func (*Proxy) Destroy

func (p *Proxy) Destroy(which string) (string, error)

func (*Proxy) Exists

func (p *Proxy) Exists(which string) bool

type SSLCert

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

func (*SSLCert) Create

func (s *SSLCert) Create(domain string) (string, error)

func (*SSLCert) Destroy

func (s *SSLCert) Destroy() (string, error)

func (*SSLCert) Exists

func (s *SSLCert) Exists() bool

type URLMap

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

func (*URLMap) Create

func (u *URLMap) Create() (string, error)

func (*URLMap) Destroy

func (u *URLMap) Destroy() (string, error)

func (*URLMap) Exists

func (u *URLMap) Exists() bool

Jump to

Keyboard shortcuts

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