plugin

package
v0.0.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusRequeueInterval = 2 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HelmReconciler

type HelmReconciler struct {
	client.Client
	KubeRuntimeOpts clientutil.RuntimeOptions
	// contains filtered or unexported fields
}

HelmReconciler reconciles a Plugin object.

func (*HelmReconciler) Reconcile

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

func (*HelmReconciler) SetupWithManager

func (r *HelmReconciler) SetupWithManager(name string, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type PayloadStatus

type PayloadStatus struct {
	Kind                string `json:"kind,omitempty"`
	Name                string `json:"name,omitempty"`
	Replicas            int32  `json:"replicas,omitempty" protobuf:"varint,2,opt,name=replicas"`
	UpdatedReplicas     int32  `json:"updatedReplicas,omitempty" protobuf:"varint,3,opt,name=updatedReplicas"`
	ReadyReplicas       int32  `json:"readyReplicas,omitempty" protobuf:"varint,7,opt,name=readyReplicas"`
	AvailableReplicas   int32  `json:"availableReplicas,omitempty" protobuf:"varint,4,opt,name=availableReplicas"`
	UnavailableReplicas int32  `json:"unavailableReplicas,omitempty" protobuf:"varint,5,opt,name=unavailableReplicas"`
	Ready               bool   `json:"ready,omitempty"`
	Message             string `json:"message,omitempty"`
}

type PluginPresetReconciler

type PluginPresetReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

PluginPresetReconciler reconciles a PluginPreset object

func (*PluginPresetReconciler) Reconcile

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

func (*PluginPresetReconciler) SetupWithManager

func (r *PluginPresetReconciler) SetupWithManager(name string, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ReleaseStatus

type ReleaseStatus struct {
	ReleaseName      string `json:"releaseName,omitempty" protobuf:"bytes,1,opt,name=releaseName"`
	ReleaseNamespace string `json:"releaseNamespace,omitempty" protobuf:"bytes,3,opt,name=namespace"`
	HelmStatus       string `json:"helmStatus,omitempty"`
	ClusterName      string `json:"clusterName,omitempty"`
	PayloadStatus    []PayloadStatus
}

type WorkLoadStatusReconciler

type WorkLoadStatusReconciler struct {
	client.Client

	KubeRuntimeOpts clientutil.RuntimeOptions
	// contains filtered or unexported fields
}

WorkLoadStatusReconciler reconciles a Plugin and cluster object.

func (*WorkLoadStatusReconciler) Reconcile

func (*WorkLoadStatusReconciler) SetupWithManager

func (r *WorkLoadStatusReconciler) SetupWithManager(name string, 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