Versions in this module Expand all Collapse all v0 v0.3.0 Jan 19, 2021 Changes in this version + func ComponentAffinity(ns string, labels map[string]string) *corev1.Affinity + func ComponentEnv(ctx *ClusterContext) []corev1.EnvVar + func ComponentTolerations() []corev1.Toleration + func DefaultDeployAnnotations() map[string]string + func DefaultRollingUpdateStrategy() appsv1.DeploymentStrategy + func FillClusterContext(ctx *ClusterContext, multiMgr *clustermanager.ClusterManager) error + func ObjectMeta(name string, labels map[string]string, config runtime.Object) metav1.ObjectMeta + func ObjectMetaClusterScope(name string, labels map[string]string, config runtime.Object) metav1.ObjectMeta + func ObjectMetaWithAnnotations(name string, labels map[string]string, annotations map[string]string, ...) metav1.ObjectMeta + func TargetAvgCpuUtil80() []autoscalev2beta1.MetricSpec + type ClusterContext struct + Cluster *devopsv1.Cluster + Credential *devopsv1.ClusterCredential + Ctx context.Context + Key types.NamespacedName + func (c *ClusterContext) Clientset() (kubernetes.Interface, error) + func (c *ClusterContext) ClientsetForBootstrap() (kubernetes.Interface, error) + func (c *ClusterContext) Host() (string, error) + func (c *ClusterContext) HostForBootstrap() (string, error) + func (c *ClusterContext) IPs() []string + func (c *ClusterContext) RESTConfig(config *rest.Config) (*rest.Config, error) + func (c *ClusterContext) RESTConfigForBootstrap(config *rest.Config) (*rest.Config, error)