Documentation ¶
Index ¶
- func ClusterDeploymentFromDeployment(deployment *types.Deployment) (builder.IClusterDeployment, error)
- type Client
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterDeploymentFromDeployment ¶
func ClusterDeploymentFromDeployment(deployment *types.Deployment) (builder.IClusterDeployment, error)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddDomain ¶
func (c *Client) AddDomain(ctx context.Context, id types.DeploymentID, cert *types.Certificate) error
func (*Client) CloseDeployment ¶
func (*Client) CreateDeployment ¶
func (*Client) DeleteDomain ¶
func (*Client) Exec ¶
func (c *Client) Exec(ctx context.Context, id types.DeploymentID, serviceName string, stdin io.Reader, stdout, stderr io.Writer, cmd []string, tty bool, terminalSizeQueue remotecommand.TerminalSizeQueue) (types.ExecResult, error)
func (*Client) GetDeployment ¶
func (c *Client) GetDeployment(ctx context.Context, id types.DeploymentID) (*types.Deployment, error)
func (*Client) GetDomains ¶
func (c *Client) GetDomains(ctx context.Context, id types.DeploymentID) ([]*types.DeploymentDomain, error)
func (*Client) GetEvents ¶
func (c *Client) GetEvents(ctx context.Context, id types.DeploymentID) ([]*types.ServiceEvent, error)
func (*Client) GetIngress ¶
func (*Client) GetLeaseAccessToken ¶
func (*Client) GetLogs ¶
func (c *Client) GetLogs(ctx context.Context, id types.DeploymentID) ([]*types.ServiceLog, error)
func (*Client) GetNodeResources ¶
func (*Client) GetStatistics ¶
func (*Client) GetSufficientResourceNodes ¶
func (c *Client) GetSufficientResourceNodes(ctx context.Context, reqResources *types.ComputeResources) ([]*types.SufficientResourceNode, error)
func (*Client) UpdateDeployment ¶
func (*Client) UpdateIngress ¶
Click to show internal directories.
Click to hide internal directories.