Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RxResourceGroupID = regexp.MustCompile(`(?i)^/subscriptions/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/resourceGroups/[-a-z0-9_().]{0,89}[-a-z0-9_()]$`) RxSubnetID = regexp.MustCompile(`(?i)^/subscriptions/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/resourceGroups/[-a-z0-9_().]{0,89}[-a-z0-9_()]/providers/Microsoft\.Network/virtualNetworks/[-a-z0-9_.]{2,64}/subnets/[-a-z0-9_.]{2,80}$`) RxDomainName = regexp.MustCompile(`^` + `([a-z0-9]|[a-z0-9][-a-z0-9]{0,61}[a-z0-9])` + `(\.([a-z0-9]|[a-z0-9][-a-z0-9]{0,61}[a-z0-9]))*` + `$`) RxOpenShiftVersion = regexp.MustCompile(`^4\.3\.(?:0|[1-9][0-9]{0,2})$`) )
Regular expressions used to validate the format of resource names and IDs acceptable by API.
Functions ¶
This section is empty.
Types ¶
type OpenShiftClusterDynamicValidator ¶
type OpenShiftClusterDynamicValidator interface {
Dynamic(context.Context, *api.OpenShiftCluster) error
}
func NewOpenShiftClusterDynamicValidator ¶
func NewOpenShiftClusterDynamicValidator(env env.Interface) OpenShiftClusterDynamicValidator
Click to show internal directories.
Click to hide internal directories.