client

package
v3.11.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2018 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(namespace string, appVersionName string) (*Client, error)

func (*Client) CRDReady

func (*Client) ConfigMapListWatch

func (c *Client) ConfigMapListWatch() *cache.ListWatch

ConfigMapListWatch returns a new ListWatch on the ConfigMap resource.

func (*Client) CreateDaemonSet

func (c *Client) CreateDaemonSet(ds *appsv1.DaemonSet) error

func (*Client) CreateDeployment

func (c *Client) CreateDeployment(dep *appsv1.Deployment) error

func (*Client) CreateIfNotExistConfigMap added in v0.1.0

func (c *Client) CreateIfNotExistConfigMap(cm *v1.ConfigMap) error

func (*Client) CreateIfNotExistSecret

func (c *Client) CreateIfNotExistSecret(s *v1.Secret) error

func (*Client) CreateOrUpdateAlertmanager

func (c *Client) CreateOrUpdateAlertmanager(a *monv1.Alertmanager) error

func (*Client) CreateOrUpdateClusterRole

func (c *Client) CreateOrUpdateClusterRole(cr *rbacv1beta1.ClusterRole) error

func (*Client) CreateOrUpdateClusterRoleBinding

func (c *Client) CreateOrUpdateClusterRoleBinding(crb *rbacv1beta1.ClusterRoleBinding) error

func (*Client) CreateOrUpdateConfigMap

func (c *Client) CreateOrUpdateConfigMap(cm *v1.ConfigMap) error

func (*Client) CreateOrUpdateConfigMapList added in v0.1.0

func (c *Client) CreateOrUpdateConfigMapList(cml *v1.ConfigMapList) error

func (*Client) CreateOrUpdateDaemonSet

func (c *Client) CreateOrUpdateDaemonSet(ds *appsv1.DaemonSet) error

func (*Client) CreateOrUpdateDeployment

func (c *Client) CreateOrUpdateDeployment(dep *appsv1.Deployment) error

func (*Client) CreateOrUpdateEndpoints added in v0.1.0

func (c *Client) CreateOrUpdateEndpoints(endpoints *v1.Endpoints) error

func (*Client) CreateOrUpdateIngress

func (c *Client) CreateOrUpdateIngress(ing *v1betaextensions.Ingress) error

func (*Client) CreateOrUpdatePrometheus

func (c *Client) CreateOrUpdatePrometheus(p *monv1.Prometheus) error

func (*Client) CreateOrUpdatePrometheusRule added in v0.1.0

func (c *Client) CreateOrUpdatePrometheusRule(p *monv1.PrometheusRule) error

func (*Client) CreateOrUpdateRole

func (c *Client) CreateOrUpdateRole(r *rbacv1beta1.Role) error

func (*Client) CreateOrUpdateRoleBinding

func (c *Client) CreateOrUpdateRoleBinding(rb *rbacv1beta1.RoleBinding) error

func (*Client) CreateOrUpdateSecret

func (c *Client) CreateOrUpdateSecret(s *v1.Secret) error

func (*Client) CreateOrUpdateSecurityContextConstraints

func (c *Client) CreateOrUpdateSecurityContextConstraints(s *secv1.SecurityContextConstraints) error

func (*Client) CreateOrUpdateService

func (c *Client) CreateOrUpdateService(svc *v1.Service) error

func (*Client) CreateOrUpdateServiceAccount

func (c *Client) CreateOrUpdateServiceAccount(sa *v1.ServiceAccount) error

func (*Client) CreateOrUpdateServiceMonitor

func (c *Client) CreateOrUpdateServiceMonitor(sm *monv1.ServiceMonitor) error

func (*Client) CreateRouteIfNotExists

func (c *Client) CreateRouteIfNotExists(r *routev1.Route) error

func (*Client) DeleteDaemonSet

func (c *Client) DeleteDaemonSet(d *v1beta1.DaemonSet) error

func (*Client) DeleteDeployment

func (c *Client) DeleteDeployment(d *v1beta1.Deployment) error

func (*Client) DeletePrometheus

func (c *Client) DeletePrometheus(p *monv1.Prometheus) error

func (*Client) DeleteServiceMonitor

func (c *Client) DeleteServiceMonitor(namespace, name string) error

func (*Client) KubernetesInterface

func (c *Client) KubernetesInterface() kubernetes.Interface

func (*Client) Namespace added in v0.1.0

func (c *Client) Namespace() string

func (*Client) UpdateDaemonSet

func (c *Client) UpdateDaemonSet(ds *appsv1.DaemonSet) error

func (*Client) UpdateDeployment

func (c *Client) UpdateDeployment(dep *appsv1.Deployment) error

func (*Client) WaitForAlertmanager

func (c *Client) WaitForAlertmanager(a *monv1.Alertmanager) error

func (*Client) WaitForCRDReady

func (c *Client) WaitForCRDReady(crd *extensionsobj.CustomResourceDefinition) error

func (*Client) WaitForDaemonSetRollout

func (c *Client) WaitForDaemonSetRollout(ds *appsv1.DaemonSet) error

func (*Client) WaitForDeploymentRollout

func (c *Client) WaitForDeploymentRollout(dep *appsv1.Deployment) error

func (*Client) WaitForPrometheus

func (c *Client) WaitForPrometheus(p *monv1.Prometheus) error

func (*Client) WaitForPrometheusOperatorCRDsReady

func (c *Client) WaitForPrometheusOperatorCRDsReady() error

func (*Client) WaitForRouteReady

func (c *Client) WaitForRouteReady(r *routev1.Route) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL