Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseName ¶
type DatabaseName struct { Project *projects.ProjectData InstanceName string DatabaseName string }
func (*DatabaseName) String ¶
func (n *DatabaseName) String() string
type InstanceName ¶
type InstanceName struct { Project *projects.ProjectData InstanceName string }
func (*InstanceName) String ¶
func (n *InstanceName) String() string
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService represents a mocked sql service.
func New ¶
func New(env *common.MockEnvironment, storage storage.Storage) *MockService
New creates a MockService.
func (*MockService) ExpectedHosts ¶
func (s *MockService) ExpectedHosts() []string
func (*MockService) NewHTTPMux ¶
func (s *MockService) NewHTTPMux(ctx context.Context, conn *grpc.ClientConn) (http.Handler, error)
func (*MockService) Register ¶
func (s *MockService) Register(grpcServer *grpc.Server)
type OperationName ¶
type OperationName struct { Project *projects.ProjectData OperationName string }
func (*OperationName) String ¶
func (n *OperationName) String() string
Click to show internal directories.
Click to hide internal directories.