controllers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NATZ_OPERATOR_FINALIZER = "natz.zeiss.com/natz-operator"
	OPERATOR_SEED_KEY       = "seed.nk"
	OPERATOR_PUBLIC_KEY     = "key.pub"
	OPERATOR_JWT            = "key.jwt"
	OPERATOR_CREDS          = "user.creds"
	OPERATOR_CONFIG_FILE    = "auth.conf"
	AUTH_CONFIG_TEMPLATE    = `` /* 153-byte string literal not displayed */

)
View Source
const ACCOUNT_TEMPLATE = `` /* 129-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type NatsAccountReconciler

type NatsAccountReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

NatsAccountReconciler ...

func NewNatsAccountReconciler

func NewNatsAccountReconciler(mgr ctrl.Manager) *NatsAccountReconciler

NewNatsAccountReconciler ...

func (*NatsAccountReconciler) Reconcile

func (r *NatsAccountReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile ... nolint:gocyclo

func (*NatsAccountReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type NatsAccountServer added in v0.0.3

type NatsAccountServer struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

NatsAccountServer takes NatsAccount and serves them to a nats server (cluster)

func NewNatsAccountServer added in v0.0.3

func NewNatsAccountServer(mgr ctrl.Manager, nc *nats.Conn) *NatsAccountServer

NewNatsAccountServer ...

func (*NatsAccountServer) GetJWT added in v0.0.6

func (r *NatsAccountServer) GetJWT(publicKey string) (string, bool)

GetJWT ...

func (*NatsAccountServer) Reconcile added in v0.0.3

func (r *NatsAccountServer) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile ...

func (*NatsAccountServer) SetupWithManager added in v0.0.3

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

SetupWithManager sets up the controller with the Manager.

type NatsOperatorReconciler

type NatsOperatorReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

NatsOperatorReconciler ...

func NewNatsOperatorReconciler

func NewNatsOperatorReconciler(mgr ctrl.Manager) *NatsOperatorReconciler

NewNatsOperatorReconciler ...

func (*NatsOperatorReconciler) Reconcile

func (r *NatsOperatorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile ... nolint:gocyclo

func (*NatsOperatorReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type NatsUserReconciler

type NatsUserReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

NatsUserReconciler reconciles a NatsUser object

func NewNatsUserReconciler

func NewNatsUserReconciler(mgr ctrl.Manager) *NatsUserReconciler

NewNatsUserReconciler ...

func (*NatsUserReconciler) Reconcile

func (r *NatsUserReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile ... nolint:gocyclo

func (*NatsUserReconciler) SetupWithManager

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