meets

package
v0.0.0-...-e76145d Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllRequirements

func AllRequirements(f ...func() (bool, string)) (bool, string)

AllRequirements accepts multiple requirement functions to ensure the environment meets all requirements.

func HubConnectedRequirement

func HubConnectedRequirement() (bool, string)

HubConnectedRequirement checks that the hub is connected.

func HubDisconnectedRequirement

func HubDisconnectedRequirement() (bool, string)

HubDisconnectedRequirement checks that the hub is disconnected.

func HubDualStackRequirement

func HubDualStackRequirement() (bool, string)

HubDualStackRequirement checks that the hub has dual-stack networking.

func HubInfrastructureOperandRunningRequirement

func HubInfrastructureOperandRunningRequirement() (bool, string)

HubInfrastructureOperandRunningRequirement ensures that both the assisted-service and assisted-image-service pods are running on the hub cluster.

func HubOCPVersionRequirement

func HubOCPVersionRequirement(requiredVersion string) (bool, string)

HubOCPVersionRequirement checks that hub ocp version meets the version provided.

func HubProxyConfiguredRequirement

func HubProxyConfiguredRequirement() (bool, string)

HubProxyConfiguredRequirement checks that the cluster proxy is configured on the hub.

func HubSingleStackIPv4Requirement

func HubSingleStackIPv4Requirement() (bool, string)

HubSingleStackIPv4Requirement checks that the hub has IPv4 single-stack networking.

func HubSingleStackIPv6Requirement

func HubSingleStackIPv6Requirement() (bool, string)

HubSingleStackIPv6Requirement checks that the hub has IPv6 single-stack networking.

func SpokeAPIClientReadyRequirement

func SpokeAPIClientReadyRequirement() (bool, string)

SpokeAPIClientReadyRequirement checks that the spoke APIClient has been properly initialized.

func SpokeClusterImageSetVersionRequirement

func SpokeClusterImageSetVersionRequirement(requiredVersion string) (bool, string)

SpokeClusterImageSetVersionRequirement checks that the provided clusterimageset meets the version provided.

func SpokeConnectedRequirement

func SpokeConnectedRequirement() (bool, string)

SpokeConnectedRequirement checks that the spoke is connected.

func SpokeDisconnectedRequirement

func SpokeDisconnectedRequirement() (bool, string)

SpokeDisconnectedRequirement checks that the spoke is disconnected.

func SpokeDualStackRequirement

func SpokeDualStackRequirement() (bool, string)

SpokeDualStackRequirement checks that the spoke has dual-stack networking.

func SpokeOCPVersionRequirement

func SpokeOCPVersionRequirement(requiredVersion string) (bool, string)

SpokeOCPVersionRequirement checks that spoke ocp version meets the version provided.

func SpokeProxyConfiguredRequirement

func SpokeProxyConfiguredRequirement() (bool, string)

SpokeProxyConfiguredRequirement checks that the cluster proxy is configured on the spoke.

func SpokeSingleStackIPv4Requirement

func SpokeSingleStackIPv4Requirement() (bool, string)

SpokeSingleStackIPv4Requirement checks that the spoke has IPv4 single-stack networking.

func SpokeSingleStackIPv6Requirement

func SpokeSingleStackIPv6Requirement() (bool, string)

SpokeSingleStackIPv6Requirement checks that the spoke has IPv6 single-stack networking.

Types

This section is empty.

Jump to

Keyboard shortcuts

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