Documentation ¶
Index ¶
- func ApplyTerraform(ctx context.Context, workingDir, terraformExecPath string) error
- func BuildCloud(kopscluster *kopsapi.Cluster) (_ fi.Cloud, rerr error)
- func CreateAdditionalTerraformFiles(tfFiles ...Template) error
- func CreateTerraformFilesFromTemplate(terraformTemplateFilePath string, TerraformOutputFileName string, ...) error
- func EvaluateKopsValidationResult(validation *validation.ValidationCluster) (bool, []string)
- func GetBucketName(configBase string) (string, error)
- func GetKopsClientset(configBase string) (simple.Clientset, error)
- func GetKubeconfigFromKopsState(kopsCluster *kopsapi.Cluster, kopsClientset simple.Clientset) (*rest.Config, error)
- func KopsClusterValidation(object runtime.Object, recorder record.EventRecorder, log logr.Logger, ...) (bool, error)
- func ParseSpotinstFeatureflags(kopsControlPlane *controlplanev1alpha1.KopsControlPlane) error
- func ReconcileKopsSecrets(ctx context.Context, k8sClient client.Client, secretStore fi.SecretStore, ...) error
- func ValidateKopsCluster(kopsClientset simple.Clientset, kopsCluster *kopsapi.Cluster, ...) (*validation.ValidationCluster, error)
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyTerraform ¶
ApplyTerraform just applies the already created terraform files
func CreateAdditionalTerraformFiles ¶
CreateAdditionalTerraformFiles create files in the terraform state directory from a template
func CreateTerraformFilesFromTemplate ¶
func CreateTerraformFilesFromTemplate(terraformTemplateFilePath string, TerraformOutputFileName string, terraformOutputDir string, templateData any) error
CreateTerraformFileFromTemplate populates a Terraform template and create files in the state
func EvaluateKopsValidationResult ¶
func EvaluateKopsValidationResult(validation *validation.ValidationCluster) (bool, []string)
func GetBucketName ¶
func KopsClusterValidation ¶
func KopsClusterValidation(object runtime.Object, recorder record.EventRecorder, log logr.Logger, validation *validation.ValidationCluster) (bool, error)
func ParseSpotinstFeatureflags ¶
func ParseSpotinstFeatureflags(kopsControlPlane *controlplanev1alpha1.KopsControlPlane) error
func ReconcileKopsSecrets ¶
func ValidateKopsCluster ¶
func ValidateKopsCluster(kopsClientset simple.Clientset, kopsCluster *kopsapi.Cluster, igs *kopsapi.InstanceGroupList) (*validation.ValidationCluster, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.