controllers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartRepoReconciler

type ChartRepoReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme

	// we only want to watch one namespace ,this is the easy way...
	Namespace string

	// store latest commit for every vcs repo to compare. Use sycn map to avoid concurrent op(just in case)
	CommitMap sync.Map
}

ChartRepoReconciler reconciles a ChartRepo object

func (*ChartRepoReconciler) GetIndex added in v0.9.5

DownloadIndexFile fetches the index from a repository.

func (*ChartRepoReconciler) GetSecretData added in v1.0.0

func (r *ChartRepoReconciler) GetSecretData(cr *v1beta1.ChartRepo, ctx context.Context) (map[string][]byte, error)

GetSecretData get secret auth data for chartrepo/git/svn...

func (*ChartRepoReconciler) Reconcile

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

func (*ChartRepoReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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