Documentation ¶
Overview ¶
Package validators contains services that reconcile the validation rules supported by the plugin.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommunityGalleryImageRuleService ¶ added in v0.0.12
type CommunityGalleryImageRuleService struct {
// contains filtered or unexported fields
}
CommunityGalleryImageRuleService reconciles community gallery image rules.
func NewCommunityGalleryImageRuleService ¶ added in v0.0.12
func NewCommunityGalleryImageRuleService(api communityGalleryImageAPI, log logr.Logger) *CommunityGalleryImageRuleService
NewCommunityGalleryImageRuleService creates a new CommunityGalleryImageRuleService. Requires an Azure client facade that supports getting all images for a gallery.
func (*CommunityGalleryImageRuleService) ReconcileCommunityGalleryImageRule ¶ added in v0.0.12
func (s *CommunityGalleryImageRuleService) ReconcileCommunityGalleryImageRule(rule v1alpha1.CommunityGalleryImageRule) (*vapitypes.ValidationRuleResult, error)
ReconcileCommunityGalleryImageRule reconciles a community gallery image rule.
type RBACRuleService ¶
type RBACRuleService struct {
// contains filtered or unexported fields
}
RBACRuleService reconciles RBAC rules.
func NewRBACRuleService ¶
func NewRBACRuleService(daAPI denyAssignmentAPI, raAPI roleAssignmentAPI, rdAPI roleDefinitionAPI) *RBACRuleService
NewRBACRuleService creates a new RBACRuleService. Requires Azure client facades that support getting deny assignments, role assignments, and role definitions.
func (*RBACRuleService) ReconcileRBACRule ¶
func (s *RBACRuleService) ReconcileRBACRule(rule v1alpha1.RBACRule) (*vapitypes.ValidationRuleResult, error)
ReconcileRBACRule reconciles an RBAC rule.