Documentation ¶
Overview ¶
Package bastion_controller groups the functionalities related to the Bastion controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizedKeysEntry ¶
type AuthorizedKeysEntry struct {
Algo, Key, ID string
}
AuthorizedKeysEntry is a structure containing the three different fields of an entry of the .ssh/authorized_keys file.
func Create ¶
func Create(entry, id string) (AuthorizedKeysEntry, error)
Create converts a string and an id into an AuthorizedKeysEntry object.
func Decompose ¶
func Decompose(entry string) (AuthorizedKeysEntry, error)
Decompose converts a string into an AuthorizedKeysEntry object.
func (*AuthorizedKeysEntry) Compose ¶
func (e *AuthorizedKeysEntry) Compose() string
Compose an AuthorizedKeysEntry object into a string.
type BastionReconciler ¶
type BastionReconciler struct { client.Client Scheme *runtime.Scheme AuthorizedKeysPath string // This function, if configured, is deferred at the beginning of the Reconcile. // Specifically, it is meant to be set to GinkgoRecover during the tests, // in order to lead to a controlled failure in case the Reconcile panics. ReconcileDeferHook func() }
BastionReconciler reconciles a Bastion object.
func (*BastionReconciler) SetupWithManager ¶
func (r *BastionReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager registers a new controller for Tenant resources.
Click to show internal directories.
Click to hide internal directories.