Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateWithRetries ¶
func CreateOrUpdateWithRetries( ctx context.Context, c client.Client, obj client.Object, f controllerutil.MutateFn) (controllerutil.OperationResult, error)
CreateOrUpdateWithRetries creates or updates the given object in the Kubernetes with retries
Types ¶
type Cluster ¶
type Cluster struct { Name string `json:"name"` Server string `json:"server"` Config ClusterConfig `json:"clusterConfig"` HostedCluster *hypershiftv1beta1.HostedCluster }
type ClusterConfig ¶
type ClusterConfig struct { BearerToken string `json:"bearerToken"` TLSClientConfig TLSClientConfig `json:"tlsClientConfig"` }
type HyperOpsReconciler ¶
ConfigReconciler reconciles a Config object
func (*HyperOpsReconciler) Reconcile ¶
+kubebuilder:rbac:groups=hypershift.openshift.io,resources=hostedclusters,verbs=get;list;watch +kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups="",resources=serviceaccounts,verbs=get;list;watch;create;update;patch;delete
func (*HyperOpsReconciler) SetupWithManager ¶
func (r *HyperOpsReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TLSClientConfig ¶
type TLSClientConfig struct {
CAData string `json:"caData"`
}
Click to show internal directories.
Click to hide internal directories.