pb

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 25 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_project_proto protoreflect.FileDescriptor

Functions

func ProjectServiceClientType

func ProjectServiceClientType() reflect.Type

ProjectServiceClientType .

func ProjectServiceHandlerType

func ProjectServiceHandlerType() reflect.Type

ProjectServiceHandlerType .

func ProjectServiceServerType

func ProjectServiceServerType() reflect.Type

ProjectServiceServerType .

func RegisterProjectServiceHandler

func RegisterProjectServiceHandler(r http.Router, srv ProjectServiceHandler, opts ...http.HandleOption)

RegisterProjectServiceHandler register ProjectServiceHandler to http.Router.

func RegisterProjectServiceImp

func RegisterProjectServiceImp(regester transport.Register, srv ProjectServiceServer, opts ...transport.ServiceOption)

RegisterProjectServiceImp project.proto

func RegisterProjectServiceServer

func RegisterProjectServiceServer(s grpc1.ServiceRegistrar, srv ProjectServiceServer, opts ...grpc1.HandleOption)

func ServiceNames

func ServiceNames(svr ...string) []string

ServiceNames return all service names

func Types

func Types() []reflect.Type

Types

type CreateProjectRequest

type CreateProjectRequest struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName string `protobuf:"bytes,3,opt,name=displayName,proto3" json:"displayName,omitempty"`
	Type        string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectRequest) Descriptor deprecated

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

Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.

func (*CreateProjectRequest) GetDisplayName

func (x *CreateProjectRequest) GetDisplayName() string

func (*CreateProjectRequest) GetId

func (x *CreateProjectRequest) GetId() string

func (*CreateProjectRequest) GetName

func (x *CreateProjectRequest) GetName() string

func (*CreateProjectRequest) GetType

func (x *CreateProjectRequest) GetType() string

func (*CreateProjectRequest) MarshalJSON

func (m *CreateProjectRequest) MarshalJSON() ([]byte, error)

CreateProjectRequest implement json.Marshaler.

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

func (*CreateProjectRequest) UnmarshalJSON

func (m *CreateProjectRequest) UnmarshalJSON(b []byte) error

CreateProjectRequest implement json.Marshaler.

func (*CreateProjectRequest) UnmarshalURLValues

func (m *CreateProjectRequest) UnmarshalURLValues(prefix string, values url.Values) error

CreateProjectRequest implement urlenc.URLValuesUnmarshaler.

func (*CreateProjectRequest) Validate

func (this *CreateProjectRequest) Validate() error

type CreateProjectResponse

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

func (*CreateProjectResponse) Descriptor deprecated

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

Deprecated: Use CreateProjectResponse.ProtoReflect.Descriptor instead.

func (*CreateProjectResponse) GetData

func (x *CreateProjectResponse) GetData() *Project

func (*CreateProjectResponse) MarshalJSON

func (m *CreateProjectResponse) MarshalJSON() ([]byte, error)

CreateProjectResponse implement json.Marshaler.

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

func (*CreateProjectResponse) UnmarshalJSON

func (m *CreateProjectResponse) UnmarshalJSON(b []byte) error

CreateProjectResponse implement json.Marshaler.

func (*CreateProjectResponse) UnmarshalURLValues

func (m *CreateProjectResponse) UnmarshalURLValues(prefix string, values url.Values) error

CreateProjectResponse implement urlenc.URLValuesUnmarshaler.

func (*CreateProjectResponse) Validate

func (this *CreateProjectResponse) Validate() error

type DeleteProjectRequest

type DeleteProjectRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=projectId,proto3" json:"projectId,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) MarshalJSON

func (m *DeleteProjectRequest) MarshalJSON() ([]byte, error)

DeleteProjectRequest implement json.Marshaler.

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

func (*DeleteProjectRequest) UnmarshalJSON

func (m *DeleteProjectRequest) UnmarshalJSON(b []byte) error

DeleteProjectRequest implement json.Marshaler.

func (*DeleteProjectRequest) UnmarshalURLValues

func (m *DeleteProjectRequest) UnmarshalURLValues(prefix string, values url.Values) error

DeleteProjectRequest implement urlenc.URLValuesUnmarshaler.

func (*DeleteProjectRequest) Validate

func (this *DeleteProjectRequest) Validate() error

type DeleteProjectResponse

type DeleteProjectResponse struct {
	Data []*Project `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectResponse) Descriptor deprecated

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

Deprecated: Use DeleteProjectResponse.ProtoReflect.Descriptor instead.

func (*DeleteProjectResponse) GetData

func (x *DeleteProjectResponse) GetData() []*Project

func (*DeleteProjectResponse) MarshalJSON

func (m *DeleteProjectResponse) MarshalJSON() ([]byte, error)

DeleteProjectResponse implement json.Marshaler.

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

func (*DeleteProjectResponse) UnmarshalJSON

func (m *DeleteProjectResponse) UnmarshalJSON(b []byte) error

DeleteProjectResponse implement json.Marshaler.

func (*DeleteProjectResponse) UnmarshalURLValues

func (m *DeleteProjectResponse) UnmarshalURLValues(prefix string, values url.Values) error

DeleteProjectResponse implement urlenc.URLValuesUnmarshaler.

func (*DeleteProjectResponse) Validate

func (this *DeleteProjectResponse) Validate() error

type GetProjectOverviewRequest

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

func (*GetProjectOverviewRequest) Descriptor deprecated

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

Deprecated: Use GetProjectOverviewRequest.ProtoReflect.Descriptor instead.

func (*GetProjectOverviewRequest) GetProjectId

func (x *GetProjectOverviewRequest) GetProjectId() []string

func (*GetProjectOverviewRequest) MarshalJSON

func (m *GetProjectOverviewRequest) MarshalJSON() ([]byte, error)

GetProjectOverviewRequest implement json.Marshaler.

func (*GetProjectOverviewRequest) ProtoMessage

func (*GetProjectOverviewRequest) ProtoMessage()

func (*GetProjectOverviewRequest) ProtoReflect

func (*GetProjectOverviewRequest) Reset

func (x *GetProjectOverviewRequest) Reset()

func (*GetProjectOverviewRequest) String

func (x *GetProjectOverviewRequest) String() string

func (*GetProjectOverviewRequest) UnmarshalJSON

func (m *GetProjectOverviewRequest) UnmarshalJSON(b []byte) error

GetProjectOverviewRequest implement json.Marshaler.

func (*GetProjectOverviewRequest) UnmarshalURLValues

func (m *GetProjectOverviewRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetProjectOverviewRequest implement urlenc.URLValuesUnmarshaler.

func (*GetProjectOverviewRequest) Validate

func (this *GetProjectOverviewRequest) Validate() error

type GetProjectOverviewResponse

type GetProjectOverviewResponse struct {
	Data *ProjectOverviewList `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectOverviewResponse) Descriptor deprecated

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

Deprecated: Use GetProjectOverviewResponse.ProtoReflect.Descriptor instead.

func (*GetProjectOverviewResponse) GetData

func (*GetProjectOverviewResponse) MarshalJSON

func (m *GetProjectOverviewResponse) MarshalJSON() ([]byte, error)

GetProjectOverviewResponse implement json.Marshaler.

func (*GetProjectOverviewResponse) ProtoMessage

func (*GetProjectOverviewResponse) ProtoMessage()

func (*GetProjectOverviewResponse) ProtoReflect

func (*GetProjectOverviewResponse) Reset

func (x *GetProjectOverviewResponse) Reset()

func (*GetProjectOverviewResponse) String

func (x *GetProjectOverviewResponse) String() string

func (*GetProjectOverviewResponse) UnmarshalJSON

func (m *GetProjectOverviewResponse) UnmarshalJSON(b []byte) error

GetProjectOverviewResponse implement json.Marshaler.

func (*GetProjectOverviewResponse) UnmarshalURLValues

func (m *GetProjectOverviewResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetProjectOverviewResponse implement urlenc.URLValuesUnmarshaler.

func (*GetProjectOverviewResponse) Validate

func (this *GetProjectOverviewResponse) Validate() error

type GetProjectRequest

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

func (*GetProjectRequest) Descriptor deprecated

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

Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead.

func (*GetProjectRequest) GetProjectID

func (x *GetProjectRequest) GetProjectID() string

func (*GetProjectRequest) MarshalJSON

func (m *GetProjectRequest) MarshalJSON() ([]byte, error)

GetProjectRequest implement json.Marshaler.

func (*GetProjectRequest) ProtoMessage

func (*GetProjectRequest) ProtoMessage()

func (*GetProjectRequest) ProtoReflect

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

func (*GetProjectRequest) Reset

func (x *GetProjectRequest) Reset()

func (*GetProjectRequest) String

func (x *GetProjectRequest) String() string

func (*GetProjectRequest) UnmarshalJSON

func (m *GetProjectRequest) UnmarshalJSON(b []byte) error

GetProjectRequest implement json.Marshaler.

func (*GetProjectRequest) UnmarshalURLValues

func (m *GetProjectRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetProjectRequest implement urlenc.URLValuesUnmarshaler.

func (*GetProjectRequest) Validate

func (this *GetProjectRequest) Validate() error

type GetProjectResponse

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

func (*GetProjectResponse) Descriptor deprecated

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

Deprecated: Use GetProjectResponse.ProtoReflect.Descriptor instead.

func (*GetProjectResponse) GetData

func (x *GetProjectResponse) GetData() *Project

func (*GetProjectResponse) MarshalJSON

func (m *GetProjectResponse) MarshalJSON() ([]byte, error)

GetProjectResponse implement json.Marshaler.

func (*GetProjectResponse) ProtoMessage

func (*GetProjectResponse) ProtoMessage()

func (*GetProjectResponse) ProtoReflect

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

func (*GetProjectResponse) Reset

func (x *GetProjectResponse) Reset()

func (*GetProjectResponse) String

func (x *GetProjectResponse) String() string

func (*GetProjectResponse) UnmarshalJSON

func (m *GetProjectResponse) UnmarshalJSON(b []byte) error

GetProjectResponse implement json.Marshaler.

func (*GetProjectResponse) UnmarshalURLValues

func (m *GetProjectResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetProjectResponse implement urlenc.URLValuesUnmarshaler.

func (*GetProjectResponse) Validate

func (this *GetProjectResponse) Validate() error

type GetProjectsRequest

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

func (*GetProjectsRequest) Descriptor deprecated

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

Deprecated: Use GetProjectsRequest.ProtoReflect.Descriptor instead.

func (*GetProjectsRequest) GetProjectId

func (x *GetProjectsRequest) GetProjectId() []string

func (*GetProjectsRequest) MarshalJSON

func (m *GetProjectsRequest) MarshalJSON() ([]byte, error)

GetProjectsRequest implement json.Marshaler.

func (*GetProjectsRequest) ProtoMessage

func (*GetProjectsRequest) ProtoMessage()

func (*GetProjectsRequest) ProtoReflect

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

func (*GetProjectsRequest) Reset

func (x *GetProjectsRequest) Reset()

func (*GetProjectsRequest) String

func (x *GetProjectsRequest) String() string

func (*GetProjectsRequest) UnmarshalJSON

func (m *GetProjectsRequest) UnmarshalJSON(b []byte) error

GetProjectsRequest implement json.Marshaler.

func (*GetProjectsRequest) UnmarshalURLValues

func (m *GetProjectsRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetProjectsRequest implement urlenc.URLValuesUnmarshaler.

func (*GetProjectsRequest) Validate

func (this *GetProjectsRequest) Validate() error

type GetProjectsResponse

type GetProjectsResponse struct {
	Data []*Project `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectsResponse) Descriptor deprecated

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

Deprecated: Use GetProjectsResponse.ProtoReflect.Descriptor instead.

func (*GetProjectsResponse) GetData

func (x *GetProjectsResponse) GetData() []*Project

func (*GetProjectsResponse) MarshalJSON

func (m *GetProjectsResponse) MarshalJSON() ([]byte, error)

GetProjectsResponse implement json.Marshaler.

func (*GetProjectsResponse) ProtoMessage

func (*GetProjectsResponse) ProtoMessage()

func (*GetProjectsResponse) ProtoReflect

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

func (*GetProjectsResponse) Reset

func (x *GetProjectsResponse) Reset()

func (*GetProjectsResponse) String

func (x *GetProjectsResponse) String() string

func (*GetProjectsResponse) UnmarshalJSON

func (m *GetProjectsResponse) UnmarshalJSON(b []byte) error

GetProjectsResponse implement json.Marshaler.

func (*GetProjectsResponse) UnmarshalURLValues

func (m *GetProjectsResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetProjectsResponse implement urlenc.URLValuesUnmarshaler.

func (*GetProjectsResponse) Validate

func (this *GetProjectsResponse) Validate() error

type GetProjectsTenantsIDsRequest

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

func (*GetProjectsTenantsIDsRequest) Descriptor deprecated

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

Deprecated: Use GetProjectsTenantsIDsRequest.ProtoReflect.Descriptor instead.

func (*GetProjectsTenantsIDsRequest) GetProjectId

func (x *GetProjectsTenantsIDsRequest) GetProjectId() []string

func (*GetProjectsTenantsIDsRequest) MarshalJSON

func (m *GetProjectsTenantsIDsRequest) MarshalJSON() ([]byte, error)

GetProjectsTenantsIDsRequest implement json.Marshaler.

func (*GetProjectsTenantsIDsRequest) ProtoMessage

func (*GetProjectsTenantsIDsRequest) ProtoMessage()

func (*GetProjectsTenantsIDsRequest) ProtoReflect

func (*GetProjectsTenantsIDsRequest) Reset

func (x *GetProjectsTenantsIDsRequest) Reset()

func (*GetProjectsTenantsIDsRequest) String

func (*GetProjectsTenantsIDsRequest) UnmarshalJSON

func (m *GetProjectsTenantsIDsRequest) UnmarshalJSON(b []byte) error

GetProjectsTenantsIDsRequest implement json.Marshaler.

func (*GetProjectsTenantsIDsRequest) UnmarshalURLValues

func (m *GetProjectsTenantsIDsRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetProjectsTenantsIDsRequest implement urlenc.URLValuesUnmarshaler.

func (*GetProjectsTenantsIDsRequest) Validate

func (this *GetProjectsTenantsIDsRequest) Validate() error

type GetProjectsTenantsIDsResponse

type GetProjectsTenantsIDsResponse struct {
	Data []string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectsTenantsIDsResponse) Descriptor deprecated

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

Deprecated: Use GetProjectsTenantsIDsResponse.ProtoReflect.Descriptor instead.

func (*GetProjectsTenantsIDsResponse) GetData

func (x *GetProjectsTenantsIDsResponse) GetData() []string

func (*GetProjectsTenantsIDsResponse) MarshalJSON

func (m *GetProjectsTenantsIDsResponse) MarshalJSON() ([]byte, error)

GetProjectsTenantsIDsResponse implement json.Marshaler.

func (*GetProjectsTenantsIDsResponse) ProtoMessage

func (*GetProjectsTenantsIDsResponse) ProtoMessage()

func (*GetProjectsTenantsIDsResponse) ProtoReflect

func (*GetProjectsTenantsIDsResponse) Reset

func (x *GetProjectsTenantsIDsResponse) Reset()

func (*GetProjectsTenantsIDsResponse) String

func (*GetProjectsTenantsIDsResponse) UnmarshalJSON

func (m *GetProjectsTenantsIDsResponse) UnmarshalJSON(b []byte) error

GetProjectsTenantsIDsResponse implement json.Marshaler.

func (*GetProjectsTenantsIDsResponse) UnmarshalURLValues

func (m *GetProjectsTenantsIDsResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetProjectsTenantsIDsResponse implement urlenc.URLValuesUnmarshaler.

func (*GetProjectsTenantsIDsResponse) Validate

func (this *GetProjectsTenantsIDsResponse) Validate() error

type Project

type Project struct {

	// Project id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Project name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Project type
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// Tenant relationship list, k is workspace, v is tenantId
	Relationship []*TenantRelationship `protobuf:"bytes,4,rep,name=relationship,proto3" json:"relationship,omitempty"`
	// Create timestamp
	CreateTime int64 `protobuf:"varint,5,opt,name=createTime,proto3" json:"createTime,omitempty"`
	// Update timestamp
	UpdateTime int64 `protobuf:"varint,6,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
	IsDeleted  bool  `protobuf:"varint,7,opt,name=isDeleted,proto3" json:"isDeleted,omitempty"`
	// Project display name
	DisplayName string `protobuf:"bytes,8,opt,name=displayName,proto3" json:"displayName,omitempty"`
	// Project type display name
	DisplayType string `protobuf:"bytes,9,opt,name=displayType,proto3" json:"displayType,omitempty"`
	// contains filtered or unexported fields
}

func (*Project) Descriptor deprecated

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

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetCreateTime

func (x *Project) GetCreateTime() int64

func (*Project) GetDisplayName

func (x *Project) GetDisplayName() string

func (*Project) GetDisplayType

func (x *Project) GetDisplayType() string

func (*Project) GetId

func (x *Project) GetId() string

func (*Project) GetIsDeleted

func (x *Project) GetIsDeleted() bool

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) GetRelationship

func (x *Project) GetRelationship() []*TenantRelationship

func (*Project) GetType

func (x *Project) GetType() string

func (*Project) GetUpdateTime

func (x *Project) GetUpdateTime() int64

func (*Project) MarshalJSON

func (m *Project) MarshalJSON() ([]byte, error)

Project implement json.Marshaler.

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

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

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

func (*Project) UnmarshalJSON

func (m *Project) UnmarshalJSON(b []byte) error

Project implement json.Marshaler.

func (*Project) UnmarshalURLValues

func (m *Project) UnmarshalURLValues(prefix string, values url.Values) error

Project implement urlenc.URLValuesUnmarshaler.

func (*Project) Validate

func (this *Project) Validate() error

type ProjectOverview

type ProjectOverview struct {
	ProjectCount   int64 `protobuf:"varint,1,opt,name=projectCount,proto3" json:"projectCount,omitempty"`
	WorkspaceCount int64 `protobuf:"varint,2,opt,name=workspaceCount,proto3" json:"workspaceCount,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectOverview) Descriptor deprecated

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

Deprecated: Use ProjectOverview.ProtoReflect.Descriptor instead.

func (*ProjectOverview) GetProjectCount

func (x *ProjectOverview) GetProjectCount() int64

func (*ProjectOverview) GetWorkspaceCount

func (x *ProjectOverview) GetWorkspaceCount() int64

func (*ProjectOverview) MarshalJSON

func (m *ProjectOverview) MarshalJSON() ([]byte, error)

ProjectOverview implement json.Marshaler.

func (*ProjectOverview) ProtoMessage

func (*ProjectOverview) ProtoMessage()

func (*ProjectOverview) ProtoReflect

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

func (*ProjectOverview) Reset

func (x *ProjectOverview) Reset()

func (*ProjectOverview) String

func (x *ProjectOverview) String() string

func (*ProjectOverview) UnmarshalJSON

func (m *ProjectOverview) UnmarshalJSON(b []byte) error

ProjectOverview implement json.Marshaler.

func (*ProjectOverview) UnmarshalURLValues

func (m *ProjectOverview) UnmarshalURLValues(prefix string, values url.Values) error

ProjectOverview implement urlenc.URLValuesUnmarshaler.

func (*ProjectOverview) Validate

func (this *ProjectOverview) Validate() error

type ProjectOverviewList

type ProjectOverviewList struct {
	Data []*ProjectOverview `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectOverviewList) Descriptor deprecated

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

Deprecated: Use ProjectOverviewList.ProtoReflect.Descriptor instead.

func (*ProjectOverviewList) GetData

func (x *ProjectOverviewList) GetData() []*ProjectOverview

func (*ProjectOverviewList) MarshalJSON

func (m *ProjectOverviewList) MarshalJSON() ([]byte, error)

ProjectOverviewList implement json.Marshaler.

func (*ProjectOverviewList) ProtoMessage

func (*ProjectOverviewList) ProtoMessage()

func (*ProjectOverviewList) ProtoReflect

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

func (*ProjectOverviewList) Reset

func (x *ProjectOverviewList) Reset()

func (*ProjectOverviewList) String

func (x *ProjectOverviewList) String() string

func (*ProjectOverviewList) UnmarshalJSON

func (m *ProjectOverviewList) UnmarshalJSON(b []byte) error

ProjectOverviewList implement json.Marshaler.

func (*ProjectOverviewList) UnmarshalURLValues

func (m *ProjectOverviewList) UnmarshalURLValues(prefix string, values url.Values) error

ProjectOverviewList implement urlenc.URLValuesUnmarshaler.

func (*ProjectOverviewList) Validate

func (this *ProjectOverviewList) Validate() error

type ProjectServiceClient

type ProjectServiceClient interface {
	GetProjects(ctx context.Context, in *GetProjectsRequest, opts ...grpc.CallOption) (*GetProjectsResponse, error)
	GetProjectsTenantsIDs(ctx context.Context, in *GetProjectsTenantsIDsRequest, opts ...grpc.CallOption) (*GetProjectsTenantsIDsResponse, error)
	CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*CreateProjectResponse, error)
	UpdateProject(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*UpdateProjectResponse, error)
	DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*DeleteProjectResponse, error)
	GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*GetProjectResponse, error)
	GetProjectOverview(ctx context.Context, in *GetProjectOverviewRequest, opts ...grpc.CallOption) (*GetProjectOverviewResponse, error)
}

ProjectServiceClient is the client API for ProjectService 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 ProjectServiceHandler

type ProjectServiceHandler interface {
	// GET /api/msp/tenant/projects
	GetProjects(context.Context, *GetProjectsRequest) (*GetProjectsResponse, error)
	// GET /api/msp/tenant/projects/tenants/ids
	GetProjectsTenantsIDs(context.Context, *GetProjectsTenantsIDsRequest) (*GetProjectsTenantsIDsResponse, error)
	// POST /api/msp/tenant/project
	CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error)
	// PUT /api/msp/tenant/project
	UpdateProject(context.Context, *UpdateProjectRequest) (*UpdateProjectResponse, error)
	// DELETE /api/msp/tenant/project
	DeleteProject(context.Context, *DeleteProjectRequest) (*DeleteProjectResponse, error)
	// GET /api/msp/tenant/project
	GetProject(context.Context, *GetProjectRequest) (*GetProjectResponse, error)
	// GET /api/msp/tenant/project/overview
	GetProjectOverview(context.Context, *GetProjectOverviewRequest) (*GetProjectOverviewResponse, error)
}

ProjectServiceHandler is the server API for ProjectService service.

type ProjectServiceServer

ProjectServiceServer is the server API for ProjectService service. All implementations should embed UnimplementedProjectServiceServer for forward compatibility

type TenantRelationship

type TenantRelationship struct {
	Workspace        string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	TenantID         string `protobuf:"bytes,2,opt,name=tenantID,json=tenantId,proto3" json:"tenantID,omitempty"`
	DisplayWorkspace string `protobuf:"bytes,3,opt,name=displayWorkspace,proto3" json:"displayWorkspace,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantRelationship) Descriptor deprecated

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

Deprecated: Use TenantRelationship.ProtoReflect.Descriptor instead.

func (*TenantRelationship) GetDisplayWorkspace

func (x *TenantRelationship) GetDisplayWorkspace() string

func (*TenantRelationship) GetTenantID

func (x *TenantRelationship) GetTenantID() string

func (*TenantRelationship) GetWorkspace

func (x *TenantRelationship) GetWorkspace() string

func (*TenantRelationship) MarshalJSON

func (m *TenantRelationship) MarshalJSON() ([]byte, error)

TenantRelationship implement json.Marshaler.

func (*TenantRelationship) ProtoMessage

func (*TenantRelationship) ProtoMessage()

func (*TenantRelationship) ProtoReflect

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

func (*TenantRelationship) Reset

func (x *TenantRelationship) Reset()

func (*TenantRelationship) String

func (x *TenantRelationship) String() string

func (*TenantRelationship) UnmarshalJSON

func (m *TenantRelationship) UnmarshalJSON(b []byte) error

TenantRelationship implement json.Marshaler.

func (*TenantRelationship) UnmarshalURLValues

func (m *TenantRelationship) UnmarshalURLValues(prefix string, values url.Values) error

TenantRelationship implement urlenc.URLValuesUnmarshaler.

func (*TenantRelationship) Validate

func (this *TenantRelationship) Validate() error

type UnimplementedProjectServiceServer

type UnimplementedProjectServiceServer struct {
}

UnimplementedProjectServiceServer should be embedded to have forward compatible implementations.

func (*UnimplementedProjectServiceServer) CreateProject

func (*UnimplementedProjectServiceServer) DeleteProject

func (*UnimplementedProjectServiceServer) GetProject

func (*UnimplementedProjectServiceServer) GetProjectOverview

func (*UnimplementedProjectServiceServer) GetProjects

func (*UnimplementedProjectServiceServer) GetProjectsTenantsIDs

func (*UnimplementedProjectServiceServer) UpdateProject

type UpdateProjectRequest

type UpdateProjectRequest struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName string `protobuf:"bytes,3,opt,name=displayName,proto3" json:"displayName,omitempty"`
	Type        string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProjectRequest) Descriptor deprecated

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

Deprecated: Use UpdateProjectRequest.ProtoReflect.Descriptor instead.

func (*UpdateProjectRequest) GetDisplayName

func (x *UpdateProjectRequest) GetDisplayName() string

func (*UpdateProjectRequest) GetId

func (x *UpdateProjectRequest) GetId() string

func (*UpdateProjectRequest) GetName

func (x *UpdateProjectRequest) GetName() string

func (*UpdateProjectRequest) GetType

func (x *UpdateProjectRequest) GetType() string

func (*UpdateProjectRequest) MarshalJSON

func (m *UpdateProjectRequest) MarshalJSON() ([]byte, error)

UpdateProjectRequest implement json.Marshaler.

func (*UpdateProjectRequest) ProtoMessage

func (*UpdateProjectRequest) ProtoMessage()

func (*UpdateProjectRequest) ProtoReflect

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

func (*UpdateProjectRequest) Reset

func (x *UpdateProjectRequest) Reset()

func (*UpdateProjectRequest) String

func (x *UpdateProjectRequest) String() string

func (*UpdateProjectRequest) UnmarshalJSON

func (m *UpdateProjectRequest) UnmarshalJSON(b []byte) error

UpdateProjectRequest implement json.Marshaler.

func (*UpdateProjectRequest) UnmarshalURLValues

func (m *UpdateProjectRequest) UnmarshalURLValues(prefix string, values url.Values) error

UpdateProjectRequest implement urlenc.URLValuesUnmarshaler.

func (*UpdateProjectRequest) Validate

func (this *UpdateProjectRequest) Validate() error

type UpdateProjectResponse

type UpdateProjectResponse struct {
	Data *Project `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProjectResponse) Descriptor deprecated

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

Deprecated: Use UpdateProjectResponse.ProtoReflect.Descriptor instead.

func (*UpdateProjectResponse) GetData

func (x *UpdateProjectResponse) GetData() *Project

func (*UpdateProjectResponse) MarshalJSON

func (m *UpdateProjectResponse) MarshalJSON() ([]byte, error)

UpdateProjectResponse implement json.Marshaler.

func (*UpdateProjectResponse) ProtoMessage

func (*UpdateProjectResponse) ProtoMessage()

func (*UpdateProjectResponse) ProtoReflect

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

func (*UpdateProjectResponse) Reset

func (x *UpdateProjectResponse) Reset()

func (*UpdateProjectResponse) String

func (x *UpdateProjectResponse) String() string

func (*UpdateProjectResponse) UnmarshalJSON

func (m *UpdateProjectResponse) UnmarshalJSON(b []byte) error

UpdateProjectResponse implement json.Marshaler.

func (*UpdateProjectResponse) UnmarshalURLValues

func (m *UpdateProjectResponse) UnmarshalURLValues(prefix string, values url.Values) error

UpdateProjectResponse implement urlenc.URLValuesUnmarshaler.

func (*UpdateProjectResponse) Validate

func (this *UpdateProjectResponse) Validate() error

Jump to

Keyboard shortcuts

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