Documentation ¶
Index ¶
- Variables
- func Build(owner metav1.Object, name string, container corev1.Container, ...) (*appsv1.StatefulSet, error)
- func Query(kubeClient client.Client, kubeReader client.Reader, log logd.Logger) query.Generic[*appsv1.StatefulSet, *appsv1.StatefulSetList]
- func SetAffinity(afinity corev1.Affinity) builder.Option[*appsv1.StatefulSet]
- func SetAllAnnotations(annotations, templateAnnotations map[string]string) builder.Option[*appsv1.StatefulSet]
- func SetAllLabels(labels, matchLabels, templateLabels, customLabels map[string]string) builder.Option[*appsv1.StatefulSet]
- func SetContainer(container corev1.Container) builder.Option[*appsv1.StatefulSet]
- func SetPodManagementPolicy(podManagementType appsv1.PodManagementPolicyType) builder.Option[*appsv1.StatefulSet]
- func SetReplicas(replicas int32) builder.Option[*appsv1.StatefulSet]
- func SetSecurityContext(securityContext *corev1.PodSecurityContext) builder.Option[*appsv1.StatefulSet]
- func SetServiceAccount(serviceAccountName string) builder.Option[*appsv1.StatefulSet]
- func SetTolerations(tolerations []corev1.Toleration) builder.Option[*appsv1.StatefulSet]
- func SetTopologySpreadConstraints(topologySpreadConstraints []corev1.TopologySpreadConstraint) builder.Option[*appsv1.StatefulSet]
- func SetUpdateStrategy(updateStartegy appsv1.StatefulSetUpdateStrategy) builder.Option[*appsv1.StatefulSet]
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Optional fields, provided in constructor as list of options SetLabels = builder.SetLabels[*appsv1.StatefulSet] )
Functions ¶
func SetAffinity ¶ added in v1.4.0
func SetAllAnnotations ¶ added in v1.4.0
func SetAllLabels ¶ added in v1.4.0
func SetContainer ¶
func SetPodManagementPolicy ¶ added in v1.4.0
func SetPodManagementPolicy(podManagementType appsv1.PodManagementPolicyType) builder.Option[*appsv1.StatefulSet]
func SetReplicas ¶ added in v1.4.0
func SetReplicas(replicas int32) builder.Option[*appsv1.StatefulSet]
func SetSecurityContext ¶ added in v1.4.0
func SetSecurityContext(securityContext *corev1.PodSecurityContext) builder.Option[*appsv1.StatefulSet]
func SetServiceAccount ¶ added in v1.4.0
func SetServiceAccount(serviceAccountName string) builder.Option[*appsv1.StatefulSet]
func SetTolerations ¶ added in v1.4.0
func SetTolerations(tolerations []corev1.Toleration) builder.Option[*appsv1.StatefulSet]
func SetTopologySpreadConstraints ¶ added in v1.4.0
func SetTopologySpreadConstraints(topologySpreadConstraints []corev1.TopologySpreadConstraint) builder.Option[*appsv1.StatefulSet]
func SetUpdateStrategy ¶ added in v1.4.0
func SetUpdateStrategy(updateStartegy appsv1.StatefulSetUpdateStrategy) builder.Option[*appsv1.StatefulSet]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.