Documentation ¶
Index ¶
- Variables
- type CreateCredentialRequest
- func (*CreateCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCredentialRequest) GetDatabaseId() string
- func (x *CreateCredentialRequest) GetName() string
- func (*CreateCredentialRequest) ProtoMessage()
- func (x *CreateCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCredentialRequest) Reset()
- func (x *CreateCredentialRequest) String() string
- type CreateCredentialResponse
- func (*CreateCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCredentialResponse) GetClientId() string
- func (x *CreateCredentialResponse) GetClientSecret() string
- func (*CreateCredentialResponse) ProtoMessage()
- func (x *CreateCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCredentialResponse) Reset()
- func (x *CreateCredentialResponse) String() string
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetInitializers() []*Update
- func (x *CreateRequest) GetType() Type
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResponse) GetClientId() string
- func (x *CreateResponse) GetClientSecret() string
- func (x *CreateResponse) GetDatabase() *Database
- func (*CreateResponse) ProtoMessage()
- func (x *CreateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResponse) Reset()
- func (x *CreateResponse) String() string
- type CreateTableRequest
- func (*CreateTableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTableRequest) GetDatabaseId() string
- func (x *CreateTableRequest) GetTableName() string
- func (*CreateTableRequest) ProtoMessage()
- func (x *CreateTableRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTableRequest) Reset()
- func (x *CreateTableRequest) String() string
- type CreateTableResponse
- type Credential
- func (*Credential) Descriptor() ([]byte, []int)deprecated
- func (x *Credential) GetClientId() string
- func (x *Credential) GetCreatedAt() *timestamppb.Timestamp
- func (x *Credential) GetName() string
- func (x *Credential) GetSecret() string
- func (*Credential) ProtoMessage()
- func (x *Credential) ProtoReflect() protoreflect.Message
- func (x *Credential) Reset()
- func (x *Credential) String() string
- type Database
- func (*Database) Descriptor() ([]byte, []int)deprecated
- func (x *Database) GetDatabaseId() string
- func (x *Database) GetInfo() *Info
- func (x *Database) GetName() string
- func (x *Database) GetType() Type
- func (*Database) ProtoMessage()
- func (x *Database) ProtoReflect() protoreflect.Message
- func (x *Database) Reset()
- func (x *Database) String() string
- type DeleteCredentialRequest
- func (*DeleteCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCredentialRequest) GetCredentialName() string
- func (x *DeleteCredentialRequest) GetDatabaseId() string
- func (*DeleteCredentialRequest) ProtoMessage()
- func (x *DeleteCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCredentialRequest) Reset()
- func (x *DeleteCredentialRequest) String() string
- type DeleteCredentialResponse
- type DeleteRequest
- type DeleteResponse
- type DeleteTableRequest
- func (*DeleteTableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTableRequest) GetDatabaseId() string
- func (x *DeleteTableRequest) GetTableName() string
- func (*DeleteTableRequest) ProtoMessage()
- func (x *DeleteTableRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTableRequest) Reset()
- func (x *DeleteTableRequest) String() string
- type DeleteTableResponse
- type GetByNameRequest
- type GetByNameResponse
- func (*GetByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetByNameResponse) GetDatabase() *Database
- func (*GetByNameResponse) ProtoMessage()
- func (x *GetByNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetByNameResponse) Reset()
- func (x *GetByNameResponse) String() string
- type GetEndpointRequest
- func (*GetEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEndpointRequest) GetClientId() string
- func (x *GetEndpointRequest) GetClientSecret() string
- func (x *GetEndpointRequest) GetDatabaseId() string
- func (*GetEndpointRequest) ProtoMessage()
- func (x *GetEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *GetEndpointRequest) Reset()
- func (x *GetEndpointRequest) String() string
- type GetEndpointResponse
- func (*GetEndpointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEndpointResponse) GetDatabaseName() string
- func (x *GetEndpointResponse) GetEndpoint() string
- func (*GetEndpointResponse) ProtoMessage()
- func (x *GetEndpointResponse) ProtoReflect() protoreflect.Message
- func (x *GetEndpointResponse) Reset()
- func (x *GetEndpointResponse) String() string
- type GetRequest
- type GetResponse
- type Info
- func (*Info) Descriptor() ([]byte, []int)deprecated
- func (x *Info) GetCreatedAt() *timestamppb.Timestamp
- func (x *Info) GetCredentials() []*Credential
- func (x *Info) GetTables() []*Table
- func (*Info) ProtoMessage()
- func (x *Info) ProtoReflect() protoreflect.Message
- func (x *Info) Reset()
- func (x *Info) String() string
- type ListRequest
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResponse) GetDatabases() []*Database
- func (x *ListResponse) GetTotal() uint64
- func (*ListResponse) ProtoMessage()
- func (x *ListResponse) ProtoReflect() protoreflect.Message
- func (x *ListResponse) Reset()
- func (x *ListResponse) String() string
- type ListTablesRequest
- func (*ListTablesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTablesRequest) GetDatabaseId() string
- func (x *ListTablesRequest) GetPagination() *model.Pagination
- func (*ListTablesRequest) ProtoMessage()
- func (x *ListTablesRequest) ProtoReflect() protoreflect.Message
- func (x *ListTablesRequest) Reset()
- func (x *ListTablesRequest) String() string
- type ListTablesResponse
- func (*ListTablesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTablesResponse) GetTables() []*Table
- func (x *ListTablesResponse) GetTotal() uint64
- func (*ListTablesResponse) ProtoMessage()
- func (x *ListTablesResponse) ProtoReflect() protoreflect.Message
- func (x *ListTablesResponse) Reset()
- func (x *ListTablesResponse) String() string
- type Table
- type Type
- type Update
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetDatabaseId() string
- func (x *UpdateRequest) GetUpdates() []*Update
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- type UpdateResponse
- type Update_Name
Constants ¶
This section is empty.
Variables ¶
var ( Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_MONGO", 2: "TYPE_POSTGRES", } Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_MONGO": 1, "TYPE_POSTGRES": 2, } )
Enum value maps for Type.
var File_api_v1_database_database_proto protoreflect.FileDescriptor
var File_api_v1_database_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateCredentialRequest ¶
type CreateCredentialRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` DatabaseId string `protobuf:"bytes,2,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` // contains filtered or unexported fields }
func (*CreateCredentialRequest) Descriptor
deprecated
func (*CreateCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCredentialRequest.ProtoReflect.Descriptor instead.
func (*CreateCredentialRequest) GetDatabaseId ¶
func (x *CreateCredentialRequest) GetDatabaseId() string
func (*CreateCredentialRequest) GetName ¶
func (x *CreateCredentialRequest) GetName() string
func (*CreateCredentialRequest) ProtoMessage ¶
func (*CreateCredentialRequest) ProtoMessage()
func (*CreateCredentialRequest) ProtoReflect ¶
func (x *CreateCredentialRequest) ProtoReflect() protoreflect.Message
func (*CreateCredentialRequest) Reset ¶
func (x *CreateCredentialRequest) Reset()
func (*CreateCredentialRequest) String ¶
func (x *CreateCredentialRequest) String() string
type CreateCredentialResponse ¶
type CreateCredentialResponse struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` // contains filtered or unexported fields }
func (*CreateCredentialResponse) Descriptor
deprecated
func (*CreateCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCredentialResponse.ProtoReflect.Descriptor instead.
func (*CreateCredentialResponse) GetClientId ¶
func (x *CreateCredentialResponse) GetClientId() string
func (*CreateCredentialResponse) GetClientSecret ¶
func (x *CreateCredentialResponse) GetClientSecret() string
func (*CreateCredentialResponse) ProtoMessage ¶
func (*CreateCredentialResponse) ProtoMessage()
func (*CreateCredentialResponse) ProtoReflect ¶
func (x *CreateCredentialResponse) ProtoReflect() protoreflect.Message
func (*CreateCredentialResponse) Reset ¶
func (x *CreateCredentialResponse) Reset()
func (*CreateCredentialResponse) String ¶
func (x *CreateCredentialResponse) String() string
type CreateRequest ¶
type CreateRequest struct { Initializers []*Update `protobuf:"bytes,1,rep,name=initializers,proto3" json:"initializers,omitempty"` Type Type `protobuf:"varint,2,opt,name=type,proto3,enum=api.v1.database.Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetInitializers ¶
func (x *CreateRequest) GetInitializers() []*Update
func (*CreateRequest) GetType ¶
func (x *CreateRequest) GetType() Type
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct { Database *Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` // contains filtered or unexported fields }
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetClientId ¶
func (x *CreateResponse) GetClientId() string
func (*CreateResponse) GetClientSecret ¶
func (x *CreateResponse) GetClientSecret() string
func (*CreateResponse) GetDatabase ¶
func (x *CreateResponse) GetDatabase() *Database
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
type CreateTableRequest ¶
type CreateTableRequest struct { DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // contains filtered or unexported fields }
func (*CreateTableRequest) Descriptor
deprecated
func (*CreateTableRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTableRequest.ProtoReflect.Descriptor instead.
func (*CreateTableRequest) GetDatabaseId ¶
func (x *CreateTableRequest) GetDatabaseId() string
func (*CreateTableRequest) GetTableName ¶
func (x *CreateTableRequest) GetTableName() string
func (*CreateTableRequest) ProtoMessage ¶
func (*CreateTableRequest) ProtoMessage()
func (*CreateTableRequest) ProtoReflect ¶
func (x *CreateTableRequest) ProtoReflect() protoreflect.Message
func (*CreateTableRequest) Reset ¶
func (x *CreateTableRequest) Reset()
func (*CreateTableRequest) String ¶
func (x *CreateTableRequest) String() string
type CreateTableResponse ¶
type CreateTableResponse struct {
// contains filtered or unexported fields
}
func (*CreateTableResponse) Descriptor
deprecated
func (*CreateTableResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTableResponse.ProtoReflect.Descriptor instead.
func (*CreateTableResponse) ProtoMessage ¶
func (*CreateTableResponse) ProtoMessage()
func (*CreateTableResponse) ProtoReflect ¶
func (x *CreateTableResponse) ProtoReflect() protoreflect.Message
func (*CreateTableResponse) Reset ¶
func (x *CreateTableResponse) Reset()
func (*CreateTableResponse) String ¶
func (x *CreateTableResponse) String() string
type Credential ¶
type Credential struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Credential) Descriptor
deprecated
func (*Credential) Descriptor() ([]byte, []int)
Deprecated: Use Credential.ProtoReflect.Descriptor instead.
func (*Credential) GetClientId ¶
func (x *Credential) GetClientId() string
func (*Credential) GetCreatedAt ¶
func (x *Credential) GetCreatedAt() *timestamppb.Timestamp
func (*Credential) GetName ¶
func (x *Credential) GetName() string
func (*Credential) GetSecret ¶
func (x *Credential) GetSecret() string
func (*Credential) ProtoMessage ¶
func (*Credential) ProtoMessage()
func (*Credential) ProtoReflect ¶
func (x *Credential) ProtoReflect() protoreflect.Message
func (*Credential) Reset ¶
func (x *Credential) Reset()
func (*Credential) String ¶
func (x *Credential) String() string
type Database ¶
type Database struct { DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // unique Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=api.v1.database.Type" json:"type,omitempty"` Info *Info `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*Database) Descriptor
deprecated
func (*Database) GetDatabaseId ¶
func (*Database) ProtoMessage ¶
func (*Database) ProtoMessage()
func (*Database) ProtoReflect ¶
func (x *Database) ProtoReflect() protoreflect.Message
type DeleteCredentialRequest ¶
type DeleteCredentialRequest struct { DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` CredentialName string `protobuf:"bytes,2,opt,name=credential_name,json=credentialName,proto3" json:"credential_name,omitempty"` // contains filtered or unexported fields }
func (*DeleteCredentialRequest) Descriptor
deprecated
func (*DeleteCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCredentialRequest.ProtoReflect.Descriptor instead.
func (*DeleteCredentialRequest) GetCredentialName ¶
func (x *DeleteCredentialRequest) GetCredentialName() string
func (*DeleteCredentialRequest) GetDatabaseId ¶
func (x *DeleteCredentialRequest) GetDatabaseId() string
func (*DeleteCredentialRequest) ProtoMessage ¶
func (*DeleteCredentialRequest) ProtoMessage()
func (*DeleteCredentialRequest) ProtoReflect ¶
func (x *DeleteCredentialRequest) ProtoReflect() protoreflect.Message
func (*DeleteCredentialRequest) Reset ¶
func (x *DeleteCredentialRequest) Reset()
func (*DeleteCredentialRequest) String ¶
func (x *DeleteCredentialRequest) String() string
type DeleteCredentialResponse ¶
type DeleteCredentialResponse struct {
// contains filtered or unexported fields
}
func (*DeleteCredentialResponse) Descriptor
deprecated
func (*DeleteCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCredentialResponse.ProtoReflect.Descriptor instead.
func (*DeleteCredentialResponse) ProtoMessage ¶
func (*DeleteCredentialResponse) ProtoMessage()
func (*DeleteCredentialResponse) ProtoReflect ¶
func (x *DeleteCredentialResponse) ProtoReflect() protoreflect.Message
func (*DeleteCredentialResponse) Reset ¶
func (x *DeleteCredentialResponse) Reset()
func (*DeleteCredentialResponse) String ¶
func (x *DeleteCredentialResponse) String() string
type DeleteRequest ¶
type DeleteRequest struct { DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetDatabaseId ¶
func (x *DeleteRequest) GetDatabaseId() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type DeleteTableRequest ¶
type DeleteTableRequest struct { DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // contains filtered or unexported fields }
func (*DeleteTableRequest) Descriptor
deprecated
func (*DeleteTableRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTableRequest.ProtoReflect.Descriptor instead.
func (*DeleteTableRequest) GetDatabaseId ¶
func (x *DeleteTableRequest) GetDatabaseId() string
func (*DeleteTableRequest) GetTableName ¶
func (x *DeleteTableRequest) GetTableName() string
func (*DeleteTableRequest) ProtoMessage ¶
func (*DeleteTableRequest) ProtoMessage()
func (*DeleteTableRequest) ProtoReflect ¶
func (x *DeleteTableRequest) ProtoReflect() protoreflect.Message
func (*DeleteTableRequest) Reset ¶
func (x *DeleteTableRequest) Reset()
func (*DeleteTableRequest) String ¶
func (x *DeleteTableRequest) String() string
type DeleteTableResponse ¶
type DeleteTableResponse struct {
// contains filtered or unexported fields
}
func (*DeleteTableResponse) Descriptor
deprecated
func (*DeleteTableResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTableResponse.ProtoReflect.Descriptor instead.
func (*DeleteTableResponse) ProtoMessage ¶
func (*DeleteTableResponse) ProtoMessage()
func (*DeleteTableResponse) ProtoReflect ¶
func (x *DeleteTableResponse) ProtoReflect() protoreflect.Message
func (*DeleteTableResponse) Reset ¶
func (x *DeleteTableResponse) Reset()
func (*DeleteTableResponse) String ¶
func (x *DeleteTableResponse) String() string
type GetByNameRequest ¶
type GetByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetByNameRequest) Descriptor
deprecated
func (*GetByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByNameRequest.ProtoReflect.Descriptor instead.
func (*GetByNameRequest) GetName ¶
func (x *GetByNameRequest) GetName() string
func (*GetByNameRequest) ProtoMessage ¶
func (*GetByNameRequest) ProtoMessage()
func (*GetByNameRequest) ProtoReflect ¶
func (x *GetByNameRequest) ProtoReflect() protoreflect.Message
func (*GetByNameRequest) Reset ¶
func (x *GetByNameRequest) Reset()
func (*GetByNameRequest) String ¶
func (x *GetByNameRequest) String() string
type GetByNameResponse ¶
type GetByNameResponse struct { Database *Database `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` // contains filtered or unexported fields }
func (*GetByNameResponse) Descriptor
deprecated
func (*GetByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetByNameResponse.ProtoReflect.Descriptor instead.
func (*GetByNameResponse) GetDatabase ¶
func (x *GetByNameResponse) GetDatabase() *Database
func (*GetByNameResponse) ProtoMessage ¶
func (*GetByNameResponse) ProtoMessage()
func (*GetByNameResponse) ProtoReflect ¶
func (x *GetByNameResponse) ProtoReflect() protoreflect.Message
func (*GetByNameResponse) Reset ¶
func (x *GetByNameResponse) Reset()
func (*GetByNameResponse) String ¶
func (x *GetByNameResponse) String() string
type GetEndpointRequest ¶
type GetEndpointRequest struct { DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` // contains filtered or unexported fields }
func (*GetEndpointRequest) Descriptor
deprecated
func (*GetEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEndpointRequest.ProtoReflect.Descriptor instead.
func (*GetEndpointRequest) GetClientId ¶
func (x *GetEndpointRequest) GetClientId() string
func (*GetEndpointRequest) GetClientSecret ¶
func (x *GetEndpointRequest) GetClientSecret() string
func (*GetEndpointRequest) GetDatabaseId ¶
func (x *GetEndpointRequest) GetDatabaseId() string
func (*GetEndpointRequest) ProtoMessage ¶
func (*GetEndpointRequest) ProtoMessage()
func (*GetEndpointRequest) ProtoReflect ¶
func (x *GetEndpointRequest) ProtoReflect() protoreflect.Message
func (*GetEndpointRequest) Reset ¶
func (x *GetEndpointRequest) Reset()
func (*GetEndpointRequest) String ¶
func (x *GetEndpointRequest) String() string
type GetEndpointResponse ¶
type GetEndpointResponse struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` // contains filtered or unexported fields }
func (*GetEndpointResponse) Descriptor
deprecated
func (*GetEndpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEndpointResponse.ProtoReflect.Descriptor instead.
func (*GetEndpointResponse) GetDatabaseName ¶
func (x *GetEndpointResponse) GetDatabaseName() string
func (*GetEndpointResponse) GetEndpoint ¶
func (x *GetEndpointResponse) GetEndpoint() string
func (*GetEndpointResponse) ProtoMessage ¶
func (*GetEndpointResponse) ProtoMessage()
func (*GetEndpointResponse) ProtoReflect ¶
func (x *GetEndpointResponse) ProtoReflect() protoreflect.Message
func (*GetEndpointResponse) Reset ¶
func (x *GetEndpointResponse) Reset()
func (*GetEndpointResponse) String ¶
func (x *GetEndpointResponse) String() string
type GetRequest ¶
type GetRequest struct { DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetDatabaseId ¶
func (x *GetRequest) GetDatabaseId() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { Database *Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetDatabase ¶
func (x *GetResponse) GetDatabase() *Database
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type Info ¶
type Info struct { Credentials []*Credential `protobuf:"bytes,1,rep,name=credentials,proto3" json:"credentials,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Tables []*Table `protobuf:"bytes,3,rep,name=tables,proto3" json:"tables,omitempty"` // contains filtered or unexported fields }
func (*Info) Descriptor
deprecated
func (*Info) GetCreatedAt ¶
func (x *Info) GetCreatedAt() *timestamppb.Timestamp
func (*Info) GetCredentials ¶
func (x *Info) GetCredentials() []*Credential
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
func (*Info) ProtoReflect ¶
func (x *Info) ProtoReflect() protoreflect.Message
type ListRequest ¶
type ListRequest struct { Pagination *model.Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetPagination ¶
func (x *ListRequest) GetPagination() *model.Pagination
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"` Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetDatabases ¶
func (x *ListResponse) GetDatabases() []*Database
func (*ListResponse) GetTotal ¶
func (x *ListResponse) GetTotal() uint64
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type ListTablesRequest ¶
type ListTablesRequest struct { Pagination *model.Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` // contains filtered or unexported fields }
func (*ListTablesRequest) Descriptor
deprecated
func (*ListTablesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTablesRequest.ProtoReflect.Descriptor instead.
func (*ListTablesRequest) GetDatabaseId ¶
func (x *ListTablesRequest) GetDatabaseId() string
func (*ListTablesRequest) GetPagination ¶
func (x *ListTablesRequest) GetPagination() *model.Pagination
func (*ListTablesRequest) ProtoMessage ¶
func (*ListTablesRequest) ProtoMessage()
func (*ListTablesRequest) ProtoReflect ¶
func (x *ListTablesRequest) ProtoReflect() protoreflect.Message
func (*ListTablesRequest) Reset ¶
func (x *ListTablesRequest) Reset()
func (*ListTablesRequest) String ¶
func (x *ListTablesRequest) String() string
type ListTablesResponse ¶
type ListTablesResponse struct { Tables []*Table `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"` Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListTablesResponse) Descriptor
deprecated
func (*ListTablesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTablesResponse.ProtoReflect.Descriptor instead.
func (*ListTablesResponse) GetTables ¶
func (x *ListTablesResponse) GetTables() []*Table
func (*ListTablesResponse) GetTotal ¶
func (x *ListTablesResponse) GetTotal() uint64
func (*ListTablesResponse) ProtoMessage ¶
func (*ListTablesResponse) ProtoMessage()
func (*ListTablesResponse) ProtoReflect ¶
func (x *ListTablesResponse) ProtoReflect() protoreflect.Message
func (*ListTablesResponse) Reset ¶
func (x *ListTablesResponse) Reset()
func (*ListTablesResponse) String ¶
func (x *ListTablesResponse) String() string
type Table ¶
type Table struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Table) Descriptor
deprecated
func (*Table) ProtoMessage ¶
func (*Table) ProtoMessage()
func (*Table) ProtoReflect ¶
func (x *Table) ProtoReflect() protoreflect.Message
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
type Update ¶
type Update struct { // Types that are assignable to Field: // // *Update_Name Field isUpdate_Field `protobuf_oneof:"field"` // contains filtered or unexported fields }
func (*Update) Descriptor
deprecated
func (*Update) ProtoMessage ¶
func (*Update) ProtoMessage()
func (*Update) ProtoReflect ¶
func (x *Update) ProtoReflect() protoreflect.Message
type UpdateRequest ¶
type UpdateRequest struct { DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` Updates []*Update `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetDatabaseId ¶
func (x *UpdateRequest) GetDatabaseId() string
func (*UpdateRequest) GetUpdates ¶
func (x *UpdateRequest) GetUpdates() []*Update
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
type UpdateResponse ¶
type UpdateResponse struct { Database *Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` // contains filtered or unexported fields }
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetDatabase ¶
func (x *UpdateResponse) GetDatabase() *Database
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string
type Update_Name ¶
type Update_Name struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3,oneof"`
}