os

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package os handles OS image rule reconciliation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageRulesService

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

ImageRulesService is a service for reconciling OS image rules

func NewImageRulesService

func NewImageRulesService(log logr.Logger, api api.BootResources) *ImageRulesService

NewImageRulesService returns a ImageRulesService

func (*ImageRulesService) ReconcileMaasInstanceImageRule

func (s *ImageRulesService) ReconcileMaasInstanceImageRule(rule v1alpha1.ImageRule) (*types.ValidationRuleResult, error)

ReconcileMaasInstanceImageRule reconciles a MAAS instance image rule from the MaasValidator config

Jump to

Keyboard shortcuts

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