Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewValidator ¶
func NewValidator(log *logrus.Entry, azEnv *azureclient.AROEnvironment, subscriptionID string, authorizer refreshable.Authorizer, authorizerType AuthorizerType) (*dynamic, error)
Types ¶
type AuthorizerType ¶
type AuthorizerType string
const AuthorizerClusterServicePrincipal AuthorizerType = "cluster"
const AuthorizerFirstParty AuthorizerType = "resource provider"
type Dynamic ¶
type Dynamic interface { ValidateVnet(ctx context.Context, location string, subnets []Subnet, additionalCIDRs ...string) error ValidateSubnets(ctx context.Context, oc *api.OpenShiftCluster, subnets []Subnet) error ValidateProviders(ctx context.Context) error ValidateServicePrincipal(ctx context.Context, clientID, clientSecret, tenantID string) error ValidateQuota(ctx context.Context, oc *api.OpenShiftCluster) error }
Dynamic validate in the operator context.
Click to show internal directories.
Click to hide internal directories.