function

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 12 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_function_proto protoreflect.FileDescriptor

Functions

func NewFunctionEndpoints

func NewFunctionEndpoints() []*api.Endpoint

func RegisterFunctionHandler

func RegisterFunctionHandler(s server.Server, hdlr FunctionHandler, opts ...server.HandlerOption) error

Types

type CallRequest

type CallRequest struct {

	// Name of the function
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Request body that will be passed to the function
	Request *structpb.Struct `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

Call a function by name

func (*CallRequest) Descriptor deprecated

func (*CallRequest) Descriptor() ([]byte, []int)

Deprecated: Use CallRequest.ProtoReflect.Descriptor instead.

func (*CallRequest) GetName

func (x *CallRequest) GetName() string

func (*CallRequest) GetRequest

func (x *CallRequest) GetRequest() *structpb.Struct

func (*CallRequest) ProtoMessage

func (*CallRequest) ProtoMessage()

func (*CallRequest) ProtoReflect

func (x *CallRequest) ProtoReflect() protoreflect.Message

func (*CallRequest) Reset

func (x *CallRequest) Reset()

func (*CallRequest) String

func (x *CallRequest) String() string

type CallResponse

type CallResponse struct {

	// Response body that the function returned
	Response *structpb.Struct `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*CallResponse) Descriptor deprecated

func (*CallResponse) Descriptor() ([]byte, []int)

Deprecated: Use CallResponse.ProtoReflect.Descriptor instead.

func (*CallResponse) GetResponse

func (x *CallResponse) GetResponse() *structpb.Struct

func (*CallResponse) ProtoMessage

func (*CallResponse) ProtoMessage()

func (*CallResponse) ProtoReflect

func (x *CallResponse) ProtoReflect() protoreflect.Message

func (*CallResponse) Reset

func (x *CallResponse) Reset()

func (*CallResponse) String

func (x *CallResponse) String() string

type DeleteRequest

type DeleteRequest struct {

	// The name of the function
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Delete a function by name

func (*DeleteRequest) Descriptor deprecated

func (*DeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetName

func (x *DeleteRequest) GetName() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

func (x *DeleteRequest) ProtoReflect() protoreflect.Message

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

type DeleteResponse

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

func (*DeleteResponse) Descriptor deprecated

func (*DeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

func (x *DeleteResponse) ProtoReflect() protoreflect.Message

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

type DeployRequest

type DeployRequest struct {

	// function name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// inline source code
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// github url for a repo
	Repo string `protobuf:"bytes,3,opt,name=repo,proto3" json:"repo,omitempty"`
	// branch to deploy. defaults to master
	Branch string `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
	// optional subfolder path
	Subfolder string `protobuf:"bytes,5,opt,name=subfolder,proto3" json:"subfolder,omitempty"`
	// entry point, ie. handler name in the source code
	// if not provided, defaults to the name parameter
	Entrypoint string `protobuf:"bytes,6,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	// runtime/lanaguage of the function e.g php74,
	// nodejs6, nodejs8, nodejs10, nodejs12, nodejs14, nodejs16,
	// dotnet3, java11, ruby26, ruby27, go111, go113, go116,
	// python37, python38, python39
	Runtime string `protobuf:"bytes,7,opt,name=runtime,proto3" json:"runtime,omitempty"`
	// region to deploy in. defaults to europe-west1
	Region string `protobuf:"bytes,8,opt,name=region,proto3" json:"region,omitempty"`
	// environment variables to pass in at runtime
	EnvVars map[string]string `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

Deploy a group of functions

func (*DeployRequest) Descriptor deprecated

func (*DeployRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeployRequest.ProtoReflect.Descriptor instead.

func (*DeployRequest) GetBranch added in v0.24.0

func (x *DeployRequest) GetBranch() string

func (*DeployRequest) GetEntrypoint

func (x *DeployRequest) GetEntrypoint() string

func (*DeployRequest) GetEnvVars

func (x *DeployRequest) GetEnvVars() map[string]string

func (*DeployRequest) GetName

func (x *DeployRequest) GetName() string

func (*DeployRequest) GetRegion added in v0.24.0

func (x *DeployRequest) GetRegion() string

func (*DeployRequest) GetRepo

func (x *DeployRequest) GetRepo() string

func (*DeployRequest) GetRuntime

func (x *DeployRequest) GetRuntime() string

func (*DeployRequest) GetSource added in v0.26.0

func (x *DeployRequest) GetSource() string

func (*DeployRequest) GetSubfolder

func (x *DeployRequest) GetSubfolder() string

func (*DeployRequest) ProtoMessage

func (*DeployRequest) ProtoMessage()

func (*DeployRequest) ProtoReflect

func (x *DeployRequest) ProtoReflect() protoreflect.Message

func (*DeployRequest) Reset

func (x *DeployRequest) Reset()

func (*DeployRequest) String

func (x *DeployRequest) String() string

type DeployResponse

type DeployResponse struct {
	Function *Func `protobuf:"bytes,1,opt,name=function,proto3" json:"function,omitempty"`
	// contains filtered or unexported fields
}

func (*DeployResponse) Descriptor deprecated

func (*DeployResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeployResponse.ProtoReflect.Descriptor instead.

func (*DeployResponse) GetFunction added in v0.24.0

func (x *DeployResponse) GetFunction() *Func

func (*DeployResponse) ProtoMessage

func (*DeployResponse) ProtoMessage()

func (*DeployResponse) ProtoReflect

func (x *DeployResponse) ProtoReflect() protoreflect.Message

func (*DeployResponse) Reset

func (x *DeployResponse) Reset()

func (*DeployResponse) String

func (x *DeployResponse) String() string

type DescribeRequest

type DescribeRequest struct {

	// The name of the function
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Get the info for a deployed function

func (*DescribeRequest) Descriptor deprecated

func (*DescribeRequest) Descriptor() ([]byte, []int)

Deprecated: Use DescribeRequest.ProtoReflect.Descriptor instead.

func (*DescribeRequest) GetName

func (x *DescribeRequest) GetName() string

func (*DescribeRequest) ProtoMessage

func (*DescribeRequest) ProtoMessage()

func (*DescribeRequest) ProtoReflect

func (x *DescribeRequest) ProtoReflect() protoreflect.Message

func (*DescribeRequest) Reset

func (x *DescribeRequest) Reset()

func (*DescribeRequest) String

func (x *DescribeRequest) String() string

type DescribeResponse

type DescribeResponse struct {

	// The function requested
	Function *Func `protobuf:"bytes,1,opt,name=function,proto3" json:"function,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeResponse) Descriptor deprecated

func (*DescribeResponse) Descriptor() ([]byte, []int)

Deprecated: Use DescribeResponse.ProtoReflect.Descriptor instead.

func (*DescribeResponse) GetFunction

func (x *DescribeResponse) GetFunction() *Func

func (*DescribeResponse) ProtoMessage

func (*DescribeResponse) ProtoMessage()

func (*DescribeResponse) ProtoReflect

func (x *DescribeResponse) ProtoReflect() protoreflect.Message

func (*DescribeResponse) Reset

func (x *DescribeResponse) Reset()

func (*DescribeResponse) String

func (x *DescribeResponse) String() string

type Func

type Func struct {

	// id of the function
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// function name
	// limitation: must be unique across projects
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// the source code
	Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	// git repo address
	Repo string `protobuf:"bytes,4,opt,name=repo,proto3" json:"repo,omitempty"`
	// branch to deploy. defaults to master
	Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"`
	// name of handler in source code
	Entrypoint string `protobuf:"bytes,6,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	// subfolder path to entrypoint
	Subfolder string `protobuf:"bytes,7,opt,name=subfolder,proto3" json:"subfolder,omitempty"`
	// runtime/language of the function e.g php74,
	// nodejs6, nodejs8, nodejs10, nodejs12, nodejs14, nodejs16,
	// dotnet3, java11, ruby26, ruby27, go111, go113, go116,
	// python37, python38, python39
	Runtime string `protobuf:"bytes,8,opt,name=runtime,proto3" json:"runtime,omitempty"`
	// region to deploy in. defaults to europe-west1
	Region string `protobuf:"bytes,9,opt,name=region,proto3" json:"region,omitempty"`
	// associated env vars
	EnvVars map[string]string `` /* 171-byte string literal not displayed */
	// eg. ACTIVE, DEPLOY_IN_PROGRESS, OFFLINE etc
	Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
	// unique url of the function
	Url string `protobuf:"bytes,12,opt,name=url,proto3" json:"url,omitempty"`
	// time of creation
	Created string `protobuf:"bytes,13,opt,name=created,proto3" json:"created,omitempty"`
	// time it was updated
	Updated string `protobuf:"bytes,14,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*Func) Descriptor deprecated

func (*Func) Descriptor() ([]byte, []int)

Deprecated: Use Func.ProtoReflect.Descriptor instead.

func (*Func) GetBranch added in v0.24.0

func (x *Func) GetBranch() string

func (*Func) GetCreated added in v0.24.0

func (x *Func) GetCreated() string

func (*Func) GetEntrypoint

func (x *Func) GetEntrypoint() string

func (*Func) GetEnvVars added in v0.24.0

func (x *Func) GetEnvVars() map[string]string

func (*Func) GetId added in v0.24.0

func (x *Func) GetId() string

func (*Func) GetName

func (x *Func) GetName() string

func (*Func) GetRegion added in v0.24.0

func (x *Func) GetRegion() string

func (*Func) GetRepo

func (x *Func) GetRepo() string

func (*Func) GetRuntime

func (x *Func) GetRuntime() string

func (*Func) GetSource added in v0.26.0

func (x *Func) GetSource() string

func (*Func) GetStatus

func (x *Func) GetStatus() string

func (*Func) GetSubfolder

func (x *Func) GetSubfolder() string

func (*Func) GetUpdated added in v0.24.0

func (x *Func) GetUpdated() string

func (*Func) GetUrl added in v0.24.0

func (x *Func) GetUrl() string

func (*Func) ProtoMessage

func (*Func) ProtoMessage()

func (*Func) ProtoReflect

func (x *Func) ProtoReflect() protoreflect.Message

func (*Func) Reset

func (x *Func) Reset()

func (*Func) String

func (x *Func) String() string

type ListRequest

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

List all the deployed functions

func (*ListRequest) Descriptor deprecated

func (*ListRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

func (x *ListRequest) ProtoReflect() protoreflect.Message

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type ListResponse

type ListResponse struct {

	// List of functions deployed
	Functions []*Func `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResponse) Descriptor deprecated

func (*ListResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.

func (*ListResponse) GetFunctions

func (x *ListResponse) GetFunctions() []*Func

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) ProtoReflect

func (x *ListResponse) ProtoReflect() protoreflect.Message

func (*ListResponse) Reset

func (x *ListResponse) Reset()

func (*ListResponse) String

func (x *ListResponse) String() string

type LogsRequest added in v0.26.0

type LogsRequest struct {

	// the name of the function
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// type of logs to retrieve, currently supported options - "build"
	LogsType string `protobuf:"bytes,2,opt,name=logs_type,json=logsType,proto3" json:"logs_type,omitempty"`
	// contains filtered or unexported fields
}

Get the logs for a function

func (*LogsRequest) Descriptor deprecated added in v0.26.0

func (*LogsRequest) Descriptor() ([]byte, []int)

Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead.

func (*LogsRequest) GetLogsType added in v0.26.0

func (x *LogsRequest) GetLogsType() string

func (*LogsRequest) GetName added in v0.26.0

func (x *LogsRequest) GetName() string

func (*LogsRequest) ProtoMessage added in v0.26.0

func (*LogsRequest) ProtoMessage()

func (*LogsRequest) ProtoReflect added in v0.26.0

func (x *LogsRequest) ProtoReflect() protoreflect.Message

func (*LogsRequest) Reset added in v0.26.0

func (x *LogsRequest) Reset()

func (*LogsRequest) String added in v0.26.0

func (x *LogsRequest) String() string

type LogsResponse added in v0.26.0

type LogsResponse struct {
	Logs string `protobuf:"bytes,1,opt,name=logs,proto3" json:"logs,omitempty"`
	// contains filtered or unexported fields
}

func (*LogsResponse) Descriptor deprecated added in v0.26.0

func (*LogsResponse) Descriptor() ([]byte, []int)

Deprecated: Use LogsResponse.ProtoReflect.Descriptor instead.

func (*LogsResponse) GetLogs added in v0.26.0

func (x *LogsResponse) GetLogs() string

func (*LogsResponse) ProtoMessage added in v0.26.0

func (*LogsResponse) ProtoMessage()

func (*LogsResponse) ProtoReflect added in v0.26.0

func (x *LogsResponse) ProtoReflect() protoreflect.Message

func (*LogsResponse) Reset added in v0.26.0

func (x *LogsResponse) Reset()

func (*LogsResponse) String added in v0.26.0

func (x *LogsResponse) String() string

type ProxyRequest added in v0.24.0

type ProxyRequest struct {

	// id of the function
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Return the backend url for proxying

func (*ProxyRequest) Descriptor deprecated added in v0.24.0

func (*ProxyRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProxyRequest.ProtoReflect.Descriptor instead.

func (*ProxyRequest) GetId added in v0.24.0

func (x *ProxyRequest) GetId() string

func (*ProxyRequest) ProtoMessage added in v0.24.0

func (*ProxyRequest) ProtoMessage()

func (*ProxyRequest) ProtoReflect added in v0.24.0

func (x *ProxyRequest) ProtoReflect() protoreflect.Message

func (*ProxyRequest) Reset added in v0.24.0

func (x *ProxyRequest) Reset()

func (*ProxyRequest) String added in v0.24.0

func (x *ProxyRequest) String() string

type ProxyResponse added in v0.24.0

type ProxyResponse struct {

	// backend url
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyResponse) Descriptor deprecated added in v0.24.0

func (*ProxyResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProxyResponse.ProtoReflect.Descriptor instead.

func (*ProxyResponse) GetUrl added in v0.24.0

func (x *ProxyResponse) GetUrl() string

func (*ProxyResponse) ProtoMessage added in v0.24.0

func (*ProxyResponse) ProtoMessage()

func (*ProxyResponse) ProtoReflect added in v0.24.0

func (x *ProxyResponse) ProtoReflect() protoreflect.Message

func (*ProxyResponse) Reset added in v0.24.0

func (x *ProxyResponse) Reset()

func (*ProxyResponse) String added in v0.24.0

func (x *ProxyResponse) String() string

type RegionsRequest added in v0.24.0

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

Return a list of supported regions

func (*RegionsRequest) Descriptor deprecated added in v0.24.0

func (*RegionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegionsRequest.ProtoReflect.Descriptor instead.

func (*RegionsRequest) ProtoMessage added in v0.24.0

func (*RegionsRequest) ProtoMessage()

func (*RegionsRequest) ProtoReflect added in v0.24.0

func (x *RegionsRequest) ProtoReflect() protoreflect.Message

func (*RegionsRequest) Reset added in v0.24.0

func (x *RegionsRequest) Reset()

func (*RegionsRequest) String added in v0.24.0

func (x *RegionsRequest) String() string

type RegionsResponse added in v0.24.0

type RegionsResponse struct {
	Regions []string `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"`
	// contains filtered or unexported fields
}

func (*RegionsResponse) Descriptor deprecated added in v0.24.0

func (*RegionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegionsResponse.ProtoReflect.Descriptor instead.

func (*RegionsResponse) GetRegions added in v0.24.0

func (x *RegionsResponse) GetRegions() []string

func (*RegionsResponse) ProtoMessage added in v0.24.0

func (*RegionsResponse) ProtoMessage()

func (*RegionsResponse) ProtoReflect added in v0.24.0

func (x *RegionsResponse) ProtoReflect() protoreflect.Message

func (*RegionsResponse) Reset added in v0.24.0

func (x *RegionsResponse) Reset()

func (*RegionsResponse) String added in v0.24.0

func (x *RegionsResponse) String() string

type Reservation added in v0.24.0

type Reservation struct {

	// name of the app
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// owner id
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// associated token
	Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// time of reservation
	Created string `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"`
	// time reservation expires
	Expires string `protobuf:"bytes,5,opt,name=expires,proto3" json:"expires,omitempty"`
	// contains filtered or unexported fields
}

Reservation represents a reserved function

func (*Reservation) Descriptor deprecated added in v0.24.0

func (*Reservation) Descriptor() ([]byte, []int)

Deprecated: Use Reservation.ProtoReflect.Descriptor instead.

func (*Reservation) GetCreated added in v0.24.0

func (x *Reservation) GetCreated() string

func (*Reservation) GetExpires added in v0.24.0

func (x *Reservation) GetExpires() string

func (*Reservation) GetName added in v0.24.0

func (x *Reservation) GetName() string

func (*Reservation) GetOwner added in v0.24.0

func (x *Reservation) GetOwner() string

func (*Reservation) GetToken added in v0.24.0

func (x *Reservation) GetToken() string

func (*Reservation) ProtoMessage added in v0.24.0

func (*Reservation) ProtoMessage()

func (*Reservation) ProtoReflect added in v0.24.0

func (x *Reservation) ProtoReflect() protoreflect.Message

func (*Reservation) Reset added in v0.24.0

func (x *Reservation) Reset()

func (*Reservation) String added in v0.24.0

func (x *Reservation) String() string

type ReserveRequest added in v0.24.0

type ReserveRequest struct {

	// name of your app e.g helloworld
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Reserve function names and resources beyond free quota

func (*ReserveRequest) Descriptor deprecated added in v0.24.0

func (*ReserveRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReserveRequest.ProtoReflect.Descriptor instead.

func (*ReserveRequest) GetName added in v0.24.0

func (x *ReserveRequest) GetName() string

func (*ReserveRequest) ProtoMessage added in v0.24.0

func (*ReserveRequest) ProtoMessage()

func (*ReserveRequest) ProtoReflect added in v0.24.0

func (x *ReserveRequest) ProtoReflect() protoreflect.Message

func (*ReserveRequest) Reset added in v0.24.0

func (x *ReserveRequest) Reset()

func (*ReserveRequest) String added in v0.24.0

func (x *ReserveRequest) String() string

type ReserveResponse added in v0.24.0

type ReserveResponse struct {

	// The app reservation
	Reservation *Reservation `protobuf:"bytes,1,opt,name=reservation,proto3" json:"reservation,omitempty"`
	// contains filtered or unexported fields
}

func (*ReserveResponse) Descriptor deprecated added in v0.24.0

func (*ReserveResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReserveResponse.ProtoReflect.Descriptor instead.

func (*ReserveResponse) GetReservation added in v0.24.0

func (x *ReserveResponse) GetReservation() *Reservation

func (*ReserveResponse) ProtoMessage added in v0.24.0

func (*ReserveResponse) ProtoMessage()

func (*ReserveResponse) ProtoReflect added in v0.24.0

func (x *ReserveResponse) ProtoReflect() protoreflect.Message

func (*ReserveResponse) Reset added in v0.24.0

func (x *ReserveResponse) Reset()

func (*ReserveResponse) String added in v0.24.0

func (x *ReserveResponse) String() string

type RuntimesRequest added in v0.26.0

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

Return a list of supported runtimes

func (*RuntimesRequest) Descriptor deprecated added in v0.26.0

func (*RuntimesRequest) Descriptor() ([]byte, []int)

Deprecated: Use RuntimesRequest.ProtoReflect.Descriptor instead.

func (*RuntimesRequest) ProtoMessage added in v0.26.0

func (*RuntimesRequest) ProtoMessage()

func (*RuntimesRequest) ProtoReflect added in v0.26.0

func (x *RuntimesRequest) ProtoReflect() protoreflect.Message

func (*RuntimesRequest) Reset added in v0.26.0

func (x *RuntimesRequest) Reset()

func (*RuntimesRequest) String added in v0.26.0

func (x *RuntimesRequest) String() string

type RuntimesResponse added in v0.26.0

type RuntimesResponse struct {
	Runtimes []string `protobuf:"bytes,1,rep,name=runtimes,proto3" json:"runtimes,omitempty"`
	// contains filtered or unexported fields
}

func (*RuntimesResponse) Descriptor deprecated added in v0.26.0

func (*RuntimesResponse) Descriptor() ([]byte, []int)

Deprecated: Use RuntimesResponse.ProtoReflect.Descriptor instead.

func (*RuntimesResponse) GetRuntimes added in v0.26.0

func (x *RuntimesResponse) GetRuntimes() []string

func (*RuntimesResponse) ProtoMessage added in v0.26.0

func (*RuntimesResponse) ProtoMessage()

func (*RuntimesResponse) ProtoReflect added in v0.26.0

func (x *RuntimesResponse) ProtoReflect() protoreflect.Message

func (*RuntimesResponse) Reset added in v0.26.0

func (x *RuntimesResponse) Reset()

func (*RuntimesResponse) String added in v0.26.0

func (x *RuntimesResponse) String() string

type UpdateRequest added in v0.24.0

type UpdateRequest struct {

	// function name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// inline source code
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

Update a function. Downloads the source, builds and redeploys

func (*UpdateRequest) Descriptor deprecated added in v0.24.0

func (*UpdateRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetName added in v0.24.0

func (x *UpdateRequest) GetName() string

func (*UpdateRequest) GetSource added in v0.26.0

func (x *UpdateRequest) GetSource() string

func (*UpdateRequest) ProtoMessage added in v0.24.0

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect added in v0.24.0

func (x *UpdateRequest) ProtoReflect() protoreflect.Message

func (*UpdateRequest) Reset added in v0.24.0

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String added in v0.24.0

func (x *UpdateRequest) String() string

type UpdateResponse added in v0.24.0

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

func (*UpdateResponse) Descriptor deprecated added in v0.24.0

func (*UpdateResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) ProtoMessage added in v0.24.0

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect added in v0.24.0

func (x *UpdateResponse) ProtoReflect() protoreflect.Message

func (*UpdateResponse) Reset added in v0.24.0

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String added in v0.24.0

func (x *UpdateResponse) String() string

Jump to

Keyboard shortcuts

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