helmrepo

package
v0.0.310 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// min sync period in seconds
	MinSyncPeriod = 180

	MinRetryDuration     = 60
	MaxRetryDuration     = 600
	HelmRepoSyncStateLen = 10

	StateSuccess = "successful"
	StateFailed  = "failed"
	MessageLen   = 512
)
View Source
const (
	HelmRepoFinalizer = "helmrepo.application.kubesphere.io"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new Workspace Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileHelmRepo

type ReconcileHelmRepo struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileWorkspace reconciles a Workspace object

func (*ReconcileHelmRepo) Reconcile

func (r *ReconcileHelmRepo) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a helmrepoes object and makes changes based on the state read and what is in the helmreleases.Spec +kubebuilder:rbac:groups=application.kubesphere.io,resources=helmrepos,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=application.kubesphere.io,resources=helmrepos/status,verbs=get;update;patch

Jump to

Keyboard shortcuts

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