controllers

package
v0.5.1-b0f0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClusterRole

func CreateClusterRole(name string, targetGroup []string, verbList []string) *rbacv1.ClusterRole

Types

type ClusterMemberInfo

type ClusterMemberInfo struct {
	Id          int64     `json:"Id"`
	Namespace   string    `json:"Namespace"`
	Cluster     string    `json:"Cluster"`
	MemberId    string    `json:"MemberId"`
	Groups      []string  `json:"Groups"`
	MemberName  string    `json:"MemberName"`
	Attribute   string    `json:"Attribute"`
	Role        string    `json:"Role"`
	Status      string    `json:"Status"`
	CreatedTime time.Time `json:"CreatedTime"`
	UpdatedTime time.Time `json:"UpdatedTime"`
}

Cluster member information

type SecretReconciler

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

ClusterReconciler reconciles a Memcached object

func (*SecretReconciler) DeployArgocdResources

func (r *SecretReconciler) DeployArgocdResources(ctx context.Context, secret *coreV1.Secret) (ctrl.Result, error)

func (*SecretReconciler) DeployRBACResources

func (r *SecretReconciler) DeployRBACResources(ctx context.Context, secret *coreV1.Secret) (ctrl.Result, error)

func (*SecretReconciler) Reconcile

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

func (*SecretReconciler) SetupWithManager

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

func (*SecretReconciler) UpdateClusterManagerControlPlaneEndpoint

func (r *SecretReconciler) UpdateClusterManagerControlPlaneEndpoint(ctx context.Context, secret *coreV1.Secret) (ctrl.Result, error)

Jump to

Keyboard shortcuts

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