manager

package
v1.1.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupTask

type BackupTask v1.BackupTaskStatus

func (*BackupTask) FromManager

func (b *BackupTask) FromManager(t *mermaidclient.ExtendedTask) error

func (BackupTask) ToManager

func (b BackupTask) ToManager() (*mermaidclient.Task, error)

type Reconciler

type Reconciler struct {
	client.Client
	UncachedClient client.Client
	ManagerClient  *mermaidclient.Client

	IgnoredNamespace string

	Scheme *runtime.Scheme
	Logger log.Logger
}

Reconciler reconciles a Cluster object

func New

func New(ctx context.Context, mgr mgr.Manager, ignoredNamespace string, logger log.Logger) (*Reconciler, error)

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

type RepairTask

type RepairTask v1.RepairTaskStatus

func (*RepairTask) FromManager

func (r *RepairTask) FromManager(t *mermaidclient.ExtendedTask) error

func (RepairTask) ToManager

func (r RepairTask) ToManager() (*mermaidclient.Task, error)

Jump to

Keyboard shortcuts

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