provider

package
v0.0.0-...-dbbfab9 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 52 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name.
	Name               = "provider"
	OvaTimeout         = 10 * time.Minute
	OvaReconcilerRetry = 5 * time.Second
)
View Source
const (
	UrlNotValid             = "UrlNotValid"
	TypeNotSupported        = "ProviderTypeNotSupported"
	SecretNotValid          = "SecretNotValid"
	SettingsNotValid        = "SettingsNotValid"
	Validated               = "Validated"
	ConnectionAuthFailed    = "ConnectionAuthFailed"
	ConnectionTestSucceeded = "ConnectionTestSucceeded"
	ConnectionTestFailed    = "ConnectionTestFailed"
	InventoryCreated        = "InventoryCreated"
	LoadInventory           = "LoadInventory"
	InventoryError          = "InventoryError"
	ConnectionInsecure      = "ConnectionInsecure"
	SSHReady                = "SSHReady"
	SSHNotReady             = "SSHNotReady"
	SMBCSIDriverNotReady    = "SMBCSIDriverNotReady"
	SMBMountFailed          = "SMBMountFailed"
	WaitingForService       = "WaitingForService"
)

Types

View Source
const (
	Required = libcnd.Required
	Advisory = libcnd.Advisory
	Critical = libcnd.Critical
	Error    = libcnd.Error
	Warn     = libcnd.Warn
)

Categories

View Source
const (
	NotSet              = "NotSet"
	NotFound            = "NotFound"
	NotSupported        = "NotSupported"
	DataErr             = "DataErr"
	Malformed           = "Malformed"
	Completed           = "Completed"
	Tested              = "Tested"
	Started             = "Started"
	SkipTLSVerification = "SkipTLSVerification"
)

Reasons

View Source
const (
	ValidationFailed = "ValidationFailed"
	ConnectionFailed = "ConnectionFailed"
	Ready            = "Ready"
	Staging          = "Staging"
)

Phases

View Source
const (
	ReasonContainerCreating       = "ContainerCreating"
	ReasonErrImagePull            = "ErrImagePull"
	ReasonImagePullBackOff        = "ImagePullBackOff"
	ReasonInvalidImageName        = "InvalidImageName"
	ReasonCrashLoopBackOff        = "CrashLoopBackOff"
	ReasonCreateContainerCfgError = "CreateContainerConfigError"
	ReasonCreateContainerError    = "CreateContainerError"
)
View Source
const (
	True  = libcnd.True
	False = libcnd.False
)

Statuses

View Source
const (
	SMBCSIDriverName = "smb.csi.k8s.io"
)

CSI driver names

Variables

View Source
var Settings = &settings.Settings

Application settings.

Functions

func Add

func Add(mgr manager.Manager) error

Creates a new Inventory Controller and adds it to the Manager.

Types

type Catalog

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

Provider catalog.

type ProviderPredicate

type ProviderPredicate struct {
	predicate.TypedFuncs[*api.Provider]
}

func (ProviderPredicate) Create

func (ProviderPredicate) Delete

func (ProviderPredicate) Update

type Reconciler

type Reconciler struct {
	base.Reconciler
	// contains filtered or unexported fields
}

Reconciles an provider object.

func (Reconciler) DeleteHyperVProviderServer

func (r Reconciler) DeleteHyperVProviderServer(ctx context.Context, provider *api.Provider) (err error)

func (Reconciler) DeleteOVAProviderServer

func (r Reconciler) DeleteOVAProviderServer(ctx context.Context, provider *api.Provider) (err error)

func (Reconciler) EnsureHyperVProviderServer

func (r Reconciler) EnsureHyperVProviderServer(ctx context.Context, provider *api.Provider) (err error)

func (Reconciler) EnsureOVAProviderServer

func (r Reconciler) EnsureOVAProviderServer(ctx context.Context, provider *api.Provider) (err error)

func (Reconciler) Reconcile

func (r Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (result reconcile.Result, err error)

Reconcile a Inventory CR. Note: Must not a pointer receiver to ensure that the logger and other state is not shared.

Directories

Path Synopsis
hyperv
The approach for providing VM policy-based integration has the following design constraints:
The approach for providing VM policy-based integration has the following design constraints:
ocp
openstack
The approach for providing VM policy-based integration has the following design constraints:
The approach for providing VM policy-based integration has the following design constraints:
ova
ovfbase
Package ovfbase provides collector logic for OVA providers.
Package ovfbase provides collector logic for OVA providers.
ovirt
The approach for providing VM policy-based integration has the following design constraints:
The approach for providing VM policy-based integration has the following design constraints:
vsphere
The approach for providing VM policy-based integration has the following design constraints:
The approach for providing VM policy-based integration has the following design constraints:
ocp
ovf
web
aap
ocp
ova
ovfbase
Package ovfbase provides web handlers for OVA providers.
Package ovfbase provides web handlers for OVA providers.

Jump to

Keyboard shortcuts

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