Documentation ¶
Index ¶
- func DaemonSetsAreReady(log vzlog.VerrazzanoLogger, client client.Client, ...) bool
- func DeploymentsAreReady(log vzlog.VerrazzanoLogger, client clipkg.Client, ...) bool
- func DeploymentsReadyBySelectors(log vzlog.VerrazzanoLogger, client clipkg.Client, prefix string, ...) bool
- func DoDeploymentsExist(log vzlog.VerrazzanoLogger, client clipkg.Client, ...) bool
- func DoStatefulSetsExist(log vzlog.VerrazzanoLogger, client client.Client, ...) bool
- func DoesDeploymentExist(client clipkg.Client, namespacedName types.NamespacedName) (bool, error)
- func DoesStatefulsetExist(client client.Client, namespacedName types.NamespacedName) (bool, error)
- func EnsurePodsAreReady(log vzlog.VerrazzanoLogger, podsToCheck []corev1.Pod, expectedPods int32, ...) (int32, bool)
- func GetPodsList(log vzlog.VerrazzanoLogger, client clipkg.Client, ...) *corev1.PodList
- func PodsReadyDeployment(log vzlog.VerrazzanoLogger, client clipkg.Client, ...) bool
- func StatefulSetsAreReady(log vzlog.VerrazzanoLogger, client client.Client, ...) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DaemonSetsAreReady ¶
func DaemonSetsAreReady(log vzlog.VerrazzanoLogger, client client.Client, namespacedNames []types.NamespacedName, prefix string) bool
DaemonSetsAreReady Check that the named daemonsets have the minimum number of specified nodes ready and available
func DeploymentsAreReady ¶
func DeploymentsAreReady(log vzlog.VerrazzanoLogger, client clipkg.Client, namespacedNames []types.NamespacedName, prefix string) bool
DeploymentsAreReady check that the named deployments have the minimum number of specified replicas ready and available
func DeploymentsReadyBySelectors ¶
func DeploymentsReadyBySelectors(log vzlog.VerrazzanoLogger, client clipkg.Client, prefix string, opts ...clipkg.ListOption) bool
func DoDeploymentsExist ¶
func DoDeploymentsExist(log vzlog.VerrazzanoLogger, client clipkg.Client, namespacedNames []types.NamespacedName, _ int32, prefix string) bool
DoDeploymentsExist checks if all the named deployments exist
func DoStatefulSetsExist ¶
func DoStatefulSetsExist(log vzlog.VerrazzanoLogger, client client.Client, namespacedNames []types.NamespacedName, _ int32, prefix string) bool
DoStatefulSetsExist checks if all the named statefulsets exist
func DoesDeploymentExist ¶
DoesDeploymentsExist checks if the named deployment exists
func DoesStatefulsetExist ¶
DoesStatefulsetExist checks if the named statefulset exists
func EnsurePodsAreReady ¶
func EnsurePodsAreReady(log vzlog.VerrazzanoLogger, podsToCheck []corev1.Pod, expectedPods int32, prefix string) (int32, bool)
EnsurePodsAreReady makes sure pods using the latest workload revision are ready. A list of pods using the latest revision are passed to this function.
func GetPodsList ¶
func GetPodsList(log vzlog.VerrazzanoLogger, client clipkg.Client, namespacedName types.NamespacedName, selector *metav1.LabelSelector) *corev1.PodList
GetPodsList retrieves a list of pods for a given namespace and labels selector
func PodsReadyDeployment ¶
func PodsReadyDeployment(log vzlog.VerrazzanoLogger, client clipkg.Client, namespacedName types.NamespacedName, selector *metav1.LabelSelector, expectedReplicas int32, prefix string) bool
PodsReadyDeployment checks for an expected number of pods to be using the latest replicaset revision and are running and ready
func StatefulSetsAreReady ¶
func StatefulSetsAreReady(log vzlog.VerrazzanoLogger, client client.Client, namespacedNames []types.NamespacedName, prefix string) bool
StatefulSetsAreReady Check that the named statefulsets have the minimum number of specified replicas ready and available
Types ¶
This section is empty.