Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterVinceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterVinceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VinceClient) error
- func RegisterVinceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterVinceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VinceServer) error
- func RegisterVinceServer(s grpc.ServiceRegistrar, srv VinceServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetHashedPassword() []byte
- func (x *Account) GetName() string
- func (m *Account) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Account) MarshalToVT(dAtA []byte) (int, error)
- func (m *Account) MarshalVT() (dAtA []byte, err error)
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (m *Account) SizeVT() (n int)
- func (x *Account) String() string
- func (m *Account) UnmarshalVT(dAtA []byte) error
- type ApplyClusterRequest
- func (*ApplyClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyClusterRequest) GetConfig() *v1.Cluster_Config
- func (m *ApplyClusterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ApplyClusterRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ApplyClusterRequest) MarshalVT() (dAtA []byte, err error)
- func (*ApplyClusterRequest) ProtoMessage()
- func (x *ApplyClusterRequest) ProtoReflect() protoreflect.Message
- func (x *ApplyClusterRequest) Reset()
- func (m *ApplyClusterRequest) SizeVT() (n int)
- func (x *ApplyClusterRequest) String() string
- func (m *ApplyClusterRequest) UnmarshalVT(dAtA []byte) error
- type ApplyClusterResponse
- func (*ApplyClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyClusterResponse) GetOk() string
- func (m *ApplyClusterResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ApplyClusterResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ApplyClusterResponse) MarshalVT() (dAtA []byte, err error)
- func (*ApplyClusterResponse) ProtoMessage()
- func (x *ApplyClusterResponse) ProtoReflect() protoreflect.Message
- func (x *ApplyClusterResponse) Reset()
- func (m *ApplyClusterResponse) SizeVT() (n int)
- func (x *ApplyClusterResponse) String() string
- func (m *ApplyClusterResponse) UnmarshalVT(dAtA []byte) error
- type CreateSiteRequest
- func (*CreateSiteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSiteRequest) GetDomain() string
- func (m *CreateSiteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateSiteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateSiteRequest) MarshalVT() (dAtA []byte, err error)
- func (*CreateSiteRequest) ProtoMessage()
- func (x *CreateSiteRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSiteRequest) Reset()
- func (m *CreateSiteRequest) SizeVT() (n int)
- func (x *CreateSiteRequest) String() string
- func (m *CreateSiteRequest) UnmarshalVT(dAtA []byte) error
- type CreateSiteResponse
- func (*CreateSiteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSiteResponse) GetSite() *Site
- func (m *CreateSiteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateSiteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateSiteResponse) MarshalVT() (dAtA []byte, err error)
- func (*CreateSiteResponse) ProtoMessage()
- func (x *CreateSiteResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSiteResponse) Reset()
- func (m *CreateSiteResponse) SizeVT() (n int)
- func (x *CreateSiteResponse) String() string
- func (m *CreateSiteResponse) UnmarshalVT(dAtA []byte) error
- type DeleteSiteRequest
- func (*DeleteSiteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSiteRequest) GetDomain() string
- func (m *DeleteSiteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeleteSiteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeleteSiteRequest) MarshalVT() (dAtA []byte, err error)
- func (*DeleteSiteRequest) ProtoMessage()
- func (x *DeleteSiteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSiteRequest) Reset()
- func (m *DeleteSiteRequest) SizeVT() (n int)
- func (x *DeleteSiteRequest) String() string
- func (m *DeleteSiteRequest) UnmarshalVT(dAtA []byte) error
- type DeleteSiteResponse
- func (*DeleteSiteResponse) Descriptor() ([]byte, []int)deprecated
- func (m *DeleteSiteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeleteSiteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeleteSiteResponse) MarshalVT() (dAtA []byte, err error)
- func (*DeleteSiteResponse) ProtoMessage()
- func (x *DeleteSiteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSiteResponse) Reset()
- func (m *DeleteSiteResponse) SizeVT() (n int)
- func (x *DeleteSiteResponse) String() string
- func (m *DeleteSiteResponse) UnmarshalVT(dAtA []byte) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetCode() int32
- func (x *Error) GetError() string
- func (m *Error) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Error) MarshalToVT(dAtA []byte) (int, error)
- func (m *Error) MarshalVT() (dAtA []byte, err error)
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (m *Error) SizeVT() (n int)
- func (x *Error) String() string
- func (m *Error) UnmarshalVT(dAtA []byte) error
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetD() string
- func (x *Event) GetH() bool
- func (x *Event) GetIp() string
- func (x *Event) GetN() string
- func (x *Event) GetR() string
- func (x *Event) GetUa() string
- func (x *Event) GetUrl() string
- func (x *Event) GetW() int32
- func (m *Event) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Event) MarshalToVT(dAtA []byte) (int, error)
- func (m *Event) MarshalVT() (dAtA []byte, err error)
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (m *Event) SizeVT() (n int)
- func (x *Event) String() string
- func (m *Event) UnmarshalVT(dAtA []byte) error
- type GetClusterRequest
- func (*GetClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (m *GetClusterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetClusterRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetClusterRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetClusterRequest) ProtoMessage()
- func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
- func (x *GetClusterRequest) Reset()
- func (m *GetClusterRequest) SizeVT() (n int)
- func (x *GetClusterRequest) String() string
- func (m *GetClusterRequest) UnmarshalVT(dAtA []byte) error
- type GetClusterResponse
- func (*GetClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClusterResponse) GetConfig() *v1.Cluster_Config
- func (m *GetClusterResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetClusterResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetClusterResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetClusterResponse) ProtoMessage()
- func (x *GetClusterResponse) ProtoReflect() protoreflect.Message
- func (x *GetClusterResponse) Reset()
- func (m *GetClusterResponse) SizeVT() (n int)
- func (x *GetClusterResponse) String() string
- func (m *GetClusterResponse) UnmarshalVT(dAtA []byte) error
- type GetSiteRequest
- func (*GetSiteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSiteRequest) GetDomain() string
- func (m *GetSiteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetSiteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetSiteRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetSiteRequest) ProtoMessage()
- func (x *GetSiteRequest) ProtoReflect() protoreflect.Message
- func (x *GetSiteRequest) Reset()
- func (m *GetSiteRequest) SizeVT() (n int)
- func (x *GetSiteRequest) String() string
- func (m *GetSiteRequest) UnmarshalVT(dAtA []byte) error
- type GetSiteResponse
- func (*GetSiteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSiteResponse) GetSite() *Site
- func (m *GetSiteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetSiteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetSiteResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetSiteResponse) ProtoMessage()
- func (x *GetSiteResponse) ProtoReflect() protoreflect.Message
- func (x *GetSiteResponse) Reset()
- func (m *GetSiteResponse) SizeVT() (n int)
- func (x *GetSiteResponse) String() string
- func (m *GetSiteResponse) UnmarshalVT(dAtA []byte) error
- type ListSitesRequest
- func (*ListSitesRequest) Descriptor() ([]byte, []int)deprecated
- func (m *ListSitesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ListSitesRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ListSitesRequest) MarshalVT() (dAtA []byte, err error)
- func (*ListSitesRequest) ProtoMessage()
- func (x *ListSitesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSitesRequest) Reset()
- func (m *ListSitesRequest) SizeVT() (n int)
- func (x *ListSitesRequest) String() string
- func (m *ListSitesRequest) UnmarshalVT(dAtA []byte) error
- type ListSitesResponse
- func (*ListSitesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSitesResponse) GetList() []*Site
- func (m *ListSitesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ListSitesResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ListSitesResponse) MarshalVT() (dAtA []byte, err error)
- func (*ListSitesResponse) ProtoMessage()
- func (x *ListSitesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSitesResponse) Reset()
- func (m *ListSitesResponse) SizeVT() (n int)
- func (x *ListSitesResponse) String() string
- func (m *ListSitesResponse) UnmarshalVT(dAtA []byte) error
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetGenerate() bool
- func (x *LoginRequest) GetPublicKey() []byte
- func (x *LoginRequest) GetToken() string
- func (x *LoginRequest) GetTtl() *durationpb.Duration
- func (m *LoginRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LoginRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *LoginRequest) MarshalVT() (dAtA []byte, err error)
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (m *LoginRequest) SizeVT() (n int)
- func (x *LoginRequest) String() string
- func (m *LoginRequest) UnmarshalVT(dAtA []byte) error
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetAuth() *v1.Client_Auth
- func (m *LoginResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LoginResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *LoginResponse) MarshalVT() (dAtA []byte, err error)
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (m *LoginResponse) SizeVT() (n int)
- func (x *LoginResponse) String() string
- func (m *LoginResponse) UnmarshalVT(dAtA []byte) error
- type Notice
- func (*Notice) Descriptor() ([]byte, []int)deprecated
- func (m *Notice) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Notice) MarshalToVT(dAtA []byte) (int, error)
- func (m *Notice) MarshalVT() (dAtA []byte, err error)
- func (*Notice) ProtoMessage()
- func (x *Notice) ProtoReflect() protoreflect.Message
- func (x *Notice) Reset()
- func (m *Notice) SizeVT() (n int)
- func (x *Notice) String() string
- func (m *Notice) UnmarshalVT(dAtA []byte) error
- type Query
- func (*Query) Descriptor() ([]byte, []int)deprecated
- func (m *Query) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Query) MarshalToVT(dAtA []byte) (int, error)
- func (m *Query) MarshalVT() (dAtA []byte, err error)
- func (*Query) ProtoMessage()
- func (x *Query) ProtoReflect() protoreflect.Message
- func (x *Query) Reset()
- func (m *Query) SizeVT() (n int)
- func (x *Query) String() string
- func (m *Query) UnmarshalVT(dAtA []byte) error
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequest) GetParams() []*Query_Param
- func (x *QueryRequest) GetQuery() string
- func (m *QueryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QueryRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *QueryRequest) MarshalVT() (dAtA []byte, err error)
- func (*QueryRequest) ProtoMessage()
- func (x *QueryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequest) Reset()
- func (m *QueryRequest) SizeVT() (n int)
- func (x *QueryRequest) String() string
- func (m *QueryRequest) UnmarshalVT(dAtA []byte) error
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponse) GetColumns() []*Query_Colum
- func (x *QueryResponse) GetElapsed() *durationpb.Duration
- func (x *QueryResponse) GetRows() []*Query_Row
- func (m *QueryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QueryResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *QueryResponse) MarshalVT() (dAtA []byte, err error)
- func (*QueryResponse) ProtoMessage()
- func (x *QueryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponse) Reset()
- func (m *QueryResponse) SizeVT() (n int)
- func (x *QueryResponse) String() string
- func (m *QueryResponse) UnmarshalVT(dAtA []byte) error
- type Query_Colum
- func (*Query_Colum) Descriptor() ([]byte, []int)deprecated
- func (x *Query_Colum) GetDataType() Query_Colum_DataType
- func (x *Query_Colum) GetName() string
- func (m *Query_Colum) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Query_Colum) MarshalToVT(dAtA []byte) (int, error)
- func (m *Query_Colum) MarshalVT() (dAtA []byte, err error)
- func (*Query_Colum) ProtoMessage()
- func (x *Query_Colum) ProtoReflect() protoreflect.Message
- func (x *Query_Colum) Reset()
- func (m *Query_Colum) SizeVT() (n int)
- func (x *Query_Colum) String() string
- func (m *Query_Colum) UnmarshalVT(dAtA []byte) error
- type Query_Colum_DataType
- func (Query_Colum_DataType) Descriptor() protoreflect.EnumDescriptor
- func (x Query_Colum_DataType) Enum() *Query_Colum_DataType
- func (Query_Colum_DataType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Query_Colum_DataType) Number() protoreflect.EnumNumber
- func (x Query_Colum_DataType) String() string
- func (Query_Colum_DataType) Type() protoreflect.EnumType
- type Query_Param
- func (*Query_Param) Descriptor() ([]byte, []int)deprecated
- func (x *Query_Param) GetName() string
- func (x *Query_Param) GetValue() *Query_Value
- func (m *Query_Param) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Query_Param) MarshalToVT(dAtA []byte) (int, error)
- func (m *Query_Param) MarshalVT() (dAtA []byte, err error)
- func (*Query_Param) ProtoMessage()
- func (x *Query_Param) ProtoReflect() protoreflect.Message
- func (x *Query_Param) Reset()
- func (m *Query_Param) SizeVT() (n int)
- func (x *Query_Param) String() string
- func (m *Query_Param) UnmarshalVT(dAtA []byte) error
- type Query_Row
- func (*Query_Row) Descriptor() ([]byte, []int)deprecated
- func (x *Query_Row) GetValues() []*Query_Value
- func (m *Query_Row) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Query_Row) MarshalToVT(dAtA []byte) (int, error)
- func (m *Query_Row) MarshalVT() (dAtA []byte, err error)
- func (*Query_Row) ProtoMessage()
- func (x *Query_Row) ProtoReflect() protoreflect.Message
- func (x *Query_Row) Reset()
- func (m *Query_Row) SizeVT() (n int)
- func (x *Query_Row) String() string
- func (m *Query_Row) UnmarshalVT(dAtA []byte) error
- type Query_Value
- func (*Query_Value) Descriptor() ([]byte, []int)deprecated
- func (x *Query_Value) GetBool() bool
- func (x *Query_Value) GetDouble() float64
- func (x *Query_Value) GetNumber() int64
- func (x *Query_Value) GetString_() string
- func (x *Query_Value) GetTimestamp() *timestamppb.Timestamp
- func (m *Query_Value) GetValue() isQuery_Value_Value
- func (m *Query_Value) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Query_Value) MarshalToVT(dAtA []byte) (int, error)
- func (m *Query_Value) MarshalVT() (dAtA []byte, err error)
- func (*Query_Value) ProtoMessage()
- func (x *Query_Value) ProtoReflect() protoreflect.Message
- func (x *Query_Value) Reset()
- func (m *Query_Value) SizeVT() (n int)
- func (x *Query_Value) String() string
- func (m *Query_Value) UnmarshalVT(dAtA []byte) error
- type Query_Value_Bool
- type Query_Value_Double
- type Query_Value_Number
- type Query_Value_String_
- type Query_Value_Timestamp
- type Site
- func (*Site) Descriptor() ([]byte, []int)deprecated
- func (x *Site) GetDomain() string
- func (m *Site) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Site) MarshalToVT(dAtA []byte) (int, error)
- func (m *Site) MarshalVT() (dAtA []byte, err error)
- func (*Site) ProtoMessage()
- func (x *Site) ProtoReflect() protoreflect.Message
- func (x *Site) Reset()
- func (m *Site) SizeVT() (n int)
- func (x *Site) String() string
- func (m *Site) UnmarshalVT(dAtA []byte) error
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (m *Status) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Status) MarshalToVT(dAtA []byte) (int, error)
- func (m *Status) MarshalVT() (dAtA []byte, err error)
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (m *Status) SizeVT() (n int)
- func (x *Status) String() string
- func (m *Status) UnmarshalVT(dAtA []byte) error
- type Token
- func (*Token) Descriptor() ([]byte, []int)deprecated
- func (x *Token) GetPubKey() []byte
- func (m *Token) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Token) MarshalToVT(dAtA []byte) (int, error)
- func (m *Token) MarshalVT() (dAtA []byte, err error)
- func (*Token) ProtoMessage()
- func (x *Token) ProtoReflect() protoreflect.Message
- func (x *Token) Reset()
- func (m *Token) SizeVT() (n int)
- func (x *Token) String() string
- func (m *Token) UnmarshalVT(dAtA []byte) error
- type Token_Issuer
- func (Token_Issuer) Descriptor() protoreflect.EnumDescriptor
- func (x Token_Issuer) Enum() *Token_Issuer
- func (Token_Issuer) EnumDescriptor() ([]byte, []int)deprecated
- func (x Token_Issuer) Number() protoreflect.EnumNumber
- func (x Token_Issuer) String() string
- func (Token_Issuer) Type() protoreflect.EnumType
- type Token_Scope
- func (Token_Scope) Descriptor() protoreflect.EnumDescriptor
- func (x Token_Scope) Enum() *Token_Scope
- func (Token_Scope) EnumDescriptor() ([]byte, []int)deprecated
- func (x Token_Scope) Number() protoreflect.EnumNumber
- func (x Token_Scope) String() string
- func (Token_Scope) Type() protoreflect.EnumType
- type UnimplementedVinceServer
- func (UnimplementedVinceServer) ApplyCluster(context.Context, *ApplyClusterRequest) (*ApplyClusterResponse, error)
- func (UnimplementedVinceServer) CreateSite(context.Context, *CreateSiteRequest) (*CreateSiteResponse, error)
- func (UnimplementedVinceServer) DeleteSite(context.Context, *DeleteSiteRequest) (*DeleteSiteResponse, error)
- func (UnimplementedVinceServer) GetCluster(context.Context, *GetClusterRequest) (*GetClusterResponse, error)
- func (UnimplementedVinceServer) GetSite(context.Context, *GetSiteRequest) (*GetSiteResponse, error)
- func (UnimplementedVinceServer) ListSites(context.Context, *ListSitesRequest) (*ListSitesResponse, error)
- func (UnimplementedVinceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedVinceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
- func (UnimplementedVinceServer) SendEvent(context.Context, *Event) (*emptypb.Empty, error)
- func (UnimplementedVinceServer) Version(context.Context, *emptypb.Empty) (*v1.Build, error)
- type UnsafeVinceServer
- type VinceClient
- type VinceServer
Constants ¶
This section is empty.
Variables ¶
var ( Token_Issuer_name = map[int32]string{ 0: "SERVER", 1: "CLIENT", } Token_Issuer_value = map[string]int32{ "SERVER": 0, "CLIENT": 1, } )
Enum value maps for Token_Issuer.
var ( Token_Scope_name = map[int32]string{ 0: "ALL", 2: "CLUSTER", } Token_Scope_value = map[string]int32{ "ALL": 0, "CLUSTER": 2, } )
Enum value maps for Token_Scope.
var ( Query_Colum_DataType_name = map[int32]string{ 0: "UNKNOWN", 1: "NUMBER", 2: "DOUBLE", 3: "STRING", 4: "BOOL", 5: "TIMESTAMP", } Query_Colum_DataType_value = map[string]int32{ "UNKNOWN": 0, "NUMBER": 1, "DOUBLE": 2, "STRING": 3, "BOOL": 4, "TIMESTAMP": 5, } )
Enum value maps for Query_Colum_DataType.
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var File_vince_api_v1_api_proto protoreflect.FileDescriptor
var Vince_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.Vince", HandlerType: (*VinceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _Vince_Login_Handler, }, { MethodName: "CreateSite", Handler: _Vince_CreateSite_Handler, }, { MethodName: "GetSite", Handler: _Vince_GetSite_Handler, }, { MethodName: "ListSites", Handler: _Vince_ListSites_Handler, }, { MethodName: "DeleteSite", Handler: _Vince_DeleteSite_Handler, }, { MethodName: "Query", Handler: _Vince_Query_Handler, }, { MethodName: "ApplyCluster", Handler: _Vince_ApplyCluster_Handler, }, { MethodName: "GetCluster", Handler: _Vince_GetCluster_Handler, }, { MethodName: "Version", Handler: _Vince_Version_Handler, }, { MethodName: "SendEvent", Handler: _Vince_SendEvent_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "vince/api/v1/api.proto", }
Vince_ServiceDesc is the grpc.ServiceDesc for Vince service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterVinceHandler ¶
RegisterVinceHandler registers the http handlers for service Vince to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterVinceHandlerClient ¶
func RegisterVinceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VinceClient) error
RegisterVinceHandlerClient registers the http handlers for service Vince to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "VinceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "VinceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "VinceClient" to call the correct interceptors.
func RegisterVinceHandlerFromEndpoint ¶
func RegisterVinceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterVinceHandlerFromEndpoint is same as RegisterVinceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterVinceHandlerServer ¶
func RegisterVinceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VinceServer) error
RegisterVinceHandlerServer registers the http handlers for service Vince to "mux". UnaryRPC :call VinceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterVinceHandlerFromEndpoint instead.
func RegisterVinceServer ¶
func RegisterVinceServer(s grpc.ServiceRegistrar, srv VinceServer)
Types ¶
type Account ¶
type Account struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` HashedPassword []byte `protobuf:"bytes,2,opt,name=hashed_password,json=hashedPassword,proto3" json:"hashed_password,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetHashedPassword ¶
func (*Account) MarshalToSizedBufferVT ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
func (*Account) UnmarshalVT ¶
type ApplyClusterRequest ¶
type ApplyClusterRequest struct { Config *v1.Cluster_Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*ApplyClusterRequest) Descriptor
deprecated
func (*ApplyClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyClusterRequest.ProtoReflect.Descriptor instead.
func (*ApplyClusterRequest) GetConfig ¶
func (x *ApplyClusterRequest) GetConfig() *v1.Cluster_Config
func (*ApplyClusterRequest) MarshalToSizedBufferVT ¶
func (m *ApplyClusterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ApplyClusterRequest) MarshalToVT ¶
func (m *ApplyClusterRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ApplyClusterRequest) MarshalVT ¶
func (m *ApplyClusterRequest) MarshalVT() (dAtA []byte, err error)
func (*ApplyClusterRequest) ProtoMessage ¶
func (*ApplyClusterRequest) ProtoMessage()
func (*ApplyClusterRequest) ProtoReflect ¶
func (x *ApplyClusterRequest) ProtoReflect() protoreflect.Message
func (*ApplyClusterRequest) Reset ¶
func (x *ApplyClusterRequest) Reset()
func (*ApplyClusterRequest) SizeVT ¶
func (m *ApplyClusterRequest) SizeVT() (n int)
func (*ApplyClusterRequest) String ¶
func (x *ApplyClusterRequest) String() string
func (*ApplyClusterRequest) UnmarshalVT ¶
func (m *ApplyClusterRequest) UnmarshalVT(dAtA []byte) error
type ApplyClusterResponse ¶
type ApplyClusterResponse struct { Ok string `protobuf:"bytes,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*ApplyClusterResponse) Descriptor
deprecated
func (*ApplyClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplyClusterResponse.ProtoReflect.Descriptor instead.
func (*ApplyClusterResponse) GetOk ¶
func (x *ApplyClusterResponse) GetOk() string
func (*ApplyClusterResponse) MarshalToSizedBufferVT ¶
func (m *ApplyClusterResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ApplyClusterResponse) MarshalToVT ¶
func (m *ApplyClusterResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ApplyClusterResponse) MarshalVT ¶
func (m *ApplyClusterResponse) MarshalVT() (dAtA []byte, err error)
func (*ApplyClusterResponse) ProtoMessage ¶
func (*ApplyClusterResponse) ProtoMessage()
func (*ApplyClusterResponse) ProtoReflect ¶
func (x *ApplyClusterResponse) ProtoReflect() protoreflect.Message
func (*ApplyClusterResponse) Reset ¶
func (x *ApplyClusterResponse) Reset()
func (*ApplyClusterResponse) SizeVT ¶
func (m *ApplyClusterResponse) SizeVT() (n int)
func (*ApplyClusterResponse) String ¶
func (x *ApplyClusterResponse) String() string
func (*ApplyClusterResponse) UnmarshalVT ¶
func (m *ApplyClusterResponse) UnmarshalVT(dAtA []byte) error
type CreateSiteRequest ¶
type CreateSiteRequest struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*CreateSiteRequest) Descriptor
deprecated
func (*CreateSiteRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSiteRequest.ProtoReflect.Descriptor instead.
func (*CreateSiteRequest) GetDomain ¶
func (x *CreateSiteRequest) GetDomain() string
func (*CreateSiteRequest) MarshalToSizedBufferVT ¶
func (m *CreateSiteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateSiteRequest) MarshalToVT ¶
func (m *CreateSiteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CreateSiteRequest) MarshalVT ¶
func (m *CreateSiteRequest) MarshalVT() (dAtA []byte, err error)
func (*CreateSiteRequest) ProtoMessage ¶
func (*CreateSiteRequest) ProtoMessage()
func (*CreateSiteRequest) ProtoReflect ¶
func (x *CreateSiteRequest) ProtoReflect() protoreflect.Message
func (*CreateSiteRequest) Reset ¶
func (x *CreateSiteRequest) Reset()
func (*CreateSiteRequest) SizeVT ¶
func (m *CreateSiteRequest) SizeVT() (n int)
func (*CreateSiteRequest) String ¶
func (x *CreateSiteRequest) String() string
func (*CreateSiteRequest) UnmarshalVT ¶
func (m *CreateSiteRequest) UnmarshalVT(dAtA []byte) error
type CreateSiteResponse ¶
type CreateSiteResponse struct { Site *Site `protobuf:"bytes,1,opt,name=site,proto3" json:"site,omitempty"` // contains filtered or unexported fields }
func (*CreateSiteResponse) Descriptor
deprecated
func (*CreateSiteResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSiteResponse.ProtoReflect.Descriptor instead.
func (*CreateSiteResponse) GetSite ¶
func (x *CreateSiteResponse) GetSite() *Site
func (*CreateSiteResponse) MarshalToSizedBufferVT ¶
func (m *CreateSiteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateSiteResponse) MarshalToVT ¶
func (m *CreateSiteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CreateSiteResponse) MarshalVT ¶
func (m *CreateSiteResponse) MarshalVT() (dAtA []byte, err error)
func (*CreateSiteResponse) ProtoMessage ¶
func (*CreateSiteResponse) ProtoMessage()
func (*CreateSiteResponse) ProtoReflect ¶
func (x *CreateSiteResponse) ProtoReflect() protoreflect.Message
func (*CreateSiteResponse) Reset ¶
func (x *CreateSiteResponse) Reset()
func (*CreateSiteResponse) SizeVT ¶
func (m *CreateSiteResponse) SizeVT() (n int)
func (*CreateSiteResponse) String ¶
func (x *CreateSiteResponse) String() string
func (*CreateSiteResponse) UnmarshalVT ¶
func (m *CreateSiteResponse) UnmarshalVT(dAtA []byte) error
type DeleteSiteRequest ¶
type DeleteSiteRequest struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*DeleteSiteRequest) Descriptor
deprecated
func (*DeleteSiteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSiteRequest.ProtoReflect.Descriptor instead.
func (*DeleteSiteRequest) GetDomain ¶
func (x *DeleteSiteRequest) GetDomain() string
func (*DeleteSiteRequest) MarshalToSizedBufferVT ¶
func (m *DeleteSiteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeleteSiteRequest) MarshalToVT ¶
func (m *DeleteSiteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*DeleteSiteRequest) MarshalVT ¶
func (m *DeleteSiteRequest) MarshalVT() (dAtA []byte, err error)
func (*DeleteSiteRequest) ProtoMessage ¶
func (*DeleteSiteRequest) ProtoMessage()
func (*DeleteSiteRequest) ProtoReflect ¶
func (x *DeleteSiteRequest) ProtoReflect() protoreflect.Message
func (*DeleteSiteRequest) Reset ¶
func (x *DeleteSiteRequest) Reset()
func (*DeleteSiteRequest) SizeVT ¶
func (m *DeleteSiteRequest) SizeVT() (n int)
func (*DeleteSiteRequest) String ¶
func (x *DeleteSiteRequest) String() string
func (*DeleteSiteRequest) UnmarshalVT ¶
func (m *DeleteSiteRequest) UnmarshalVT(dAtA []byte) error
type DeleteSiteResponse ¶
type DeleteSiteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteSiteResponse) Descriptor
deprecated
func (*DeleteSiteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSiteResponse.ProtoReflect.Descriptor instead.
func (*DeleteSiteResponse) MarshalToSizedBufferVT ¶
func (m *DeleteSiteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeleteSiteResponse) MarshalToVT ¶
func (m *DeleteSiteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*DeleteSiteResponse) MarshalVT ¶
func (m *DeleteSiteResponse) MarshalVT() (dAtA []byte, err error)
func (*DeleteSiteResponse) ProtoMessage ¶
func (*DeleteSiteResponse) ProtoMessage()
func (*DeleteSiteResponse) ProtoReflect ¶
func (x *DeleteSiteResponse) ProtoReflect() protoreflect.Message
func (*DeleteSiteResponse) Reset ¶
func (x *DeleteSiteResponse) Reset()
func (*DeleteSiteResponse) SizeVT ¶
func (m *DeleteSiteResponse) SizeVT() (n int)
func (*DeleteSiteResponse) String ¶
func (x *DeleteSiteResponse) String() string
func (*DeleteSiteResponse) UnmarshalVT ¶
func (m *DeleteSiteResponse) UnmarshalVT(dAtA []byte) error
type Error ¶
type Error struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) MarshalToSizedBufferVT ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
func (*Error) UnmarshalVT ¶
type Event ¶ added in v0.0.31
type Event struct { // / EventName N string `protobuf:"bytes,1,opt,name=n,proto3" json:"n,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // Domain D string `protobuf:"bytes,3,opt,name=d,proto3" json:"d,omitempty"` // Screen width W int32 `protobuf:"varint,4,opt,name=w,proto3" json:"w,omitempty"` // Hash mode H bool `protobuf:"varint,5,opt,name=h,proto3" json:"h,omitempty"` Ip string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"` // user agent Ua string `protobuf:"bytes,7,opt,name=ua,proto3" json:"ua,omitempty"` // Referrer R string `protobuf:"bytes,8,opt,name=r,proto3" json:"r,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
added in
v0.0.31
func (*Event) MarshalToSizedBufferVT ¶ added in v0.0.31
func (*Event) ProtoMessage ¶ added in v0.0.31
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶ added in v0.0.31
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) UnmarshalVT ¶ added in v0.0.31
type GetClusterRequest ¶
type GetClusterRequest struct {
// contains filtered or unexported fields
}
func (*GetClusterRequest) Descriptor
deprecated
func (*GetClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.
func (*GetClusterRequest) MarshalToSizedBufferVT ¶
func (m *GetClusterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetClusterRequest) MarshalToVT ¶
func (m *GetClusterRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetClusterRequest) MarshalVT ¶
func (m *GetClusterRequest) MarshalVT() (dAtA []byte, err error)
func (*GetClusterRequest) ProtoMessage ¶
func (*GetClusterRequest) ProtoMessage()
func (*GetClusterRequest) ProtoReflect ¶
func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
func (*GetClusterRequest) Reset ¶
func (x *GetClusterRequest) Reset()
func (*GetClusterRequest) SizeVT ¶
func (m *GetClusterRequest) SizeVT() (n int)
func (*GetClusterRequest) String ¶
func (x *GetClusterRequest) String() string
func (*GetClusterRequest) UnmarshalVT ¶
func (m *GetClusterRequest) UnmarshalVT(dAtA []byte) error
type GetClusterResponse ¶
type GetClusterResponse struct { Config *v1.Cluster_Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*GetClusterResponse) Descriptor
deprecated
func (*GetClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterResponse.ProtoReflect.Descriptor instead.
func (*GetClusterResponse) GetConfig ¶
func (x *GetClusterResponse) GetConfig() *v1.Cluster_Config
func (*GetClusterResponse) MarshalToSizedBufferVT ¶
func (m *GetClusterResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetClusterResponse) MarshalToVT ¶
func (m *GetClusterResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetClusterResponse) MarshalVT ¶
func (m *GetClusterResponse) MarshalVT() (dAtA []byte, err error)
func (*GetClusterResponse) ProtoMessage ¶
func (*GetClusterResponse) ProtoMessage()
func (*GetClusterResponse) ProtoReflect ¶
func (x *GetClusterResponse) ProtoReflect() protoreflect.Message
func (*GetClusterResponse) Reset ¶
func (x *GetClusterResponse) Reset()
func (*GetClusterResponse) SizeVT ¶
func (m *GetClusterResponse) SizeVT() (n int)
func (*GetClusterResponse) String ¶
func (x *GetClusterResponse) String() string
func (*GetClusterResponse) UnmarshalVT ¶
func (m *GetClusterResponse) UnmarshalVT(dAtA []byte) error
type GetSiteRequest ¶
type GetSiteRequest struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*GetSiteRequest) Descriptor
deprecated
func (*GetSiteRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSiteRequest.ProtoReflect.Descriptor instead.
func (*GetSiteRequest) GetDomain ¶ added in v0.0.32
func (x *GetSiteRequest) GetDomain() string
func (*GetSiteRequest) MarshalToSizedBufferVT ¶
func (m *GetSiteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetSiteRequest) MarshalToVT ¶
func (m *GetSiteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetSiteRequest) MarshalVT ¶
func (m *GetSiteRequest) MarshalVT() (dAtA []byte, err error)
func (*GetSiteRequest) ProtoMessage ¶
func (*GetSiteRequest) ProtoMessage()
func (*GetSiteRequest) ProtoReflect ¶
func (x *GetSiteRequest) ProtoReflect() protoreflect.Message
func (*GetSiteRequest) Reset ¶
func (x *GetSiteRequest) Reset()
func (*GetSiteRequest) SizeVT ¶
func (m *GetSiteRequest) SizeVT() (n int)
func (*GetSiteRequest) String ¶
func (x *GetSiteRequest) String() string
func (*GetSiteRequest) UnmarshalVT ¶
func (m *GetSiteRequest) UnmarshalVT(dAtA []byte) error
type GetSiteResponse ¶
type GetSiteResponse struct { Site *Site `protobuf:"bytes,1,opt,name=site,proto3" json:"site,omitempty"` // contains filtered or unexported fields }
func (*GetSiteResponse) Descriptor
deprecated
func (*GetSiteResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSiteResponse.ProtoReflect.Descriptor instead.
func (*GetSiteResponse) GetSite ¶
func (x *GetSiteResponse) GetSite() *Site
func (*GetSiteResponse) MarshalToSizedBufferVT ¶
func (m *GetSiteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetSiteResponse) MarshalToVT ¶
func (m *GetSiteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetSiteResponse) MarshalVT ¶
func (m *GetSiteResponse) MarshalVT() (dAtA []byte, err error)
func (*GetSiteResponse) ProtoMessage ¶
func (*GetSiteResponse) ProtoMessage()
func (*GetSiteResponse) ProtoReflect ¶
func (x *GetSiteResponse) ProtoReflect() protoreflect.Message
func (*GetSiteResponse) Reset ¶
func (x *GetSiteResponse) Reset()
func (*GetSiteResponse) SizeVT ¶
func (m *GetSiteResponse) SizeVT() (n int)
func (*GetSiteResponse) String ¶
func (x *GetSiteResponse) String() string
func (*GetSiteResponse) UnmarshalVT ¶
func (m *GetSiteResponse) UnmarshalVT(dAtA []byte) error
type ListSitesRequest ¶
type ListSitesRequest struct {
// contains filtered or unexported fields
}
func (*ListSitesRequest) Descriptor
deprecated
func (*ListSitesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSitesRequest.ProtoReflect.Descriptor instead.
func (*ListSitesRequest) MarshalToSizedBufferVT ¶
func (m *ListSitesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ListSitesRequest) MarshalToVT ¶
func (m *ListSitesRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ListSitesRequest) MarshalVT ¶
func (m *ListSitesRequest) MarshalVT() (dAtA []byte, err error)
func (*ListSitesRequest) ProtoMessage ¶
func (*ListSitesRequest) ProtoMessage()
func (*ListSitesRequest) ProtoReflect ¶
func (x *ListSitesRequest) ProtoReflect() protoreflect.Message
func (*ListSitesRequest) Reset ¶
func (x *ListSitesRequest) Reset()
func (*ListSitesRequest) SizeVT ¶
func (m *ListSitesRequest) SizeVT() (n int)
func (*ListSitesRequest) String ¶
func (x *ListSitesRequest) String() string
func (*ListSitesRequest) UnmarshalVT ¶
func (m *ListSitesRequest) UnmarshalVT(dAtA []byte) error
type ListSitesResponse ¶
type ListSitesResponse struct { List []*Site `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListSitesResponse) Descriptor
deprecated
func (*ListSitesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSitesResponse.ProtoReflect.Descriptor instead.
func (*ListSitesResponse) GetList ¶
func (x *ListSitesResponse) GetList() []*Site
func (*ListSitesResponse) MarshalToSizedBufferVT ¶
func (m *ListSitesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ListSitesResponse) MarshalToVT ¶
func (m *ListSitesResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ListSitesResponse) MarshalVT ¶
func (m *ListSitesResponse) MarshalVT() (dAtA []byte, err error)
func (*ListSitesResponse) ProtoMessage ¶
func (*ListSitesResponse) ProtoMessage()
func (*ListSitesResponse) ProtoReflect ¶
func (x *ListSitesResponse) ProtoReflect() protoreflect.Message
func (*ListSitesResponse) Reset ¶
func (x *ListSitesResponse) Reset()
func (*ListSitesResponse) SizeVT ¶
func (m *ListSitesResponse) SizeVT() (n int)
func (*ListSitesResponse) String ¶
func (x *ListSitesResponse) String() string
func (*ListSitesResponse) UnmarshalVT ¶
func (m *ListSitesResponse) UnmarshalVT(dAtA []byte) error
type LoginRequest ¶ added in v0.0.32
type LoginRequest struct { Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // When true, the token will be generated by the server. Generate bool `protobuf:"varint,5,opt,name=generate,proto3" json:"generate,omitempty"` Ttl *durationpb.Duration `protobuf:"bytes,6,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
added in
v0.0.32
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetGenerate ¶ added in v0.0.32
func (x *LoginRequest) GetGenerate() bool
func (*LoginRequest) GetPublicKey ¶ added in v0.0.32
func (x *LoginRequest) GetPublicKey() []byte
func (*LoginRequest) GetToken ¶ added in v0.0.32
func (x *LoginRequest) GetToken() string
func (*LoginRequest) GetTtl ¶ added in v0.0.32
func (x *LoginRequest) GetTtl() *durationpb.Duration
func (*LoginRequest) MarshalToSizedBufferVT ¶ added in v0.0.32
func (m *LoginRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LoginRequest) MarshalToVT ¶ added in v0.0.32
func (m *LoginRequest) MarshalToVT(dAtA []byte) (int, error)
func (*LoginRequest) MarshalVT ¶ added in v0.0.32
func (m *LoginRequest) MarshalVT() (dAtA []byte, err error)
func (*LoginRequest) ProtoMessage ¶ added in v0.0.32
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶ added in v0.0.32
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶ added in v0.0.32
func (x *LoginRequest) Reset()
func (*LoginRequest) SizeVT ¶ added in v0.0.32
func (m *LoginRequest) SizeVT() (n int)
func (*LoginRequest) String ¶ added in v0.0.32
func (x *LoginRequest) String() string
func (*LoginRequest) UnmarshalVT ¶ added in v0.0.32
func (m *LoginRequest) UnmarshalVT(dAtA []byte) error
type LoginResponse ¶ added in v0.0.32
type LoginResponse struct { Auth *v1.Client_Auth `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
added in
v0.0.32
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetAuth ¶ added in v0.0.32
func (x *LoginResponse) GetAuth() *v1.Client_Auth
func (*LoginResponse) MarshalToSizedBufferVT ¶ added in v0.0.32
func (m *LoginResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LoginResponse) MarshalToVT ¶ added in v0.0.32
func (m *LoginResponse) MarshalToVT(dAtA []byte) (int, error)
func (*LoginResponse) MarshalVT ¶ added in v0.0.32
func (m *LoginResponse) MarshalVT() (dAtA []byte, err error)
func (*LoginResponse) ProtoMessage ¶ added in v0.0.32
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶ added in v0.0.32
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶ added in v0.0.32
func (x *LoginResponse) Reset()
func (*LoginResponse) SizeVT ¶ added in v0.0.32
func (m *LoginResponse) SizeVT() (n int)
func (*LoginResponse) String ¶ added in v0.0.32
func (x *LoginResponse) String() string
func (*LoginResponse) UnmarshalVT ¶ added in v0.0.32
func (m *LoginResponse) UnmarshalVT(dAtA []byte) error
type Notice ¶
type Notice struct {
// contains filtered or unexported fields
}
func (*Notice) Descriptor
deprecated
func (*Notice) MarshalToSizedBufferVT ¶
func (*Notice) ProtoMessage ¶
func (*Notice) ProtoMessage()
func (*Notice) ProtoReflect ¶
func (x *Notice) ProtoReflect() protoreflect.Message
func (*Notice) UnmarshalVT ¶
type Query ¶
type Query struct {
// contains filtered or unexported fields
}
func (*Query) Descriptor
deprecated
func (*Query) MarshalToSizedBufferVT ¶
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
func (*Query) UnmarshalVT ¶
type QueryRequest ¶
type QueryRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Params []*Query_Param `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*QueryRequest) Descriptor
deprecated
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetParams ¶
func (x *QueryRequest) GetParams() []*Query_Param
func (*QueryRequest) GetQuery ¶
func (x *QueryRequest) GetQuery() string
func (*QueryRequest) MarshalToSizedBufferVT ¶
func (m *QueryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryRequest) MarshalToVT ¶
func (m *QueryRequest) MarshalToVT(dAtA []byte) (int, error)
func (*QueryRequest) MarshalVT ¶
func (m *QueryRequest) MarshalVT() (dAtA []byte, err error)
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶
func (x *QueryRequest) Reset()
func (*QueryRequest) SizeVT ¶
func (m *QueryRequest) SizeVT() (n int)
func (*QueryRequest) String ¶
func (x *QueryRequest) String() string
func (*QueryRequest) UnmarshalVT ¶
func (m *QueryRequest) UnmarshalVT(dAtA []byte) error
type QueryResponse ¶
type QueryResponse struct { Elapsed *durationpb.Duration `protobuf:"bytes,1,opt,name=elapsed,proto3" json:"elapsed,omitempty"` Columns []*Query_Colum `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"` Rows []*Query_Row `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"` // contains filtered or unexported fields }
func (*QueryResponse) Descriptor
deprecated
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetColumns ¶
func (x *QueryResponse) GetColumns() []*Query_Colum
func (*QueryResponse) GetElapsed ¶
func (x *QueryResponse) GetElapsed() *durationpb.Duration
func (*QueryResponse) GetRows ¶
func (x *QueryResponse) GetRows() []*Query_Row
func (*QueryResponse) MarshalToSizedBufferVT ¶
func (m *QueryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryResponse) MarshalToVT ¶
func (m *QueryResponse) MarshalToVT(dAtA []byte) (int, error)
func (*QueryResponse) MarshalVT ¶
func (m *QueryResponse) MarshalVT() (dAtA []byte, err error)
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶
func (x *QueryResponse) Reset()
func (*QueryResponse) SizeVT ¶
func (m *QueryResponse) SizeVT() (n int)
func (*QueryResponse) String ¶
func (x *QueryResponse) String() string
func (*QueryResponse) UnmarshalVT ¶
func (m *QueryResponse) UnmarshalVT(dAtA []byte) error
type Query_Colum ¶
type Query_Colum struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` DataType Query_Colum_DataType `protobuf:"varint,2,opt,name=data_type,json=dataType,proto3,enum=v1.Query_Colum_DataType" json:"data_type,omitempty"` // contains filtered or unexported fields }
func (*Query_Colum) Descriptor
deprecated
func (*Query_Colum) Descriptor() ([]byte, []int)
Deprecated: Use Query_Colum.ProtoReflect.Descriptor instead.
func (*Query_Colum) GetDataType ¶
func (x *Query_Colum) GetDataType() Query_Colum_DataType
func (*Query_Colum) GetName ¶
func (x *Query_Colum) GetName() string
func (*Query_Colum) MarshalToSizedBufferVT ¶
func (m *Query_Colum) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Query_Colum) MarshalToVT ¶
func (m *Query_Colum) MarshalToVT(dAtA []byte) (int, error)
func (*Query_Colum) MarshalVT ¶
func (m *Query_Colum) MarshalVT() (dAtA []byte, err error)
func (*Query_Colum) ProtoMessage ¶
func (*Query_Colum) ProtoMessage()
func (*Query_Colum) ProtoReflect ¶
func (x *Query_Colum) ProtoReflect() protoreflect.Message
func (*Query_Colum) Reset ¶
func (x *Query_Colum) Reset()
func (*Query_Colum) SizeVT ¶
func (m *Query_Colum) SizeVT() (n int)
func (*Query_Colum) String ¶
func (x *Query_Colum) String() string
func (*Query_Colum) UnmarshalVT ¶
func (m *Query_Colum) UnmarshalVT(dAtA []byte) error
type Query_Colum_DataType ¶
type Query_Colum_DataType int32
const ( Query_Colum_UNKNOWN Query_Colum_DataType = 0 Query_Colum_NUMBER Query_Colum_DataType = 1 Query_Colum_DOUBLE Query_Colum_DataType = 2 Query_Colum_STRING Query_Colum_DataType = 3 Query_Colum_BOOL Query_Colum_DataType = 4 Query_Colum_TIMESTAMP Query_Colum_DataType = 5 )
func (Query_Colum_DataType) Descriptor ¶
func (Query_Colum_DataType) Descriptor() protoreflect.EnumDescriptor
func (Query_Colum_DataType) Enum ¶
func (x Query_Colum_DataType) Enum() *Query_Colum_DataType
func (Query_Colum_DataType) EnumDescriptor
deprecated
func (Query_Colum_DataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Query_Colum_DataType.Descriptor instead.
func (Query_Colum_DataType) Number ¶
func (x Query_Colum_DataType) Number() protoreflect.EnumNumber
func (Query_Colum_DataType) String ¶
func (x Query_Colum_DataType) String() string
func (Query_Colum_DataType) Type ¶
func (Query_Colum_DataType) Type() protoreflect.EnumType
type Query_Param ¶
type Query_Param struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value *Query_Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Query_Param) Descriptor
deprecated
func (*Query_Param) Descriptor() ([]byte, []int)
Deprecated: Use Query_Param.ProtoReflect.Descriptor instead.
func (*Query_Param) GetName ¶
func (x *Query_Param) GetName() string
func (*Query_Param) GetValue ¶
func (x *Query_Param) GetValue() *Query_Value
func (*Query_Param) MarshalToSizedBufferVT ¶
func (m *Query_Param) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Query_Param) MarshalToVT ¶
func (m *Query_Param) MarshalToVT(dAtA []byte) (int, error)
func (*Query_Param) MarshalVT ¶
func (m *Query_Param) MarshalVT() (dAtA []byte, err error)
func (*Query_Param) ProtoMessage ¶
func (*Query_Param) ProtoMessage()
func (*Query_Param) ProtoReflect ¶
func (x *Query_Param) ProtoReflect() protoreflect.Message
func (*Query_Param) Reset ¶
func (x *Query_Param) Reset()
func (*Query_Param) SizeVT ¶
func (m *Query_Param) SizeVT() (n int)
func (*Query_Param) String ¶
func (x *Query_Param) String() string
func (*Query_Param) UnmarshalVT ¶
func (m *Query_Param) UnmarshalVT(dAtA []byte) error
type Query_Row ¶
type Query_Row struct { Values []*Query_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*Query_Row) Descriptor
deprecated
func (*Query_Row) GetValues ¶
func (x *Query_Row) GetValues() []*Query_Value
func (*Query_Row) MarshalToSizedBufferVT ¶
func (*Query_Row) ProtoMessage ¶
func (*Query_Row) ProtoMessage()
func (*Query_Row) ProtoReflect ¶
func (x *Query_Row) ProtoReflect() protoreflect.Message
func (*Query_Row) UnmarshalVT ¶
type Query_Value ¶
type Query_Value struct { // Types that are assignable to Value: // // *Query_Value_Number // *Query_Value_Double // *Query_Value_String_ // *Query_Value_Bool // *Query_Value_Timestamp Value isQuery_Value_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Query_Value) Descriptor
deprecated
func (*Query_Value) Descriptor() ([]byte, []int)
Deprecated: Use Query_Value.ProtoReflect.Descriptor instead.
func (*Query_Value) GetBool ¶
func (x *Query_Value) GetBool() bool
func (*Query_Value) GetDouble ¶
func (x *Query_Value) GetDouble() float64
func (*Query_Value) GetNumber ¶
func (x *Query_Value) GetNumber() int64
func (*Query_Value) GetString_ ¶
func (x *Query_Value) GetString_() string
func (*Query_Value) GetTimestamp ¶
func (x *Query_Value) GetTimestamp() *timestamppb.Timestamp
func (*Query_Value) GetValue ¶
func (m *Query_Value) GetValue() isQuery_Value_Value
func (*Query_Value) MarshalToSizedBufferVT ¶
func (m *Query_Value) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Query_Value) MarshalToVT ¶
func (m *Query_Value) MarshalToVT(dAtA []byte) (int, error)
func (*Query_Value) MarshalVT ¶
func (m *Query_Value) MarshalVT() (dAtA []byte, err error)
func (*Query_Value) ProtoMessage ¶
func (*Query_Value) ProtoMessage()
func (*Query_Value) ProtoReflect ¶
func (x *Query_Value) ProtoReflect() protoreflect.Message
func (*Query_Value) Reset ¶
func (x *Query_Value) Reset()
func (*Query_Value) SizeVT ¶
func (m *Query_Value) SizeVT() (n int)
func (*Query_Value) String ¶
func (x *Query_Value) String() string
func (*Query_Value) UnmarshalVT ¶
func (m *Query_Value) UnmarshalVT(dAtA []byte) error
type Query_Value_Bool ¶
type Query_Value_Bool struct {
Bool bool `protobuf:"varint,4,opt,name=bool,proto3,oneof"`
}
func (*Query_Value_Bool) MarshalToSizedBufferVT ¶
func (m *Query_Value_Bool) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Query_Value_Bool) MarshalToVT ¶
func (m *Query_Value_Bool) MarshalToVT(dAtA []byte) (int, error)
func (*Query_Value_Bool) SizeVT ¶
func (m *Query_Value_Bool) SizeVT() (n int)
type Query_Value_Double ¶
type Query_Value_Double struct {
Double float64 `protobuf:"fixed64,2,opt,name=double,proto3,oneof"`
}
func (*Query_Value_Double) MarshalToSizedBufferVT ¶
func (m *Query_Value_Double) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Query_Value_Double) MarshalToVT ¶
func (m *Query_Value_Double) MarshalToVT(dAtA []byte) (int, error)
func (*Query_Value_Double) SizeVT ¶
func (m *Query_Value_Double) SizeVT() (n int)
type Query_Value_Number ¶
type Query_Value_Number struct {
Number int64 `protobuf:"varint,1,opt,name=number,proto3,oneof"`
}
func (*Query_Value_Number) MarshalToSizedBufferVT ¶
func (m *Query_Value_Number) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Query_Value_Number) MarshalToVT ¶
func (m *Query_Value_Number) MarshalToVT(dAtA []byte) (int, error)
func (*Query_Value_Number) SizeVT ¶
func (m *Query_Value_Number) SizeVT() (n int)
type Query_Value_String_ ¶
type Query_Value_String_ struct {
String_ string `protobuf:"bytes,3,opt,name=string,proto3,oneof"`
}
func (*Query_Value_String_) MarshalToSizedBufferVT ¶
func (m *Query_Value_String_) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Query_Value_String_) MarshalToVT ¶
func (m *Query_Value_String_) MarshalToVT(dAtA []byte) (int, error)
func (*Query_Value_String_) SizeVT ¶
func (m *Query_Value_String_) SizeVT() (n int)
type Query_Value_Timestamp ¶
type Query_Value_Timestamp struct {
Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3,oneof"`
}
func (*Query_Value_Timestamp) MarshalToSizedBufferVT ¶
func (m *Query_Value_Timestamp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Query_Value_Timestamp) MarshalToVT ¶
func (m *Query_Value_Timestamp) MarshalToVT(dAtA []byte) (int, error)
func (*Query_Value_Timestamp) SizeVT ¶
func (m *Query_Value_Timestamp) SizeVT() (n int)
type Site ¶
type Site struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*Site) Descriptor
deprecated
func (*Site) MarshalToSizedBufferVT ¶
func (*Site) ProtoMessage ¶
func (*Site) ProtoMessage()
func (*Site) ProtoReflect ¶
func (x *Site) ProtoReflect() protoreflect.Message
func (*Site) UnmarshalVT ¶
type Status ¶
type Status struct {
// contains filtered or unexported fields
}
func (*Status) Descriptor
deprecated
func (*Status) MarshalToSizedBufferVT ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
func (*Status) UnmarshalVT ¶
type Token ¶
type Token struct { PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` // contains filtered or unexported fields }
func (*Token) Descriptor
deprecated
func (*Token) MarshalToSizedBufferVT ¶
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶
func (x *Token) ProtoReflect() protoreflect.Message
func (*Token) UnmarshalVT ¶
type Token_Issuer ¶
type Token_Issuer int32
const ( Token_SERVER Token_Issuer = 0 Token_CLIENT Token_Issuer = 1 )
func (Token_Issuer) Descriptor ¶
func (Token_Issuer) Descriptor() protoreflect.EnumDescriptor
func (Token_Issuer) Enum ¶
func (x Token_Issuer) Enum() *Token_Issuer
func (Token_Issuer) EnumDescriptor
deprecated
func (Token_Issuer) EnumDescriptor() ([]byte, []int)
Deprecated: Use Token_Issuer.Descriptor instead.
func (Token_Issuer) Number ¶
func (x Token_Issuer) Number() protoreflect.EnumNumber
func (Token_Issuer) String ¶
func (x Token_Issuer) String() string
func (Token_Issuer) Type ¶
func (Token_Issuer) Type() protoreflect.EnumType
type Token_Scope ¶ added in v0.0.31
type Token_Scope int32
Defines the resources that this token has access to
const ( // Token has access to all vince resources Token_ALL Token_Scope = 0 // Token has access to only cluster resources. Token_CLUSTER Token_Scope = 2 )
func (Token_Scope) Descriptor ¶ added in v0.0.31
func (Token_Scope) Descriptor() protoreflect.EnumDescriptor
func (Token_Scope) Enum ¶ added in v0.0.31
func (x Token_Scope) Enum() *Token_Scope
func (Token_Scope) EnumDescriptor
deprecated
added in
v0.0.31
func (Token_Scope) EnumDescriptor() ([]byte, []int)
Deprecated: Use Token_Scope.Descriptor instead.
func (Token_Scope) Number ¶ added in v0.0.31
func (x Token_Scope) Number() protoreflect.EnumNumber
func (Token_Scope) String ¶ added in v0.0.31
func (x Token_Scope) String() string
func (Token_Scope) Type ¶ added in v0.0.31
func (Token_Scope) Type() protoreflect.EnumType
type UnimplementedVinceServer ¶
type UnimplementedVinceServer struct { }
UnimplementedVinceServer must be embedded to have forward compatible implementations.
func (UnimplementedVinceServer) ApplyCluster ¶
func (UnimplementedVinceServer) ApplyCluster(context.Context, *ApplyClusterRequest) (*ApplyClusterResponse, error)
func (UnimplementedVinceServer) CreateSite ¶
func (UnimplementedVinceServer) CreateSite(context.Context, *CreateSiteRequest) (*CreateSiteResponse, error)
func (UnimplementedVinceServer) DeleteSite ¶
func (UnimplementedVinceServer) DeleteSite(context.Context, *DeleteSiteRequest) (*DeleteSiteResponse, error)
func (UnimplementedVinceServer) GetCluster ¶
func (UnimplementedVinceServer) GetCluster(context.Context, *GetClusterRequest) (*GetClusterResponse, error)
func (UnimplementedVinceServer) GetSite ¶
func (UnimplementedVinceServer) GetSite(context.Context, *GetSiteRequest) (*GetSiteResponse, error)
func (UnimplementedVinceServer) ListSites ¶
func (UnimplementedVinceServer) ListSites(context.Context, *ListSitesRequest) (*ListSitesResponse, error)
func (UnimplementedVinceServer) Login ¶ added in v0.0.32
func (UnimplementedVinceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedVinceServer) Query ¶
func (UnimplementedVinceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
type UnsafeVinceServer ¶
type UnsafeVinceServer interface {
// contains filtered or unexported methods
}
UnsafeVinceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VinceServer will result in compilation errors.
type VinceClient ¶
type VinceClient interface { Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) CreateSite(ctx context.Context, in *CreateSiteRequest, opts ...grpc.CallOption) (*CreateSiteResponse, error) GetSite(ctx context.Context, in *GetSiteRequest, opts ...grpc.CallOption) (*GetSiteResponse, error) ListSites(ctx context.Context, in *ListSitesRequest, opts ...grpc.CallOption) (*ListSitesResponse, error) DeleteSite(ctx context.Context, in *DeleteSiteRequest, opts ...grpc.CallOption) (*DeleteSiteResponse, error) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) ApplyCluster(ctx context.Context, in *ApplyClusterRequest, opts ...grpc.CallOption) (*ApplyClusterResponse, error) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*GetClusterResponse, error) Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v1.Build, error) SendEvent(ctx context.Context, in *Event, opts ...grpc.CallOption) (*emptypb.Empty, error) }
VinceClient is the client API for Vince service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewVinceClient ¶
func NewVinceClient(cc grpc.ClientConnInterface) VinceClient
type VinceServer ¶
type VinceServer interface { Login(context.Context, *LoginRequest) (*LoginResponse, error) CreateSite(context.Context, *CreateSiteRequest) (*CreateSiteResponse, error) GetSite(context.Context, *GetSiteRequest) (*GetSiteResponse, error) ListSites(context.Context, *ListSitesRequest) (*ListSitesResponse, error) DeleteSite(context.Context, *DeleteSiteRequest) (*DeleteSiteResponse, error) Query(context.Context, *QueryRequest) (*QueryResponse, error) ApplyCluster(context.Context, *ApplyClusterRequest) (*ApplyClusterResponse, error) GetCluster(context.Context, *GetClusterRequest) (*GetClusterResponse, error) Version(context.Context, *emptypb.Empty) (*v1.Build, error) SendEvent(context.Context, *Event) (*emptypb.Empty, error) // contains filtered or unexported methods }
VinceServer is the server API for Vince service. All implementations must embed UnimplementedVinceServer for forward compatibility