projects

package
v2.87.1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_strmprivacy_api_projects_v1_projects_v1_proto protoreflect.FileDescriptor
View Source
var ProjectsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "strmprivacy.api.projects.v1.ProjectsService",
	HandlerType: (*ProjectsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListProjects",
			Handler:    _ProjectsService_ListProjects_Handler,
		},
		{
			MethodName: "CreateProject",
			Handler:    _ProjectsService_CreateProject_Handler,
		},
		{
			MethodName: "DeleteProject",
			Handler:    _ProjectsService_DeleteProject_Handler,
		},
		{
			MethodName: "GetProject",
			Handler:    _ProjectsService_GetProject_Handler,
		},
		{
			MethodName: "AddProjectMembers",
			Handler:    _ProjectsService_AddProjectMembers_Handler,
		},
		{
			MethodName: "RemoveProjectMembers",
			Handler:    _ProjectsService_RemoveProjectMembers_Handler,
		},
		{
			MethodName: "ListProjectMembers",
			Handler:    _ProjectsService_ListProjectMembers_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "strmprivacy/api/projects/v1/projects_v1.proto",
}

ProjectsService_ServiceDesc is the grpc.ServiceDesc for ProjectsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterProjectsServiceServer

func RegisterProjectsServiceServer(s grpc.ServiceRegistrar, srv ProjectsServiceServer)

Types

type AddProjectMembersRequest added in v2.49.0

type AddProjectMembersRequest struct {
	Emails    []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"`
	ProjectId string   `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddProjectMembersRequest) Descriptor deprecated added in v2.49.0

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

Deprecated: Use AddProjectMembersRequest.ProtoReflect.Descriptor instead.

func (*AddProjectMembersRequest) GetEmails added in v2.49.0

func (x *AddProjectMembersRequest) GetEmails() []string

func (*AddProjectMembersRequest) GetProjectId added in v2.49.0

func (x *AddProjectMembersRequest) GetProjectId() string

func (*AddProjectMembersRequest) ProtoMessage added in v2.49.0

func (*AddProjectMembersRequest) ProtoMessage()

func (*AddProjectMembersRequest) ProtoReflect added in v2.49.0

func (x *AddProjectMembersRequest) ProtoReflect() protoreflect.Message

func (*AddProjectMembersRequest) Reset added in v2.49.0

func (x *AddProjectMembersRequest) Reset()

func (*AddProjectMembersRequest) String added in v2.49.0

func (x *AddProjectMembersRequest) String() string

type AddProjectMembersResponse added in v2.49.0

type AddProjectMembersResponse struct {
	// contains filtered or unexported fields
}

func (*AddProjectMembersResponse) Descriptor deprecated added in v2.49.0

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

Deprecated: Use AddProjectMembersResponse.ProtoReflect.Descriptor instead.

func (*AddProjectMembersResponse) ProtoMessage added in v2.49.0

func (*AddProjectMembersResponse) ProtoMessage()

func (*AddProjectMembersResponse) ProtoReflect added in v2.49.0

func (*AddProjectMembersResponse) Reset added in v2.49.0

func (x *AddProjectMembersResponse) Reset()

func (*AddProjectMembersResponse) String added in v2.49.0

func (x *AddProjectMembersResponse) String() string

type CreateProjectRequest

type CreateProjectRequest struct {
	Project *v1.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectRequest) Descriptor deprecated

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

Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.

func (*CreateProjectRequest) GetProject added in v2.38.0

func (x *CreateProjectRequest) GetProject() *v1.Project

func (*CreateProjectRequest) ProtoMessage

func (*CreateProjectRequest) ProtoMessage()

func (*CreateProjectRequest) ProtoReflect

func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message

func (*CreateProjectRequest) Reset

func (x *CreateProjectRequest) Reset()

func (*CreateProjectRequest) String

func (x *CreateProjectRequest) String() string

type CreateProjectResponse

type CreateProjectResponse struct {
	Project *v1.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectResponse) Descriptor deprecated

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

Deprecated: Use CreateProjectResponse.ProtoReflect.Descriptor instead.

func (*CreateProjectResponse) GetProject

func (x *CreateProjectResponse) GetProject() *v1.Project

func (*CreateProjectResponse) ProtoMessage

func (*CreateProjectResponse) ProtoMessage()

func (*CreateProjectResponse) ProtoReflect

func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message

func (*CreateProjectResponse) Reset

func (x *CreateProjectResponse) Reset()

func (*CreateProjectResponse) String

func (x *CreateProjectResponse) String() string

type DeleteProjectRequest

type DeleteProjectRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectRequest) Descriptor deprecated

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

Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectRequest) GetProjectId

func (x *DeleteProjectRequest) GetProjectId() string

func (*DeleteProjectRequest) ProtoMessage

func (*DeleteProjectRequest) ProtoMessage()

func (*DeleteProjectRequest) ProtoReflect

func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message

func (*DeleteProjectRequest) Reset

func (x *DeleteProjectRequest) Reset()

func (*DeleteProjectRequest) String

func (x *DeleteProjectRequest) String() string

type DeleteProjectResponse

type DeleteProjectResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteProjectResponse) Descriptor deprecated

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

Deprecated: Use DeleteProjectResponse.ProtoReflect.Descriptor instead.

func (*DeleteProjectResponse) ProtoMessage

func (*DeleteProjectResponse) ProtoMessage()

func (*DeleteProjectResponse) ProtoReflect

func (x *DeleteProjectResponse) ProtoReflect() protoreflect.Message

func (*DeleteProjectResponse) Reset

func (x *DeleteProjectResponse) Reset()

func (*DeleteProjectResponse) String

func (x *DeleteProjectResponse) String() string

type GetProjectRequest added in v2.44.0

type GetProjectRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectRequest) Descriptor deprecated added in v2.44.0

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

Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead.

func (*GetProjectRequest) GetProjectId added in v2.44.0

func (x *GetProjectRequest) GetProjectId() string

func (*GetProjectRequest) ProtoMessage added in v2.44.0

func (*GetProjectRequest) ProtoMessage()

func (*GetProjectRequest) ProtoReflect added in v2.44.0

func (x *GetProjectRequest) ProtoReflect() protoreflect.Message

func (*GetProjectRequest) Reset added in v2.44.0

func (x *GetProjectRequest) Reset()

func (*GetProjectRequest) String added in v2.44.0

func (x *GetProjectRequest) String() string

type GetProjectResponse added in v2.44.0

type GetProjectResponse struct {
	Project *v1.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectResponse) Descriptor deprecated added in v2.44.0

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

Deprecated: Use GetProjectResponse.ProtoReflect.Descriptor instead.

func (*GetProjectResponse) GetProject added in v2.44.0

func (x *GetProjectResponse) GetProject() *v1.Project

func (*GetProjectResponse) ProtoMessage added in v2.44.0

func (*GetProjectResponse) ProtoMessage()

func (*GetProjectResponse) ProtoReflect added in v2.44.0

func (x *GetProjectResponse) ProtoReflect() protoreflect.Message

func (*GetProjectResponse) Reset added in v2.44.0

func (x *GetProjectResponse) Reset()

func (*GetProjectResponse) String added in v2.44.0

func (x *GetProjectResponse) String() string

type ListProjectMembersRequest added in v2.49.0

type ListProjectMembersRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectMembersRequest) Descriptor deprecated added in v2.49.0

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

Deprecated: Use ListProjectMembersRequest.ProtoReflect.Descriptor instead.

func (*ListProjectMembersRequest) GetProjectId added in v2.49.0

func (x *ListProjectMembersRequest) GetProjectId() string

func (*ListProjectMembersRequest) ProtoMessage added in v2.49.0

func (*ListProjectMembersRequest) ProtoMessage()

func (*ListProjectMembersRequest) ProtoReflect added in v2.49.0

func (*ListProjectMembersRequest) Reset added in v2.49.0

func (x *ListProjectMembersRequest) Reset()

func (*ListProjectMembersRequest) String added in v2.49.0

func (x *ListProjectMembersRequest) String() string

type ListProjectMembersResponse added in v2.49.0

type ListProjectMembersResponse struct {
	ProjectMembers []*v1.User `protobuf:"bytes,1,rep,name=project_members,json=projectMembers,proto3" json:"project_members,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectMembersResponse) Descriptor deprecated added in v2.49.0

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

Deprecated: Use ListProjectMembersResponse.ProtoReflect.Descriptor instead.

func (*ListProjectMembersResponse) GetProjectMembers added in v2.49.0

func (x *ListProjectMembersResponse) GetProjectMembers() []*v1.User

func (*ListProjectMembersResponse) ProtoMessage added in v2.49.0

func (*ListProjectMembersResponse) ProtoMessage()

func (*ListProjectMembersResponse) ProtoReflect added in v2.49.0

func (*ListProjectMembersResponse) Reset added in v2.49.0

func (x *ListProjectMembersResponse) Reset()

func (*ListProjectMembersResponse) String added in v2.49.0

func (x *ListProjectMembersResponse) String() string

type ListProjectsRequest

type ListProjectsRequest struct {
	// contains filtered or unexported fields
}

func (*ListProjectsRequest) Descriptor deprecated

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

Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.

func (*ListProjectsRequest) ProtoMessage

func (*ListProjectsRequest) ProtoMessage()

func (*ListProjectsRequest) ProtoReflect

func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message

func (*ListProjectsRequest) Reset

func (x *ListProjectsRequest) Reset()

func (*ListProjectsRequest) String

func (x *ListProjectsRequest) String() string

type ListProjectsResponse

type ListProjectsResponse struct {
	Projects []*v1.Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectsResponse) Descriptor deprecated

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

Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.

func (*ListProjectsResponse) GetProjects

func (x *ListProjectsResponse) GetProjects() []*v1.Project

func (*ListProjectsResponse) ProtoMessage

func (*ListProjectsResponse) ProtoMessage()

func (*ListProjectsResponse) ProtoReflect

func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message

func (*ListProjectsResponse) Reset

func (x *ListProjectsResponse) Reset()

func (*ListProjectsResponse) String

func (x *ListProjectsResponse) String() string

type ProjectsServiceClient

type ProjectsServiceClient interface {
	ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error)
	CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*CreateProjectResponse, error)
	DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*DeleteProjectResponse, error)
	GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*GetProjectResponse, error)
	AddProjectMembers(ctx context.Context, in *AddProjectMembersRequest, opts ...grpc.CallOption) (*AddProjectMembersResponse, error)
	RemoveProjectMembers(ctx context.Context, in *RemoveProjectMembersRequest, opts ...grpc.CallOption) (*RemoveProjectMembersResponse, error)
	ListProjectMembers(ctx context.Context, in *ListProjectMembersRequest, opts ...grpc.CallOption) (*ListProjectMembersResponse, error)
}

ProjectsServiceClient is the client API for ProjectsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ProjectsServiceServer

ProjectsServiceServer is the server API for ProjectsService service. All implementations should embed UnimplementedProjectsServiceServer for forward compatibility

type RemoveProjectMembersRequest added in v2.49.0

type RemoveProjectMembersRequest struct {
	Emails    []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"`
	ProjectId string   `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveProjectMembersRequest) Descriptor deprecated added in v2.49.0

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

Deprecated: Use RemoveProjectMembersRequest.ProtoReflect.Descriptor instead.

func (*RemoveProjectMembersRequest) GetEmails added in v2.49.0

func (x *RemoveProjectMembersRequest) GetEmails() []string

func (*RemoveProjectMembersRequest) GetProjectId added in v2.49.0

func (x *RemoveProjectMembersRequest) GetProjectId() string

func (*RemoveProjectMembersRequest) ProtoMessage added in v2.49.0

func (*RemoveProjectMembersRequest) ProtoMessage()

func (*RemoveProjectMembersRequest) ProtoReflect added in v2.49.0

func (*RemoveProjectMembersRequest) Reset added in v2.49.0

func (x *RemoveProjectMembersRequest) Reset()

func (*RemoveProjectMembersRequest) String added in v2.49.0

func (x *RemoveProjectMembersRequest) String() string

type RemoveProjectMembersResponse added in v2.49.0

type RemoveProjectMembersResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveProjectMembersResponse) Descriptor deprecated added in v2.49.0

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

Deprecated: Use RemoveProjectMembersResponse.ProtoReflect.Descriptor instead.

func (*RemoveProjectMembersResponse) ProtoMessage added in v2.49.0

func (*RemoveProjectMembersResponse) ProtoMessage()

func (*RemoveProjectMembersResponse) ProtoReflect added in v2.49.0

func (*RemoveProjectMembersResponse) Reset added in v2.49.0

func (x *RemoveProjectMembersResponse) Reset()

func (*RemoveProjectMembersResponse) String added in v2.49.0

type UnimplementedProjectsServiceServer

type UnimplementedProjectsServiceServer struct {
}

UnimplementedProjectsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedProjectsServiceServer) AddProjectMembers added in v2.49.0

func (UnimplementedProjectsServiceServer) CreateProject

func (UnimplementedProjectsServiceServer) DeleteProject

func (UnimplementedProjectsServiceServer) GetProject added in v2.44.0

func (UnimplementedProjectsServiceServer) ListProjectMembers added in v2.49.0

func (UnimplementedProjectsServiceServer) ListProjects

func (UnimplementedProjectsServiceServer) RemoveProjectMembers added in v2.49.0

type UnsafeProjectsServiceServer

type UnsafeProjectsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProjectsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectsServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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