validators

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

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