Documentation ¶
Index ¶
- Variables
- type Client
- func (k *Client) AddressList(namespace string) ([]*app.Address, error)
- func (k *Client) Autoscale(namespace string) (*app.Autoscale, error)
- func (k *Client) CreateNamespace(a *app.App, user string) error
- func (k *Client) CreateOrUpdateAutoscale(a *app.App) error
- func (k *Client) CreateOrUpdateDeploy(deploySpec *spec.Deploy) error
- func (k *Client) CreateOrUpdateDeployEnvVars(namespace, name string, evs []*app.EnvVar) error
- func (k *Client) CreateQuota(a *app.App) error
- func (k *Client) CreateSecret(appName, secretName string, data map[string][]byte) error
- func (k *Client) DeleteDeployEnvVars(namespace, name string, evNames []string) error
- func (k *Client) DeleteNamespace(namespace string) error
- func (k *Client) DeletePod(namespace, podName string) error
- func (k *Client) DeployAnnotation(namespace, deployName, annotation string) (string, error)
- func (k *Client) DeployRollbackToRevision(namespace, name, revision string) error
- func (k *Client) DeploySetReplicas(namespace, name string, replicas int32) error
- func (k *Client) ExposeDeploy(namespace, appName, vHost string, w io.Writer) error
- func (k *Client) HealthCheck() error
- func (k *Client) IsAlreadyExists(err error) bool
- func (k *Client) IsNotFound(err error) bool
- func (k *Client) Limits(namespace, name string) (*app.Limits, error)
- func (k *Client) NamespaceAnnotation(namespace, annotation string) (string, error)
- func (k *Client) NamespaceLabel(namespace, label string) (string, error)
- func (k *Client) NamespaceListByLabel(label, value string) ([]string, error)
- func (k *Client) PodList(namespace string) ([]*app.Pod, error)
- func (k *Client) PodLogs(namespace string, podName string, lines int64, follow bool) (io.ReadCloser, error)
- func (k *Client) PodRun(podSpec *spec.Pod) (io.ReadCloser, <-chan int, error)
- func (k *Client) ReplicaSetListByLabel(namespace, label, value string) ([]*deploy.ReplicaSetListItem, error)
- func (k *Client) SetNamespaceAnnotations(namespace string, annotations map[string]string) error
- func (k *Client) SetNamespaceLabels(namespace string, labels map[string]string) error
- func (k *Client) Status(namespace string) (*app.Status, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddressList ¶ added in v0.15.0
func (*Client) CreateNamespace ¶ added in v0.15.0
func (*Client) CreateOrUpdateAutoscale ¶ added in v0.15.0
func (*Client) CreateOrUpdateDeploy ¶ added in v0.15.0
func (*Client) CreateOrUpdateDeployEnvVars ¶ added in v0.15.0
func (*Client) CreateSecret ¶ added in v0.15.0
func (*Client) DeleteDeployEnvVars ¶ added in v0.15.0
func (*Client) DeleteNamespace ¶ added in v0.15.0
func (*Client) DeployAnnotation ¶ added in v0.15.0
func (*Client) DeployRollbackToRevision ¶ added in v0.15.0
func (*Client) DeploySetReplicas ¶ added in v0.15.0
func (*Client) ExposeDeploy ¶ added in v0.15.0
ExposeDeploy creates a service and/or a ingress if needed
func (*Client) HealthCheck ¶ added in v0.15.0
func (*Client) IsAlreadyExists ¶ added in v0.15.0
func (*Client) IsNotFound ¶ added in v0.15.0
func (*Client) NamespaceAnnotation ¶ added in v0.15.0
func (*Client) NamespaceLabel ¶ added in v0.15.0
func (*Client) NamespaceListByLabel ¶ added in v0.15.0
func (*Client) ReplicaSetListByLabel ¶ added in v0.15.0
func (k *Client) ReplicaSetListByLabel(namespace, label, value string) ([]*deploy.ReplicaSetListItem, error)
func (*Client) SetNamespaceAnnotations ¶ added in v0.15.0
func (*Client) SetNamespaceLabels ¶ added in v0.15.0
Click to show internal directories.
Click to hide internal directories.