projectmanagerpb

package
v0.0.0-...-8540621 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthService        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowService          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupService = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterProjectManagerServiceServer

func RegisterProjectManagerServiceServer(s *grpc.Server, srv ProjectManagerServiceServer)

Types

type GetProjectByNameRequest

type GetProjectByNameRequest struct {
	ProjectName string       `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	OrgID       *uuidpb.UUID `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

func (*GetProjectByNameRequest) Descriptor

func (*GetProjectByNameRequest) Descriptor() ([]byte, []int)

func (*GetProjectByNameRequest) Equal

func (this *GetProjectByNameRequest) Equal(that interface{}) bool

func (*GetProjectByNameRequest) GetOrgID

func (m *GetProjectByNameRequest) GetOrgID() *uuidpb.UUID

func (*GetProjectByNameRequest) GetProjectName

func (m *GetProjectByNameRequest) GetProjectName() string

func (*GetProjectByNameRequest) GoString

func (this *GetProjectByNameRequest) GoString() string

func (*GetProjectByNameRequest) Marshal

func (m *GetProjectByNameRequest) Marshal() (dAtA []byte, err error)

func (*GetProjectByNameRequest) MarshalTo

func (m *GetProjectByNameRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetProjectByNameRequest) MarshalToSizedBuffer

func (m *GetProjectByNameRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetProjectByNameRequest) ProtoMessage

func (*GetProjectByNameRequest) ProtoMessage()

func (*GetProjectByNameRequest) Reset

func (m *GetProjectByNameRequest) Reset()

func (*GetProjectByNameRequest) Size

func (m *GetProjectByNameRequest) Size() (n int)

func (*GetProjectByNameRequest) String

func (this *GetProjectByNameRequest) String() string

func (*GetProjectByNameRequest) Unmarshal

func (m *GetProjectByNameRequest) Unmarshal(dAtA []byte) error

func (*GetProjectByNameRequest) XXX_DiscardUnknown

func (m *GetProjectByNameRequest) XXX_DiscardUnknown()

func (*GetProjectByNameRequest) XXX_Marshal

func (m *GetProjectByNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetProjectByNameRequest) XXX_Merge

func (m *GetProjectByNameRequest) XXX_Merge(src proto.Message)

func (*GetProjectByNameRequest) XXX_Size

func (m *GetProjectByNameRequest) XXX_Size() int

func (*GetProjectByNameRequest) XXX_Unmarshal

func (m *GetProjectByNameRequest) XXX_Unmarshal(b []byte) error

type IsProjectAvailableRequest

type IsProjectAvailableRequest struct {
	ProjectName string       `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	OrgID       *uuidpb.UUID `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

func (*IsProjectAvailableRequest) Descriptor

func (*IsProjectAvailableRequest) Descriptor() ([]byte, []int)

func (*IsProjectAvailableRequest) Equal

func (this *IsProjectAvailableRequest) Equal(that interface{}) bool

func (*IsProjectAvailableRequest) GetOrgID

func (m *IsProjectAvailableRequest) GetOrgID() *uuidpb.UUID

func (*IsProjectAvailableRequest) GetProjectName

func (m *IsProjectAvailableRequest) GetProjectName() string

func (*IsProjectAvailableRequest) GoString

func (this *IsProjectAvailableRequest) GoString() string

func (*IsProjectAvailableRequest) Marshal

func (m *IsProjectAvailableRequest) Marshal() (dAtA []byte, err error)

func (*IsProjectAvailableRequest) MarshalTo

func (m *IsProjectAvailableRequest) MarshalTo(dAtA []byte) (int, error)

func (*IsProjectAvailableRequest) MarshalToSizedBuffer

func (m *IsProjectAvailableRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IsProjectAvailableRequest) ProtoMessage

func (*IsProjectAvailableRequest) ProtoMessage()

func (*IsProjectAvailableRequest) Reset

func (m *IsProjectAvailableRequest) Reset()

func (*IsProjectAvailableRequest) Size

func (m *IsProjectAvailableRequest) Size() (n int)

func (*IsProjectAvailableRequest) String

func (this *IsProjectAvailableRequest) String() string

func (*IsProjectAvailableRequest) Unmarshal

func (m *IsProjectAvailableRequest) Unmarshal(dAtA []byte) error

func (*IsProjectAvailableRequest) XXX_DiscardUnknown

func (m *IsProjectAvailableRequest) XXX_DiscardUnknown()

func (*IsProjectAvailableRequest) XXX_Marshal

func (m *IsProjectAvailableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsProjectAvailableRequest) XXX_Merge

func (m *IsProjectAvailableRequest) XXX_Merge(src proto.Message)

func (*IsProjectAvailableRequest) XXX_Size

func (m *IsProjectAvailableRequest) XXX_Size() int

func (*IsProjectAvailableRequest) XXX_Unmarshal

func (m *IsProjectAvailableRequest) XXX_Unmarshal(b []byte) error

type IsProjectAvailableResponse

type IsProjectAvailableResponse struct {
	Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
}

func (*IsProjectAvailableResponse) Descriptor

func (*IsProjectAvailableResponse) Descriptor() ([]byte, []int)

func (*IsProjectAvailableResponse) Equal

func (this *IsProjectAvailableResponse) Equal(that interface{}) bool

func (*IsProjectAvailableResponse) GetAvailable

func (m *IsProjectAvailableResponse) GetAvailable() bool

func (*IsProjectAvailableResponse) GoString

func (this *IsProjectAvailableResponse) GoString() string

func (*IsProjectAvailableResponse) Marshal

func (m *IsProjectAvailableResponse) Marshal() (dAtA []byte, err error)

func (*IsProjectAvailableResponse) MarshalTo

func (m *IsProjectAvailableResponse) MarshalTo(dAtA []byte) (int, error)

func (*IsProjectAvailableResponse) MarshalToSizedBuffer

func (m *IsProjectAvailableResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IsProjectAvailableResponse) ProtoMessage

func (*IsProjectAvailableResponse) ProtoMessage()

func (*IsProjectAvailableResponse) Reset

func (m *IsProjectAvailableResponse) Reset()

func (*IsProjectAvailableResponse) Size

func (m *IsProjectAvailableResponse) Size() (n int)

func (*IsProjectAvailableResponse) String

func (this *IsProjectAvailableResponse) String() string

func (*IsProjectAvailableResponse) Unmarshal

func (m *IsProjectAvailableResponse) Unmarshal(dAtA []byte) error

func (*IsProjectAvailableResponse) XXX_DiscardUnknown

func (m *IsProjectAvailableResponse) XXX_DiscardUnknown()

func (*IsProjectAvailableResponse) XXX_Marshal

func (m *IsProjectAvailableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsProjectAvailableResponse) XXX_Merge

func (m *IsProjectAvailableResponse) XXX_Merge(src proto.Message)

func (*IsProjectAvailableResponse) XXX_Size

func (m *IsProjectAvailableResponse) XXX_Size() int

func (*IsProjectAvailableResponse) XXX_Unmarshal

func (m *IsProjectAvailableResponse) XXX_Unmarshal(b []byte) error

type ProjectInfo

type ProjectInfo struct {
	ProjectName string       `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	OrgID       *uuidpb.UUID `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

func (*ProjectInfo) Descriptor

func (*ProjectInfo) Descriptor() ([]byte, []int)

func (*ProjectInfo) Equal

func (this *ProjectInfo) Equal(that interface{}) bool

func (*ProjectInfo) GetOrgID

func (m *ProjectInfo) GetOrgID() *uuidpb.UUID

func (*ProjectInfo) GetProjectName

func (m *ProjectInfo) GetProjectName() string

func (*ProjectInfo) GoString

func (this *ProjectInfo) GoString() string

func (*ProjectInfo) Marshal

func (m *ProjectInfo) Marshal() (dAtA []byte, err error)

func (*ProjectInfo) MarshalTo

func (m *ProjectInfo) MarshalTo(dAtA []byte) (int, error)

func (*ProjectInfo) MarshalToSizedBuffer

func (m *ProjectInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectInfo) ProtoMessage

func (*ProjectInfo) ProtoMessage()

func (*ProjectInfo) Reset

func (m *ProjectInfo) Reset()

func (*ProjectInfo) Size

func (m *ProjectInfo) Size() (n int)

func (*ProjectInfo) String

func (this *ProjectInfo) String() string

func (*ProjectInfo) Unmarshal

func (m *ProjectInfo) Unmarshal(dAtA []byte) error

func (*ProjectInfo) XXX_DiscardUnknown

func (m *ProjectInfo) XXX_DiscardUnknown()

func (*ProjectInfo) XXX_Marshal

func (m *ProjectInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectInfo) XXX_Merge

func (m *ProjectInfo) XXX_Merge(src proto.Message)

func (*ProjectInfo) XXX_Size

func (m *ProjectInfo) XXX_Size() int

func (*ProjectInfo) XXX_Unmarshal

func (m *ProjectInfo) XXX_Unmarshal(b []byte) error

type ProjectManagerServiceClient

type ProjectManagerServiceClient interface {
	IsProjectAvailable(ctx context.Context, in *IsProjectAvailableRequest, opts ...grpc.CallOption) (*IsProjectAvailableResponse, error)
	RegisterProject(ctx context.Context, in *RegisterProjectRequest, opts ...grpc.CallOption) (*RegisterProjectResponse, error)
	GetProjectForOrg(ctx context.Context, in *uuidpb.UUID, opts ...grpc.CallOption) (*ProjectInfo, error)
	GetProjectByName(ctx context.Context, in *GetProjectByNameRequest, opts ...grpc.CallOption) (*ProjectInfo, error)
}

ProjectManagerServiceClient is the client API for ProjectManagerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewProjectManagerServiceClient

func NewProjectManagerServiceClient(cc *grpc.ClientConn) ProjectManagerServiceClient

type ProjectManagerServiceServer

type ProjectManagerServiceServer interface {
	IsProjectAvailable(context.Context, *IsProjectAvailableRequest) (*IsProjectAvailableResponse, error)
	RegisterProject(context.Context, *RegisterProjectRequest) (*RegisterProjectResponse, error)
	GetProjectForOrg(context.Context, *uuidpb.UUID) (*ProjectInfo, error)
	GetProjectByName(context.Context, *GetProjectByNameRequest) (*ProjectInfo, error)
}

ProjectManagerServiceServer is the server API for ProjectManagerService service.

type RegisterProjectRequest

type RegisterProjectRequest struct {
	ProjectName string       `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	OrgID       *uuidpb.UUID `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

func (*RegisterProjectRequest) Descriptor

func (*RegisterProjectRequest) Descriptor() ([]byte, []int)

func (*RegisterProjectRequest) Equal

func (this *RegisterProjectRequest) Equal(that interface{}) bool

func (*RegisterProjectRequest) GetOrgID

func (m *RegisterProjectRequest) GetOrgID() *uuidpb.UUID

func (*RegisterProjectRequest) GetProjectName

func (m *RegisterProjectRequest) GetProjectName() string

func (*RegisterProjectRequest) GoString

func (this *RegisterProjectRequest) GoString() string

func (*RegisterProjectRequest) Marshal

func (m *RegisterProjectRequest) Marshal() (dAtA []byte, err error)

func (*RegisterProjectRequest) MarshalTo

func (m *RegisterProjectRequest) MarshalTo(dAtA []byte) (int, error)

func (*RegisterProjectRequest) MarshalToSizedBuffer

func (m *RegisterProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RegisterProjectRequest) ProtoMessage

func (*RegisterProjectRequest) ProtoMessage()

func (*RegisterProjectRequest) Reset

func (m *RegisterProjectRequest) Reset()

func (*RegisterProjectRequest) Size

func (m *RegisterProjectRequest) Size() (n int)

func (*RegisterProjectRequest) String

func (this *RegisterProjectRequest) String() string

func (*RegisterProjectRequest) Unmarshal

func (m *RegisterProjectRequest) Unmarshal(dAtA []byte) error

func (*RegisterProjectRequest) XXX_DiscardUnknown

func (m *RegisterProjectRequest) XXX_DiscardUnknown()

func (*RegisterProjectRequest) XXX_Marshal

func (m *RegisterProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterProjectRequest) XXX_Merge

func (m *RegisterProjectRequest) XXX_Merge(src proto.Message)

func (*RegisterProjectRequest) XXX_Size

func (m *RegisterProjectRequest) XXX_Size() int

func (*RegisterProjectRequest) XXX_Unmarshal

func (m *RegisterProjectRequest) XXX_Unmarshal(b []byte) error

type RegisterProjectResponse

type RegisterProjectResponse struct {
	ProjectRegistered bool `protobuf:"varint,1,opt,name=project_registered,json=projectRegistered,proto3" json:"project_registered,omitempty"`
}

func (*RegisterProjectResponse) Descriptor

func (*RegisterProjectResponse) Descriptor() ([]byte, []int)

func (*RegisterProjectResponse) Equal

func (this *RegisterProjectResponse) Equal(that interface{}) bool

func (*RegisterProjectResponse) GetProjectRegistered

func (m *RegisterProjectResponse) GetProjectRegistered() bool

func (*RegisterProjectResponse) GoString

func (this *RegisterProjectResponse) GoString() string

func (*RegisterProjectResponse) Marshal

func (m *RegisterProjectResponse) Marshal() (dAtA []byte, err error)

func (*RegisterProjectResponse) MarshalTo

func (m *RegisterProjectResponse) MarshalTo(dAtA []byte) (int, error)

func (*RegisterProjectResponse) MarshalToSizedBuffer

func (m *RegisterProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RegisterProjectResponse) ProtoMessage

func (*RegisterProjectResponse) ProtoMessage()

func (*RegisterProjectResponse) Reset

func (m *RegisterProjectResponse) Reset()

func (*RegisterProjectResponse) Size

func (m *RegisterProjectResponse) Size() (n int)

func (*RegisterProjectResponse) String

func (this *RegisterProjectResponse) String() string

func (*RegisterProjectResponse) Unmarshal

func (m *RegisterProjectResponse) Unmarshal(dAtA []byte) error

func (*RegisterProjectResponse) XXX_DiscardUnknown

func (m *RegisterProjectResponse) XXX_DiscardUnknown()

func (*RegisterProjectResponse) XXX_Marshal

func (m *RegisterProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterProjectResponse) XXX_Merge

func (m *RegisterProjectResponse) XXX_Merge(src proto.Message)

func (*RegisterProjectResponse) XXX_Size

func (m *RegisterProjectResponse) XXX_Size() int

func (*RegisterProjectResponse) XXX_Unmarshal

func (m *RegisterProjectResponse) XXX_Unmarshal(b []byte) error

type UnimplementedProjectManagerServiceServer

type UnimplementedProjectManagerServiceServer struct {
}

UnimplementedProjectManagerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedProjectManagerServiceServer) GetProjectByName

func (*UnimplementedProjectManagerServiceServer) GetProjectForOrg

func (*UnimplementedProjectManagerServiceServer) IsProjectAvailable

func (*UnimplementedProjectManagerServiceServer) RegisterProject

Directories

Path Synopsis
Package mock_projectmanagerpb is a generated GoMock package.
Package mock_projectmanagerpb is a generated GoMock package.

Jump to

Keyboard shortcuts

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