accessrequest

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KindRole        = "Role"
	KindClusterRole = "ClusterRole"

	KindRoleBinding        = "RoleBinding"
	KindClusterRoleBinding = "ClusterRoleBinding"
)
View Source
const ControllerName = "AccessRequest"
View Source
const RenewTokenAfterValidityPercentagePassed = 0.8

Variables

View Source
var DefaultRequestedTokenValidityDuration = 30 * 24 * time.Hour // 30 days
View Source
var FakeClientMappingsForTesting = map[string]client.Client{}

This map is meant for testing purposes only. When the AdminKubeconfigRequest sent to the garden cluster returns a kubeconfig, it tries to find the raw bytes as a key in this map. If found, the corresponding client will be used instead of constructing one from the bytes.

Functions

This section is empty.

Types

type AccessRequestReconciler

type AccessRequestReconciler struct {
	*shared.RuntimeConfiguration
	// contains filtered or unexported fields
}

func NewAccessRequestReconciler

func NewAccessRequestReconciler(rc *shared.RuntimeConfiguration, eventRecorder record.EventRecorder) *AccessRequestReconciler

func (*AccessRequestReconciler) Reconcile

func (*AccessRequestReconciler) SetupWithManager

func (r *AccessRequestReconciler) 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