app

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: Apache-2.0 Imports: 34 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Action => []version.status

Functions

func CheckAppPermission added in v0.2.3

func CheckAppPermission(ctx context.Context, resourceId string) (*models.App, error)

func CheckAppVersionPermission added in v0.2.3

func CheckAppVersionPermission(ctx context.Context, resourceId string) (*models.AppVersion, error)

func CheckAppVersionsPermission added in v0.2.3

func CheckAppVersionsPermission(ctx context.Context, resourceIds []string) ([]*models.AppVersion, error)

func CheckAppsPermission added in v0.2.3

func CheckAppsPermission(ctx context.Context, resourceIds []string) ([]*models.App, error)

func Serve

func Serve(cfg *config.Config)

Types

type Action added in v0.2.1

type Action int32
const (
	Submit Action = iota
	Review
	Cancel
	Release
	Delete
	Pass
	Reject
	Suspend
	Recover
	Modify
)

type Server

type Server struct {
}

func (*Server) AdminPassAppVersion added in v0.4.2

func (p *Server) AdminPassAppVersion(ctx context.Context, req *pb.PassAppVersionRequest) (*pb.PassAppVersionResponse, error)

func (*Server) AdminRejectAppVersion added in v0.4.2

func (p *Server) AdminRejectAppVersion(ctx context.Context, req *pb.RejectAppVersionRequest) (*pb.RejectAppVersionResponse, error)

func (*Server) BusinessPassAppVersion added in v0.4.0

func (p *Server) BusinessPassAppVersion(ctx context.Context, req *pb.PassAppVersionRequest) (*pb.PassAppVersionResponse, error)

func (*Server) BusinessRejectAppVersion added in v0.4.0

func (p *Server) BusinessRejectAppVersion(ctx context.Context, req *pb.RejectAppVersionRequest) (*pb.RejectAppVersionResponse, error)

func (*Server) BusinessReviewAppVersion added in v0.4.0

func (p *Server) BusinessReviewAppVersion(ctx context.Context, req *pb.ReviewAppVersionRequest) (*pb.ReviewAppVersionResponse, error)

func (*Server) CancelAppVersion added in v0.2.1

func (p *Server) CancelAppVersion(ctx context.Context, req *pb.CancelAppVersionRequest) (*pb.CancelAppVersionResponse, error)

func (*Server) Checker added in v0.1.2

func (p *Server) Checker(ctx context.Context, req interface{}) error

func (*Server) CreateApp

func (p *Server) CreateApp(ctx context.Context, req *pb.CreateAppRequest) (*pb.CreateAppResponse, error)

func (*Server) CreateAppVersion

func (p *Server) CreateAppVersion(ctx context.Context, req *pb.CreateAppVersionRequest) (*pb.CreateAppVersionResponse, error)

func (*Server) DeleteAppVersion added in v0.2.1

func (p *Server) DeleteAppVersion(ctx context.Context, req *pb.DeleteAppVersionRequest) (*pb.DeleteAppVersionResponse, error)

func (*Server) DeleteApps

func (p *Server) DeleteApps(ctx context.Context, req *pb.DeleteAppsRequest) (*pb.DeleteAppsResponse, error)

func (*Server) DescribeActiveAppVersions added in v0.4.0

func (p *Server) DescribeActiveAppVersions(ctx context.Context, req *pb.DescribeAppVersionsRequest) (*pb.DescribeAppVersionsResponse, error)

func (*Server) DescribeActiveApps added in v0.4.0

func (p *Server) DescribeActiveApps(ctx context.Context, req *pb.DescribeAppsRequest) (*pb.DescribeAppsResponse, error)

func (*Server) DescribeAppVersionAudits added in v0.4.0

func (*Server) DescribeAppVersionReviews added in v0.4.0

func (*Server) DescribeAppVersions

func (*Server) DescribeApps

func (p *Server) DescribeApps(ctx context.Context, req *pb.DescribeAppsRequest) (*pb.DescribeAppsResponse, error)

func (*Server) GetAppStatistics added in v0.1.5

func (p *Server) GetAppStatistics(ctx context.Context, req *pb.GetAppStatisticsRequest) (*pb.GetAppStatisticsResponse, error)

func (*Server) GetAppVersionPackage

func (*Server) IsvPassAppVersion added in v0.4.0

func (p *Server) IsvPassAppVersion(ctx context.Context, req *pb.PassAppVersionRequest) (*pb.PassAppVersionResponse, error)

func (*Server) IsvRejectAppVersion added in v0.4.0

func (p *Server) IsvRejectAppVersion(ctx context.Context, req *pb.RejectAppVersionRequest) (*pb.RejectAppVersionResponse, error)

func (*Server) IsvReviewAppVersion added in v0.4.0

func (p *Server) IsvReviewAppVersion(ctx context.Context, req *pb.ReviewAppVersionRequest) (*pb.ReviewAppVersionResponse, error)

func (*Server) ModifyApp

func (p *Server) ModifyApp(ctx context.Context, req *pb.ModifyAppRequest) (*pb.ModifyAppResponse, error)

func (*Server) ModifyAppVersion

func (p *Server) ModifyAppVersion(ctx context.Context, req *pb.ModifyAppVersionRequest) (*pb.ModifyAppVersionResponse, error)

func (*Server) RecoverAppVersion added in v0.2.1

func (p *Server) RecoverAppVersion(ctx context.Context, req *pb.RecoverAppVersionRequest) (*pb.RecoverAppVersionResponse, error)

func (*Server) ReleaseAppVersion added in v0.2.1

func (p *Server) ReleaseAppVersion(ctx context.Context, req *pb.ReleaseAppVersionRequest) (*pb.ReleaseAppVersionResponse, error)

func (*Server) SubmitAppVersion added in v0.2.1

func (p *Server) SubmitAppVersion(ctx context.Context, req *pb.SubmitAppVersionRequest) (*pb.SubmitAppVersionResponse, error)

func (*Server) SuspendAppVersion added in v0.2.1

func (p *Server) SuspendAppVersion(ctx context.Context, req *pb.SuspendAppVersionRequest) (*pb.SuspendAppVersionResponse, error)

func (*Server) SyncRepo added in v0.2.3

func (p *Server) SyncRepo(ctx context.Context, req *pb.SyncRepoRequest) (*pb.SyncRepoResponse, error)

func (*Server) TechnicalPassAppVersion added in v0.4.0

func (p *Server) TechnicalPassAppVersion(ctx context.Context, req *pb.PassAppVersionRequest) (*pb.PassAppVersionResponse, error)

func (*Server) TechnicalRejectAppVersion added in v0.4.0

func (p *Server) TechnicalRejectAppVersion(ctx context.Context, req *pb.RejectAppVersionRequest) (*pb.RejectAppVersionResponse, error)

func (*Server) TechnicalReviewAppVersion added in v0.4.0

func (p *Server) TechnicalReviewAppVersion(ctx context.Context, req *pb.ReviewAppVersionRequest) (*pb.ReviewAppVersionResponse, error)

func (*Server) UploadAppAttachment added in v0.4.0

func (*Server) ValidatePackage added in v0.4.0

func (p *Server) ValidatePackage(ctx context.Context, req *pb.ValidatePackageRequest) (*pb.ValidatePackageResponse, error)

Jump to

Keyboard shortcuts

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