17 lines
567 B
Go
17 lines
567 B
Go
|
|
package provider
|
||
|
|
|
||
|
|
import (
|
||
|
|
"context"
|
||
|
|
|
||
|
|
"vanderlande.com/ittp/appstack/rig-operator/api/v1alpha1"
|
||
|
|
)
|
||
|
|
|
||
|
|
type Strategy interface {
|
||
|
|
// GenerateNodePools generates the provider-specific node pool list.
|
||
|
|
// [CHANGED] Return type is now interface{} to support both Structs and Maps
|
||
|
|
GenerateNodePools(ctx context.Context, cbp *v1alpha1.ClusterBlueprint) (interface{}, error)
|
||
|
|
|
||
|
|
// GetGlobalOverrides returns the provider-specific helm values.
|
||
|
|
GetGlobalOverrides(ctx context.Context, cbp *v1alpha1.ClusterBlueprint, credentialSecret string) (map[string]interface{}, error)
|
||
|
|
}
|