mockcloudids

package
v0.0.0-...-43c45a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudIDSEndpointV1

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL