failure

package
v0.0.0-...-3a7daba Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AzureInvalidTemplateDeployment = InstallFailingReason{
	Name:    "AzureInvalidTemplateDeployment",
	Reason:  "AzureInvalidTemplateDeployment",
	Message: "Deployment failed. Please see details for more information.",
	SearchRegexes: []*regexp.Regexp{
		regexp.MustCompile(`"code":\w?"InvalidTemplateDeployment"`),
	},
}
View Source
var AzureRequestDisallowedByPolicy = InstallFailingReason{
	Name:    "AzureRequestDisallowedByPolicy",
	Reason:  "AzureRequestDisallowedByPolicy",
	Message: "Deployment failed due to RequestDisallowedByPolicy. Please see details for more information.",
	SearchRegexes: []*regexp.Regexp{
		regexp.MustCompile(`"code":\w?"InvalidTemplateDeployment".*"code":\w?"RequestDisallowedByPolicy"`),
	},
}

Functions

func HandleProvisionFailed

func HandleProvisionFailed(ctx context.Context, cd *hivev1.ClusterDeployment, cond hivev1.ClusterDeploymentCondition, installLog *string) error

Types

type InstallFailingReason

type InstallFailingReason struct {
	Name          string
	Reason        string
	Message       string
	SearchRegexes []*regexp.Regexp
}

Jump to

Keyboard shortcuts

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