Documentation ¶
Index ¶
- Constants
- func AppNameCannotBeEmptyError() error
- func ApplicationNameNotLowercaseError(appName string) error
- func CPUResourceRequirementFormatError(value string) error
- func CanRadixApplicationBeInserted(client radixclient.Interface, app *radixv1.RadixApplication) (bool, error)
- func CanRadixApplicationBeInsertedErrors(client radixclient.Interface, app *radixv1.RadixApplication) (bool, []error)
- func CanRadixDeploymentBeInserted(client radixclient.Interface, deploy *radixv1.RadixDeployment) (bool, error)
- func CanRadixRegistrationBeInserted(client radixclient.Interface, radixRegistration *v1.RadixRegistration) (bool, error)
- func CanRadixRegistrationBeUpdated(client radixclient.Interface, radixRegistration *v1.RadixRegistration) (bool, error)
- func ComponentForDNSAppAliasNotDefinedError(component string) error
- func ComponentForDNSExternalAliasIsNotMarkedAsPublicError(component string) error
- func ComponentForDNSExternalAliasNotDefinedError(component string) error
- func ComponentNameReservedSuffixError(componentName, componentType, suffix string) error
- func ComponentWithDynamicTagRequiresTagInEnvironmentConfig(componentName string) error
- func ComponentWithDynamicTagRequiresTagInEnvironmentConfigForEnvironment(componentName, environment string) error
- func ComponentWithTagInEnvironmentConfigForEnvironmentRequiresDynamicTag(componentName, environment string) error
- func DuplicateComponentOrJobNameError(duplicates []string) error
- func DuplicateExternalAliasError() error
- func EnvForDNSAppAliasNotDefinedError(env string) error
- func EnvForDNSExternalAliasNotDefinedError(env string) error
- func EnvironmentReferencedByComponentDoesNotExistError(environment, component string) error
- func ExternalAliasCannotBeEmptyError() error
- func GitTagsContainIllegalChars(gitTags string) error
- func InvalidAppNameLengthError(value string) error
- func InvalidBranchNameError(branch string) error
- func InvalidConfigBranchName(configBranch string) error
- func InvalidEgressPortProtocolError(protocol string, validProtocols []string) error
- func InvalidEmailError(resourceName, email string) error
- func InvalidLowerCaseAlphaNumericDotDashResourceNameError(resourceName, value string) error
- func InvalidNumberOfReplicaError(replica int) error
- func InvalidPortNameLengthError(value string) error
- func InvalidPortNumberError(value int32) error
- func InvalidResourceError(name string) error
- func InvalidResourceNameError(resourceName, value string) error
- func InvalidStringValueMaxLengthError(resourceName, value string, maxValue int) error
- func InvalidStringValueMinLengthError(resourceName, value string, minValue int) error
- func InvalidVerificationType(verification string) error
- func IsApplicationNameLowercase(appName string) (bool, error)
- func MaxReplicasForHPANotSetOrZeroError(component, environment string) error
- func MemoryResourceRequirementFormatError(value string) error
- func MinReplicasGreaterThanMaxReplicasError(component, environment string) error
- func MissingPrivateImageHubEmailError(server string) error
- func MissingPrivateImageHubUsernameError(server string) error
- func MonitoringPortNameIsNotFoundComponentError(portName, component string) error
- func MultipleMatchingPortNamesError(matchingPortName int, publicPortName, component string) error
- func NoRegistrationExistsForApplicationError(appName string) error
- func NotValidCidrError(s string) error
- func NotValidIPv4CidrError(ipMask string) error
- func OAuthClientIdEmptyError(componentName, environmentName string) error
- func OAuthCookieEmptyError(componentName, environmentName string) error
- func OAuthCookieExpireInvalidError(componentName, environmentName, actualExpire string) error
- func OAuthCookieNameEmptyError(componentName, environmentName string) error
- func OAuthCookieRefreshInvalidError(componentName, environmentName, actualRefresh string) error
- func OAuthCookieRefreshMustBeLessThanExpireError(componentName, environmentName string) error
- func OAuthCookieSameSiteInvalidError(componentName, environmentName string, ...) error
- func OAuthCookieStoreMinimalIncorrectCookieRefreshIntervalError(componentName, environmentName string) error
- func OAuthCookieStoreMinimalIncorrectSetAuthorizationHeaderError(componentName, environmentName string) error
- func OAuthCookieStoreMinimalIncorrectSetXAuthRequestHeadersError(componentName, environmentName string) error
- func OAuthLoginUrlEmptyError(componentName, environmentName string) error
- func OAuthOidcEmptyError(componentName, environmentName string) error
- func OAuthOidcJwksUrlEmptyError(componentName, environmentName string) error
- func OAuthOidcSkipDiscoveryEmptyError(componentName, environmentName string) error
- func OAuthProxyPrefixEmptyError(componentName, environmentName string) error
- func OAuthProxyPrefixIsRootError(componentName, environmentName string) error
- func OAuthRedeemUrlEmptyError(componentName, environmentName string) error
- func OAuthRedisStoreConnectionURLEmptyError(componentName, environmentName string) error
- func OAuthRedisStoreEmptyError(componentName, environmentName string) error
- func OAuthSessionStoreTypeInvalidError(componentName, environmentName string, ...) error
- func PayloadPathCannotBeEmptyForJobError(jobName string) error
- func PortNameIsRequiredForPublicComponentError(publicPortName, component string) error
- func PortSpecificationCannotBeEmptyForComponentError(component string) error
- func PublicImageComponentCannotHaveSourceOrDockerfileSet(componentName string) error
- func RAContainsOldPublic(app *radixv1.RadixApplication) bool
- func ResourceNameCannotBeEmptyError(resourceName string) error
- func ResourceRequestOverLimitError(resource string, require string, limit string) error
- func SchedulerPortCannotBeEmptyForJobError(jobName string) error
- func SecretNameConflictsWithEnvironmentVariable(componentName, secretName string) error
Constants ¶
const (
// MaxReplica Max number of replicas a deployment is allowed to have
MaxReplica = 64
)
Variables ¶
This section is empty.
Functions ¶
func AppNameCannotBeEmptyError ¶
func AppNameCannotBeEmptyError() error
AppNameCannotBeEmptyError App name cannot be empty
func ApplicationNameNotLowercaseError ¶ added in v1.5.16
ApplicationNameNotLowercaseError Indicates that application name contains upper case letters
func CPUResourceRequirementFormatError ¶
CPUResourceRequirementFormatError Invalid CPU resource requirement
func CanRadixApplicationBeInserted ¶
func CanRadixApplicationBeInserted(client radixclient.Interface, app *radixv1.RadixApplication) (bool, error)
CanRadixApplicationBeInserted Checks if application config is valid. Returns a single error, if this is the case
func CanRadixApplicationBeInsertedErrors ¶
func CanRadixApplicationBeInsertedErrors(client radixclient.Interface, app *radixv1.RadixApplication) (bool, []error)
CanRadixApplicationBeInsertedErrors Checks if application config is valid. Returns list of errors, if present
func CanRadixDeploymentBeInserted ¶
func CanRadixDeploymentBeInserted(client radixclient.Interface, deploy *radixv1.RadixDeployment) (bool, error)
CanRadixDeploymentBeInserted Checks if RD is valid
func CanRadixRegistrationBeInserted ¶
func CanRadixRegistrationBeInserted(client radixclient.Interface, radixRegistration *v1.RadixRegistration) (bool, error)
CanRadixRegistrationBeInserted Validates RR
func CanRadixRegistrationBeUpdated ¶
func CanRadixRegistrationBeUpdated(client radixclient.Interface, radixRegistration *v1.RadixRegistration) (bool, error)
CanRadixRegistrationBeUpdated Validates update of RR
func ComponentForDNSAppAliasNotDefinedError ¶
ComponentForDNSAppAliasNotDefinedError Error when env not defined
func ComponentForDNSExternalAliasIsNotMarkedAsPublicError ¶
ComponentForDNSExternalAliasIsNotMarkedAsPublicError Component is not marked as public
func ComponentForDNSExternalAliasNotDefinedError ¶
ComponentForDNSExternalAliasNotDefinedError Error when env not defined
func ComponentNameReservedSuffixError ¶ added in v1.18.0
ComponentWithDynamicTagRequiresTagInEnvironmentConfig Error if image is set with dynamic tag and tag is missing
func ComponentWithDynamicTagRequiresTagInEnvironmentConfig ¶ added in v1.4.1
ComponentWithDynamicTagRequiresTagInEnvironmentConfig Error if image is set with dynamic tag and tag is missing
func ComponentWithDynamicTagRequiresTagInEnvironmentConfigForEnvironment ¶ added in v1.4.1
func ComponentWithDynamicTagRequiresTagInEnvironmentConfigForEnvironment(componentName, environment string) error
ComponentWithDynamicTagRequiresTagInEnvironmentConfigForEnvironment Error if image is set with dynamic tag and tag is missing
func ComponentWithTagInEnvironmentConfigForEnvironmentRequiresDynamicTag ¶ added in v1.4.1
func ComponentWithTagInEnvironmentConfigForEnvironmentRequiresDynamicTag(componentName, environment string) error
ComponentWithTagInEnvironmentConfigForEnvironmentRequiresDynamicTag If tag is set then the dynamic tag needs to be set on the image
func DuplicateComponentOrJobNameError ¶ added in v1.18.0
func DuplicateExternalAliasError ¶
func DuplicateExternalAliasError() error
DuplicateExternalAliasError Cannot have duplicate external alias
func EnvForDNSAppAliasNotDefinedError ¶
EnvForDNSAppAliasNotDefinedError Error when env not defined
func EnvForDNSExternalAliasNotDefinedError ¶
EnvForDNSExternalAliasNotDefinedError Error when env not defined
func EnvironmentReferencedByComponentDoesNotExistError ¶
EnvironmentReferencedByComponentDoesNotExistError Environment does not exists
func ExternalAliasCannotBeEmptyError ¶
func ExternalAliasCannotBeEmptyError() error
ExternalAliasCannotBeEmptyError Structure cannot be left empty
func GitTagsContainIllegalChars ¶ added in v1.24.2
GitTagsContainIllegalChars Git tags contain illegal characters
func InvalidAppNameLengthError ¶
InvalidAppNameLengthError Invalid app length
func InvalidBranchNameError ¶
InvalidBranchNameError Indicates that branch name is invalid
func InvalidConfigBranchName ¶ added in v1.6.1
func InvalidEgressPortProtocolError ¶ added in v1.19.0
func InvalidEmailError ¶ added in v1.3.2
InvalidEmailError Invalid email
func InvalidLowerCaseAlphaNumericDotDashResourceNameError ¶ added in v1.7.10
InvalidLowerCaseAlphaNumericDotDashResourceNameError Invalid lower case alpha-numeric, dot, dash resource name error
func InvalidNumberOfReplicaError ¶
InvalidNumberOfReplicaError Invalid number of replica
func InvalidPortNameLengthError ¶
InvalidPortNameLengthError Invalid resource length
func InvalidPortNumberError ¶ added in v1.16.11
InvalidPortNumberError Invalid port number
func InvalidResourceError ¶
InvalidResourceError Invalid resource type
func InvalidResourceNameError ¶
InvalidResourceNameError Invalid resource name
func InvalidStringValueMaxLengthError ¶ added in v1.5.26
InvalidStringValueMaxLengthError Invalid string value max length
func InvalidStringValueMinLengthError ¶ added in v1.5.26
InvalidStringValueMinLengthError Invalid string value min length
func InvalidVerificationType ¶ added in v1.11.4
func IsApplicationNameLowercase ¶ added in v1.5.16
IsApplicationNameLowercase checks if the application name has any uppercase letters
func MaxReplicasForHPANotSetOrZeroError ¶ added in v1.0.3
MaxReplicasForHPANotSetOrZeroError Indicates that minReplicas of horizontalScaling is not set or set to 0
func MemoryResourceRequirementFormatError ¶
MemoryResourceRequirementFormatError Invalid memory resource requirement error
func MinReplicasGreaterThanMaxReplicasError ¶ added in v1.0.3
MinReplicasGreaterThanMaxReplicasError Indicates that minReplicas is greater than maxReplicas
func MissingPrivateImageHubEmailError ¶ added in v1.0.3
MissingPrivateImageHubEmailError Error when email for private image hubs is not defined
func MissingPrivateImageHubUsernameError ¶ added in v1.0.3
MissingPrivateImageHubUsernameError Error when username for private image hubs is not defined
func MonitoringPortNameIsNotFoundComponentError ¶ added in v1.19.11
MonitoringPortNameIsNotFoundComponentError Monitoring port name not found on component
func MultipleMatchingPortNamesError ¶
MultipleMatchingPortNamesError Multiple matching port names
func NoRegistrationExistsForApplicationError ¶
NoRegistrationExistsForApplicationError No registration exists
func NotValidCidrError ¶ added in v1.19.0
func NotValidIPv4CidrError ¶ added in v1.19.0
func OAuthClientIdEmptyError ¶ added in v1.18.2
func OAuthCookieEmptyError ¶ added in v1.18.2
func OAuthCookieExpireInvalidError ¶ added in v1.18.2
func OAuthCookieNameEmptyError ¶ added in v1.18.2
func OAuthCookieRefreshInvalidError ¶ added in v1.18.2
func OAuthCookieRefreshMustBeLessThanExpireError ¶ added in v1.18.2
func OAuthCookieSameSiteInvalidError ¶ added in v1.18.2
func OAuthCookieSameSiteInvalidError(componentName, environmentName string, actualSameSite radixv1.CookieSameSiteType) error
func OAuthCookieStoreMinimalIncorrectCookieRefreshIntervalError ¶ added in v1.18.2
func OAuthCookieStoreMinimalIncorrectSetAuthorizationHeaderError ¶ added in v1.18.2
func OAuthCookieStoreMinimalIncorrectSetXAuthRequestHeadersError ¶ added in v1.18.2
func OAuthLoginUrlEmptyError ¶ added in v1.18.2
func OAuthOidcEmptyError ¶ added in v1.18.2
func OAuthOidcJwksUrlEmptyError ¶ added in v1.18.2
func OAuthOidcSkipDiscoveryEmptyError ¶ added in v1.18.2
func OAuthProxyPrefixEmptyError ¶ added in v1.18.2
func OAuthProxyPrefixIsRootError ¶ added in v1.18.0
func OAuthRedeemUrlEmptyError ¶ added in v1.18.2
func OAuthRedisStoreConnectionURLEmptyError ¶ added in v1.18.2
func OAuthRedisStoreEmptyError ¶ added in v1.18.2
func OAuthSessionStoreTypeInvalidError ¶ added in v1.18.2
func OAuthSessionStoreTypeInvalidError(componentName, environmentName string, actualSessionStoreType radixv1.SessionStoreType) error
func PayloadPathCannotBeEmptyForJobError ¶ added in v1.8.1
PayloadPathCannotBeEmptyForJobError Payload path cannot be empty for job
func PortNameIsRequiredForPublicComponentError ¶
PortNameIsRequiredForPublicComponentError Port name cannot be empty
func PortSpecificationCannotBeEmptyForComponentError ¶
PortSpecificationCannotBeEmptyForComponentError Port cannot be empty for component
func PublicImageComponentCannotHaveSourceOrDockerfileSet ¶
PublicImageComponentCannotHaveSourceOrDockerfileSet Error if image is set and radix config contains src or dockerfile
func RAContainsOldPublic ¶
func RAContainsOldPublic(app *radixv1.RadixApplication) bool
RAContainsOldPublic Checks to see if the radix config is using the deprecated config for public port
func ResourceNameCannotBeEmptyError ¶
ResourceNameCannotBeEmptyError Resource name cannot be left empty
func ResourceRequestOverLimitError ¶ added in v1.5.11
ResourceRequestOverLimitError Invalid resource requirement error
func SchedulerPortCannotBeEmptyForJobError ¶ added in v1.8.1
SchedulerPortCannotBeEmptyForJobError Scheduler port cannot be empty for job
func SecretNameConflictsWithEnvironmentVariable ¶ added in v1.8.1
SecretNameConflictsWithEnvironmentVariable If secret name is the same as environment variable fail validation
Types ¶
This section is empty.