mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-05 15:55:24 -04:00
remove deprecated constellation create
flags (#2325)
* chore: clean-up TODOs * cli: make OpenStack error explicit * cli: remove deprecated flags * config: require DeployCSIDriver field
This commit is contained in:
parent
5960025da7
commit
a25c90e9bb
14 changed files with 56 additions and 134 deletions
|
@ -23,7 +23,7 @@ type Variables interface {
|
|||
// ClusterVariables should be used in places where a cluster is created.
|
||||
type ClusterVariables interface {
|
||||
Variables
|
||||
// TODO (derpsteb): Rename this function once we have introduced an interface for config.Config.
|
||||
// TODO(derpsteb): Rename this function once we have introduced an interface for config.Config.
|
||||
// GetCreateMAA does not follow Go's naming convention because we need to keep the CreateMAA property public for now.
|
||||
// There are functions creating Variables objects outside of this package.
|
||||
// These functions can only be moved into this package once we have introduced an interface for config.Config,
|
||||
|
@ -69,7 +69,7 @@ type AWSClusterVariables struct {
|
|||
}
|
||||
|
||||
// GetCreateMAA gets the CreateMAA variable.
|
||||
// TODO (derpsteb): Rename this function once we have introduced an interface for config.Config.
|
||||
// TODO(derpsteb): Rename this function once we have introduced an interface for config.Config.
|
||||
func (a *AWSClusterVariables) GetCreateMAA() bool {
|
||||
return false
|
||||
}
|
||||
|
@ -134,7 +134,7 @@ type GCPClusterVariables struct {
|
|||
}
|
||||
|
||||
// GetCreateMAA gets the CreateMAA variable.
|
||||
// TODO (derpsteb): Rename this function once we have introduced an interface for config.Config.
|
||||
// TODO(derpsteb): Rename this function once we have introduced an interface for config.Config.
|
||||
func (g *GCPClusterVariables) GetCreateMAA() bool {
|
||||
return false
|
||||
}
|
||||
|
@ -206,7 +206,7 @@ type AzureClusterVariables struct {
|
|||
}
|
||||
|
||||
// GetCreateMAA gets the CreateMAA variable.
|
||||
// TODO (derpsteb): Rename this function once we have introduced an interface for config.Config.
|
||||
// TODO(derpsteb): Rename this function once we have introduced an interface for config.Config.
|
||||
func (a *AzureClusterVariables) GetCreateMAA() bool {
|
||||
if a.CreateMAA == nil {
|
||||
return false
|
||||
|
@ -278,7 +278,7 @@ type OpenStackClusterVariables struct {
|
|||
}
|
||||
|
||||
// GetCreateMAA gets the CreateMAA variable.
|
||||
// TODO (derpsteb): Rename this function once we have introduced an interface for config.Config.
|
||||
// TODO(derpsteb): Rename this function once we have introduced an interface for config.Config.
|
||||
func (o *OpenStackClusterVariables) GetCreateMAA() bool {
|
||||
return false
|
||||
}
|
||||
|
@ -349,7 +349,7 @@ type QEMUVariables struct {
|
|||
}
|
||||
|
||||
// GetCreateMAA gets the CreateMAA variable.
|
||||
// TODO (derpsteb): Rename this function once we have introduced an interface for config.Config.
|
||||
// TODO(derpsteb): Rename this function once we have introduced an interface for config.Config.
|
||||
func (q *QEMUVariables) GetCreateMAA() bool {
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue