memberstatus

package
v0.0.0-...-3ec7d15 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MemberStatusName = "toolchain-member-status"
)

Variables

This section is empty.

Functions

func CreateOrUpdateResources

func CreateOrUpdateResources(ctx context.Context, client client.Client, namespace, memberStatusName string) error

CreateOrUpdateResources creates a memberstatus resource with the given name in the given namespace

Types

type Reconciler

type Reconciler struct {
	Client              client.Client
	Scheme              *runtime.Scheme
	GetHostCluster      func() (*cluster.CachedToolchainCluster, bool)
	AllNamespacesClient client.Client
	VersionCheckManager status.VersionCheckManager
}

Reconciler reconciles a MemberStatus object

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile reads the state of toolchain member cluster components and updates the MemberStatus resource with information useful for observation or troubleshooting

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr manager.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