Documentation
¶
Index ¶
- type BackupDRServerV1
- func (s *BackupDRServerV1) CreateManagementServer(ctx context.Context, req *pb.CreateManagementServerRequest) (*longrunningpb.Operation, error)
- func (s *BackupDRServerV1) DeleteManagementServer(ctx context.Context, req *pb.DeleteManagementServerRequest) (*longrunningpb.Operation, error)
- func (s *BackupDRServerV1) GetManagementServer(ctx context.Context, req *pb.GetManagementServerRequest) (*pb.ManagementServer, error)
- type ManagementServerName
- type MockService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupDRServerV1 ¶
type BackupDRServerV1 struct { pb.UnimplementedBackupDRServer *MockService }
func (*BackupDRServerV1) CreateManagementServer ¶
func (s *BackupDRServerV1) CreateManagementServer(ctx context.Context, req *pb.CreateManagementServerRequest) (*longrunningpb.Operation, error)
CreateManagementServer implements the BackupDRServer interface.
func (*BackupDRServerV1) DeleteManagementServer ¶
func (s *BackupDRServerV1) DeleteManagementServer(ctx context.Context, req *pb.DeleteManagementServerRequest) (*longrunningpb.Operation, error)
DeleteManagementServer implements the BackupDRServer interface.
func (*BackupDRServerV1) GetManagementServer ¶
func (s *BackupDRServerV1) GetManagementServer(ctx context.Context, req *pb.GetManagementServerRequest) (*pb.ManagementServer, error)
GetManagementServer implements the BackupDRServer interface.
type ManagementServerName ¶
type ManagementServerName struct { Project *projects.ProjectData Location string ManagementServerID string }
ManagementServerName represents a parsed management server resource name.
func (*ManagementServerName) String ¶
func (n *ManagementServerName) String() string
type MockService ¶
type MockService struct { *common.MockEnvironment // contains filtered or unexported fields }
MockService represents a mocked bigquery 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)
Click to show internal directories.
Click to hide internal directories.