Documentation
¶
Index ¶
- type BillingV1
- func (s *BillingV1) GetProjectBillingInfo(ctx context.Context, req *pb.GetProjectBillingInfoRequest) (*pb.ProjectBillingInfo, error)
- func (s *BillingV1) TestIamPermissions(ctx context.Context, req *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
- func (s *BillingV1) UpdateProjectBillingInfo(ctx context.Context, req *pb.UpdateProjectBillingInfoRequest) (*pb.ProjectBillingInfo, error)
- type MockService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BillingV1 ¶
type BillingV1 struct { *MockService pb.UnimplementedCloudBillingServer }
func (*BillingV1) GetProjectBillingInfo ¶
func (s *BillingV1) GetProjectBillingInfo(ctx context.Context, req *pb.GetProjectBillingInfoRequest) (*pb.ProjectBillingInfo, error)
func (*BillingV1) TestIamPermissions ¶
func (s *BillingV1) TestIamPermissions(ctx context.Context, req *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (*BillingV1) UpdateProjectBillingInfo ¶
func (s *BillingV1) UpdateProjectBillingInfo(ctx context.Context, req *pb.UpdateProjectBillingInfoRequest) (*pb.ProjectBillingInfo, error)
type MockService ¶
type MockService struct { *common.MockEnvironment // contains filtered or unexported fields }
MockService represents a mocked certificatemanager 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.