templates

package
v0.10.8 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: Apache-2.0 Imports: 9 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultDeployAnnotations

func DefaultDeployAnnotations() map[string]string

func DefaultRollingUpdateStrategy

func DefaultRollingUpdateStrategy() appsv1.DeploymentStrategy

func GetResourcesRequirementsOrDefault

func GetResourcesRequirementsOrDefault(requirements *apiv1.ResourceRequirements, defaults *apiv1.ResourceRequirements) apiv1.ResourceRequirements

func IstioProxyEnv

func IstioProxyEnv(config *v1beta1.Istio) []apiv1.EnvVar

func ObjectMeta

func ObjectMeta(name string, labels map[string]string, config runtime.Object) metav1.ObjectMeta

func ObjectMetaClusterScope

func ObjectMetaClusterScope(name string, labels map[string]string, config runtime.Object) metav1.ObjectMeta

func ObjectMetaClusterScopeWithRevision

func ObjectMetaClusterScopeWithRevision(name string, labels map[string]string, config *v1beta1.Istio) metav1.ObjectMeta

func ObjectMetaWithAnnotations

func ObjectMetaWithAnnotations(name string, labels map[string]string, annotations map[string]string, config runtime.Object) metav1.ObjectMeta

func ObjectMetaWithRevision

func ObjectMetaWithRevision(name string, labels map[string]string, config *v1beta1.Istio) metav1.ObjectMeta

func PrometheusScrapeAnnotations added in v0.10.4

func PrometheusScrapeAnnotations(port, path string) map[string]string

func TargetAvgCpuUtil80

func TargetAvgCpuUtil80() []autoscalev2beta2.MetricSpec

Types

This section is empty.

Jump to

Keyboard shortcuts

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