istiorevisiontag

package
v0.0.0-...-a37a6d3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNameAlreadyExistsError

func IsNameAlreadyExistsError(err error) bool

func IsReferenceNotFoundError

func IsReferenceNotFoundError(err error) bool

Types

type NameAlreadyExistsError

type NameAlreadyExistsError struct {
	Message string
	// contains filtered or unexported fields
}

func NewNameAlreadyExistsError

func NewNameAlreadyExistsError(message string, originalError error) NameAlreadyExistsError

func (NameAlreadyExistsError) Error

func (err NameAlreadyExistsError) Error() string

func (NameAlreadyExistsError) Unwrap

func (err NameAlreadyExistsError) Unwrap() error

type Reconciler

type Reconciler struct {
	client.Client
	Scheme       *runtime.Scheme
	Config       config.ReconcilerConfig
	ChartManager *helm.ChartManager
}

Reconciler reconciles an IstioRevisionTag object

func NewReconciler

func NewReconciler(reconcilerCfg config.ReconcilerConfig, client client.Client, scheme *runtime.Scheme, chartManager *helm.ChartManager) *Reconciler

func (*Reconciler) Finalize

func (r *Reconciler) Finalize(ctx context.Context, tag *v1alpha1.IstioRevisionTag) error

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, tag *v1alpha1.IstioRevisionTag) (ctrl.Result, error)

+kubebuilder:rbac:groups=sailoperator.io,resources=istiorevisiontags,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=sailoperator.io,resources=istiorevisiontags/status,verbs=get;update;patch +kubebuilder:rbac:groups=sailoperator.io,resources=istiorevisiontags/finalizers,verbs=update +kubebuilder:rbac:groups="admissionregistration.k8s.io",resources=mutatingwebhookconfigurations,verbs="*" Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile

func (*Reconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ReferenceNotFoundError

type ReferenceNotFoundError struct {
	Message string
	// contains filtered or unexported fields
}

func NewReferenceNotFoundError

func NewReferenceNotFoundError(message string, originalError error) ReferenceNotFoundError

func (ReferenceNotFoundError) Error

func (err ReferenceNotFoundError) Error() string

func (ReferenceNotFoundError) Unwrap

func (err ReferenceNotFoundError) Unwrap() error

Jump to

Keyboard shortcuts

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