Documentation ¶
Index ¶
- func DefaultAnnotations(version string) map[string]string
- func DefaultContainerPort(name string, containerPort int, protocol apiv1.Protocol) apiv1.ContainerPort
- func DefaultLivenessProbe(path string, port, initialDelaySeconds, timeoutSeconds int) *apiv1.Probe
- func DefaultReadinessProbe(path string, port, initialDelaySeconds, timeoutSeconds int) *apiv1.Probe
- func DefaultRollingUpdateStrategy() appsv1.DeploymentStrategy
- func DefaultServicePort(name string, port, targetPort int) apiv1.ServicePort
- func GetResourcesRequirementsOrDefault(requirements *apiv1.ResourceRequirements, defaults *apiv1.ResourceRequirements) apiv1.ResourceRequirements
- 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 ObjectMetaNamespace(name, namespace 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 ObjectMetaWithRevision(name string, labels map[string]string, config *v1alpha1.Pinot) metav1.ObjectMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAnnotations ¶
DefaultAnnotations are the default annotations for deployments
func DefaultContainerPort ¶
func DefaultContainerPort(name string, containerPort int, protocol apiv1.Protocol) apiv1.ContainerPort
DefaultContainerPort returns the default values for the containerPort
func DefaultLivenessProbe ¶
DefaultLivenessProbe returns the default liveness probe values
func DefaultReadinessProbe ¶
DefaultReadinessProbe returns the default readiness probe values
func DefaultRollingUpdateStrategy ¶
func DefaultRollingUpdateStrategy() appsv1.DeploymentStrategy
DefaultRollingUpdateStrategy defines the default rolling update strategy
func DefaultServicePort ¶
func DefaultServicePort(name string, port, targetPort int) apiv1.ServicePort
DefaultServicePort returns the default values for the servicePort
func GetResourcesRequirementsOrDefault ¶
func GetResourcesRequirementsOrDefault(requirements *apiv1.ResourceRequirements, defaults *apiv1.ResourceRequirements) apiv1.ResourceRequirements
GetResourcesRequirementsOrDefault sets the new resources constraints or use the defaults
func ObjectMeta ¶
ObjectMeta .
func ObjectMetaClusterScope ¶
func ObjectMetaClusterScope(name string, labels map[string]string, config runtime.Object) metav1.ObjectMeta
ObjectMetaClusterScope .
func ObjectMetaNamespace ¶
func ObjectMetaNamespace(name, namespace string, labels map[string]string, config runtime.Object) metav1.ObjectMeta
ObjectMetaNamespace .
func ObjectMetaWithAnnotations ¶
func ObjectMetaWithAnnotations(name string, labels map[string]string, annotations map[string]string, config runtime.Object) metav1.ObjectMeta
ObjectMetaWithAnnotations .
func ObjectMetaWithRevision ¶ added in v0.0.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.