Documentation
¶
Index ¶
- type EnvGroupName
- type EnvgroupV1
- func (s *EnvgroupV1) CreateOrganizationsEnvgroup(ctx context.Context, req *pb.CreateOrganizationsEnvgroupRequest) (*longrunningpb.Operation, error)
- func (s *EnvgroupV1) DeleteOrganizationsEnvgroup(ctx context.Context, req *pb.DeleteOrganizationsEnvgroupRequest) (*longrunningpb.Operation, error)
- func (s *EnvgroupV1) GetOrganizationsEnvgroup(ctx context.Context, req *pb.GetOrganizationsEnvgroupRequest) (*pb.GoogleCloudApigeeV1EnvironmentGroup, error)
- func (s *EnvgroupV1) PatchOrganizationsEnvgroup(ctx context.Context, req *pb.PatchOrganizationsEnvgroupRequest) (*longrunningpb.Operation, error)
- type MockService
- type OrganizationName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvGroupName ¶
func (*EnvGroupName) String ¶
func (n *EnvGroupName) String() string
type EnvgroupV1 ¶
type EnvgroupV1 struct { *MockService pb.UnimplementedOrganizationsEnvgroupsServerServer }
func (*EnvgroupV1) CreateOrganizationsEnvgroup ¶
func (s *EnvgroupV1) CreateOrganizationsEnvgroup(ctx context.Context, req *pb.CreateOrganizationsEnvgroupRequest) (*longrunningpb.Operation, error)
func (*EnvgroupV1) DeleteOrganizationsEnvgroup ¶
func (s *EnvgroupV1) DeleteOrganizationsEnvgroup(ctx context.Context, req *pb.DeleteOrganizationsEnvgroupRequest) (*longrunningpb.Operation, error)
func (*EnvgroupV1) GetOrganizationsEnvgroup ¶
func (s *EnvgroupV1) GetOrganizationsEnvgroup(ctx context.Context, req *pb.GetOrganizationsEnvgroupRequest) (*pb.GoogleCloudApigeeV1EnvironmentGroup, error)
func (*EnvgroupV1) PatchOrganizationsEnvgroup ¶
func (s *EnvgroupV1) PatchOrganizationsEnvgroup(ctx context.Context, req *pb.PatchOrganizationsEnvgroupRequest) (*longrunningpb.Operation, error)
type MockService ¶
type MockService struct { *common.MockEnvironment // contains filtered or unexported fields }
MockService represents a mocked privateca 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 OrganizationName ¶
type OrganizationName struct {
ID string
}
func (*OrganizationName) String ¶
func (n *OrganizationName) String() string
Click to show internal directories.
Click to hide internal directories.