Versions in this module Expand all Collapse all v0 v0.1.0 Jan 31, 2017 Changes in this version + func SetCA(cert []byte) func(*Client) error + func SetCAFromFile(path string) func(*Client) error + func SetClient(client *http.Client) func(*Client) error + func SetClientCert(cert []byte) func(*Client) error + func SetClientCertFromFile(path string) func(*Client) error + func SetClientKey(key []byte) func(*Client) error + func SetClientKeyFromFile(path string) func(*Client) error + func SetInsecureSkipVerify(skip bool) func(*Client) error + func SetPassword(password string) func(*Client) error + func SetServer(server string) func(*Client) error + func SetToken(token string) func(*Client) error + func SetUsername(username string) func(*Client) error + type Client struct + func New(options ...OptionsFunc) (*Client, error) + func NewInCluster() (*Client, error) + func (c *Client) CreateConfigMap(namespace string, item *k8s.ConfigMap) (*k8s.ConfigMap, error) + func (c *Client) CreateDaemonSet(namespace string, item *k8s.DaemonSet) (*k8s.DaemonSet, error) + func (c *Client) CreateDeployment(namespace string, item *k8s.Deployment) (*k8s.Deployment, error) + func (c *Client) CreateEndpoints(namespace string, item *k8s.Endpoints) (*k8s.Endpoints, error) + func (c *Client) CreateHorizontalPodAutoscaler(namespace string, item *k8s.HorizontalPodAutoscaler) (*k8s.HorizontalPodAutoscaler, error) + func (c *Client) CreateIngress(namespace string, item *k8s.Ingress) (*k8s.Ingress, error) + func (c *Client) CreateJob(namespace string, item *k8s.Job) (*k8s.Job, error) + func (c *Client) CreateNamespace(item *k8s.Namespace) (*k8s.Namespace, error) + func (c *Client) CreateNode(item *k8s.Node) (*k8s.Node, error) + func (c *Client) CreatePod(namespace string, item *k8s.Pod) (*k8s.Pod, error) + func (c *Client) CreateReplicaSet(namespace string, item *k8s.ReplicaSet) (*k8s.ReplicaSet, error) + func (c *Client) CreateSecret(namespace string, item *k8s.Secret) (*k8s.Secret, error) + func (c *Client) CreateService(namespace string, item *k8s.Service) (*k8s.Service, error) + func (c *Client) CreateServiceAccount(namespace string, item *k8s.ServiceAccount) (*k8s.ServiceAccount, error) + func (c *Client) DeleteConfigMap(namespace, name string) error + func (c *Client) DeleteDaemonSet(namespace, name string) error + func (c *Client) DeleteDeployment(namespace, name string) error + func (c *Client) DeleteEndpoints(namespace, name string) error + func (c *Client) DeleteHorizontalPodAutoscaler(namespace, name string) error + func (c *Client) DeleteIngress(namespace, name string) error + func (c *Client) DeleteJob(namespace, name string) error + func (c *Client) DeleteNamespace(name string) error + func (c *Client) DeleteNode(name string) error + func (c *Client) DeletePod(namespace, name string) error + func (c *Client) DeleteReplicaSet(namespace, name string) error + func (c *Client) DeleteSecret(namespace, name string) error + func (c *Client) DeleteService(namespace, name string) error + func (c *Client) DeleteServiceAccount(namespace, name string) error + func (c *Client) GetConfigMap(namespace, name string) (*k8s.ConfigMap, error) + func (c *Client) GetDaemonSet(namespace, name string) (*k8s.DaemonSet, error) + func (c *Client) GetDeployment(namespace, name string) (*k8s.Deployment, error) + func (c *Client) GetEndpoints(namespace, name string) (*k8s.Endpoints, error) + func (c *Client) GetHorizontalPodAutoscaler(namespace, name string) (*k8s.HorizontalPodAutoscaler, error) + func (c *Client) GetIngress(namespace, name string) (*k8s.Ingress, error) + func (c *Client) GetJob(namespace, name string) (*k8s.Job, error) + func (c *Client) GetNamespace(name string) (*k8s.Namespace, error) + func (c *Client) GetNode(name string) (*k8s.Node, error) + func (c *Client) GetPod(namespace, name string) (*k8s.Pod, error) + func (c *Client) GetReplicaSet(namespace, name string) (*k8s.ReplicaSet, error) + func (c *Client) GetSecret(namespace, name string) (*k8s.Secret, error) + func (c *Client) GetService(namespace, name string) (*k8s.Service, error) + func (c *Client) GetServiceAccount(namespace, name string) (*k8s.ServiceAccount, error) + func (c *Client) ListConfigMaps(namespace string, opts *k8s.ListOptions) (*k8s.ConfigMapList, error) + func (c *Client) ListDaemonSets(namespace string, opts *k8s.ListOptions) (*k8s.DaemonSetList, error) + func (c *Client) ListDeployments(namespace string, opts *k8s.ListOptions) (*k8s.DeploymentList, error) + func (c *Client) ListEndpoints(namespace string, opts *k8s.ListOptions) (*k8s.EndpointsList, error) + func (c *Client) ListHorizontalPodAutoscalers(namespace string, opts *k8s.ListOptions) (*k8s.HorizontalPodAutoscalerList, error) + func (c *Client) ListIngresses(namespace string, opts *k8s.ListOptions) (*k8s.IngressList, error) + func (c *Client) ListJobs(namespace string, opts *k8s.ListOptions) (*k8s.JobList, error) + func (c *Client) ListNamespaces(opts *k8s.ListOptions) (*k8s.NamespaceList, error) + func (c *Client) ListNodes(opts *k8s.ListOptions) (*k8s.NodeList, error) + func (c *Client) ListPods(namespace string, opts *k8s.ListOptions) (*k8s.PodList, error) + func (c *Client) ListReplicaSets(namespace string, opts *k8s.ListOptions) (*k8s.ReplicaSetList, error) + func (c *Client) ListSecrets(namespace string, opts *k8s.ListOptions) (*k8s.SecretList, error) + func (c *Client) ListServiceAccounts(namespace string, opts *k8s.ListOptions) (*k8s.ServiceAccountList, error) + func (c *Client) ListServices(namespace string, opts *k8s.ListOptions) (*k8s.ServiceList, error) + func (c *Client) UpdateConfigMap(namespace string, item *k8s.ConfigMap) (*k8s.ConfigMap, error) + func (c *Client) UpdateDaemonSet(namespace string, item *k8s.DaemonSet) (*k8s.DaemonSet, error) + func (c *Client) UpdateDeployment(namespace string, item *k8s.Deployment) (*k8s.Deployment, error) + func (c *Client) UpdateEndpoints(namespace string, item *k8s.Endpoints) (*k8s.Endpoints, error) + func (c *Client) UpdateHorizontalPodAutoscaler(namespace string, item *k8s.HorizontalPodAutoscaler) (*k8s.HorizontalPodAutoscaler, error) + func (c *Client) UpdateIngress(namespace string, item *k8s.Ingress) (*k8s.Ingress, error) + func (c *Client) UpdateJob(namespace string, item *k8s.Job) (*k8s.Job, error) + func (c *Client) UpdateNamespace(item *k8s.Namespace) (*k8s.Namespace, error) + func (c *Client) UpdateNode(item *k8s.Node) (*k8s.Node, error) + func (c *Client) UpdatePod(namespace string, item *k8s.Pod) (*k8s.Pod, error) + func (c *Client) UpdateReplicaSet(namespace string, item *k8s.ReplicaSet) (*k8s.ReplicaSet, error) + func (c *Client) UpdateSecret(namespace string, item *k8s.Secret) (*k8s.Secret, error) + func (c *Client) UpdateService(namespace string, item *k8s.Service) (*k8s.Service, error) + func (c *Client) UpdateServiceAccount(namespace string, item *k8s.ServiceAccount) (*k8s.ServiceAccount, error) + func (c *Client) WatchConfigMaps(namespace string, opts *k8s.WatchOptions, events chan k8s.ConfigMapWatchEvent) error + func (c *Client) WatchDaemonSets(namespace string, opts *k8s.WatchOptions, events chan k8s.DaemonSetWatchEvent) error + func (c *Client) WatchDeployments(namespace string, opts *k8s.WatchOptions, events chan k8s.DeploymentWatchEvent) error + func (c *Client) WatchEndpoints(namespace string, opts *k8s.WatchOptions, events chan k8s.EndpointsWatchEvent) error + func (c *Client) WatchHorizontalPodAutoscalers(namespace string, opts *k8s.WatchOptions, ...) error + func (c *Client) WatchIngresses(namespace string, opts *k8s.WatchOptions, events chan k8s.IngressWatchEvent) error + func (c *Client) WatchJobs(namespace string, opts *k8s.WatchOptions, events chan k8s.JobWatchEvent) error + func (c *Client) WatchNamespaces(opts *k8s.WatchOptions, events chan k8s.NamespaceWatchEvent) error + func (c *Client) WatchNodes(opts *k8s.WatchOptions, events chan k8s.NodeWatchEvent) error + func (c *Client) WatchPods(namespace string, opts *k8s.WatchOptions, events chan k8s.PodWatchEvent) error + func (c *Client) WatchReplicaSets(namespace string, opts *k8s.WatchOptions, events chan k8s.ReplicaSetWatchEvent) error + func (c *Client) WatchSecrets(namespace string, opts *k8s.WatchOptions, events chan k8s.SecretWatchEvent) error + func (c *Client) WatchServiceAccounts(namespace string, opts *k8s.WatchOptions, ...) error + func (c *Client) WatchServices(namespace string, opts *k8s.WatchOptions, events chan k8s.ServiceWatchEvent) error + type OptionsFunc func(*Client) error