function

package
v0.0.0-...-2af310e Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

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

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

func (x *DeployRequest) GetRegion() string

func (*DeployRequest) GetRepo

func (x *DeployRequest) GetRepo() string

func (*DeployRequest) GetRuntime

func (x *DeployRequest) GetRuntime() string

func (*DeployRequest) GetSource

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

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

func (x *Func) GetBranch() string

func (*Func) GetCreated

func (x *Func) GetCreated() string

func (*Func) GetEntrypoint

func (x *Func) GetEntrypoint() string

func (*Func) GetEnvVars

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

func (*Func) GetId

func (x *Func) GetId() string

func (*Func) GetName

func (x *Func) GetName() string

func (*Func) GetRegion

func (x *Func) GetRegion() string

func (*Func) GetRepo

func (x *Func) GetRepo() string

func (*Func) GetRuntime

func (x *Func) GetRuntime() string

func (*Func) GetSource

func (x *Func) GetSource() string

func (*Func) GetStatus

func (x *Func) GetStatus() string

func (*Func) GetSubfolder

func (x *Func) GetSubfolder() string

func (*Func) GetUpdated

func (x *Func) GetUpdated() string

func (*Func) GetUrl

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

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

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

Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead.

func (*LogsRequest) GetLogsType

func (x *LogsRequest) GetLogsType() string

func (*LogsRequest) GetName

func (x *LogsRequest) GetName() string

func (*LogsRequest) ProtoMessage

func (*LogsRequest) ProtoMessage()

func (*LogsRequest) ProtoReflect

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

func (*LogsRequest) Reset

func (x *LogsRequest) Reset()

func (*LogsRequest) String

func (x *LogsRequest) String() string

type LogsResponse

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

func (*LogsResponse) Descriptor deprecated

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

Deprecated: Use LogsResponse.ProtoReflect.Descriptor instead.

func (*LogsResponse) GetLogs

func (x *LogsResponse) GetLogs() string

func (*LogsResponse) ProtoMessage

func (*LogsResponse) ProtoMessage()

func (*LogsResponse) ProtoReflect

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

func (*LogsResponse) Reset

func (x *LogsResponse) Reset()

func (*LogsResponse) String

func (x *LogsResponse) String() string

type ProxyRequest

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

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

Deprecated: Use ProxyRequest.ProtoReflect.Descriptor instead.

func (*ProxyRequest) GetId

func (x *ProxyRequest) GetId() string

func (*ProxyRequest) ProtoMessage

func (*ProxyRequest) ProtoMessage()

func (*ProxyRequest) ProtoReflect

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

func (*ProxyRequest) Reset

func (x *ProxyRequest) Reset()

func (*ProxyRequest) String

func (x *ProxyRequest) String() string

type ProxyResponse

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

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

Deprecated: Use ProxyResponse.ProtoReflect.Descriptor instead.

func (*ProxyResponse) GetUrl

func (x *ProxyResponse) GetUrl() string

func (*ProxyResponse) ProtoMessage

func (*ProxyResponse) ProtoMessage()

func (*ProxyResponse) ProtoReflect

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

func (*ProxyResponse) Reset

func (x *ProxyResponse) Reset()

func (*ProxyResponse) String

func (x *ProxyResponse) String() string

type RegionsRequest

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

Return a list of supported regions

func (*RegionsRequest) Descriptor deprecated

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

Deprecated: Use RegionsRequest.ProtoReflect.Descriptor instead.

func (*RegionsRequest) ProtoMessage

func (*RegionsRequest) ProtoMessage()

func (*RegionsRequest) ProtoReflect

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

func (*RegionsRequest) Reset

func (x *RegionsRequest) Reset()

func (*RegionsRequest) String

func (x *RegionsRequest) String() string

type RegionsResponse

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

func (*RegionsResponse) Descriptor deprecated

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

Deprecated: Use RegionsResponse.ProtoReflect.Descriptor instead.

func (*RegionsResponse) GetRegions

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

func (*RegionsResponse) ProtoMessage

func (*RegionsResponse) ProtoMessage()

func (*RegionsResponse) ProtoReflect

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

func (*RegionsResponse) Reset

func (x *RegionsResponse) Reset()

func (*RegionsResponse) String

func (x *RegionsResponse) String() string

type Reservation

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

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

Deprecated: Use Reservation.ProtoReflect.Descriptor instead.

func (*Reservation) GetCreated

func (x *Reservation) GetCreated() string

func (*Reservation) GetExpires

func (x *Reservation) GetExpires() string

func (*Reservation) GetName

func (x *Reservation) GetName() string

func (*Reservation) GetOwner

func (x *Reservation) GetOwner() string

func (*Reservation) GetToken

func (x *Reservation) GetToken() string

func (*Reservation) ProtoMessage

func (*Reservation) ProtoMessage()

func (*Reservation) ProtoReflect

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

func (*Reservation) Reset

func (x *Reservation) Reset()

func (*Reservation) String

func (x *Reservation) String() string

type ReserveRequest

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

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

Deprecated: Use ReserveRequest.ProtoReflect.Descriptor instead.

func (*ReserveRequest) GetName

func (x *ReserveRequest) GetName() string

func (*ReserveRequest) ProtoMessage

func (*ReserveRequest) ProtoMessage()

func (*ReserveRequest) ProtoReflect

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

func (*ReserveRequest) Reset

func (x *ReserveRequest) Reset()

func (*ReserveRequest) String

func (x *ReserveRequest) String() string

type ReserveResponse

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

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

Deprecated: Use ReserveResponse.ProtoReflect.Descriptor instead.

func (*ReserveResponse) GetReservation

func (x *ReserveResponse) GetReservation() *Reservation

func (*ReserveResponse) ProtoMessage

func (*ReserveResponse) ProtoMessage()

func (*ReserveResponse) ProtoReflect

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

func (*ReserveResponse) Reset

func (x *ReserveResponse) Reset()

func (*ReserveResponse) String

func (x *ReserveResponse) String() string

type RuntimesRequest

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

Return a list of supported runtimes

func (*RuntimesRequest) Descriptor deprecated

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

Deprecated: Use RuntimesRequest.ProtoReflect.Descriptor instead.

func (*RuntimesRequest) ProtoMessage

func (*RuntimesRequest) ProtoMessage()

func (*RuntimesRequest) ProtoReflect

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

func (*RuntimesRequest) Reset

func (x *RuntimesRequest) Reset()

func (*RuntimesRequest) String

func (x *RuntimesRequest) String() string

type RuntimesResponse

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

func (*RuntimesResponse) Descriptor deprecated

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

Deprecated: Use RuntimesResponse.ProtoReflect.Descriptor instead.

func (*RuntimesResponse) GetRuntimes

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

func (*RuntimesResponse) ProtoMessage

func (*RuntimesResponse) ProtoMessage()

func (*RuntimesResponse) ProtoReflect

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

func (*RuntimesResponse) Reset

func (x *RuntimesResponse) Reset()

func (*RuntimesResponse) String

func (x *RuntimesResponse) String() string

type UpdateRequest

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

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

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetName

func (x *UpdateRequest) GetName() string

func (*UpdateRequest) GetSource

func (x *UpdateRequest) GetSource() string

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect

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

func (*UpdateRequest) Reset

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String

func (x *UpdateRequest) String() string

type UpdateResponse

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

func (*UpdateResponse) Descriptor deprecated

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

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect

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

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

Jump to

Keyboard shortcuts

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