Drop initial code
This commit is contained in:
16
deploy/rig-operator/internal/provider/interface.go
Normal file
16
deploy/rig-operator/internal/provider/interface.go
Normal file
@@ -0,0 +1,16 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user