v1

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthReactor = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowReactor   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type DeleteConfigRequest

type DeleteConfigRequest struct {
	AccountId            string   `protobuf:"bytes,1,opt,name=accountId,proto3" json:"accountId,omitempty"`
	FunctionId           string   `protobuf:"bytes,2,opt,name=functionId,proto3" json:"functionId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteConfigRequest) Descriptor

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

func (*DeleteConfigRequest) GetAccountId

func (m *DeleteConfigRequest) GetAccountId() string

func (*DeleteConfigRequest) GetFunctionId

func (m *DeleteConfigRequest) GetFunctionId() string

func (*DeleteConfigRequest) Marshal

func (m *DeleteConfigRequest) Marshal() (dAtA []byte, err error)

func (*DeleteConfigRequest) MarshalJSON

func (msg *DeleteConfigRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*DeleteConfigRequest) MarshalTo

func (m *DeleteConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteConfigRequest) ProtoMessage

func (*DeleteConfigRequest) ProtoMessage()

func (*DeleteConfigRequest) Reset

func (m *DeleteConfigRequest) Reset()

func (*DeleteConfigRequest) Size

func (m *DeleteConfigRequest) Size() (n int)

func (*DeleteConfigRequest) String

func (m *DeleteConfigRequest) String() string

func (*DeleteConfigRequest) Unmarshal

func (m *DeleteConfigRequest) Unmarshal(dAtA []byte) error

func (*DeleteConfigRequest) UnmarshalJSON

func (msg *DeleteConfigRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DeleteConfigRequest) XXX_DiscardUnknown

func (m *DeleteConfigRequest) XXX_DiscardUnknown()

func (*DeleteConfigRequest) XXX_Marshal

func (m *DeleteConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteConfigRequest) XXX_Merge

func (dst *DeleteConfigRequest) XXX_Merge(src proto.Message)

func (*DeleteConfigRequest) XXX_Size

func (m *DeleteConfigRequest) XXX_Size() int

func (*DeleteConfigRequest) XXX_Unmarshal

func (m *DeleteConfigRequest) XXX_Unmarshal(b []byte) error

type DeleteVariableRequest

type DeleteVariableRequest struct {
	AccountId            string   `protobuf:"bytes,1,opt,name=accountId,proto3" json:"accountId,omitempty"`
	Key                  string   `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	FunctionId           string   `protobuf:"bytes,3,opt,name=functionId,proto3" json:"functionId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteVariableRequest) Descriptor

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

func (*DeleteVariableRequest) GetAccountId

func (m *DeleteVariableRequest) GetAccountId() string

func (*DeleteVariableRequest) GetFunctionId

func (m *DeleteVariableRequest) GetFunctionId() string

func (*DeleteVariableRequest) GetKey

func (m *DeleteVariableRequest) GetKey() string

func (*DeleteVariableRequest) Marshal

func (m *DeleteVariableRequest) Marshal() (dAtA []byte, err error)

func (*DeleteVariableRequest) MarshalJSON

func (msg *DeleteVariableRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*DeleteVariableRequest) MarshalTo

func (m *DeleteVariableRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteVariableRequest) ProtoMessage

func (*DeleteVariableRequest) ProtoMessage()

func (*DeleteVariableRequest) Reset

func (m *DeleteVariableRequest) Reset()

func (*DeleteVariableRequest) Size

func (m *DeleteVariableRequest) Size() (n int)

func (*DeleteVariableRequest) String

func (m *DeleteVariableRequest) String() string

func (*DeleteVariableRequest) Unmarshal

func (m *DeleteVariableRequest) Unmarshal(dAtA []byte) error

func (*DeleteVariableRequest) UnmarshalJSON

func (msg *DeleteVariableRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DeleteVariableRequest) XXX_DiscardUnknown

func (m *DeleteVariableRequest) XXX_DiscardUnknown()

func (*DeleteVariableRequest) XXX_Marshal

func (m *DeleteVariableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteVariableRequest) XXX_Merge

func (dst *DeleteVariableRequest) XXX_Merge(src proto.Message)

func (*DeleteVariableRequest) XXX_Size

func (m *DeleteVariableRequest) XXX_Size() int

func (*DeleteVariableRequest) XXX_Unmarshal

func (m *DeleteVariableRequest) XXX_Unmarshal(b []byte) error

type DeleteVariableResponse

type DeleteVariableResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteVariableResponse) Descriptor

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

func (*DeleteVariableResponse) Marshal

func (m *DeleteVariableResponse) Marshal() (dAtA []byte, err error)

func (*DeleteVariableResponse) MarshalJSON

func (msg *DeleteVariableResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*DeleteVariableResponse) MarshalTo

func (m *DeleteVariableResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeleteVariableResponse) ProtoMessage

func (*DeleteVariableResponse) ProtoMessage()

func (*DeleteVariableResponse) Reset

func (m *DeleteVariableResponse) Reset()

func (*DeleteVariableResponse) Size

func (m *DeleteVariableResponse) Size() (n int)

func (*DeleteVariableResponse) String

func (m *DeleteVariableResponse) String() string

func (*DeleteVariableResponse) Unmarshal

func (m *DeleteVariableResponse) Unmarshal(dAtA []byte) error

func (*DeleteVariableResponse) UnmarshalJSON

func (msg *DeleteVariableResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DeleteVariableResponse) XXX_DiscardUnknown

func (m *DeleteVariableResponse) XXX_DiscardUnknown()

func (*DeleteVariableResponse) XXX_Marshal

func (m *DeleteVariableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteVariableResponse) XXX_Merge

func (dst *DeleteVariableResponse) XXX_Merge(src proto.Message)

func (*DeleteVariableResponse) XXX_Size

func (m *DeleteVariableResponse) XXX_Size() int

func (*DeleteVariableResponse) XXX_Unmarshal

func (m *DeleteVariableResponse) XXX_Unmarshal(b []byte) error

type ExecuteResponse

type ExecuteResponse struct {
	RequestId        string    `protobuf:"bytes,1,opt,name=requestId,json=request_id,proto3" json:"requestId,omitempty"`
	RequestModified  bool      `protobuf:"varint,2,opt,name=requestModified,json=request_modified,proto3" json:"requestModified,omitempty"`
	ResponseModified bool      `protobuf:"varint,3,opt,name=responseModified,json=response_modified,proto3" json:"responseModified,omitempty"`
	Request          *Request  `protobuf:"bytes,4,opt,name=request" json:"request,omitempty"`
	Response         *Response `protobuf:"bytes,5,opt,name=response" json:"response,omitempty"`
	FunctionId       string    `protobuf:"bytes,6,opt,name=functionId,json=function_id,proto3" json:"functionId,omitempty"`
	Error            string    `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
	// TODO: maybe use some kind of status/state/action field instead to have
	// multiple states. But what states?
	StopForwarding       bool     `protobuf:"varint,8,opt,name=stopForwarding,json=stop_forwarding,proto3" json:"stopForwarding,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExecuteResponse) Descriptor

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

func (*ExecuteResponse) GetError

func (m *ExecuteResponse) GetError() string

func (*ExecuteResponse) GetFunctionId

func (m *ExecuteResponse) GetFunctionId() string

func (*ExecuteResponse) GetRequest

func (m *ExecuteResponse) GetRequest() *Request

func (*ExecuteResponse) GetRequestId

func (m *ExecuteResponse) GetRequestId() string

func (*ExecuteResponse) GetRequestModified

func (m *ExecuteResponse) GetRequestModified() bool

func (*ExecuteResponse) GetResponse

func (m *ExecuteResponse) GetResponse() *Response

func (*ExecuteResponse) GetResponseModified

func (m *ExecuteResponse) GetResponseModified() bool

func (*ExecuteResponse) GetStopForwarding

func (m *ExecuteResponse) GetStopForwarding() bool

func (*ExecuteResponse) Marshal

func (m *ExecuteResponse) Marshal() (dAtA []byte, err error)

func (*ExecuteResponse) MarshalJSON

func (msg *ExecuteResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ExecuteResponse) MarshalTo

func (m *ExecuteResponse) MarshalTo(dAtA []byte) (int, error)

func (*ExecuteResponse) ProtoMessage

func (*ExecuteResponse) ProtoMessage()

func (*ExecuteResponse) Reset

func (m *ExecuteResponse) Reset()

func (*ExecuteResponse) Size

func (m *ExecuteResponse) Size() (n int)

func (*ExecuteResponse) String

func (m *ExecuteResponse) String() string

func (*ExecuteResponse) Unmarshal

func (m *ExecuteResponse) Unmarshal(dAtA []byte) error

func (*ExecuteResponse) UnmarshalJSON

func (msg *ExecuteResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ExecuteResponse) XXX_DiscardUnknown

func (m *ExecuteResponse) XXX_DiscardUnknown()

func (*ExecuteResponse) XXX_Marshal

func (m *ExecuteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecuteResponse) XXX_Merge

func (dst *ExecuteResponse) XXX_Merge(src proto.Message)

func (*ExecuteResponse) XXX_Size

func (m *ExecuteResponse) XXX_Size() int

func (*ExecuteResponse) XXX_Unmarshal

func (m *ExecuteResponse) XXX_Unmarshal(b []byte) error

type Function

type Function struct {
	// ID of the function
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	AccountId string `protobuf:"bytes,2,opt,name=accountId,json=account_id,proto3" json:"accountId,omitempty"`
	Created   int64  `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"`
	Updated   int64  `protobuf:"varint,4,opt,name=updated,proto3" json:"updated,omitempty"`
	// driver specifies which driver reactor should use
	Driver string `protobuf:"bytes,5,opt,name=driver,proto3" json:"driver,omitempty"`
	// payload is the actual application function/executable/wasm
	Payload []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
	// misc
	Name        string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	PayloadSize int64  `protobuf:"varint,8,opt,name=payloadSize,json=payload_size,proto3" json:"payloadSize,omitempty"`
	// compression type (if any) for example gzip, zlib
	Compression          string            `protobuf:"bytes,9,opt,name=compression,proto3" json:"compression,omitempty"`
	Metadata             map[string]string `` /* 151-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Function) Descriptor

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

func (*Function) GetAccountId

func (m *Function) GetAccountId() string

func (*Function) GetCompression

func (m *Function) GetCompression() string

func (*Function) GetCreated

func (m *Function) GetCreated() int64

func (*Function) GetDriver

func (m *Function) GetDriver() string

func (*Function) GetId

func (m *Function) GetId() string

func (*Function) GetMetadata

func (m *Function) GetMetadata() map[string]string

func (*Function) GetName

func (m *Function) GetName() string

func (*Function) GetPayload

func (m *Function) GetPayload() []byte

func (*Function) GetPayloadSize

func (m *Function) GetPayloadSize() int64

func (*Function) GetUpdated

func (m *Function) GetUpdated() int64

func (*Function) Marshal

func (m *Function) Marshal() (dAtA []byte, err error)

func (*Function) MarshalJSON

func (msg *Function) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Function) MarshalTo

func (m *Function) MarshalTo(dAtA []byte) (int, error)

func (*Function) ProtoMessage

func (*Function) ProtoMessage()

func (*Function) Reset

func (m *Function) Reset()

func (*Function) Size

func (m *Function) Size() (n int)

func (*Function) String

func (m *Function) String() string

func (*Function) Unmarshal

func (m *Function) Unmarshal(dAtA []byte) error

func (*Function) UnmarshalJSON

func (msg *Function) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Function) XXX_DiscardUnknown

func (m *Function) XXX_DiscardUnknown()

func (*Function) XXX_Marshal

func (m *Function) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Function) XXX_Merge

func (dst *Function) XXX_Merge(src proto.Message)

func (*Function) XXX_Size

func (m *Function) XXX_Size() int

func (*Function) XXX_Unmarshal

func (m *Function) XXX_Unmarshal(b []byte) error

type HeaderValue

type HeaderValue struct {
	Values               []string `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HeaderValue) Descriptor

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

func (*HeaderValue) GetValues

func (m *HeaderValue) GetValues() []string

func (*HeaderValue) Marshal

func (m *HeaderValue) Marshal() (dAtA []byte, err error)

func (*HeaderValue) MarshalJSON

func (msg *HeaderValue) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*HeaderValue) MarshalTo

func (m *HeaderValue) MarshalTo(dAtA []byte) (int, error)

func (*HeaderValue) ProtoMessage

func (*HeaderValue) ProtoMessage()

func (*HeaderValue) Reset

func (m *HeaderValue) Reset()

func (*HeaderValue) Size

func (m *HeaderValue) Size() (n int)

func (*HeaderValue) String

func (m *HeaderValue) String() string

func (*HeaderValue) Unmarshal

func (m *HeaderValue) Unmarshal(dAtA []byte) error

func (*HeaderValue) UnmarshalJSON

func (msg *HeaderValue) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*HeaderValue) XXX_DiscardUnknown

func (m *HeaderValue) XXX_DiscardUnknown()

func (*HeaderValue) XXX_Marshal

func (m *HeaderValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HeaderValue) XXX_Merge

func (dst *HeaderValue) XXX_Merge(src proto.Message)

func (*HeaderValue) XXX_Size

func (m *HeaderValue) XXX_Size() int

func (*HeaderValue) XXX_Unmarshal

func (m *HeaderValue) XXX_Unmarshal(b []byte) error

type ListConfigRequest

type ListConfigRequest struct {
	AccountId            string   `protobuf:"bytes,1,opt,name=accountId,proto3" json:"accountId,omitempty"`
	FunctionId           string   `protobuf:"bytes,2,opt,name=functionId,proto3" json:"functionId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListConfigRequest) Descriptor

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

func (*ListConfigRequest) GetAccountId

func (m *ListConfigRequest) GetAccountId() string

func (*ListConfigRequest) GetFunctionId

func (m *ListConfigRequest) GetFunctionId() string

func (*ListConfigRequest) Marshal

func (m *ListConfigRequest) Marshal() (dAtA []byte, err error)

func (*ListConfigRequest) MarshalJSON

func (msg *ListConfigRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListConfigRequest) MarshalTo

func (m *ListConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListConfigRequest) ProtoMessage

func (*ListConfigRequest) ProtoMessage()

func (*ListConfigRequest) Reset

func (m *ListConfigRequest) Reset()

func (*ListConfigRequest) Size

func (m *ListConfigRequest) Size() (n int)

func (*ListConfigRequest) String

func (m *ListConfigRequest) String() string

func (*ListConfigRequest) Unmarshal

func (m *ListConfigRequest) Unmarshal(dAtA []byte) error

func (*ListConfigRequest) UnmarshalJSON

func (msg *ListConfigRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListConfigRequest) XXX_DiscardUnknown

func (m *ListConfigRequest) XXX_DiscardUnknown()

func (*ListConfigRequest) XXX_Marshal

func (m *ListConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListConfigRequest) XXX_Merge

func (dst *ListConfigRequest) XXX_Merge(src proto.Message)

func (*ListConfigRequest) XXX_Size

func (m *ListConfigRequest) XXX_Size() int

func (*ListConfigRequest) XXX_Unmarshal

func (m *ListConfigRequest) XXX_Unmarshal(b []byte) error

type ListConfigResponse

type ListConfigResponse struct {
	Variables            []*Variable `protobuf:"bytes,1,rep,name=variables" json:"variables,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ListConfigResponse) Descriptor

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

func (*ListConfigResponse) GetVariables

func (m *ListConfigResponse) GetVariables() []*Variable

func (*ListConfigResponse) Marshal

func (m *ListConfigResponse) Marshal() (dAtA []byte, err error)

func (*ListConfigResponse) MarshalJSON

func (msg *ListConfigResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListConfigResponse) MarshalTo

func (m *ListConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListConfigResponse) ProtoMessage

func (*ListConfigResponse) ProtoMessage()

func (*ListConfigResponse) Reset

func (m *ListConfigResponse) Reset()

func (*ListConfigResponse) Size

func (m *ListConfigResponse) Size() (n int)

func (*ListConfigResponse) String

func (m *ListConfigResponse) String() string

func (*ListConfigResponse) Unmarshal

func (m *ListConfigResponse) Unmarshal(dAtA []byte) error

func (*ListConfigResponse) UnmarshalJSON

func (msg *ListConfigResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListConfigResponse) XXX_DiscardUnknown

func (m *ListConfigResponse) XXX_DiscardUnknown()

func (*ListConfigResponse) XXX_Marshal

func (m *ListConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListConfigResponse) XXX_Merge

func (dst *ListConfigResponse) XXX_Merge(src proto.Message)

func (*ListConfigResponse) XXX_Size

func (m *ListConfigResponse) XXX_Size() int

func (*ListConfigResponse) XXX_Unmarshal

func (m *ListConfigResponse) XXX_Unmarshal(b []byte) error

type Request

type Request struct {
	Body                 []byte                  `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	BodyModified         bool                    `protobuf:"varint,2,opt,name=bodyModified,json=body_modified,proto3" json:"bodyModified,omitempty"`
	Header               map[string]*HeaderValue `` /* 139-byte string literal not displayed */
	HeaderModified       bool                    `protobuf:"varint,4,opt,name=headerModified,json=header_modified,proto3" json:"headerModified,omitempty"`
	Path                 string                  `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
	PathModified         bool                    `protobuf:"varint,6,opt,name=pathModified,json=path_modified,proto3" json:"pathModified,omitempty"`
	RawQuery             string                  `protobuf:"bytes,7,opt,name=rawQuery,json=raw_query,proto3" json:"rawQuery,omitempty"`
	RawQueryModified     bool                    `protobuf:"varint,8,opt,name=rawQueryModified,json=raw_query_modified,proto3" json:"rawQueryModified,omitempty"`
	Method               string                  `protobuf:"bytes,9,opt,name=method,proto3" json:"method,omitempty"`
	MethodModified       bool                    `protobuf:"varint,10,opt,name=methodModified,json=method_modified,proto3" json:"methodModified,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*Request) Descriptor

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

func (*Request) GetBody

func (m *Request) GetBody() []byte

func (*Request) GetBodyModified

func (m *Request) GetBodyModified() bool

func (*Request) GetHeader

func (m *Request) GetHeader() map[string]*HeaderValue

func (*Request) GetHeaderModified

func (m *Request) GetHeaderModified() bool

func (*Request) GetMethod

func (m *Request) GetMethod() string

func (*Request) GetMethodModified

func (m *Request) GetMethodModified() bool

func (*Request) GetPath

func (m *Request) GetPath() string

func (*Request) GetPathModified

func (m *Request) GetPathModified() bool

func (*Request) GetRawQuery

func (m *Request) GetRawQuery() string

func (*Request) GetRawQueryModified

func (m *Request) GetRawQueryModified() bool

func (*Request) Marshal

func (m *Request) Marshal() (dAtA []byte, err error)

func (*Request) MarshalJSON

func (msg *Request) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Request) MarshalTo

func (m *Request) MarshalTo(dAtA []byte) (int, error)

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) Size

func (m *Request) Size() (n int)

func (*Request) String

func (m *Request) String() string

func (*Request) Unmarshal

func (m *Request) Unmarshal(dAtA []byte) error

func (*Request) UnmarshalJSON

func (msg *Request) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request) XXX_Merge

func (dst *Request) XXX_Merge(src proto.Message)

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

func (m *Request) XXX_Unmarshal(b []byte) error

type Response

type Response struct {
	Status               int32                   `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Body                 []byte                  `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	Header               map[string]*HeaderValue `` /* 139-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

Response is an optional struct that can be set my the script so we return a dynamic response

func (*Response) Descriptor

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

func (*Response) GetBody

func (m *Response) GetBody() []byte

func (*Response) GetHeader

func (m *Response) GetHeader() map[string]*HeaderValue

func (*Response) GetStatus

func (m *Response) GetStatus() int32

func (*Response) Marshal

func (m *Response) Marshal() (dAtA []byte, err error)

func (*Response) MarshalJSON

func (msg *Response) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Response) MarshalTo

func (m *Response) MarshalTo(dAtA []byte) (int, error)

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) Size

func (m *Response) Size() (n int)

func (*Response) String

func (m *Response) String() string

func (*Response) Unmarshal

func (m *Response) Unmarshal(dAtA []byte) error

func (*Response) UnmarshalJSON

func (msg *Response) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Response) XXX_Merge

func (dst *Response) XXX_Merge(src proto.Message)

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

func (m *Response) XXX_Unmarshal(b []byte) error

type Variable

type Variable struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	AccountId            string   `protobuf:"bytes,2,opt,name=accountId,json=account_id,proto3" json:"accountId,omitempty"`
	Created              int64    `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"`
	Updated              int64    `protobuf:"varint,4,opt,name=updated,proto3" json:"updated,omitempty"`
	Value                string   `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
	FunctionId           string   `protobuf:"bytes,6,opt,name=functionId,json=function_id,proto3" json:"functionId,omitempty"`
	ConfigurationIds     []string `protobuf:"bytes,7,rep,name=configurationIds,json=configuration_ids" json:"configurationIds,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Variable - variables can be used by functions to access some specific configuration during execution

func (*Variable) Descriptor

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

func (*Variable) GetAccountId

func (m *Variable) GetAccountId() string

func (*Variable) GetConfigurationIds

func (m *Variable) GetConfigurationIds() []string

func (*Variable) GetCreated

func (m *Variable) GetCreated() int64

func (*Variable) GetFunctionId

func (m *Variable) GetFunctionId() string

func (*Variable) GetKey

func (m *Variable) GetKey() string

func (*Variable) GetUpdated

func (m *Variable) GetUpdated() int64

func (*Variable) GetValue

func (m *Variable) GetValue() string

func (*Variable) Marshal

func (m *Variable) Marshal() (dAtA []byte, err error)

func (*Variable) MarshalJSON

func (msg *Variable) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Variable) MarshalTo

func (m *Variable) MarshalTo(dAtA []byte) (int, error)

func (*Variable) ProtoMessage

func (*Variable) ProtoMessage()

func (*Variable) Reset

func (m *Variable) Reset()

func (*Variable) Size

func (m *Variable) Size() (n int)

func (*Variable) String

func (m *Variable) String() string

func (*Variable) Unmarshal

func (m *Variable) Unmarshal(dAtA []byte) error

func (*Variable) UnmarshalJSON

func (msg *Variable) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Variable) XXX_DiscardUnknown

func (m *Variable) XXX_DiscardUnknown()

func (*Variable) XXX_Marshal

func (m *Variable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Variable) XXX_Merge

func (dst *Variable) XXX_Merge(src proto.Message)

func (*Variable) XXX_Size

func (m *Variable) XXX_Size() int

func (*Variable) XXX_Unmarshal

func (m *Variable) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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