Documentation
¶
Index ¶
- Constants
- Variables
- func Add(mgr manager.Manager) error
- type Catalog
- type ProviderPredicate
- type Reconciler
- func (r Reconciler) DeleteHyperVProviderServer(ctx context.Context, provider *api.Provider) (err error)
- func (r Reconciler) DeleteOVAProviderServer(ctx context.Context, provider *api.Provider) (err error)
- func (r Reconciler) EnsureHyperVProviderServer(ctx context.Context, provider *api.Provider) (err error)
- func (r Reconciler) EnsureOVAProviderServer(ctx context.Context, provider *api.Provider) (err error)
- func (r Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (result reconcile.Result, err error)
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 ¶
Types ¶
type ProviderPredicate ¶
type ProviderPredicate struct {
predicate.TypedFuncs[*api.Provider]
}
func (ProviderPredicate) Create ¶
func (r ProviderPredicate) Create(e event.TypedCreateEvent[*api.Provider]) bool
func (ProviderPredicate) Delete ¶
func (r ProviderPredicate) Delete(e event.TypedDeleteEvent[*api.Provider]) bool
func (ProviderPredicate) Update ¶
func (r ProviderPredicate) Update(e event.TypedUpdateEvent[*api.Provider]) bool
type Reconciler ¶
type Reconciler struct {
base.Reconciler
// contains filtered or unexported fields
}
Reconciles an provider object.
func (Reconciler) DeleteHyperVProviderServer ¶
func (Reconciler) DeleteOVAProviderServer ¶
func (Reconciler) EnsureHyperVProviderServer ¶
func (Reconciler) EnsureOVAProviderServer ¶
Source Files
¶
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: |
|
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: |
|
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: |
|
ovfbase
Package ovfbase provides web handlers for OVA providers.
|
Package ovfbase provides web handlers for OVA providers. |
Click to show internal directories.
Click to hide internal directories.