Documentation
¶
Index ¶
- func ApplyTerraform(ctx context.Context, terraformDir string) error
- func GetClusterStatus(kopsCluster *kopsapi.Cluster, cloud fi.Cloud) (*kopsapi.ClusterStatus, error)
- func PopulateClusterSpec(kopsCluster *kopsapi.Cluster, kopsClientset simple.Clientset, cloud fi.Cloud) (*kopsapi.Cluster, error)
- func PrepareCloudResources(kopsClientset simple.Clientset, ctx context.Context, ...) (string, error)
- type KopsControlPlaneReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterStatus ¶
Types ¶
type KopsControlPlaneReconciler ¶
type KopsControlPlaneReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder BuildCloudFactory func(*kopsapi.Cluster) (fi.Cloud, error) PopulateClusterSpecFactory func(kopsCluster *kopsapi.Cluster, kopsClientset simple.Clientset, cloud fi.Cloud) (*kopsapi.Cluster, error) PrepareCloudResourcesFactory func(kopsClientset simple.Clientset, ctx context.Context, kopsCluster *kopsapi.Cluster, configBase string, cloud fi.Cloud) (string, error) ApplyTerraformFactory func(ctx context.Context, terraformDir string) error ValidateKopsClusterFactory func(kopsClientset simple.Clientset, kopsCluster *kopsapi.Cluster, igs *kopsapi.InstanceGroupList) (*validation.ValidationCluster, error) GetClusterStatusFactory func(kopsCluster *kopsapi.Cluster, cloud fi.Cloud) (*kopsapi.ClusterStatus, error) // contains filtered or unexported fields }
KopsControlPlaneReconciler reconciles a KopsControlPlane object
func (*KopsControlPlaneReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.