Documentation ¶
Index ¶
- Constants
- func Add(mgr manager.Manager) error
- type OperatorArgs
- type ReconcileVMImportConfig
- func (r *ReconcileVMImportConfig) Create() controllerutil.Object
- func (r *ReconcileVMImportConfig) GetAllResources(cr runtime.Object) ([]runtime.Object, error)
- func (r *ReconcileVMImportConfig) GetDependantResourcesListObjects() []runtime.Object
- func (r *ReconcileVMImportConfig) IsCreating(cr controllerutil.Object) (bool, error)
- func (r *ReconcileVMImportConfig) Reconcile(request reconcile.Request) (reconcile.Result, error)
- func (r *ReconcileVMImportConfig) SetController(controller controller.Controller)
- func (r *ReconcileVMImportConfig) Status(object runtime.Object) *sdkapi.Status
Constants ¶
View Source
const (
MonitoringNamespace = "MONITORING_NAMESPACE"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OperatorArgs ¶
type OperatorArgs struct { OperatorVersion string `required:"true" split_words:"true"` ControllerImage string `required:"true" split_words:"true"` Virtv2vImage string `required:"true" split_words:"true"` DeployClusterResources string `required:"true" split_words:"true"` PullPolicy string `required:"true" split_words:"true"` Namespace string MonitoringNamespace string InfraNodePlacement *sdkapi.NodePlacement }
OperatorArgs contains the required parameters to generate all namespaced resources
type ReconcileVMImportConfig ¶
type ReconcileVMImportConfig struct {
// contains filtered or unexported fields
}
ReconcileVMImportConfig reconciles a VMImportConfig object
func (*ReconcileVMImportConfig) Create ¶ added in v0.2.1
func (r *ReconcileVMImportConfig) Create() controllerutil.Object
Create creates empty CR
func (*ReconcileVMImportConfig) GetAllResources ¶ added in v0.2.1
GetAllResources provides all resources managed by the cr
func (*ReconcileVMImportConfig) GetDependantResourcesListObjects ¶ added in v0.2.1
func (r *ReconcileVMImportConfig) GetDependantResourcesListObjects() []runtime.Object
GetDependantResourcesListObjects returns resource list objects of dependant resources
func (*ReconcileVMImportConfig) IsCreating ¶ added in v0.2.1
func (r *ReconcileVMImportConfig) IsCreating(cr controllerutil.Object) (bool, error)
IsCreating checks whether creation of the managed resources will be executed
func (*ReconcileVMImportConfig) Reconcile ¶
Reconcile reads that state of the cluster for a VMImportConfig object and makes changes based on the state read and what is in the VMImportConfig.Spec
func (*ReconcileVMImportConfig) SetController ¶ added in v0.2.1
func (r *ReconcileVMImportConfig) SetController(controller controller.Controller)
SetController sets the controller dependency
Click to show internal directories.
Click to hide internal directories.