Documentation ¶
Index ¶
- func AllRequirements(f ...func() (bool, string)) (bool, string)
- func HubConnectedRequirement() (bool, string)
- func HubDisconnectedRequirement() (bool, string)
- func HubDualStackRequirement() (bool, string)
- func HubInfrastructureOperandRunningRequirement() (bool, string)
- func HubOCPVersionRequirement(requiredVersion string) (bool, string)
- func HubProxyConfiguredRequirement() (bool, string)
- func HubSingleStackIPv4Requirement() (bool, string)
- func HubSingleStackIPv6Requirement() (bool, string)
- func SpokeAPIClientReadyRequirement() (bool, string)
- func SpokeClusterImageSetVersionRequirement(requiredVersion string) (bool, string)
- func SpokeConnectedRequirement() (bool, string)
- func SpokeDisconnectedRequirement() (bool, string)
- func SpokeDualStackRequirement() (bool, string)
- func SpokeOCPVersionRequirement(requiredVersion string) (bool, string)
- func SpokeProxyConfiguredRequirement() (bool, string)
- func SpokeSingleStackIPv4Requirement() (bool, string)
- func SpokeSingleStackIPv6Requirement() (bool, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllRequirements ¶
AllRequirements accepts multiple requirement functions to ensure the environment meets all requirements.
func HubConnectedRequirement ¶
HubConnectedRequirement checks that the hub is connected.
func HubDisconnectedRequirement ¶
HubDisconnectedRequirement checks that the hub is disconnected.
func HubDualStackRequirement ¶
HubDualStackRequirement checks that the hub has dual-stack networking.
func HubInfrastructureOperandRunningRequirement ¶
HubInfrastructureOperandRunningRequirement ensures that both the assisted-service and assisted-image-service pods are running on the hub cluster.
func HubOCPVersionRequirement ¶
HubOCPVersionRequirement checks that hub ocp version meets the version provided.
func HubProxyConfiguredRequirement ¶
HubProxyConfiguredRequirement checks that the cluster proxy is configured on the hub.
func HubSingleStackIPv4Requirement ¶
HubSingleStackIPv4Requirement checks that the hub has IPv4 single-stack networking.
func HubSingleStackIPv6Requirement ¶
HubSingleStackIPv6Requirement checks that the hub has IPv6 single-stack networking.
func SpokeAPIClientReadyRequirement ¶
SpokeAPIClientReadyRequirement checks that the spoke APIClient has been properly initialized.
func SpokeClusterImageSetVersionRequirement ¶
SpokeClusterImageSetVersionRequirement checks that the provided clusterimageset meets the version provided.
func SpokeConnectedRequirement ¶
SpokeConnectedRequirement checks that the spoke is connected.
func SpokeDisconnectedRequirement ¶
SpokeDisconnectedRequirement checks that the spoke is disconnected.
func SpokeDualStackRequirement ¶
SpokeDualStackRequirement checks that the spoke has dual-stack networking.
func SpokeOCPVersionRequirement ¶
SpokeOCPVersionRequirement checks that spoke ocp version meets the version provided.
func SpokeProxyConfiguredRequirement ¶
SpokeProxyConfiguredRequirement checks that the cluster proxy is configured on the spoke.
func SpokeSingleStackIPv4Requirement ¶
SpokeSingleStackIPv4Requirement checks that the spoke has IPv4 single-stack networking.
func SpokeSingleStackIPv6Requirement ¶
SpokeSingleStackIPv6Requirement checks that the spoke has IPv6 single-stack networking.
Types ¶
This section is empty.