Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallResourceGroupCRD ¶
InstallResourceGroupCRD will install the ResourceGroup CRD into the cluster. The function will block until the CRD is either installed and established, or an error was encountered. If the CRD could not be installed, an error of the type ResourceGroupCRDInstallError will be returned.
func VerifyResourceGroupCRD ¶
VerifyResourceGroupCRD verifies that the ResourceGroupCRD exists in the cluster. If it doesn't an error of type NoResourceGroupCRDError was returned.
Types ¶
type NoResourceGroupCRDError ¶
type NoResourceGroupCRDError struct{}
NoResourceGroupCRDError is an error type that will be used when a cluster doesn't have the ResourceGroup CRD installed.
func (*NoResourceGroupCRDError) Error ¶
func (*NoResourceGroupCRDError) Error() string
type ResourceGroupCRDInstallError ¶
type ResourceGroupCRDInstallError struct {
Err error
}
ResourceGroupCRDInstallError is an error that will be returned if the ResourceGroup CRD can't be applied to the cluster.
func (*ResourceGroupCRDInstallError) Error ¶
func (*ResourceGroupCRDInstallError) Error() string
func (*ResourceGroupCRDInstallError) Unwrap ¶
func (i *ResourceGroupCRDInstallError) Unwrap() error
type ResourceGroupCRDNotLatestError ¶
type ResourceGroupCRDNotLatestError struct {
Err error
}
ResourceGroupCRDNotLatestError is an error type that will be used when a cluster has a ResourceGroup CRD that doesn't match the latest declaration.
func (*ResourceGroupCRDNotLatestError) Error ¶
func (e *ResourceGroupCRDNotLatestError) Error() string