Documentation
¶
Index ¶
- Variables
- func RegisterConnectionServiceServer(s grpc.ServiceRegistrar, srv ConnectionServiceServer)
- type ConnectionServiceClient
- type ConnectionServiceServer
- type CreateConnectionRequest
- func (*CreateConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateConnectionRequest) GetConnection() *v1alpha1.Connection
- func (x *CreateConnectionRequest) GetSecret() map[string]string
- func (*CreateConnectionRequest) ProtoMessage()
- func (x *CreateConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateConnectionRequest) Reset()
- func (x *CreateConnectionRequest) String() string
- type CreateConnectionResponse
- type DeleteConnectionRequest
- func (*DeleteConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteConnectionRequest) GetName() string
- func (x *DeleteConnectionRequest) GetNamespace() string
- func (*DeleteConnectionRequest) ProtoMessage()
- func (x *DeleteConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteConnectionRequest) Reset()
- func (x *DeleteConnectionRequest) String() string
- type DeleteConnectionResponse
- type ExecuteSqlRequest
- func (*ExecuteSqlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteSqlRequest) GetName() string
- func (x *ExecuteSqlRequest) GetNamespace() string
- func (x *ExecuteSqlRequest) GetSql() string
- func (*ExecuteSqlRequest) ProtoMessage()
- func (x *ExecuteSqlRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteSqlRequest) Reset()
- func (x *ExecuteSqlRequest) String() string
- type ExecuteSqlResponse
- func (*ExecuteSqlResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteSqlResponse) GetTableview() *v1.TableView
- func (*ExecuteSqlResponse) ProtoMessage()
- func (x *ExecuteSqlResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteSqlResponse) Reset()
- func (x *ExecuteSqlResponse) String() string
- type GetConnectionRequest
- func (*GetConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectionRequest) GetName() string
- func (x *GetConnectionRequest) GetNamespace() string
- func (*GetConnectionRequest) ProtoMessage()
- func (x *GetConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *GetConnectionRequest) Reset()
- func (x *GetConnectionRequest) String() string
- type GetConnectionResponse
- func (*GetConnectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectionResponse) GetConnection() *v1alpha1.Connection
- func (x *GetConnectionResponse) GetIsAdmin() bool
- func (x *GetConnectionResponse) GetSecret() map[string]string
- func (x *GetConnectionResponse) GetYaml() string
- func (*GetConnectionResponse) ProtoMessage()
- func (x *GetConnectionResponse) ProtoReflect() protoreflect.Message
- func (x *GetConnectionResponse) Reset()
- func (x *GetConnectionResponse) String() string
- type GetDatabasesRequest
- func (*GetDatabasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatabasesRequest) GetName() string
- func (x *GetDatabasesRequest) GetNamespace() string
- func (*GetDatabasesRequest) ProtoMessage()
- func (x *GetDatabasesRequest) ProtoReflect() protoreflect.Message
- func (x *GetDatabasesRequest) Reset()
- func (x *GetDatabasesRequest) String() string
- type GetDatabasesResponse
- func (*GetDatabasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatabasesResponse) GetDatabases() []string
- func (*GetDatabasesResponse) ProtoMessage()
- func (x *GetDatabasesResponse) ProtoReflect() protoreflect.Message
- func (x *GetDatabasesResponse) Reset()
- func (x *GetDatabasesResponse) String() string
- type GetTablesRequest
- func (*GetTablesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTablesRequest) GetName() string
- func (x *GetTablesRequest) GetNamespace() string
- func (*GetTablesRequest) ProtoMessage()
- func (x *GetTablesRequest) ProtoReflect() protoreflect.Message
- func (x *GetTablesRequest) Reset()
- func (x *GetTablesRequest) String() string
- type GetTablesResponse
- type ListConnectionsRequest
- func (*ListConnectionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListConnectionsRequest) GetLabels() map[string]string
- func (x *ListConnectionsRequest) GetNamespace() string
- func (x *ListConnectionsRequest) GetOrderBy() string
- func (x *ListConnectionsRequest) GetPageSize() int32
- func (x *ListConnectionsRequest) GetPageToken() string
- func (*ListConnectionsRequest) ProtoMessage()
- func (x *ListConnectionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListConnectionsRequest) Reset()
- func (x *ListConnectionsRequest) String() string
- type ListConnectionsResponse
- func (*ListConnectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListConnectionsResponse) GetConnections() *v1alpha1.ConnectionList
- func (x *ListConnectionsResponse) GetNextPageToken() string
- func (*ListConnectionsResponse) ProtoMessage()
- func (x *ListConnectionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListConnectionsResponse) Reset()
- func (x *ListConnectionsResponse) String() string
- type TestConnectionRequest
- func (*TestConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestConnectionRequest) GetName() string
- func (x *TestConnectionRequest) GetNamespace() string
- func (*TestConnectionRequest) ProtoMessage()
- func (x *TestConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *TestConnectionRequest) Reset()
- func (x *TestConnectionRequest) String() string
- type TestConnectionResponse
- func (*TestConnectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestConnectionResponse) GetMsg() string
- func (x *TestConnectionResponse) GetStatus() bool
- func (*TestConnectionResponse) ProtoMessage()
- func (x *TestConnectionResponse) ProtoReflect() protoreflect.Message
- func (x *TestConnectionResponse) Reset()
- func (x *TestConnectionResponse) String() string
- type UnimplementedConnectionServiceServer
- func (UnimplementedConnectionServiceServer) CreateConnection(context.Context, *CreateConnectionRequest) (*CreateConnectionResponse, error)
- func (UnimplementedConnectionServiceServer) DeleteConnection(context.Context, *DeleteConnectionRequest) (*DeleteConnectionResponse, error)
- func (UnimplementedConnectionServiceServer) ExecuteSql(context.Context, *ExecuteSqlRequest) (*ExecuteSqlResponse, error)
- func (UnimplementedConnectionServiceServer) GetConnection(context.Context, *GetConnectionRequest) (*GetConnectionResponse, error)
- func (UnimplementedConnectionServiceServer) GetDatabases(context.Context, *GetDatabasesRequest) (*GetDatabasesResponse, error)
- func (UnimplementedConnectionServiceServer) GetTables(context.Context, *GetTablesRequest) (*GetTablesResponse, error)
- func (UnimplementedConnectionServiceServer) ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error)
- func (UnimplementedConnectionServiceServer) TestConnection(context.Context, *TestConnectionRequest) (*TestConnectionResponse, error)
- func (UnimplementedConnectionServiceServer) UpdateConnection(context.Context, *UpdateConnectionRequest) (*UpdateConnectionResponse, error)
- type UnsafeConnectionServiceServer
- type UpdateConnectionRequest
- func (*UpdateConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateConnectionRequest) GetConnection() *v1alpha1.Connection
- func (x *UpdateConnectionRequest) GetFieldMask() *field_mask.FieldMask
- func (*UpdateConnectionRequest) ProtoMessage()
- func (x *UpdateConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateConnectionRequest) Reset()
- func (x *UpdateConnectionRequest) String() string
- type UpdateConnectionResponse
Constants ¶
This section is empty.
Variables ¶
var ConnectionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "github.com.metaprov.modelaapi.services.connection.v1.ConnectionService", HandlerType: (*ConnectionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListConnections", Handler: _ConnectionService_ListConnections_Handler, }, { MethodName: "CreateConnection", Handler: _ConnectionService_CreateConnection_Handler, }, { MethodName: "GetConnection", Handler: _ConnectionService_GetConnection_Handler, }, { MethodName: "UpdateConnection", Handler: _ConnectionService_UpdateConnection_Handler, }, { MethodName: "DeleteConnection", Handler: _ConnectionService_DeleteConnection_Handler, }, { MethodName: "TestConnection", Handler: _ConnectionService_TestConnection_Handler, }, { MethodName: "GetDatabases", Handler: _ConnectionService_GetDatabases_Handler, }, { MethodName: "GetTables", Handler: _ConnectionService_GetTables_Handler, }, { MethodName: "ExecuteSql", Handler: _ConnectionService_ExecuteSql_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/metaprov/modelaapi/services/connection/v1/connection.proto", }
ConnectionService_ServiceDesc is the grpc.ServiceDesc for ConnectionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_github_com_metaprov_modelaapi_services_connection_v1_connection_proto protoreflect.FileDescriptor
Functions ¶
func RegisterConnectionServiceServer ¶
func RegisterConnectionServiceServer(s grpc.ServiceRegistrar, srv ConnectionServiceServer)
Types ¶
type ConnectionServiceClient ¶
type ConnectionServiceClient interface { ListConnections(ctx context.Context, in *ListConnectionsRequest, opts ...grpc.CallOption) (*ListConnectionsResponse, error) CreateConnection(ctx context.Context, in *CreateConnectionRequest, opts ...grpc.CallOption) (*CreateConnectionResponse, error) GetConnection(ctx context.Context, in *GetConnectionRequest, opts ...grpc.CallOption) (*GetConnectionResponse, error) UpdateConnection(ctx context.Context, in *UpdateConnectionRequest, opts ...grpc.CallOption) (*UpdateConnectionResponse, error) DeleteConnection(ctx context.Context, in *DeleteConnectionRequest, opts ...grpc.CallOption) (*DeleteConnectionResponse, error) TestConnection(ctx context.Context, in *TestConnectionRequest, opts ...grpc.CallOption) (*TestConnectionResponse, error) GetDatabases(ctx context.Context, in *GetDatabasesRequest, opts ...grpc.CallOption) (*GetDatabasesResponse, error) GetTables(ctx context.Context, in *GetTablesRequest, opts ...grpc.CallOption) (*GetTablesResponse, error) ExecuteSql(ctx context.Context, in *ExecuteSqlRequest, opts ...grpc.CallOption) (*ExecuteSqlResponse, error) }
ConnectionServiceClient is the client API for ConnectionService 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 NewConnectionServiceClient ¶
func NewConnectionServiceClient(cc grpc.ClientConnInterface) ConnectionServiceClient
type ConnectionServiceServer ¶
type ConnectionServiceServer interface { ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error) CreateConnection(context.Context, *CreateConnectionRequest) (*CreateConnectionResponse, error) GetConnection(context.Context, *GetConnectionRequest) (*GetConnectionResponse, error) UpdateConnection(context.Context, *UpdateConnectionRequest) (*UpdateConnectionResponse, error) DeleteConnection(context.Context, *DeleteConnectionRequest) (*DeleteConnectionResponse, error) TestConnection(context.Context, *TestConnectionRequest) (*TestConnectionResponse, error) GetDatabases(context.Context, *GetDatabasesRequest) (*GetDatabasesResponse, error) GetTables(context.Context, *GetTablesRequest) (*GetTablesResponse, error) ExecuteSql(context.Context, *ExecuteSqlRequest) (*ExecuteSqlResponse, error) // contains filtered or unexported methods }
ConnectionServiceServer is the server API for ConnectionService service. All implementations must embed UnimplementedConnectionServiceServer for forward compatibility
type CreateConnectionRequest ¶
type CreateConnectionRequest struct { Connection *v1alpha1.Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"` Secret map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateConnectionRequest) Descriptor
deprecated
func (*CreateConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateConnectionRequest.ProtoReflect.Descriptor instead.
func (*CreateConnectionRequest) GetConnection ¶ added in v0.4.471
func (x *CreateConnectionRequest) GetConnection() *v1alpha1.Connection
func (*CreateConnectionRequest) GetSecret ¶
func (x *CreateConnectionRequest) GetSecret() map[string]string
func (*CreateConnectionRequest) ProtoMessage ¶
func (*CreateConnectionRequest) ProtoMessage()
func (*CreateConnectionRequest) ProtoReflect ¶
func (x *CreateConnectionRequest) ProtoReflect() protoreflect.Message
func (*CreateConnectionRequest) Reset ¶
func (x *CreateConnectionRequest) Reset()
func (*CreateConnectionRequest) String ¶
func (x *CreateConnectionRequest) String() string
type CreateConnectionResponse ¶
type CreateConnectionResponse struct {
// contains filtered or unexported fields
}
func (*CreateConnectionResponse) Descriptor
deprecated
func (*CreateConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateConnectionResponse.ProtoReflect.Descriptor instead.
func (*CreateConnectionResponse) ProtoMessage ¶
func (*CreateConnectionResponse) ProtoMessage()
func (*CreateConnectionResponse) ProtoReflect ¶
func (x *CreateConnectionResponse) ProtoReflect() protoreflect.Message
func (*CreateConnectionResponse) Reset ¶
func (x *CreateConnectionResponse) Reset()
func (*CreateConnectionResponse) String ¶
func (x *CreateConnectionResponse) String() string
type DeleteConnectionRequest ¶
type DeleteConnectionRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteConnectionRequest) Descriptor
deprecated
func (*DeleteConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConnectionRequest.ProtoReflect.Descriptor instead.
func (*DeleteConnectionRequest) GetName ¶
func (x *DeleteConnectionRequest) GetName() string
func (*DeleteConnectionRequest) GetNamespace ¶
func (x *DeleteConnectionRequest) GetNamespace() string
func (*DeleteConnectionRequest) ProtoMessage ¶
func (*DeleteConnectionRequest) ProtoMessage()
func (*DeleteConnectionRequest) ProtoReflect ¶
func (x *DeleteConnectionRequest) ProtoReflect() protoreflect.Message
func (*DeleteConnectionRequest) Reset ¶
func (x *DeleteConnectionRequest) Reset()
func (*DeleteConnectionRequest) String ¶
func (x *DeleteConnectionRequest) String() string
type DeleteConnectionResponse ¶
type DeleteConnectionResponse struct {
// contains filtered or unexported fields
}
func (*DeleteConnectionResponse) Descriptor
deprecated
func (*DeleteConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConnectionResponse.ProtoReflect.Descriptor instead.
func (*DeleteConnectionResponse) ProtoMessage ¶
func (*DeleteConnectionResponse) ProtoMessage()
func (*DeleteConnectionResponse) ProtoReflect ¶
func (x *DeleteConnectionResponse) ProtoReflect() protoreflect.Message
func (*DeleteConnectionResponse) Reset ¶
func (x *DeleteConnectionResponse) Reset()
func (*DeleteConnectionResponse) String ¶
func (x *DeleteConnectionResponse) String() string
type ExecuteSqlRequest ¶ added in v0.6.252
type ExecuteSqlRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Sql string `protobuf:"bytes,3,opt,name=sql,proto3" json:"sql,omitempty"` // contains filtered or unexported fields }
func (*ExecuteSqlRequest) Descriptor
deprecated
added in
v0.6.252
func (*ExecuteSqlRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteSqlRequest.ProtoReflect.Descriptor instead.
func (*ExecuteSqlRequest) GetName ¶ added in v0.6.252
func (x *ExecuteSqlRequest) GetName() string
func (*ExecuteSqlRequest) GetNamespace ¶ added in v0.6.252
func (x *ExecuteSqlRequest) GetNamespace() string
func (*ExecuteSqlRequest) GetSql ¶ added in v0.6.252
func (x *ExecuteSqlRequest) GetSql() string
func (*ExecuteSqlRequest) ProtoMessage ¶ added in v0.6.252
func (*ExecuteSqlRequest) ProtoMessage()
func (*ExecuteSqlRequest) ProtoReflect ¶ added in v0.6.252
func (x *ExecuteSqlRequest) ProtoReflect() protoreflect.Message
func (*ExecuteSqlRequest) Reset ¶ added in v0.6.252
func (x *ExecuteSqlRequest) Reset()
func (*ExecuteSqlRequest) String ¶ added in v0.6.252
func (x *ExecuteSqlRequest) String() string
type ExecuteSqlResponse ¶ added in v0.6.252
type ExecuteSqlResponse struct { Tableview *v1.TableView `protobuf:"bytes,1,opt,name=tableview,proto3" json:"tableview,omitempty"` // contains filtered or unexported fields }
func (*ExecuteSqlResponse) Descriptor
deprecated
added in
v0.6.252
func (*ExecuteSqlResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteSqlResponse.ProtoReflect.Descriptor instead.
func (*ExecuteSqlResponse) GetTableview ¶ added in v0.6.252
func (x *ExecuteSqlResponse) GetTableview() *v1.TableView
func (*ExecuteSqlResponse) ProtoMessage ¶ added in v0.6.252
func (*ExecuteSqlResponse) ProtoMessage()
func (*ExecuteSqlResponse) ProtoReflect ¶ added in v0.6.252
func (x *ExecuteSqlResponse) ProtoReflect() protoreflect.Message
func (*ExecuteSqlResponse) Reset ¶ added in v0.6.252
func (x *ExecuteSqlResponse) Reset()
func (*ExecuteSqlResponse) String ¶ added in v0.6.252
func (x *ExecuteSqlResponse) String() string
type GetConnectionRequest ¶
type GetConnectionRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetConnectionRequest) Descriptor
deprecated
func (*GetConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectionRequest.ProtoReflect.Descriptor instead.
func (*GetConnectionRequest) GetName ¶
func (x *GetConnectionRequest) GetName() string
func (*GetConnectionRequest) GetNamespace ¶
func (x *GetConnectionRequest) GetNamespace() string
func (*GetConnectionRequest) ProtoMessage ¶
func (*GetConnectionRequest) ProtoMessage()
func (*GetConnectionRequest) ProtoReflect ¶
func (x *GetConnectionRequest) ProtoReflect() protoreflect.Message
func (*GetConnectionRequest) Reset ¶
func (x *GetConnectionRequest) Reset()
func (*GetConnectionRequest) String ¶
func (x *GetConnectionRequest) String() string
type GetConnectionResponse ¶
type GetConnectionResponse struct { Connection *v1alpha1.Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"` Secret map[string]string `` /* 153-byte string literal not displayed */ IsAdmin bool `protobuf:"varint,3,opt,name=isAdmin,proto3" json:"isAdmin,omitempty"` Yaml string `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*GetConnectionResponse) Descriptor
deprecated
func (*GetConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectionResponse.ProtoReflect.Descriptor instead.
func (*GetConnectionResponse) GetConnection ¶ added in v0.4.475
func (x *GetConnectionResponse) GetConnection() *v1alpha1.Connection
func (*GetConnectionResponse) GetIsAdmin ¶ added in v0.6.252
func (x *GetConnectionResponse) GetIsAdmin() bool
func (*GetConnectionResponse) GetSecret ¶ added in v0.6.252
func (x *GetConnectionResponse) GetSecret() map[string]string
func (*GetConnectionResponse) GetYaml ¶
func (x *GetConnectionResponse) GetYaml() string
func (*GetConnectionResponse) ProtoMessage ¶
func (*GetConnectionResponse) ProtoMessage()
func (*GetConnectionResponse) ProtoReflect ¶
func (x *GetConnectionResponse) ProtoReflect() protoreflect.Message
func (*GetConnectionResponse) Reset ¶
func (x *GetConnectionResponse) Reset()
func (*GetConnectionResponse) String ¶
func (x *GetConnectionResponse) String() string
type GetDatabasesRequest ¶ added in v0.6.252
type GetDatabasesRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetDatabasesRequest) Descriptor
deprecated
added in
v0.6.252
func (*GetDatabasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDatabasesRequest.ProtoReflect.Descriptor instead.
func (*GetDatabasesRequest) GetName ¶ added in v0.6.252
func (x *GetDatabasesRequest) GetName() string
func (*GetDatabasesRequest) GetNamespace ¶ added in v0.6.252
func (x *GetDatabasesRequest) GetNamespace() string
func (*GetDatabasesRequest) ProtoMessage ¶ added in v0.6.252
func (*GetDatabasesRequest) ProtoMessage()
func (*GetDatabasesRequest) ProtoReflect ¶ added in v0.6.252
func (x *GetDatabasesRequest) ProtoReflect() protoreflect.Message
func (*GetDatabasesRequest) Reset ¶ added in v0.6.252
func (x *GetDatabasesRequest) Reset()
func (*GetDatabasesRequest) String ¶ added in v0.6.252
func (x *GetDatabasesRequest) String() string
type GetDatabasesResponse ¶ added in v0.6.252
type GetDatabasesResponse struct { Databases []string `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"` // contains filtered or unexported fields }
func (*GetDatabasesResponse) Descriptor
deprecated
added in
v0.6.252
func (*GetDatabasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDatabasesResponse.ProtoReflect.Descriptor instead.
func (*GetDatabasesResponse) GetDatabases ¶ added in v0.6.252
func (x *GetDatabasesResponse) GetDatabases() []string
func (*GetDatabasesResponse) ProtoMessage ¶ added in v0.6.252
func (*GetDatabasesResponse) ProtoMessage()
func (*GetDatabasesResponse) ProtoReflect ¶ added in v0.6.252
func (x *GetDatabasesResponse) ProtoReflect() protoreflect.Message
func (*GetDatabasesResponse) Reset ¶ added in v0.6.252
func (x *GetDatabasesResponse) Reset()
func (*GetDatabasesResponse) String ¶ added in v0.6.252
func (x *GetDatabasesResponse) String() string
type GetTablesRequest ¶ added in v0.6.252
type GetTablesRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetTablesRequest) Descriptor
deprecated
added in
v0.6.252
func (*GetTablesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTablesRequest.ProtoReflect.Descriptor instead.
func (*GetTablesRequest) GetName ¶ added in v0.6.252
func (x *GetTablesRequest) GetName() string
func (*GetTablesRequest) GetNamespace ¶ added in v0.6.252
func (x *GetTablesRequest) GetNamespace() string
func (*GetTablesRequest) ProtoMessage ¶ added in v0.6.252
func (*GetTablesRequest) ProtoMessage()
func (*GetTablesRequest) ProtoReflect ¶ added in v0.6.252
func (x *GetTablesRequest) ProtoReflect() protoreflect.Message
func (*GetTablesRequest) Reset ¶ added in v0.6.252
func (x *GetTablesRequest) Reset()
func (*GetTablesRequest) String ¶ added in v0.6.252
func (x *GetTablesRequest) String() string
type GetTablesResponse ¶ added in v0.6.252
type GetTablesResponse struct { Tables []string `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"` // contains filtered or unexported fields }
func (*GetTablesResponse) Descriptor
deprecated
added in
v0.6.252
func (*GetTablesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTablesResponse.ProtoReflect.Descriptor instead.
func (*GetTablesResponse) GetTables ¶ added in v0.6.252
func (x *GetTablesResponse) GetTables() []string
func (*GetTablesResponse) ProtoMessage ¶ added in v0.6.252
func (*GetTablesResponse) ProtoMessage()
func (*GetTablesResponse) ProtoReflect ¶ added in v0.6.252
func (x *GetTablesResponse) ProtoReflect() protoreflect.Message
func (*GetTablesResponse) Reset ¶ added in v0.6.252
func (x *GetTablesResponse) Reset()
func (*GetTablesResponse) String ¶ added in v0.6.252
func (x *GetTablesResponse) String() string
type ListConnectionsRequest ¶
type ListConnectionsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*ListConnectionsRequest) Descriptor
deprecated
func (*ListConnectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConnectionsRequest.ProtoReflect.Descriptor instead.
func (*ListConnectionsRequest) GetLabels ¶
func (x *ListConnectionsRequest) GetLabels() map[string]string
func (*ListConnectionsRequest) GetNamespace ¶
func (x *ListConnectionsRequest) GetNamespace() string
func (*ListConnectionsRequest) GetOrderBy ¶ added in v0.4.414
func (x *ListConnectionsRequest) GetOrderBy() string
func (*ListConnectionsRequest) GetPageSize ¶ added in v0.4.414
func (x *ListConnectionsRequest) GetPageSize() int32
func (*ListConnectionsRequest) GetPageToken ¶ added in v0.4.414
func (x *ListConnectionsRequest) GetPageToken() string
func (*ListConnectionsRequest) ProtoMessage ¶
func (*ListConnectionsRequest) ProtoMessage()
func (*ListConnectionsRequest) ProtoReflect ¶
func (x *ListConnectionsRequest) ProtoReflect() protoreflect.Message
func (*ListConnectionsRequest) Reset ¶
func (x *ListConnectionsRequest) Reset()
func (*ListConnectionsRequest) String ¶
func (x *ListConnectionsRequest) String() string
type ListConnectionsResponse ¶
type ListConnectionsResponse struct { Connections *v1alpha1.ConnectionList `protobuf:"bytes,1,opt,name=connections,proto3" json:"connections,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListConnectionsResponse) Descriptor
deprecated
func (*ListConnectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConnectionsResponse.ProtoReflect.Descriptor instead.
func (*ListConnectionsResponse) GetConnections ¶ added in v0.4.471
func (x *ListConnectionsResponse) GetConnections() *v1alpha1.ConnectionList
func (*ListConnectionsResponse) GetNextPageToken ¶ added in v0.4.471
func (x *ListConnectionsResponse) GetNextPageToken() string
func (*ListConnectionsResponse) ProtoMessage ¶
func (*ListConnectionsResponse) ProtoMessage()
func (*ListConnectionsResponse) ProtoReflect ¶
func (x *ListConnectionsResponse) ProtoReflect() protoreflect.Message
func (*ListConnectionsResponse) Reset ¶
func (x *ListConnectionsResponse) Reset()
func (*ListConnectionsResponse) String ¶
func (x *ListConnectionsResponse) String() string
type TestConnectionRequest ¶
type TestConnectionRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*TestConnectionRequest) Descriptor
deprecated
func (*TestConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestConnectionRequest.ProtoReflect.Descriptor instead.
func (*TestConnectionRequest) GetName ¶
func (x *TestConnectionRequest) GetName() string
func (*TestConnectionRequest) GetNamespace ¶
func (x *TestConnectionRequest) GetNamespace() string
func (*TestConnectionRequest) ProtoMessage ¶
func (*TestConnectionRequest) ProtoMessage()
func (*TestConnectionRequest) ProtoReflect ¶
func (x *TestConnectionRequest) ProtoReflect() protoreflect.Message
func (*TestConnectionRequest) Reset ¶
func (x *TestConnectionRequest) Reset()
func (*TestConnectionRequest) String ¶
func (x *TestConnectionRequest) String() string
type TestConnectionResponse ¶
type TestConnectionResponse struct { Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*TestConnectionResponse) Descriptor
deprecated
func (*TestConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestConnectionResponse.ProtoReflect.Descriptor instead.
func (*TestConnectionResponse) GetMsg ¶
func (x *TestConnectionResponse) GetMsg() string
func (*TestConnectionResponse) GetStatus ¶
func (x *TestConnectionResponse) GetStatus() bool
func (*TestConnectionResponse) ProtoMessage ¶
func (*TestConnectionResponse) ProtoMessage()
func (*TestConnectionResponse) ProtoReflect ¶
func (x *TestConnectionResponse) ProtoReflect() protoreflect.Message
func (*TestConnectionResponse) Reset ¶
func (x *TestConnectionResponse) Reset()
func (*TestConnectionResponse) String ¶
func (x *TestConnectionResponse) String() string
type UnimplementedConnectionServiceServer ¶
type UnimplementedConnectionServiceServer struct { }
UnimplementedConnectionServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedConnectionServiceServer) CreateConnection ¶
func (UnimplementedConnectionServiceServer) CreateConnection(context.Context, *CreateConnectionRequest) (*CreateConnectionResponse, error)
func (UnimplementedConnectionServiceServer) DeleteConnection ¶
func (UnimplementedConnectionServiceServer) DeleteConnection(context.Context, *DeleteConnectionRequest) (*DeleteConnectionResponse, error)
func (UnimplementedConnectionServiceServer) ExecuteSql ¶ added in v0.6.252
func (UnimplementedConnectionServiceServer) ExecuteSql(context.Context, *ExecuteSqlRequest) (*ExecuteSqlResponse, error)
func (UnimplementedConnectionServiceServer) GetConnection ¶
func (UnimplementedConnectionServiceServer) GetConnection(context.Context, *GetConnectionRequest) (*GetConnectionResponse, error)
func (UnimplementedConnectionServiceServer) GetDatabases ¶ added in v0.6.252
func (UnimplementedConnectionServiceServer) GetDatabases(context.Context, *GetDatabasesRequest) (*GetDatabasesResponse, error)
func (UnimplementedConnectionServiceServer) GetTables ¶ added in v0.6.252
func (UnimplementedConnectionServiceServer) GetTables(context.Context, *GetTablesRequest) (*GetTablesResponse, error)
func (UnimplementedConnectionServiceServer) ListConnections ¶
func (UnimplementedConnectionServiceServer) ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error)
func (UnimplementedConnectionServiceServer) TestConnection ¶
func (UnimplementedConnectionServiceServer) TestConnection(context.Context, *TestConnectionRequest) (*TestConnectionResponse, error)
func (UnimplementedConnectionServiceServer) UpdateConnection ¶
func (UnimplementedConnectionServiceServer) UpdateConnection(context.Context, *UpdateConnectionRequest) (*UpdateConnectionResponse, error)
type UnsafeConnectionServiceServer ¶ added in v0.4.687
type UnsafeConnectionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeConnectionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConnectionServiceServer will result in compilation errors.
type UpdateConnectionRequest ¶
type UpdateConnectionRequest struct { Connection *v1alpha1.Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"` FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateConnectionRequest) Descriptor
deprecated
func (*UpdateConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConnectionRequest.ProtoReflect.Descriptor instead.
func (*UpdateConnectionRequest) GetConnection ¶ added in v0.4.475
func (x *UpdateConnectionRequest) GetConnection() *v1alpha1.Connection
func (*UpdateConnectionRequest) GetFieldMask ¶ added in v0.4.422
func (x *UpdateConnectionRequest) GetFieldMask() *field_mask.FieldMask
func (*UpdateConnectionRequest) ProtoMessage ¶
func (*UpdateConnectionRequest) ProtoMessage()
func (*UpdateConnectionRequest) ProtoReflect ¶
func (x *UpdateConnectionRequest) ProtoReflect() protoreflect.Message
func (*UpdateConnectionRequest) Reset ¶
func (x *UpdateConnectionRequest) Reset()
func (*UpdateConnectionRequest) String ¶
func (x *UpdateConnectionRequest) String() string
type UpdateConnectionResponse ¶
type UpdateConnectionResponse struct {
// contains filtered or unexported fields
}
func (*UpdateConnectionResponse) Descriptor
deprecated
func (*UpdateConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConnectionResponse.ProtoReflect.Descriptor instead.
func (*UpdateConnectionResponse) ProtoMessage ¶
func (*UpdateConnectionResponse) ProtoMessage()
func (*UpdateConnectionResponse) ProtoReflect ¶
func (x *UpdateConnectionResponse) ProtoReflect() protoreflect.Message
func (*UpdateConnectionResponse) Reset ¶
func (x *UpdateConnectionResponse) Reset()
func (*UpdateConnectionResponse) String ¶
func (x *UpdateConnectionResponse) String() string