Documentation
¶
Index ¶
Constants ¶
View Source
const (
//ServiceID Google Cloud Function Service Id
ServiceID = "gc/cloudfunctions"
)
Variables ¶
This section is empty.
Functions ¶
func InitRequest ¶
Types ¶
type CallRequest ¶ added in v0.29.0
CallRequest represents a call request
func (*CallRequest) Init ¶ added in v0.29.0
func (r *CallRequest) Init() error
Init initializes request
func (*CallRequest) Validate ¶ added in v0.29.0
func (r *CallRequest) Validate() error
Validate checks if request was valid
type CtxClient ¶
type CtxClient struct {
*gc.AbstractClient
// contains filtered or unexported fields
}
CtxClient represents context client
func (*CtxClient) SetService ¶
type DeleteRequest ¶ added in v0.29.0
DeleteRequest represents delete function requests
func (*DeleteRequest) Init ¶ added in v0.29.0
func (r *DeleteRequest) Init() error
Init initializes request
func (*DeleteRequest) Validate ¶ added in v0.29.0
func (r *DeleteRequest) Validate() error
Validate checks if request was valid
type DeleteResponse ¶ added in v0.29.0
type DeleteResponse struct {
Operation string
Meta interface{}
}
DeleteResponse represents delete response
type DeployRequest ¶ added in v0.29.0
type DeployRequest struct {
*cloudfunctions.CloudFunction
Source *url.Resource
Region string
}
DeployRequest represents deploy request
func (*DeployRequest) Init ¶ added in v0.29.0
func (r *DeployRequest) Init() error
Init initializes request
func (*DeployRequest) Validate ¶ added in v0.29.0
func (r *DeployRequest) Validate() error
Validate checks if request was valid
type DeployResponse ¶ added in v0.29.0
type DeployResponse struct {
Operation string
Meta interface{}
Function *cloudfunctions.CloudFunction
}
DeployResponse represents deploy response
type GetRequest ¶ added in v0.29.0
GetRequest represents get function requests
func (*GetRequest) Init ¶ added in v0.29.0
func (r *GetRequest) Init() error
Init initializes request
func (*GetRequest) Validate ¶ added in v0.29.0
func (r *GetRequest) Validate() error
Validate checks if request was valid
type ListRequest ¶ added in v0.29.0
type ListRequest struct {
Region string
}
GetRequest represents list function requests
func (*ListRequest) Init ¶ added in v0.29.0
func (r *ListRequest) Init() error
Init initializes request
type ListResponse ¶ added in v0.29.0
type ListResponse struct {
Function []*cloudfunctions.CloudFunction
}
GetRequest represents list function response
Click to show internal directories.
Click to hide internal directories.