Versions in this module Expand all Collapse all v0 v0.1.21 Jul 31, 2024 Changes in this version + func ClusterDeploymentFromDeployment(deployment *types.Deployment) (builder.IClusterDeployment, error) + type Client struct + func NewClient(cfg *config.CandidateCfg, secret *jwt.HMACSHA) (*Client, error) + func (c *Client) AddDomain(ctx context.Context, id types.DeploymentID, cert *types.Certificate) error + func (c *Client) CloseDeployment(ctx context.Context, deployment *types.Deployment) error + func (c *Client) CreateDeployment(ctx context.Context, deployment *types.Deployment) error + func (c *Client) DeleteDomain(ctx context.Context, id types.DeploymentID, hostname string) error + func (c *Client) Exec(ctx context.Context, id types.DeploymentID, serviceName string, ...) (types.ExecResult, error) + func (c *Client) GetDeployment(ctx context.Context, id types.DeploymentID) (*types.Deployment, error) + func (c *Client) GetDomains(ctx context.Context, id types.DeploymentID) ([]*types.DeploymentDomain, error) + func (c *Client) GetEvents(ctx context.Context, id types.DeploymentID) ([]*types.ServiceEvent, error) + func (c *Client) GetIngress(ctx context.Context, id types.DeploymentID) (*types.Ingress, error) + func (c *Client) GetLeaseAccessToken(ctx context.Context, id types.DeploymentID, userId string) (string, error) + func (c *Client) GetLogs(ctx context.Context, id types.DeploymentID) ([]*types.ServiceLog, error) + func (c *Client) GetNodeResources(ctx context.Context, nodeName string) (*types.ResourcesStatistics, error) + func (c *Client) GetStatistics(ctx context.Context) (*types.ResourcesStatistics, error) + func (c *Client) GetSufficientResourceNodes(ctx context.Context, reqResources *types.ComputeResources) ([]*types.SufficientResourceNode, error) + func (c *Client) UpdateDeployment(ctx context.Context, deployment *types.Deployment) error + func (c *Client) UpdateIngress(ctx context.Context, id types.DeploymentID, annotations map[string]string) error