Documentation ¶
Index ¶
- type Client
- func (c *Client) CRDReady(crd *extensionsobj.CustomResourceDefinition) (bool, error)
- func (c *Client) ConfigMapListWatch() *cache.ListWatch
- func (c *Client) CreateDaemonSet(ds *appsv1.DaemonSet) error
- func (c *Client) CreateDeployment(dep *appsv1.Deployment) error
- func (c *Client) CreateIfNotExistConfigMap(cm *v1.ConfigMap) error
- func (c *Client) CreateIfNotExistSecret(s *v1.Secret) error
- func (c *Client) CreateOrUpdateAlertmanager(a *monv1.Alertmanager) error
- func (c *Client) CreateOrUpdateClusterRole(cr *rbacv1beta1.ClusterRole) error
- func (c *Client) CreateOrUpdateClusterRoleBinding(crb *rbacv1beta1.ClusterRoleBinding) error
- func (c *Client) CreateOrUpdateConfigMap(cm *v1.ConfigMap) error
- func (c *Client) CreateOrUpdateConfigMapList(cml *v1.ConfigMapList) error
- func (c *Client) CreateOrUpdateDaemonSet(ds *appsv1.DaemonSet) error
- func (c *Client) CreateOrUpdateDeployment(dep *appsv1.Deployment) error
- func (c *Client) CreateOrUpdateEndpoints(endpoints *v1.Endpoints) error
- func (c *Client) CreateOrUpdateIngress(ing *v1betaextensions.Ingress) error
- func (c *Client) CreateOrUpdatePrometheus(p *monv1.Prometheus) error
- func (c *Client) CreateOrUpdatePrometheusRule(p *monv1.PrometheusRule) error
- func (c *Client) CreateOrUpdateRole(r *rbacv1beta1.Role) error
- func (c *Client) CreateOrUpdateRoleBinding(rb *rbacv1beta1.RoleBinding) error
- func (c *Client) CreateOrUpdateSecret(s *v1.Secret) error
- func (c *Client) CreateOrUpdateSecurityContextConstraints(s *secv1.SecurityContextConstraints) error
- func (c *Client) CreateOrUpdateService(svc *v1.Service) error
- func (c *Client) CreateOrUpdateServiceAccount(sa *v1.ServiceAccount) error
- func (c *Client) CreateOrUpdateServiceMonitor(sm *monv1.ServiceMonitor) error
- func (c *Client) CreateRouteIfNotExists(r *routev1.Route) error
- func (c *Client) DeleteDaemonSet(d *v1beta1.DaemonSet) error
- func (c *Client) DeleteDeployment(d *v1beta1.Deployment) error
- func (c *Client) DeletePrometheus(p *monv1.Prometheus) error
- func (c *Client) DeleteServiceMonitor(namespace, name string) error
- func (c *Client) KubernetesInterface() kubernetes.Interface
- func (c *Client) Namespace() string
- func (c *Client) UpdateDaemonSet(ds *appsv1.DaemonSet) error
- func (c *Client) UpdateDeployment(dep *appsv1.Deployment) error
- func (c *Client) WaitForAlertmanager(a *monv1.Alertmanager) error
- func (c *Client) WaitForCRDReady(crd *extensionsobj.CustomResourceDefinition) error
- func (c *Client) WaitForDaemonSetRollout(ds *appsv1.DaemonSet) error
- func (c *Client) WaitForDeploymentRollout(dep *appsv1.Deployment) error
- func (c *Client) WaitForPrometheus(p *monv1.Prometheus) error
- func (c *Client) WaitForPrometheusOperatorCRDsReady() error
- func (c *Client) WaitForRouteReady(r *routev1.Route) (string, error)
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 (*Client) CRDReady ¶
func (c *Client) CRDReady(crd *extensionsobj.CustomResourceDefinition) (bool, error)
func (*Client) ConfigMapListWatch ¶
ConfigMapListWatch returns a new ListWatch on the ConfigMap resource.
func (*Client) CreateDeployment ¶
func (c *Client) CreateDeployment(dep *appsv1.Deployment) error
func (*Client) CreateIfNotExistConfigMap ¶ added in v0.1.0
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 (*Client) CreateOrUpdateConfigMapList ¶ added in v0.1.0
func (c *Client) CreateOrUpdateConfigMapList(cml *v1.ConfigMapList) error
func (*Client) CreateOrUpdateDaemonSet ¶
func (*Client) CreateOrUpdateDeployment ¶
func (c *Client) CreateOrUpdateDeployment(dep *appsv1.Deployment) error
func (*Client) CreateOrUpdateEndpoints ¶ added in v0.1.0
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) CreateOrUpdateSecurityContextConstraints ¶
func (c *Client) CreateOrUpdateSecurityContextConstraints(s *secv1.SecurityContextConstraints) error
func (*Client) CreateOrUpdateService ¶
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 (*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 (*Client) KubernetesInterface ¶
func (c *Client) KubernetesInterface() kubernetes.Interface
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 (*Client) WaitForDeploymentRollout ¶
func (c *Client) WaitForDeploymentRollout(dep *appsv1.Deployment) error
func (*Client) WaitForPrometheus ¶
func (c *Client) WaitForPrometheus(p *monv1.Prometheus) error
func (*Client) WaitForPrometheusOperatorCRDsReady ¶
Click to show internal directories.
Click to hide internal directories.