Documentation ¶
Index ¶
- Variables
- type Client
- func (k *Client) AddressList(namespace string) ([]*app.Address, error)
- func (k *Client) Autoscale(namespace string) (*app.Autoscale, error)
- func (c *Client) CloudProviderName() (string, error)
- func (c *Client) ContainerExplicitEnvVars(namespace, deployName, containerName string) ([]*app.EnvVar, error)
- func (k *Client) CreateNamespace(a *app.App, user string) error
- func (k *Client) CreateOrUpdateAutoscale(a *app.App) error
- func (k *Client) CreateOrUpdateConfigMap(namespace, name string, data map[string]string) error
- func (c *Client) CreateOrUpdateCronJob(cronJobSpec *spec.CronJob) error
- func (c *Client) CreateOrUpdateCronJobEnvVars(namespace, name string, evs []*app.EnvVar) error
- func (c *Client) CreateOrUpdateCronJobSecretEnvVars(namespace, name, secretName string, secrets []string) error
- func (c *Client) CreateOrUpdateCronJobSecretFile(namespace, cronjob, fileName string) error
- func (k *Client) CreateOrUpdateDeploy(deploySpec *spec.Deploy) error
- func (c *Client) CreateOrUpdateDeployEnvVars(namespace, name string, evs []*app.EnvVar) error
- func (c *Client) CreateOrUpdateDeploySecretEnvVars(namespace, name, secretName string, secrets []string) error
- func (c *Client) CreateOrUpdateDeploySecretFile(namespace, deploy, filename string) error
- func (c *Client) CreateOrUpdateSecret(namespace, secretName string, data map[string][]byte) error
- func (k *Client) CreateQuota(a *app.App) error
- func (k *Client) CreateService(svcSpec *spec.Service) error
- func (k *Client) DeleteConfigMap(namespace, name string) error
- func (k *Client) DeleteCronJobEnvVars(namespace, name string, evNames []string) error
- func (c *Client) DeleteCronJobSecrets(namespace, cronjob string, envVars, volKeys []string) error
- func (k *Client) DeleteDeployEnvVars(namespace, name string, evNames []string) error
- func (c *Client) DeleteDeploySecrets(namespace, deploy string, envVars, volKeys []string) error
- func (k *Client) DeleteNamespace(namespace string) error
- func (k *Client) DeletePod(namespace, podName string) error
- func (k *Client) DeleteService(namespace, name 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, svcType, portName string, vHosts []string, w io.Writer) error
- func (c *Client) GetSecret(namespace, secretName string) (map[string][]byte, error)
- func (k *Client) HasIngress(namespace, appName string) (bool, error)
- func (k *Client) HealthCheck() error
- func (c *Client) IngressEnabled() bool
- func (k *Client) IsAlreadyExists(err error) bool
- func (k *Client) IsInvalid(err error) bool
- func (k *Client) IsNotFound(err error) bool
- func (k *Client) IsUnknown(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, opts *app.PodListOptions) ([]*app.Pod, error)
- func (k *Client) PodLogs(namespace string, podName string, opts *app.LogOptions) (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) ResumeCronJob(namespace, name string) error
- func (c *Client) Service(namespace, svcName string) (*spec.Service, error)
- func (c *Client) ServiceAnnotations(namespace, svcName string) (map[string]string, error)
- func (c *Client) SetLoadBalancerSourceRanges(namespace, svcName string, sourceRanges []string) error
- func (k *Client) SetNamespaceAnnotations(namespace string, annotations map[string]string) error
- func (k *Client) SetNamespaceLabels(namespace string, labels map[string]string) error
- func (c *Client) SetServiceAnnotations(namespace, svcName string, annotations map[string]string) error
- func (k *Client) Status(namespace string) (*app.Status, error)
- func (k *Client) SuspendCronJob(namespace, name string) error
- func (k *Client) UpdateIngress(namespace, name string, vHosts []string) error
- func (c *Client) UpdateServicePorts(namespace, svcName string, ports []spec.ServicePort) error
- func (c *Client) WatchDeploy(namespace, deployName string) error
- func (c *Client) WatchServiceURL(namespace, name string) ([]string, 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) CloudProviderName ¶ added in v0.18.0
func (*Client) ContainerExplicitEnvVars ¶ added in v0.20.0
func (*Client) CreateNamespace ¶ added in v0.15.0
func (*Client) CreateOrUpdateAutoscale ¶ added in v0.15.0
func (*Client) CreateOrUpdateConfigMap ¶ added in v0.17.0
func (*Client) CreateOrUpdateCronJob ¶ added in v0.16.0
func (*Client) CreateOrUpdateCronJobEnvVars ¶ added in v0.16.0
func (*Client) CreateOrUpdateCronJobSecretEnvVars ¶ added in v0.17.0
func (*Client) CreateOrUpdateCronJobSecretFile ¶ added in v0.25.0
func (*Client) CreateOrUpdateDeploy ¶ added in v0.15.0
func (*Client) CreateOrUpdateDeployEnvVars ¶ added in v0.15.0
func (*Client) CreateOrUpdateDeploySecretEnvVars ¶ added in v0.17.0
func (*Client) CreateOrUpdateDeploySecretFile ¶ added in v0.25.0
func (*Client) CreateOrUpdateSecret ¶ added in v0.17.0
func (*Client) CreateService ¶ added in v0.20.0
func (*Client) DeleteConfigMap ¶ added in v0.19.0
func (*Client) DeleteCronJobEnvVars ¶ added in v0.16.0
func (*Client) DeleteCronJobSecrets ¶ added in v0.25.0
func (*Client) DeleteDeployEnvVars ¶ added in v0.15.0
func (*Client) DeleteDeploySecrets ¶ added in v0.25.0
func (*Client) DeleteNamespace ¶ added in v0.15.0
func (*Client) DeleteService ¶ added in v0.20.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
func (k *Client) ExposeDeploy(namespace, appName, svcType, portName string, vHosts []string, w io.Writer) error
ExposeDeploy creates a service and/or a ingress if needed
func (*Client) HasIngress ¶ added in v0.17.0
func (*Client) HealthCheck ¶ added in v0.15.0
func (*Client) IngressEnabled ¶ added in v0.22.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) PodLogs ¶ added in v0.15.0
func (k *Client) PodLogs(namespace string, podName string, opts *app.LogOptions) (io.ReadCloser, error)
func (*Client) ReplicaSetListByLabel ¶ added in v0.15.0
func (k *Client) ReplicaSetListByLabel(namespace, label, value string) ([]*deploy.ReplicaSetListItem, error)
func (*Client) ResumeCronJob ¶ added in v0.26.0
func (*Client) ServiceAnnotations ¶ added in v0.18.0
func (*Client) SetLoadBalancerSourceRanges ¶ added in v0.24.0
func (*Client) SetNamespaceAnnotations ¶ added in v0.15.0
func (*Client) SetNamespaceLabels ¶ added in v0.15.0
func (*Client) SetServiceAnnotations ¶ added in v0.18.0
func (*Client) SuspendCronJob ¶ added in v0.26.0
func (*Client) UpdateIngress ¶ added in v0.26.0
func (*Client) UpdateServicePorts ¶ added in v0.18.0
func (c *Client) UpdateServicePorts(namespace, svcName string, ports []spec.ServicePort) error
func (*Client) WatchDeploy ¶ added in v0.20.0
Click to show internal directories.
Click to hide internal directories.