runtime

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRuntimeCredentialPermission added in v0.4.0

func CheckRuntimeCredentialPermission(ctx context.Context, resourceId string) (*models.RuntimeCredential, error)

func CheckRuntimeCredentialsPermission added in v0.4.0

func CheckRuntimeCredentialsPermission(ctx context.Context, resourceIds []string) ([]*models.RuntimeCredential, error)

func CheckRuntimePermission added in v0.2.3

func CheckRuntimePermission(ctx context.Context, resourceId string) (*models.Runtime, error)

func CheckRuntimesPermission added in v0.2.3

func CheckRuntimesPermission(ctx context.Context, resourceIds []string) ([]*models.Runtime, error)

func Serve

func Serve(cfg *config.Config)

func ValidateRuntime added in v0.4.0

func ValidateRuntime(ctx context.Context, runtimeId, zone string, runtimeCredential *models.RuntimeCredential, needCreate bool) error

func ValidateURL

func ValidateURL(ctx context.Context, url string) error

Types

type Server

type Server struct {
}

func (*Server) Checker added in v0.1.2

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

func (*Server) CreateDebugRuntime added in v0.4.0

func (p *Server) CreateDebugRuntime(ctx context.Context, req *pb.CreateRuntimeRequest) (*pb.CreateRuntimeResponse, error)

func (*Server) CreateDebugRuntimeCredential added in v0.4.0

func (p *Server) CreateDebugRuntimeCredential(ctx context.Context, req *pb.CreateRuntimeCredentialRequest) (*pb.CreateRuntimeCredentialResponse, error)

func (*Server) CreateRuntime

func (p *Server) CreateRuntime(ctx context.Context, req *pb.CreateRuntimeRequest) (*pb.CreateRuntimeResponse, error)

func (*Server) CreateRuntimeCredential added in v0.4.0

func (*Server) DeleteRuntimeCredentials added in v0.4.0

func (*Server) DeleteRuntimes

func (p *Server) DeleteRuntimes(ctx context.Context, req *pb.DeleteRuntimesRequest) (*pb.DeleteRuntimesResponse, error)

func (*Server) DescribeDebugRuntimeCredentials added in v0.4.0

func (p *Server) DescribeDebugRuntimeCredentials(ctx context.Context, req *pb.DescribeRuntimeCredentialsRequest) (*pb.DescribeRuntimeCredentialsResponse, error)

func (*Server) DescribeDebugRuntimes added in v0.4.0

func (p *Server) DescribeDebugRuntimes(ctx context.Context, req *pb.DescribeRuntimesRequest) (*pb.DescribeRuntimesResponse, error)

func (*Server) DescribeRuntimeCredentials added in v0.4.0

func (*Server) DescribeRuntimeDetails added in v0.1.5

func (p *Server) DescribeRuntimeDetails(ctx context.Context, req *pb.DescribeRuntimesRequest) (*pb.DescribeRuntimeDetailsResponse, error)

func (*Server) DescribeRuntimes

func (p *Server) DescribeRuntimes(ctx context.Context, req *pb.DescribeRuntimesRequest) (*pb.DescribeRuntimesResponse, error)

func (*Server) GetRuntimeStatistics added in v0.1.5

func (*Server) ModifyRuntime

func (p *Server) ModifyRuntime(ctx context.Context, req *pb.ModifyRuntimeRequest) (*pb.ModifyRuntimeResponse, error)

func (*Server) ModifyRuntimeCredential added in v0.4.0

func (*Server) ValidateRuntimeCredential added in v0.4.0

Jump to

Keyboard shortcuts

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