controllers

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 28 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessTokenMapper

type AccessTokenMapper struct {
	Name                    string   `json:"name"`
	Token                   string   `json:"token"`
	ServiceProviderUrl      string   `json:"serviceProviderUrl"`
	ServiceProviderUserName string   `json:"serviceProviderUserName"`
	ServiceProviderUserId   string   `json:"serviceProviderUserId"`
	UserId                  string   `json:"userId"`
	ExpiredAfter            *uint64  `json:"expiredAfter"`
	Scopes                  []string `json:"scopes"`
}

AccessTokenMapper is a helper to convert token (together with its metadata) into maps suitable for storing in secrets according to the secret type.

type ReconcileError

type ReconcileError struct {
	// contains filtered or unexported fields
}

ReconcileError is just a common error type for reconciliation errors that contains a cause and can be unwrapped so that a full stacktrace is produced in the logs.

func NewReconcileError

func NewReconcileError(err error, format string, args ...interface{}) *ReconcileError

func (*ReconcileError) Error

func (e *ReconcileError) Error() string

func (*ReconcileError) Unwrap

func (e *ReconcileError) Unwrap() error

type SPIAccessCheckReconciler added in v0.5.1

type SPIAccessCheckReconciler struct {
	client.Client
	Scheme                 *runtime.Scheme
	ServiceProviderFactory serviceprovider.Factory
	Configuration          config.Configuration
}

SPIAccessCheckReconciler reconciles a SPIAccessCheck object

func (*SPIAccessCheckReconciler) Reconcile added in v0.5.1

func (*SPIAccessCheckReconciler) SetupWithManager added in v0.5.1

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

SetupWithManager sets up the controller with the Manager.

type SPIAccessTokenBindingReconciler

type SPIAccessTokenBindingReconciler struct {
	client.Client
	Scheme       *runtime.Scheme
	TokenStorage tokenstorage.TokenStorage

	ServiceProviderFactory serviceprovider.Factory
	// contains filtered or unexported fields
}

SPIAccessTokenBindingReconciler reconciles a SPIAccessTokenBinding object

func (*SPIAccessTokenBindingReconciler) Reconcile

func (*SPIAccessTokenBindingReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type SPIAccessTokenDataUpdateReconciler added in v0.3.0

type SPIAccessTokenDataUpdateReconciler struct {
	client.Client
}

SPIAccessTokenDataUpdateReconciler reconciles a SPIAccessTokenDataUpdate object

func (*SPIAccessTokenDataUpdateReconciler) Reconcile added in v0.3.0

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*SPIAccessTokenDataUpdateReconciler) SetupWithManager added in v0.3.0

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

SetupWithManager sets up the controller with the Manager.

type SPIAccessTokenReconciler

type SPIAccessTokenReconciler struct {
	client.Client
	Scheme                 *runtime.Scheme
	TokenStorage           tokenstorage.TokenStorage
	Configuration          config.Configuration
	ServiceProviderFactory serviceprovider.Factory
	// contains filtered or unexported fields
}

SPIAccessTokenReconciler reconciles a SPIAccessToken object

func (*SPIAccessTokenReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*SPIAccessTokenReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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