azure

package
v0.0.26 Latest Latest
Warning

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

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

Documentation

Overview

Package azure 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

type CommunityGalleryImageRuleService struct {
	// contains filtered or unexported fields
}

CommunityGalleryImageRuleService reconciles community gallery image rules.

func NewCommunityGalleryImageRuleService

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

ReconcileCommunityGalleryImageRule reconciles a community gallery image rule.

type QuotaRuleService added in v0.0.21

type QuotaRuleService struct {
	// contains filtered or unexported fields
}

QuotaRuleService reconciles quota rules.

func NewQuotaRuleService added in v0.0.21

func NewQuotaRuleService(api quotasAndUsagesAPI) *QuotaRuleService

NewQuotaRuleService creates a new QuotaRuleService. Requires an Azure client facade that supports getting all quota limits and usages for a scope.

func (*QuotaRuleService) ReconcileQuotaRule added in v0.0.21

func (s *QuotaRuleService) ReconcileQuotaRule(rule v1alpha1.QuotaRule) (*vapitypes.ValidationRuleResult, error)

ReconcileQuotaRule reconciles a quota 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