ClusterProvider defines the interface that all cluster providers must implement
| 21 | |
| 22 | // ClusterProvider defines the interface that all cluster providers must implement |
| 23 | type ClusterProvider interface { |
| 24 | // CreateCluster creates a Kubernetes cluster and returns provider info |
| 25 | CreateCluster(ctx *pulumi.Context, environment string) (*ProviderInfo, error) |
| 26 | |
| 27 | // CreateBackupStorage creates backup storage infrastructure |
| 28 | CreateBackupStorage(ctx *pulumi.Context, cluster *ProviderInfo, environment string) (*BackupStorageInfo, error) |
| 29 | } |