Documentation
¶
Index ¶
- type CloudIDSEndpointV1
- func (c *CloudIDSEndpointV1) CreateProjectsLocationsEndpoint(ctx context.Context, request *pb.CreateProjectsLocationsEndpointRequest) (*longrunning.Operation, error)
- func (c *CloudIDSEndpointV1) DeleteProjectsLocationsEndpoint(ctx context.Context, request *pb.DeleteProjectsLocationsEndpointRequest) (*longrunning.Operation, error)
- func (c *CloudIDSEndpointV1) GetProjectsLocationsEndpoint(ctx context.Context, request *pb.GetProjectsLocationsEndpointRequest) (*pb.Endpoint, error)
- func (c *CloudIDSEndpointV1) ListProjectsLocationsEndpoints(ctx context.Context, request *pb.ListProjectsLocationsEndpointsRequest) (*pb.ListEndpointsResponse, error)
- func (c *CloudIDSEndpointV1) PatchProjectsLocationsEndpoint(ctx context.Context, request *pb.PatchProjectsLocationsEndpointRequest) (*longrunning.Operation, error)
- type MockService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudIDSEndpointV1 ¶
type CloudIDSEndpointV1 struct { *MockService pb.UnimplementedProjectsLocationsEndpointsServerServer }
func (*CloudIDSEndpointV1) CreateProjectsLocationsEndpoint ¶
func (c *CloudIDSEndpointV1) CreateProjectsLocationsEndpoint(ctx context.Context, request *pb.CreateProjectsLocationsEndpointRequest) (*longrunning.Operation, error)
func (*CloudIDSEndpointV1) DeleteProjectsLocationsEndpoint ¶
func (c *CloudIDSEndpointV1) DeleteProjectsLocationsEndpoint(ctx context.Context, request *pb.DeleteProjectsLocationsEndpointRequest) (*longrunning.Operation, error)
func (*CloudIDSEndpointV1) GetProjectsLocationsEndpoint ¶
func (c *CloudIDSEndpointV1) GetProjectsLocationsEndpoint(ctx context.Context, request *pb.GetProjectsLocationsEndpointRequest) (*pb.Endpoint, error)
func (*CloudIDSEndpointV1) ListProjectsLocationsEndpoints ¶
func (c *CloudIDSEndpointV1) ListProjectsLocationsEndpoints(ctx context.Context, request *pb.ListProjectsLocationsEndpointsRequest) (*pb.ListEndpointsResponse, error)
func (*CloudIDSEndpointV1) PatchProjectsLocationsEndpoint ¶
func (c *CloudIDSEndpointV1) PatchProjectsLocationsEndpoint(ctx context.Context, request *pb.PatchProjectsLocationsEndpointRequest) (*longrunning.Operation, error)
type MockService ¶
type MockService struct { *common.MockEnvironment // contains filtered or unexported fields }
MockService represents a mocked ids 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.