Documentation ¶
Index ¶
- func CheckRuntimeCredentialPermission(ctx context.Context, resourceId string) (*models.RuntimeCredential, error)
- func CheckRuntimeCredentialsPermission(ctx context.Context, resourceIds []string) ([]*models.RuntimeCredential, error)
- func CheckRuntimePermission(ctx context.Context, resourceId string) (*models.Runtime, error)
- func CheckRuntimesPermission(ctx context.Context, resourceIds []string) ([]*models.Runtime, error)
- func Serve(cfg *config.Config)
- func ValidateRuntime(ctx context.Context, runtimeId, zone string, ...) error
- func ValidateURL(ctx context.Context, url string) error
- type Server
- func (p *Server) Checker(ctx context.Context, req interface{}) error
- func (p *Server) CreateDebugRuntime(ctx context.Context, req *pb.CreateRuntimeRequest) (*pb.CreateRuntimeResponse, error)
- func (p *Server) CreateDebugRuntimeCredential(ctx context.Context, req *pb.CreateRuntimeCredentialRequest) (*pb.CreateRuntimeCredentialResponse, error)
- func (p *Server) CreateRuntime(ctx context.Context, req *pb.CreateRuntimeRequest) (*pb.CreateRuntimeResponse, error)
- func (p *Server) CreateRuntimeCredential(ctx context.Context, req *pb.CreateRuntimeCredentialRequest) (*pb.CreateRuntimeCredentialResponse, error)
- func (p *Server) DeleteRuntimeCredentials(ctx context.Context, req *pb.DeleteRuntimeCredentialsRequest) (*pb.DeleteRuntimeCredentialsResponse, error)
- func (p *Server) DeleteRuntimes(ctx context.Context, req *pb.DeleteRuntimesRequest) (*pb.DeleteRuntimesResponse, error)
- func (p *Server) DescribeDebugRuntimeCredentials(ctx context.Context, req *pb.DescribeRuntimeCredentialsRequest) (*pb.DescribeRuntimeCredentialsResponse, error)
- func (p *Server) DescribeDebugRuntimes(ctx context.Context, req *pb.DescribeRuntimesRequest) (*pb.DescribeRuntimesResponse, error)
- func (p *Server) DescribeRuntimeCredentials(ctx context.Context, req *pb.DescribeRuntimeCredentialsRequest) (*pb.DescribeRuntimeCredentialsResponse, error)
- func (p *Server) DescribeRuntimeDetails(ctx context.Context, req *pb.DescribeRuntimesRequest) (*pb.DescribeRuntimeDetailsResponse, error)
- func (p *Server) DescribeRuntimeProviderZones(ctx context.Context, req *pb.DescribeRuntimeProviderZonesRequest) (*pb.DescribeRuntimeProviderZonesResponse, error)
- func (p *Server) DescribeRuntimes(ctx context.Context, req *pb.DescribeRuntimesRequest) (*pb.DescribeRuntimesResponse, error)
- func (p *Server) GetRuntimeStatistics(ctx context.Context, req *pb.GetRuntimeStatisticsRequest) (*pb.GetRuntimeStatisticsResponse, error)
- func (p *Server) ModifyRuntime(ctx context.Context, req *pb.ModifyRuntimeRequest) (*pb.ModifyRuntimeResponse, error)
- func (p *Server) ModifyRuntimeCredential(ctx context.Context, req *pb.ModifyRuntimeCredentialRequest) (*pb.ModifyRuntimeCredentialResponse, error)
- func (p *Server) ValidateRuntimeCredential(ctx context.Context, req *pb.ValidateRuntimeCredentialRequest) (*pb.ValidateRuntimeCredentialResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRuntimeCredentialPermission ¶ added in v0.4.0
func CheckRuntimeCredentialsPermission ¶ added in v0.4.0
func CheckRuntimePermission ¶ added in v0.2.3
func CheckRuntimesPermission ¶ added in v0.2.3
func ValidateRuntime ¶ added in v0.4.0
Types ¶
type Server ¶
type Server struct { }
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 (p *Server) CreateRuntimeCredential(ctx context.Context, req *pb.CreateRuntimeCredentialRequest) (*pb.CreateRuntimeCredentialResponse, error)
func (*Server) DeleteRuntimeCredentials ¶ added in v0.4.0
func (p *Server) DeleteRuntimeCredentials(ctx context.Context, req *pb.DeleteRuntimeCredentialsRequest) (*pb.DeleteRuntimeCredentialsResponse, error)
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 (p *Server) DescribeRuntimeCredentials(ctx context.Context, req *pb.DescribeRuntimeCredentialsRequest) (*pb.DescribeRuntimeCredentialsResponse, error)
func (*Server) DescribeRuntimeDetails ¶ added in v0.1.5
func (p *Server) DescribeRuntimeDetails(ctx context.Context, req *pb.DescribeRuntimesRequest) (*pb.DescribeRuntimeDetailsResponse, error)
func (*Server) DescribeRuntimeProviderZones ¶
func (p *Server) DescribeRuntimeProviderZones(ctx context.Context, req *pb.DescribeRuntimeProviderZonesRequest) (*pb.DescribeRuntimeProviderZonesResponse, 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 (p *Server) GetRuntimeStatistics(ctx context.Context, req *pb.GetRuntimeStatisticsRequest) (*pb.GetRuntimeStatisticsResponse, error)
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 (p *Server) ModifyRuntimeCredential(ctx context.Context, req *pb.ModifyRuntimeCredentialRequest) (*pb.ModifyRuntimeCredentialResponse, error)
func (*Server) ValidateRuntimeCredential ¶ added in v0.4.0
func (p *Server) ValidateRuntimeCredential(ctx context.Context, req *pb.ValidateRuntimeCredentialRequest) (*pb.ValidateRuntimeCredentialResponse, error)
Click to show internal directories.
Click to hide internal directories.