controllers

package
v0.0.0-...-4b0dad4 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServerID

func ServerID(trustDomain string) string

ServerID creates a server SPIFFE ID string given a trustDomain.

func ServerURI

func ServerURI(trustDomain string) *url.URL

ServerURI creates a server SPIFFE URI given a trustDomain.

Types

type ClusterSpiffeIDReconciler

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

ClusterSpiffeIDReconciler reconciles a ClusterSpiffeID object

func (*ClusterSpiffeIDReconciler) Reconcile

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

func (*ClusterSpiffeIDReconciler) SetupWithManager

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

type PodReconciler

type PodReconciler struct {
	client.Client
	Log         logr.Logger
	Scheme      *runtime.Scheme
	TrustDomain string
	Mode        PodReconcilerMode
	Value       string
}

PodReconciler reconciles a Pod object

func (*PodReconciler) Reconcile

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

func (*PodReconciler) SetupWithManager

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

type PodReconcilerMode

type PodReconcilerMode int32
const (
	PodReconcilerModeServiceAccount PodReconcilerMode = iota
	PodReconcilerModeLabel
	PodReconcilerModeAnnotation
)

type SpireEntryReconciler

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

	SpireClient registration.RegistrationClient
	TrustDomain string
	Cluster     string
	// contains filtered or unexported fields
}

SpireEntryReconciler reconciles a SpireEntry object

func (*SpireEntryReconciler) Reconcile

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

func (*SpireEntryReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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