googlecloudfunctions

package
v0.0.0-...-4f62784 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Index

Constants

View Source
const (
	UnixDate = "Mon Jan _2 15:04:05 MST 2006"
	RFC3339  = "2006-01-02T15:04:05Z07:00"
)

Variables

This section is empty.

Functions

func CreateGooglecloudfunctionedictnoaryconvert

func CreateGooglecloudfunctionedictnoaryconvert(option CreateGooglecloudfunction, CreateGooglecloudfunctionjsonmap map[string]interface{})

CreateGooglecloudfunctionedictnoaryconvert convert dict to form valid json.

Types

type CreateGooglecloudfunction

type CreateGooglecloudfunction struct {
	Name                string       `json:"name"`
	Status              string       `json:"status"`
	EntryPoint          string       `json:"entryPoint"`
	Timeout             string       `json:"timeout"`
	AvailableMemoryMb   int          `json:"availableMemoryMb"`
	ServiceAccountEmail string       `json:"serviceAccountEmail"`
	UpdateTime          string       `json:"updateTime"`
	VersionID           string       `json:"versionId"`
	SourceUploadURL     string       `json:"sourceUploadUrl"`
	Labels              labels       `json:"labels"`
	HTTPSTrigger        httpstrigger `json:"httpsTrigger"`
}

CreateGooglecloudfunction struct reperesnts Create Googlecloud function.

type Googlecloudfunctions

type Googlecloudfunctions struct {
}

Googlecloudfunctions struct reperesnts Google cloud functions service.

func (*Googlecloudfunctions) CallFunction

func (googlecloudfunctions *Googlecloudfunctions) CallFunction(request interface{}) (resp interface{}, err error)

CallFunction call function.

func (*Googlecloudfunctions) CreateFunction

func (googlecloudfunctions *Googlecloudfunctions) CreateFunction(request interface{}) (resp interface{}, err error)

Create Create Google cloud function.

func (*Googlecloudfunctions) DeleteFunction

func (googlecloudfunctions *Googlecloudfunctions) DeleteFunction(request interface{}) (resp interface{}, err error)

Delete delete function.

func (*Googlecloudfunctions) GetFunction

func (googlecloudfunctions *Googlecloudfunctions) GetFunction(request interface{}) (resp interface{}, err error)

GetFunction get function.

func (*Googlecloudfunctions) ListFunction

func (googlecloudfunctions *Googlecloudfunctions) ListFunction(request interface{}) (resp interface{}, err error)

ListFunction list function.

Jump to

Keyboard shortcuts

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