Documentation ¶
Index ¶
- func RegisterLambdaServer(s *grpc.Server, srv LambdaServer)
- func RegisterMonitorServer(s *grpc.Server, srv MonitorServer)
- type Checkpoint
- func (*Checkpoint) Descriptor() ([]byte, []int)
- func (m *Checkpoint) GetBiases() map[string]*Variable
- func (m *Checkpoint) GetWeights() map[string]*Variable
- func (*Checkpoint) ProtoMessage()
- func (m *Checkpoint) Reset()
- func (m *Checkpoint) String() string
- func (m *Checkpoint) XXX_DiscardUnknown()
- func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Checkpoint) XXX_Merge(src proto.Message)
- func (m *Checkpoint) XXX_Size() int
- func (m *Checkpoint) XXX_Unmarshal(b []byte) error
- type ConfigRequest
- func (*ConfigRequest) Descriptor() ([]byte, []int)
- func (*ConfigRequest) ProtoMessage()
- func (m *ConfigRequest) Reset()
- func (m *ConfigRequest) String() string
- func (m *ConfigRequest) XXX_DiscardUnknown()
- func (m *ConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConfigRequest) XXX_Merge(src proto.Message)
- func (m *ConfigRequest) XXX_Size() int
- func (m *ConfigRequest) XXX_Unmarshal(b []byte) error
- type ConfigResponse
- func (*ConfigResponse) Descriptor() ([]byte, []int)
- func (m *ConfigResponse) GetBucketName() string
- func (m *ConfigResponse) GetCodeLocation() string
- func (m *ConfigResponse) GetDomain() string
- func (m *ConfigResponse) GetFuncName() string
- func (m *ConfigResponse) GetJwtSecret() string
- func (m *ConfigResponse) GetOauth() *OAuthRequest
- func (m *ConfigResponse) GetProjectId() string
- func (*ConfigResponse) ProtoMessage()
- func (m *ConfigResponse) Reset()
- func (m *ConfigResponse) String() string
- func (m *ConfigResponse) XXX_DiscardUnknown()
- func (m *ConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConfigResponse) XXX_Merge(src proto.Message)
- func (m *ConfigResponse) XXX_Size() int
- func (m *ConfigResponse) XXX_Unmarshal(b []byte) error
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (m *Data) GetData() []byte
- func (m *Data) GetTag() string
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) String() string
- func (m *Data) XXX_DiscardUnknown()
- func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Data) XXX_Merge(src proto.Message)
- func (m *Data) XXX_Size() int
- func (m *Data) XXX_Unmarshal(b []byte) error
- type EmailRequest
- func (*EmailRequest) Descriptor() ([]byte, []int)
- func (m *EmailRequest) GetBody() []byte
- func (m *EmailRequest) GetFromEmail() string
- func (m *EmailRequest) GetFromName() string
- func (m *EmailRequest) GetSubject() string
- func (m *EmailRequest) GetToEmail() string
- func (m *EmailRequest) GetToName() string
- func (*EmailRequest) ProtoMessage()
- func (m *EmailRequest) Reset()
- func (m *EmailRequest) String() string
- func (m *EmailRequest) XXX_DiscardUnknown()
- func (m *EmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *EmailRequest) XXX_Merge(src proto.Message)
- func (m *EmailRequest) XXX_Size() int
- func (m *EmailRequest) XXX_Unmarshal(b []byte) error
- type EmailResponse
- func (*EmailResponse) Descriptor() ([]byte, []int)
- func (m *EmailResponse) GetBody() string
- func (m *EmailResponse) GetHeaders() map[string]*ListOfString
- func (m *EmailResponse) GetStatusCode() int64
- func (*EmailResponse) ProtoMessage()
- func (m *EmailResponse) Reset()
- func (m *EmailResponse) String() string
- func (m *EmailResponse) XXX_DiscardUnknown()
- func (m *EmailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *EmailResponse) XXX_Merge(src proto.Message)
- func (m *EmailResponse) XXX_Size() int
- func (m *EmailResponse) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type GalleryItem
- func (*GalleryItem) Descriptor() ([]byte, []int)
- func (m *GalleryItem) GetBucketName() string
- func (m *GalleryItem) GetCaption() string
- func (m *GalleryItem) GetFileName() string
- func (m *GalleryItem) GetId() int64
- func (m *GalleryItem) GetTitle() string
- func (*GalleryItem) ProtoMessage()
- func (m *GalleryItem) Reset()
- func (m *GalleryItem) String() string
- func (m *GalleryItem) XXX_DiscardUnknown()
- func (m *GalleryItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GalleryItem) XXX_Merge(src proto.Message)
- func (m *GalleryItem) XXX_Size() int
- func (m *GalleryItem) XXX_Unmarshal(b []byte) error
- type GalleryRequest
- func (*GalleryRequest) Descriptor() ([]byte, []int)
- func (m *GalleryRequest) GetGalleryItems() []*GalleryItem
- func (*GalleryRequest) ProtoMessage()
- func (m *GalleryRequest) Reset()
- func (m *GalleryRequest) String() string
- func (m *GalleryRequest) XXX_DiscardUnknown()
- func (m *GalleryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GalleryRequest) XXX_Merge(src proto.Message)
- func (m *GalleryRequest) XXX_Size() int
- func (m *GalleryRequest) XXX_Unmarshal(b []byte) error
- type GalleryResponse
- func (*GalleryResponse) Descriptor() ([]byte, []int)
- func (*GalleryResponse) ProtoMessage()
- func (m *GalleryResponse) Reset()
- func (m *GalleryResponse) String() string
- func (m *GalleryResponse) XXX_DiscardUnknown()
- func (m *GalleryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GalleryResponse) XXX_Merge(src proto.Message)
- func (m *GalleryResponse) XXX_Size() int
- func (m *GalleryResponse) XXX_Unmarshal(b []byte) error
- type GanRequest
- func (*GanRequest) Descriptor() ([]byte, []int)
- func (m *GanRequest) GetCount() int64
- func (m *GanRequest) GetModelName() string
- func (m *GanRequest) GetModelVersion() string
- func (*GanRequest) ProtoMessage()
- func (m *GanRequest) Reset()
- func (m *GanRequest) String() string
- func (m *GanRequest) XXX_DiscardUnknown()
- func (m *GanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GanRequest) XXX_Merge(src proto.Message)
- func (m *GanRequest) XXX_Size() int
- func (m *GanRequest) XXX_Unmarshal(b []byte) error
- type GanResponse
- func (*GanResponse) Descriptor() ([]byte, []int)
- func (m *GanResponse) GetImages() []*Image
- func (*GanResponse) ProtoMessage()
- func (m *GanResponse) Reset()
- func (m *GanResponse) String() string
- func (m *GanResponse) XXX_DiscardUnknown()
- func (m *GanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GanResponse) XXX_Merge(src proto.Message)
- func (m *GanResponse) XXX_Size() int
- func (m *GanResponse) XXX_Unmarshal(b []byte) error
- type GetUserInfoRequest
- func (*GetUserInfoRequest) Descriptor() ([]byte, []int)
- func (m *GetUserInfoRequest) GetUserMeta() *UserMeta
- func (*GetUserInfoRequest) ProtoMessage()
- func (m *GetUserInfoRequest) Reset()
- func (m *GetUserInfoRequest) String() string
- func (m *GetUserInfoRequest) XXX_DiscardUnknown()
- func (m *GetUserInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetUserInfoRequest) XXX_Merge(src proto.Message)
- func (m *GetUserInfoRequest) XXX_Size() int
- func (m *GetUserInfoRequest) XXX_Unmarshal(b []byte) error
- type GetUserInfoResponse
- func (*GetUserInfoResponse) Descriptor() ([]byte, []int)
- func (m *GetUserInfoResponse) GetHealthCheckEndPoints() *HealthCheckEndPoints
- func (m *GetUserInfoResponse) GetUserMeta() *UserMeta
- func (*GetUserInfoResponse) ProtoMessage()
- func (m *GetUserInfoResponse) Reset()
- func (m *GetUserInfoResponse) String() string
- func (m *GetUserInfoResponse) XXX_DiscardUnknown()
- func (m *GetUserInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetUserInfoResponse) XXX_Merge(src proto.Message)
- func (m *GetUserInfoResponse) XXX_Size() int
- func (m *GetUserInfoResponse) XXX_Unmarshal(b []byte) error
- type GoogleOAuthRequest
- func (*GoogleOAuthRequest) Descriptor() ([]byte, []int)
- func (m *GoogleOAuthRequest) GetClientId() string
- func (m *GoogleOAuthRequest) GetClientSecret() string
- func (*GoogleOAuthRequest) ProtoMessage()
- func (m *GoogleOAuthRequest) Reset()
- func (m *GoogleOAuthRequest) String() string
- func (m *GoogleOAuthRequest) XXX_DiscardUnknown()
- func (m *GoogleOAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GoogleOAuthRequest) XXX_Merge(src proto.Message)
- func (m *GoogleOAuthRequest) XXX_Size() int
- func (m *GoogleOAuthRequest) XXX_Unmarshal(b []byte) error
- type GoogleOAuthResponse
- func (*GoogleOAuthResponse) Descriptor() ([]byte, []int)
- func (m *GoogleOAuthResponse) GetEmail() string
- func (m *GoogleOAuthResponse) GetId() string
- func (m *GoogleOAuthResponse) GetLink() string
- func (m *GoogleOAuthResponse) GetPicture() string
- func (m *GoogleOAuthResponse) GetVerifiedEmail() string
- func (*GoogleOAuthResponse) ProtoMessage()
- func (m *GoogleOAuthResponse) Reset()
- func (m *GoogleOAuthResponse) String() string
- func (m *GoogleOAuthResponse) XXX_DiscardUnknown()
- func (m *GoogleOAuthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GoogleOAuthResponse) XXX_Merge(src proto.Message)
- func (m *GoogleOAuthResponse) XXX_Size() int
- func (m *GoogleOAuthResponse) XXX_Unmarshal(b []byte) error
- type HealthCheckEndPoints
- func (*HealthCheckEndPoints) Descriptor() ([]byte, []int)
- func (m *HealthCheckEndPoints) GetUrl() []string
- func (*HealthCheckEndPoints) ProtoMessage()
- func (m *HealthCheckEndPoints) Reset()
- func (m *HealthCheckEndPoints) String() string
- func (m *HealthCheckEndPoints) XXX_DiscardUnknown()
- func (m *HealthCheckEndPoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HealthCheckEndPoints) XXX_Merge(src proto.Message)
- func (m *HealthCheckEndPoints) XXX_Size() int
- func (m *HealthCheckEndPoints) XXX_Unmarshal(b []byte) error
- type Image
- func (*Image) Descriptor() ([]byte, []int)
- func (m *Image) GetData() []byte
- func (m *Image) GetName() string
- func (*Image) ProtoMessage()
- func (m *Image) Reset()
- func (m *Image) String() string
- func (m *Image) XXX_DiscardUnknown()
- func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Image) XXX_Merge(src proto.Message)
- func (m *Image) XXX_Size() int
- func (m *Image) XXX_Unmarshal(b []byte) error
- type InferImageRequest
- func (*InferImageRequest) Descriptor() ([]byte, []int)
- func (m *InferImageRequest) GetImages() []*Image
- func (m *InferImageRequest) GetModelName() string
- func (m *InferImageRequest) GetModelVersion() string
- func (*InferImageRequest) ProtoMessage()
- func (m *InferImageRequest) Reset()
- func (m *InferImageRequest) String() string
- func (m *InferImageRequest) XXX_DiscardUnknown()
- func (m *InferImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InferImageRequest) XXX_Merge(src proto.Message)
- func (m *InferImageRequest) XXX_Size() int
- func (m *InferImageRequest) XXX_Unmarshal(b []byte) error
- type InferImageResponse
- func (*InferImageResponse) Descriptor() ([]byte, []int)
- func (m *InferImageResponse) GetOutputs() []*InferOutput
- func (*InferImageResponse) ProtoMessage()
- func (m *InferImageResponse) Reset()
- func (m *InferImageResponse) String() string
- func (m *InferImageResponse) XXX_DiscardUnknown()
- func (m *InferImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InferImageResponse) XXX_Merge(src proto.Message)
- func (m *InferImageResponse) XXX_Size() int
- func (m *InferImageResponse) XXX_Unmarshal(b []byte) error
- type InferOutput
- func (*InferOutput) Descriptor() ([]byte, []int)
- func (m *InferOutput) GetLabel() string
- func (m *InferOutput) GetName() string
- func (m *InferOutput) GetProbability() int64
- func (*InferOutput) ProtoMessage()
- func (m *InferOutput) Reset()
- func (m *InferOutput) String() string
- func (m *InferOutput) XXX_DiscardUnknown()
- func (m *InferOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InferOutput) XXX_Merge(src proto.Message)
- func (m *InferOutput) XXX_Size() int
- func (m *InferOutput) XXX_Unmarshal(b []byte) error
- type LambdaClient
- type LambdaServer
- type Lambda_GanClient
- type Lambda_GanServer
- type Lambda_InferImageClient
- type Lambda_InferImageServer
- type ListOfString
- func (*ListOfString) Descriptor() ([]byte, []int)
- func (m *ListOfString) GetValue() []string
- func (*ListOfString) ProtoMessage()
- func (m *ListOfString) Reset()
- func (m *ListOfString) String() string
- func (m *ListOfString) XXX_DiscardUnknown()
- func (m *ListOfString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListOfString) XXX_Merge(src proto.Message)
- func (m *ListOfString) XXX_Size() int
- func (m *ListOfString) XXX_Unmarshal(b []byte) error
- type MonitorClient
- type MonitorServer
- type Monitor_QueryClient
- type Monitor_QueryServer
- type OAuthRequest
- func (*OAuthRequest) Descriptor() ([]byte, []int)
- func (m *OAuthRequest) GetGoogle() *GoogleOAuthRequest
- func (*OAuthRequest) ProtoMessage()
- func (m *OAuthRequest) Reset()
- func (m *OAuthRequest) String() string
- func (m *OAuthRequest) XXX_DiscardUnknown()
- func (m *OAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OAuthRequest) XXX_Merge(src proto.Message)
- func (m *OAuthRequest) XXX_Size() int
- func (m *OAuthRequest) XXX_Unmarshal(b []byte) error
- type SetUserInfoRequest
- func (*SetUserInfoRequest) Descriptor() ([]byte, []int)
- func (m *SetUserInfoRequest) GetHealthCheckEndPoints() *HealthCheckEndPoints
- func (m *SetUserInfoRequest) GetUserMeta() *UserMeta
- func (*SetUserInfoRequest) ProtoMessage()
- func (m *SetUserInfoRequest) Reset()
- func (m *SetUserInfoRequest) String() string
- func (m *SetUserInfoRequest) XXX_DiscardUnknown()
- func (m *SetUserInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetUserInfoRequest) XXX_Merge(src proto.Message)
- func (m *SetUserInfoRequest) XXX_Size() int
- func (m *SetUserInfoRequest) XXX_Unmarshal(b []byte) error
- type SetUserInfoResponse
- func (*SetUserInfoResponse) Descriptor() ([]byte, []int)
- func (*SetUserInfoResponse) ProtoMessage()
- func (m *SetUserInfoResponse) Reset()
- func (m *SetUserInfoResponse) String() string
- func (m *SetUserInfoResponse) XXX_DiscardUnknown()
- func (m *SetUserInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetUserInfoResponse) XXX_Merge(src proto.Message)
- func (m *SetUserInfoResponse) XXX_Size() int
- func (m *SetUserInfoResponse) XXX_Unmarshal(b []byte) error
- type UserMeta
- func (*UserMeta) Descriptor() ([]byte, []int)
- func (m *UserMeta) GetUserEmail() string
- func (m *UserMeta) GetUserId() int64
- func (m *UserMeta) GetUserName() string
- func (*UserMeta) ProtoMessage()
- func (m *UserMeta) Reset()
- func (m *UserMeta) String() string
- func (m *UserMeta) XXX_DiscardUnknown()
- func (m *UserMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UserMeta) XXX_Merge(src proto.Message)
- func (m *UserMeta) XXX_Size() int
- func (m *UserMeta) XXX_Unmarshal(b []byte) error
- type Variable
- func (*Variable) Descriptor() ([]byte, []int)
- func (m *Variable) GetData() []float32
- func (m *Variable) GetSize() []int64
- func (*Variable) ProtoMessage()
- func (m *Variable) Reset()
- func (m *Variable) String() string
- func (m *Variable) XXX_DiscardUnknown()
- func (m *Variable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Variable) XXX_Merge(src proto.Message)
- func (m *Variable) XXX_Size() int
- func (m *Variable) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterLambdaServer ¶
func RegisterLambdaServer(s *grpc.Server, srv LambdaServer)
func RegisterMonitorServer ¶
func RegisterMonitorServer(s *grpc.Server, srv MonitorServer)
Types ¶
type Checkpoint ¶
type Checkpoint struct { // weights stores different weights against a string label Weights map[string]*Variable `` /* 155-byte string literal not displayed */ // biases stores different biases against a string label Biases map[string]*Variable `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Checkpoint is a struct storing weights and biases
func (*Checkpoint) Descriptor ¶
func (*Checkpoint) Descriptor() ([]byte, []int)
func (*Checkpoint) GetBiases ¶
func (m *Checkpoint) GetBiases() map[string]*Variable
func (*Checkpoint) GetWeights ¶
func (m *Checkpoint) GetWeights() map[string]*Variable
func (*Checkpoint) ProtoMessage ¶
func (*Checkpoint) ProtoMessage()
func (*Checkpoint) Reset ¶
func (m *Checkpoint) Reset()
func (*Checkpoint) String ¶
func (m *Checkpoint) String() string
func (*Checkpoint) XXX_DiscardUnknown ¶
func (m *Checkpoint) XXX_DiscardUnknown()
func (*Checkpoint) XXX_Marshal ¶
func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Checkpoint) XXX_Merge ¶
func (dst *Checkpoint) XXX_Merge(src proto.Message)
func (*Checkpoint) XXX_Size ¶
func (m *Checkpoint) XXX_Size() int
func (*Checkpoint) XXX_Unmarshal ¶
func (m *Checkpoint) XXX_Unmarshal(b []byte) error
type ConfigRequest ¶
type ConfigRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ConfigRequest is a message used to get config parameters
func (*ConfigRequest) Descriptor ¶
func (*ConfigRequest) Descriptor() ([]byte, []int)
func (*ConfigRequest) ProtoMessage ¶
func (*ConfigRequest) ProtoMessage()
func (*ConfigRequest) Reset ¶
func (m *ConfigRequest) Reset()
func (*ConfigRequest) String ¶
func (m *ConfigRequest) String() string
func (*ConfigRequest) XXX_DiscardUnknown ¶
func (m *ConfigRequest) XXX_DiscardUnknown()
func (*ConfigRequest) XXX_Marshal ¶
func (m *ConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigRequest) XXX_Merge ¶
func (dst *ConfigRequest) XXX_Merge(src proto.Message)
func (*ConfigRequest) XXX_Size ¶
func (m *ConfigRequest) XXX_Size() int
func (*ConfigRequest) XXX_Unmarshal ¶
func (m *ConfigRequest) XXX_Unmarshal(b []byte) error
type ConfigResponse ¶
type ConfigResponse struct { // name of lambda function FuncName string `protobuf:"bytes,1,opt,name=func_name,json=funcName,proto3" json:"func_name,omitempty"` // code location of lambda function CodeLocation string `protobuf:"bytes,2,opt,name=code_location,json=codeLocation,proto3" json:"code_location,omitempty"` // domain of lambda function Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` // bucket name to use BucketName string `protobuf:"bytes,4,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // oauth request to send to various providers Oauth *OAuthRequest `protobuf:"bytes,5,opt,name=oauth,proto3" json:"oauth,omitempty"` // jwt secret passphrase JwtSecret string `protobuf:"bytes,6,opt,name=jwt_secret,json=jwtSecret,proto3" json:"jwt_secret,omitempty"` // google cloud project id ProjectId string `protobuf:"bytes,7,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ConfigResponse is a set of config parameters for lambda functions. Currently these are all lumped into one struct but this will get divided into sub structs later on.
func (*ConfigResponse) Descriptor ¶
func (*ConfigResponse) Descriptor() ([]byte, []int)
func (*ConfigResponse) GetBucketName ¶
func (m *ConfigResponse) GetBucketName() string
func (*ConfigResponse) GetCodeLocation ¶
func (m *ConfigResponse) GetCodeLocation() string
func (*ConfigResponse) GetDomain ¶
func (m *ConfigResponse) GetDomain() string
func (*ConfigResponse) GetFuncName ¶
func (m *ConfigResponse) GetFuncName() string
func (*ConfigResponse) GetJwtSecret ¶
func (m *ConfigResponse) GetJwtSecret() string
func (*ConfigResponse) GetOauth ¶
func (m *ConfigResponse) GetOauth() *OAuthRequest
func (*ConfigResponse) GetProjectId ¶ added in v0.1.6
func (m *ConfigResponse) GetProjectId() string
func (*ConfigResponse) ProtoMessage ¶
func (*ConfigResponse) ProtoMessage()
func (*ConfigResponse) Reset ¶
func (m *ConfigResponse) Reset()
func (*ConfigResponse) String ¶
func (m *ConfigResponse) String() string
func (*ConfigResponse) XXX_DiscardUnknown ¶
func (m *ConfigResponse) XXX_DiscardUnknown()
func (*ConfigResponse) XXX_Marshal ¶
func (m *ConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigResponse) XXX_Merge ¶
func (dst *ConfigResponse) XXX_Merge(src proto.Message)
func (*ConfigResponse) XXX_Size ¶
func (m *ConfigResponse) XXX_Size() int
func (*ConfigResponse) XXX_Unmarshal ¶
func (m *ConfigResponse) XXX_Unmarshal(b []byte) error
type Data ¶
type Data struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Data is basically just a byte buffer.
func (*Data) Descriptor ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) XXX_DiscardUnknown ¶
func (m *Data) XXX_DiscardUnknown()
func (*Data) XXX_Unmarshal ¶
type EmailRequest ¶
type EmailRequest struct { ToEmail string `protobuf:"bytes,1,opt,name=to_email,json=toEmail,proto3" json:"to_email,omitempty"` ToName string `protobuf:"bytes,2,opt,name=to_name,json=toName,proto3" json:"to_name,omitempty"` FromEmail string `protobuf:"bytes,3,opt,name=from_email,json=fromEmail,proto3" json:"from_email,omitempty"` FromName string `protobuf:"bytes,4,opt,name=from_name,json=fromName,proto3" json:"from_name,omitempty"` Subject string `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"` Body []byte `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
EmailRequest is the request to send email. This data is streamed from client to the server.
func (*EmailRequest) Descriptor ¶
func (*EmailRequest) Descriptor() ([]byte, []int)
func (*EmailRequest) GetBody ¶
func (m *EmailRequest) GetBody() []byte
func (*EmailRequest) GetFromEmail ¶
func (m *EmailRequest) GetFromEmail() string
func (*EmailRequest) GetFromName ¶
func (m *EmailRequest) GetFromName() string
func (*EmailRequest) GetSubject ¶
func (m *EmailRequest) GetSubject() string
func (*EmailRequest) GetToEmail ¶
func (m *EmailRequest) GetToEmail() string
func (*EmailRequest) GetToName ¶
func (m *EmailRequest) GetToName() string
func (*EmailRequest) ProtoMessage ¶
func (*EmailRequest) ProtoMessage()
func (*EmailRequest) Reset ¶
func (m *EmailRequest) Reset()
func (*EmailRequest) String ¶
func (m *EmailRequest) String() string
func (*EmailRequest) XXX_DiscardUnknown ¶
func (m *EmailRequest) XXX_DiscardUnknown()
func (*EmailRequest) XXX_Marshal ¶
func (m *EmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmailRequest) XXX_Merge ¶
func (dst *EmailRequest) XXX_Merge(src proto.Message)
func (*EmailRequest) XXX_Size ¶
func (m *EmailRequest) XXX_Size() int
func (*EmailRequest) XXX_Unmarshal ¶
func (m *EmailRequest) XXX_Unmarshal(b []byte) error
type EmailResponse ¶
type EmailResponse struct { StatusCode int64 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` Headers map[string]*ListOfString `` /* 155-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
EmailResponse is the response from the server after email is sent.
func (*EmailResponse) Descriptor ¶
func (*EmailResponse) Descriptor() ([]byte, []int)
func (*EmailResponse) GetBody ¶
func (m *EmailResponse) GetBody() string
func (*EmailResponse) GetHeaders ¶
func (m *EmailResponse) GetHeaders() map[string]*ListOfString
func (*EmailResponse) GetStatusCode ¶
func (m *EmailResponse) GetStatusCode() int64
func (*EmailResponse) ProtoMessage ¶
func (*EmailResponse) ProtoMessage()
func (*EmailResponse) Reset ¶
func (m *EmailResponse) Reset()
func (*EmailResponse) String ¶
func (m *EmailResponse) String() string
func (*EmailResponse) XXX_DiscardUnknown ¶
func (m *EmailResponse) XXX_DiscardUnknown()
func (*EmailResponse) XXX_Marshal ¶
func (m *EmailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmailResponse) XXX_Merge ¶
func (dst *EmailResponse) XXX_Merge(src proto.Message)
func (*EmailResponse) XXX_Size ¶
func (m *EmailResponse) XXX_Size() int
func (*EmailResponse) XXX_Unmarshal ¶
func (m *EmailResponse) XXX_Unmarshal(b []byte) error
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Server sends acknowledgement
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type GalleryItem ¶
type GalleryItem struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Caption string `protobuf:"bytes,4,opt,name=caption,proto3" json:"caption,omitempty"` BucketName string `protobuf:"bytes,5,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GalleryItem is a individual items for gallery presentation
func (*GalleryItem) Descriptor ¶
func (*GalleryItem) Descriptor() ([]byte, []int)
func (*GalleryItem) GetBucketName ¶
func (m *GalleryItem) GetBucketName() string
func (*GalleryItem) GetCaption ¶
func (m *GalleryItem) GetCaption() string
func (*GalleryItem) GetFileName ¶
func (m *GalleryItem) GetFileName() string
func (*GalleryItem) GetId ¶
func (m *GalleryItem) GetId() int64
func (*GalleryItem) GetTitle ¶
func (m *GalleryItem) GetTitle() string
func (*GalleryItem) ProtoMessage ¶
func (*GalleryItem) ProtoMessage()
func (*GalleryItem) Reset ¶
func (m *GalleryItem) Reset()
func (*GalleryItem) String ¶
func (m *GalleryItem) String() string
func (*GalleryItem) XXX_DiscardUnknown ¶
func (m *GalleryItem) XXX_DiscardUnknown()
func (*GalleryItem) XXX_Marshal ¶
func (m *GalleryItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GalleryItem) XXX_Merge ¶
func (dst *GalleryItem) XXX_Merge(src proto.Message)
func (*GalleryItem) XXX_Size ¶
func (m *GalleryItem) XXX_Size() int
func (*GalleryItem) XXX_Unmarshal ¶
func (m *GalleryItem) XXX_Unmarshal(b []byte) error
type GalleryRequest ¶
type GalleryRequest struct { GalleryItems []*GalleryItem `protobuf:"bytes,1,rep,name=gallery_items,json=galleryItems,proto3" json:"gallery_items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GalleryRequest is a request to gallery maker. It contains filenames in object store that are publicly available.
func (*GalleryRequest) Descriptor ¶
func (*GalleryRequest) Descriptor() ([]byte, []int)
func (*GalleryRequest) GetGalleryItems ¶
func (m *GalleryRequest) GetGalleryItems() []*GalleryItem
func (*GalleryRequest) ProtoMessage ¶
func (*GalleryRequest) ProtoMessage()
func (*GalleryRequest) Reset ¶
func (m *GalleryRequest) Reset()
func (*GalleryRequest) String ¶
func (m *GalleryRequest) String() string
func (*GalleryRequest) XXX_DiscardUnknown ¶
func (m *GalleryRequest) XXX_DiscardUnknown()
func (*GalleryRequest) XXX_Marshal ¶
func (m *GalleryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GalleryRequest) XXX_Merge ¶
func (dst *GalleryRequest) XXX_Merge(src proto.Message)
func (*GalleryRequest) XXX_Size ¶
func (m *GalleryRequest) XXX_Size() int
func (*GalleryRequest) XXX_Unmarshal ¶
func (m *GalleryRequest) XXX_Unmarshal(b []byte) error
type GalleryResponse ¶
type GalleryResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GalleryResponse is an empty response.
func (*GalleryResponse) Descriptor ¶
func (*GalleryResponse) Descriptor() ([]byte, []int)
func (*GalleryResponse) ProtoMessage ¶
func (*GalleryResponse) ProtoMessage()
func (*GalleryResponse) Reset ¶
func (m *GalleryResponse) Reset()
func (*GalleryResponse) String ¶
func (m *GalleryResponse) String() string
func (*GalleryResponse) XXX_DiscardUnknown ¶
func (m *GalleryResponse) XXX_DiscardUnknown()
func (*GalleryResponse) XXX_Marshal ¶
func (m *GalleryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GalleryResponse) XXX_Merge ¶
func (dst *GalleryResponse) XXX_Merge(src proto.Message)
func (*GalleryResponse) XXX_Size ¶
func (m *GalleryResponse) XXX_Size() int
func (*GalleryResponse) XXX_Unmarshal ¶
func (m *GalleryResponse) XXX_Unmarshal(b []byte) error
type GanRequest ¶
type GanRequest struct { // Model name. // Model files (.pb) exist in a folder by this name in // designated object store. ModelName string `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"` // Model version is the version number of the model ModelVersion string `protobuf:"bytes,2,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"` // Number of images to generate Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GanRequest) Descriptor ¶
func (*GanRequest) Descriptor() ([]byte, []int)
func (*GanRequest) GetCount ¶
func (m *GanRequest) GetCount() int64
func (*GanRequest) GetModelName ¶
func (m *GanRequest) GetModelName() string
func (*GanRequest) GetModelVersion ¶
func (m *GanRequest) GetModelVersion() string
func (*GanRequest) ProtoMessage ¶
func (*GanRequest) ProtoMessage()
func (*GanRequest) Reset ¶
func (m *GanRequest) Reset()
func (*GanRequest) String ¶
func (m *GanRequest) String() string
func (*GanRequest) XXX_DiscardUnknown ¶
func (m *GanRequest) XXX_DiscardUnknown()
func (*GanRequest) XXX_Marshal ¶
func (m *GanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GanRequest) XXX_Merge ¶
func (dst *GanRequest) XXX_Merge(src proto.Message)
func (*GanRequest) XXX_Size ¶
func (m *GanRequest) XXX_Size() int
func (*GanRequest) XXX_Unmarshal ¶
func (m *GanRequest) XXX_Unmarshal(b []byte) error
type GanResponse ¶
type GanResponse struct { // List of images Images []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
InferImageRequest takes a list of images (as bytes) and model and label file path URIs.
func (*GanResponse) Descriptor ¶
func (*GanResponse) Descriptor() ([]byte, []int)
func (*GanResponse) GetImages ¶
func (m *GanResponse) GetImages() []*Image
func (*GanResponse) ProtoMessage ¶
func (*GanResponse) ProtoMessage()
func (*GanResponse) Reset ¶
func (m *GanResponse) Reset()
func (*GanResponse) String ¶
func (m *GanResponse) String() string
func (*GanResponse) XXX_DiscardUnknown ¶
func (m *GanResponse) XXX_DiscardUnknown()
func (*GanResponse) XXX_Marshal ¶
func (m *GanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GanResponse) XXX_Merge ¶
func (dst *GanResponse) XXX_Merge(src proto.Message)
func (*GanResponse) XXX_Size ¶
func (m *GanResponse) XXX_Size() int
func (*GanResponse) XXX_Unmarshal ¶
func (m *GanResponse) XXX_Unmarshal(b []byte) error
type GetUserInfoRequest ¶ added in v0.1.5
type GetUserInfoRequest struct { UserMeta *UserMeta `protobuf:"bytes,1,opt,name=user_meta,json=userMeta,proto3" json:"user_meta,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserInfoRequest) Descriptor ¶ added in v0.1.5
func (*GetUserInfoRequest) Descriptor() ([]byte, []int)
func (*GetUserInfoRequest) GetUserMeta ¶ added in v0.1.5
func (m *GetUserInfoRequest) GetUserMeta() *UserMeta
func (*GetUserInfoRequest) ProtoMessage ¶ added in v0.1.5
func (*GetUserInfoRequest) ProtoMessage()
func (*GetUserInfoRequest) Reset ¶ added in v0.1.5
func (m *GetUserInfoRequest) Reset()
func (*GetUserInfoRequest) String ¶ added in v0.1.5
func (m *GetUserInfoRequest) String() string
func (*GetUserInfoRequest) XXX_DiscardUnknown ¶ added in v0.1.5
func (m *GetUserInfoRequest) XXX_DiscardUnknown()
func (*GetUserInfoRequest) XXX_Marshal ¶ added in v0.1.5
func (m *GetUserInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserInfoRequest) XXX_Merge ¶ added in v0.1.5
func (dst *GetUserInfoRequest) XXX_Merge(src proto.Message)
func (*GetUserInfoRequest) XXX_Size ¶ added in v0.1.5
func (m *GetUserInfoRequest) XXX_Size() int
func (*GetUserInfoRequest) XXX_Unmarshal ¶ added in v0.1.5
func (m *GetUserInfoRequest) XXX_Unmarshal(b []byte) error
type GetUserInfoResponse ¶ added in v0.1.5
type GetUserInfoResponse struct { UserMeta *UserMeta `protobuf:"bytes,1,opt,name=user_meta,json=userMeta,proto3" json:"user_meta,omitempty"` // HealthCheckEndPoints is the list of http end points for which user would like to request // health checks HealthCheckEndPoints *HealthCheckEndPoints `protobuf:"bytes,2,opt,name=health_check_end_points,json=healthCheckEndPoints,proto3" json:"health_check_end_points,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetUserInfoResponse is the information to store per user account
func (*GetUserInfoResponse) Descriptor ¶ added in v0.1.5
func (*GetUserInfoResponse) Descriptor() ([]byte, []int)
func (*GetUserInfoResponse) GetHealthCheckEndPoints ¶ added in v0.1.5
func (m *GetUserInfoResponse) GetHealthCheckEndPoints() *HealthCheckEndPoints
func (*GetUserInfoResponse) GetUserMeta ¶ added in v0.1.5
func (m *GetUserInfoResponse) GetUserMeta() *UserMeta
func (*GetUserInfoResponse) ProtoMessage ¶ added in v0.1.5
func (*GetUserInfoResponse) ProtoMessage()
func (*GetUserInfoResponse) Reset ¶ added in v0.1.5
func (m *GetUserInfoResponse) Reset()
func (*GetUserInfoResponse) String ¶ added in v0.1.5
func (m *GetUserInfoResponse) String() string
func (*GetUserInfoResponse) XXX_DiscardUnknown ¶ added in v0.1.5
func (m *GetUserInfoResponse) XXX_DiscardUnknown()
func (*GetUserInfoResponse) XXX_Marshal ¶ added in v0.1.5
func (m *GetUserInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserInfoResponse) XXX_Merge ¶ added in v0.1.5
func (dst *GetUserInfoResponse) XXX_Merge(src proto.Message)
func (*GetUserInfoResponse) XXX_Size ¶ added in v0.1.5
func (m *GetUserInfoResponse) XXX_Size() int
func (*GetUserInfoResponse) XXX_Unmarshal ¶ added in v0.1.5
func (m *GetUserInfoResponse) XXX_Unmarshal(b []byte) error
type GoogleOAuthRequest ¶
type GoogleOAuthRequest struct { // client id for oauth2 ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // client secret for oauth2 ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GoogleOAuthRequest is used to send oauth request to google oauth provider
func (*GoogleOAuthRequest) Descriptor ¶
func (*GoogleOAuthRequest) Descriptor() ([]byte, []int)
func (*GoogleOAuthRequest) GetClientId ¶
func (m *GoogleOAuthRequest) GetClientId() string
func (*GoogleOAuthRequest) GetClientSecret ¶
func (m *GoogleOAuthRequest) GetClientSecret() string
func (*GoogleOAuthRequest) ProtoMessage ¶
func (*GoogleOAuthRequest) ProtoMessage()
func (*GoogleOAuthRequest) Reset ¶
func (m *GoogleOAuthRequest) Reset()
func (*GoogleOAuthRequest) String ¶
func (m *GoogleOAuthRequest) String() string
func (*GoogleOAuthRequest) XXX_DiscardUnknown ¶
func (m *GoogleOAuthRequest) XXX_DiscardUnknown()
func (*GoogleOAuthRequest) XXX_Marshal ¶
func (m *GoogleOAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GoogleOAuthRequest) XXX_Merge ¶
func (dst *GoogleOAuthRequest) XXX_Merge(src proto.Message)
func (*GoogleOAuthRequest) XXX_Size ¶
func (m *GoogleOAuthRequest) XXX_Size() int
func (*GoogleOAuthRequest) XXX_Unmarshal ¶
func (m *GoogleOAuthRequest) XXX_Unmarshal(b []byte) error
type GoogleOAuthResponse ¶
type GoogleOAuthResponse struct { // id of the user Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // email of the user Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // verified email of the user VerifiedEmail string `protobuf:"bytes,3,opt,name=verified_email,json=verifiedEmail,proto3" json:"verified_email,omitempty"` // link of user public profile Link string `protobuf:"bytes,4,opt,name=link,proto3" json:"link,omitempty"` // link to user public picture Picture string `protobuf:"bytes,5,opt,name=picture,proto3" json:"picture,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GoogleOAuthResponse is used to deserialize the response from google oauth provider
func (*GoogleOAuthResponse) Descriptor ¶
func (*GoogleOAuthResponse) Descriptor() ([]byte, []int)
func (*GoogleOAuthResponse) GetEmail ¶
func (m *GoogleOAuthResponse) GetEmail() string
func (*GoogleOAuthResponse) GetId ¶
func (m *GoogleOAuthResponse) GetId() string
func (*GoogleOAuthResponse) GetLink ¶
func (m *GoogleOAuthResponse) GetLink() string
func (*GoogleOAuthResponse) GetPicture ¶
func (m *GoogleOAuthResponse) GetPicture() string
func (*GoogleOAuthResponse) GetVerifiedEmail ¶
func (m *GoogleOAuthResponse) GetVerifiedEmail() string
func (*GoogleOAuthResponse) ProtoMessage ¶
func (*GoogleOAuthResponse) ProtoMessage()
func (*GoogleOAuthResponse) Reset ¶
func (m *GoogleOAuthResponse) Reset()
func (*GoogleOAuthResponse) String ¶
func (m *GoogleOAuthResponse) String() string
func (*GoogleOAuthResponse) XXX_DiscardUnknown ¶
func (m *GoogleOAuthResponse) XXX_DiscardUnknown()
func (*GoogleOAuthResponse) XXX_Marshal ¶
func (m *GoogleOAuthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GoogleOAuthResponse) XXX_Merge ¶
func (dst *GoogleOAuthResponse) XXX_Merge(src proto.Message)
func (*GoogleOAuthResponse) XXX_Size ¶
func (m *GoogleOAuthResponse) XXX_Size() int
func (*GoogleOAuthResponse) XXX_Unmarshal ¶
func (m *GoogleOAuthResponse) XXX_Unmarshal(b []byte) error
type HealthCheckEndPoints ¶ added in v0.1.5
type HealthCheckEndPoints struct { Url []string `protobuf:"bytes,1,rep,name=url,proto3" json:"url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheckEndPoints) Descriptor ¶ added in v0.1.5
func (*HealthCheckEndPoints) Descriptor() ([]byte, []int)
func (*HealthCheckEndPoints) GetUrl ¶ added in v0.1.5
func (m *HealthCheckEndPoints) GetUrl() []string
func (*HealthCheckEndPoints) ProtoMessage ¶ added in v0.1.5
func (*HealthCheckEndPoints) ProtoMessage()
func (*HealthCheckEndPoints) Reset ¶ added in v0.1.5
func (m *HealthCheckEndPoints) Reset()
func (*HealthCheckEndPoints) String ¶ added in v0.1.5
func (m *HealthCheckEndPoints) String() string
func (*HealthCheckEndPoints) XXX_DiscardUnknown ¶ added in v0.1.5
func (m *HealthCheckEndPoints) XXX_DiscardUnknown()
func (*HealthCheckEndPoints) XXX_Marshal ¶ added in v0.1.5
func (m *HealthCheckEndPoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheckEndPoints) XXX_Merge ¶ added in v0.1.5
func (dst *HealthCheckEndPoints) XXX_Merge(src proto.Message)
func (*HealthCheckEndPoints) XXX_Size ¶ added in v0.1.5
func (m *HealthCheckEndPoints) XXX_Size() int
func (*HealthCheckEndPoints) XXX_Unmarshal ¶ added in v0.1.5
func (m *HealthCheckEndPoints) XXX_Unmarshal(b []byte) error
type Image ¶
type Image struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Image consists of a name and bytes
func (*Image) Descriptor ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) XXX_DiscardUnknown ¶
func (m *Image) XXX_DiscardUnknown()
func (*Image) XXX_Marshal ¶
func (*Image) XXX_Unmarshal ¶
type InferImageRequest ¶
type InferImageRequest struct { // List of images Images []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` // Model name. // Model files (.pb and .txt) exist in a folder by this name in // designated object store. ModelName string `protobuf:"bytes,2,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"` // Model version is the version number of the model ModelVersion string `protobuf:"bytes,3,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
InferImageRequest takes a list of images (as bytes) and model and label file path URIs.
func (*InferImageRequest) Descriptor ¶
func (*InferImageRequest) Descriptor() ([]byte, []int)
func (*InferImageRequest) GetImages ¶
func (m *InferImageRequest) GetImages() []*Image
func (*InferImageRequest) GetModelName ¶
func (m *InferImageRequest) GetModelName() string
func (*InferImageRequest) GetModelVersion ¶
func (m *InferImageRequest) GetModelVersion() string
func (*InferImageRequest) ProtoMessage ¶
func (*InferImageRequest) ProtoMessage()
func (*InferImageRequest) Reset ¶
func (m *InferImageRequest) Reset()
func (*InferImageRequest) String ¶
func (m *InferImageRequest) String() string
func (*InferImageRequest) XXX_DiscardUnknown ¶
func (m *InferImageRequest) XXX_DiscardUnknown()
func (*InferImageRequest) XXX_Marshal ¶
func (m *InferImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InferImageRequest) XXX_Merge ¶
func (dst *InferImageRequest) XXX_Merge(src proto.Message)
func (*InferImageRequest) XXX_Size ¶
func (m *InferImageRequest) XXX_Size() int
func (*InferImageRequest) XXX_Unmarshal ¶
func (m *InferImageRequest) XXX_Unmarshal(b []byte) error
type InferImageResponse ¶
type InferImageResponse struct { Outputs []*InferOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
InferImageResponse is a list of output, one per input image.
func (*InferImageResponse) Descriptor ¶
func (*InferImageResponse) Descriptor() ([]byte, []int)
func (*InferImageResponse) GetOutputs ¶
func (m *InferImageResponse) GetOutputs() []*InferOutput
func (*InferImageResponse) ProtoMessage ¶
func (*InferImageResponse) ProtoMessage()
func (*InferImageResponse) Reset ¶
func (m *InferImageResponse) Reset()
func (*InferImageResponse) String ¶
func (m *InferImageResponse) String() string
func (*InferImageResponse) XXX_DiscardUnknown ¶
func (m *InferImageResponse) XXX_DiscardUnknown()
func (*InferImageResponse) XXX_Marshal ¶
func (m *InferImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InferImageResponse) XXX_Merge ¶
func (dst *InferImageResponse) XXX_Merge(src proto.Message)
func (*InferImageResponse) XXX_Size ¶
func (m *InferImageResponse) XXX_Size() int
func (*InferImageResponse) XXX_Unmarshal ¶
func (m *InferImageResponse) XXX_Unmarshal(b []byte) error
type InferOutput ¶
type InferOutput struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` Probability int64 `protobuf:"varint,3,opt,name=probability,proto3" json:"probability,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
InferOutput consists of a name, inferred label and probability for that label.
func (*InferOutput) Descriptor ¶
func (*InferOutput) Descriptor() ([]byte, []int)
func (*InferOutput) GetLabel ¶
func (m *InferOutput) GetLabel() string
func (*InferOutput) GetName ¶
func (m *InferOutput) GetName() string
func (*InferOutput) GetProbability ¶
func (m *InferOutput) GetProbability() int64
func (*InferOutput) ProtoMessage ¶
func (*InferOutput) ProtoMessage()
func (*InferOutput) Reset ¶
func (m *InferOutput) Reset()
func (*InferOutput) String ¶
func (m *InferOutput) String() string
func (*InferOutput) XXX_DiscardUnknown ¶
func (m *InferOutput) XXX_DiscardUnknown()
func (*InferOutput) XXX_Marshal ¶
func (m *InferOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InferOutput) XXX_Merge ¶
func (dst *InferOutput) XXX_Merge(src proto.Message)
func (*InferOutput) XXX_Size ¶
func (m *InferOutput) XXX_Size() int
func (*InferOutput) XXX_Unmarshal ¶
func (m *InferOutput) XXX_Unmarshal(b []byte) error
type LambdaClient ¶
type LambdaClient interface { // Email service sends email Email(ctx context.Context, in *EmailRequest, opts ...grpc.CallOption) (*EmailResponse, error) // InferImage applies trained model on input image for inferring labels InferImage(ctx context.Context, opts ...grpc.CallOption) (Lambda_InferImageClient, error) // GAN generator Gan(ctx context.Context, in *GanRequest, opts ...grpc.CallOption) (Lambda_GanClient, error) // Gallery Display of images Gallery(ctx context.Context, in *GalleryRequest, opts ...grpc.CallOption) (*GalleryResponse, error) // Config fetches config parameters Config(ctx context.Context, in *ConfigRequest, opts ...grpc.CallOption) (*ConfigResponse, error) // GetUserInfo retrieves user info GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...grpc.CallOption) (*GetUserInfoResponse, error) // SetUserInfo sets user info SetUserInfo(ctx context.Context, in *SetUserInfoRequest, opts ...grpc.CallOption) (*SetUserInfoResponse, error) }
LambdaClient is the client API for Lambda service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLambdaClient ¶
func NewLambdaClient(cc *grpc.ClientConn) LambdaClient
type LambdaServer ¶
type LambdaServer interface { // Email service sends email Email(context.Context, *EmailRequest) (*EmailResponse, error) // InferImage applies trained model on input image for inferring labels InferImage(Lambda_InferImageServer) error // GAN generator Gan(*GanRequest, Lambda_GanServer) error // Gallery Display of images Gallery(context.Context, *GalleryRequest) (*GalleryResponse, error) // Config fetches config parameters Config(context.Context, *ConfigRequest) (*ConfigResponse, error) // GetUserInfo retrieves user info GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error) // SetUserInfo sets user info SetUserInfo(context.Context, *SetUserInfoRequest) (*SetUserInfoResponse, error) }
LambdaServer is the server API for Lambda service.
type Lambda_GanClient ¶
type Lambda_GanClient interface { Recv() (*GanResponse, error) grpc.ClientStream }
type Lambda_GanServer ¶
type Lambda_GanServer interface { Send(*GanResponse) error grpc.ServerStream }
type Lambda_InferImageClient ¶
type Lambda_InferImageClient interface { Send(*InferImageRequest) error CloseAndRecv() (*InferImageResponse, error) grpc.ClientStream }
type Lambda_InferImageServer ¶
type Lambda_InferImageServer interface { SendAndClose(*InferImageResponse) error Recv() (*InferImageRequest, error) grpc.ServerStream }
type ListOfString ¶
type ListOfString struct { Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListOfString is a list of strings
func (*ListOfString) Descriptor ¶
func (*ListOfString) Descriptor() ([]byte, []int)
func (*ListOfString) GetValue ¶
func (m *ListOfString) GetValue() []string
func (*ListOfString) ProtoMessage ¶
func (*ListOfString) ProtoMessage()
func (*ListOfString) Reset ¶
func (m *ListOfString) Reset()
func (*ListOfString) String ¶
func (m *ListOfString) String() string
func (*ListOfString) XXX_DiscardUnknown ¶
func (m *ListOfString) XXX_DiscardUnknown()
func (*ListOfString) XXX_Marshal ¶
func (m *ListOfString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListOfString) XXX_Merge ¶
func (dst *ListOfString) XXX_Merge(src proto.Message)
func (*ListOfString) XXX_Size ¶
func (m *ListOfString) XXX_Size() int
func (*ListOfString) XXX_Unmarshal ¶
func (m *ListOfString) XXX_Unmarshal(b []byte) error
type MonitorClient ¶
type MonitorClient interface {
Query(ctx context.Context, in *Empty, opts ...grpc.CallOption) (Monitor_QueryClient, error)
}
MonitorClient is the client API for Monitor service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMonitorClient ¶
func NewMonitorClient(cc *grpc.ClientConn) MonitorClient
type MonitorServer ¶
type MonitorServer interface {
Query(*Empty, Monitor_QueryServer) error
}
MonitorServer is the server API for Monitor service.
type Monitor_QueryClient ¶
type Monitor_QueryClient interface { Recv() (*Data, error) grpc.ClientStream }
type Monitor_QueryServer ¶
type Monitor_QueryServer interface { Send(*Data) error grpc.ServerStream }
type OAuthRequest ¶
type OAuthRequest struct { // Google as oauth provider Google *GoogleOAuthRequest `protobuf:"bytes,1,opt,name=google,proto3" json:"google,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
OAuthRequest is a collection of all supported oauth providers
func (*OAuthRequest) Descriptor ¶
func (*OAuthRequest) Descriptor() ([]byte, []int)
func (*OAuthRequest) GetGoogle ¶
func (m *OAuthRequest) GetGoogle() *GoogleOAuthRequest
func (*OAuthRequest) ProtoMessage ¶
func (*OAuthRequest) ProtoMessage()
func (*OAuthRequest) Reset ¶
func (m *OAuthRequest) Reset()
func (*OAuthRequest) String ¶
func (m *OAuthRequest) String() string
func (*OAuthRequest) XXX_DiscardUnknown ¶
func (m *OAuthRequest) XXX_DiscardUnknown()
func (*OAuthRequest) XXX_Marshal ¶
func (m *OAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OAuthRequest) XXX_Merge ¶
func (dst *OAuthRequest) XXX_Merge(src proto.Message)
func (*OAuthRequest) XXX_Size ¶
func (m *OAuthRequest) XXX_Size() int
func (*OAuthRequest) XXX_Unmarshal ¶
func (m *OAuthRequest) XXX_Unmarshal(b []byte) error
type SetUserInfoRequest ¶ added in v0.1.5
type SetUserInfoRequest struct { UserMeta *UserMeta `protobuf:"bytes,1,opt,name=user_meta,json=userMeta,proto3" json:"user_meta,omitempty"` // HealthCheckEndPoints is the list of http end points for which user would like to request // health checks HealthCheckEndPoints *HealthCheckEndPoints `protobuf:"bytes,2,opt,name=health_check_end_points,json=healthCheckEndPoints,proto3" json:"health_check_end_points,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SetUserInfoRequest is the information to store per user account
func (*SetUserInfoRequest) Descriptor ¶ added in v0.1.5
func (*SetUserInfoRequest) Descriptor() ([]byte, []int)
func (*SetUserInfoRequest) GetHealthCheckEndPoints ¶ added in v0.1.5
func (m *SetUserInfoRequest) GetHealthCheckEndPoints() *HealthCheckEndPoints
func (*SetUserInfoRequest) GetUserMeta ¶ added in v0.1.5
func (m *SetUserInfoRequest) GetUserMeta() *UserMeta
func (*SetUserInfoRequest) ProtoMessage ¶ added in v0.1.5
func (*SetUserInfoRequest) ProtoMessage()
func (*SetUserInfoRequest) Reset ¶ added in v0.1.5
func (m *SetUserInfoRequest) Reset()
func (*SetUserInfoRequest) String ¶ added in v0.1.5
func (m *SetUserInfoRequest) String() string
func (*SetUserInfoRequest) XXX_DiscardUnknown ¶ added in v0.1.5
func (m *SetUserInfoRequest) XXX_DiscardUnknown()
func (*SetUserInfoRequest) XXX_Marshal ¶ added in v0.1.5
func (m *SetUserInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetUserInfoRequest) XXX_Merge ¶ added in v0.1.5
func (dst *SetUserInfoRequest) XXX_Merge(src proto.Message)
func (*SetUserInfoRequest) XXX_Size ¶ added in v0.1.5
func (m *SetUserInfoRequest) XXX_Size() int
func (*SetUserInfoRequest) XXX_Unmarshal ¶ added in v0.1.5
func (m *SetUserInfoRequest) XXX_Unmarshal(b []byte) error
type SetUserInfoResponse ¶ added in v0.1.5
type SetUserInfoResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SetUserInfoResponse is the response after setting user info.
func (*SetUserInfoResponse) Descriptor ¶ added in v0.1.5
func (*SetUserInfoResponse) Descriptor() ([]byte, []int)
func (*SetUserInfoResponse) ProtoMessage ¶ added in v0.1.5
func (*SetUserInfoResponse) ProtoMessage()
func (*SetUserInfoResponse) Reset ¶ added in v0.1.5
func (m *SetUserInfoResponse) Reset()
func (*SetUserInfoResponse) String ¶ added in v0.1.5
func (m *SetUserInfoResponse) String() string
func (*SetUserInfoResponse) XXX_DiscardUnknown ¶ added in v0.1.5
func (m *SetUserInfoResponse) XXX_DiscardUnknown()
func (*SetUserInfoResponse) XXX_Marshal ¶ added in v0.1.5
func (m *SetUserInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetUserInfoResponse) XXX_Merge ¶ added in v0.1.5
func (dst *SetUserInfoResponse) XXX_Merge(src proto.Message)
func (*SetUserInfoResponse) XXX_Size ¶ added in v0.1.5
func (m *SetUserInfoResponse) XXX_Size() int
func (*SetUserInfoResponse) XXX_Unmarshal ¶ added in v0.1.5
func (m *SetUserInfoResponse) XXX_Unmarshal(b []byte) error
type UserMeta ¶ added in v0.1.5
type UserMeta struct { // UserName is the user name. UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // UserId is the id for the user. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // UserEmail is the email for the user. UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserMeta) Descriptor ¶ added in v0.1.5
func (*UserMeta) GetUserEmail ¶ added in v0.1.5
func (*UserMeta) GetUserName ¶ added in v0.1.5
func (*UserMeta) ProtoMessage ¶ added in v0.1.5
func (*UserMeta) ProtoMessage()
func (*UserMeta) XXX_DiscardUnknown ¶ added in v0.1.5
func (m *UserMeta) XXX_DiscardUnknown()
func (*UserMeta) XXX_Marshal ¶ added in v0.1.5
func (*UserMeta) XXX_Unmarshal ¶ added in v0.1.5
type Variable ¶
type Variable struct { Data []float32 `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"` Size []int64 `protobuf:"varint,2,rep,packed,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Variable is basically a buffer and its size
func (*Variable) Descriptor ¶
func (*Variable) ProtoMessage ¶
func (*Variable) ProtoMessage()
func (*Variable) XXX_DiscardUnknown ¶
func (m *Variable) XXX_DiscardUnknown()