Documentation
¶
Index ¶
- type ClusterService
- type ClusterServiceImpl
- func (service *ClusterServiceImpl) AskToEditStorageClass(cluster *qovery.Cluster) error
- func (service *ClusterServiceImpl) DeployCluster(organizationName string, clusterName string, watchFlag bool) error
- func (service *ClusterServiceImpl) ListClusterRegions(cloudProviderType qovery.CloudProviderEnum) (*qovery.ClusterRegionResponseList, error)
- func (service *ClusterServiceImpl) ListClusters(organizationId string) (*qovery.ClusterResponseList, error)
- func (service *ClusterServiceImpl) StopCluster(organizationName string, clusterName string, watchFlag bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterService ¶
type ClusterService interface { DeployCluster(organizationName string, clusterName string, watchFlag bool) error StopCluster(organizationName string, clusterName string, watchFlag bool) error ListClusters(organizationId string) (*qovery.ClusterResponseList, error) ListClusterRegions(cloudProviderType qovery.CloudProviderEnum) (*qovery.ClusterRegionResponseList, error) AskToEditStorageClass(cluster *qovery.Cluster) error }
type ClusterServiceImpl ¶
type ClusterServiceImpl struct {
// contains filtered or unexported fields
}
func NewClusterService ¶
func NewClusterService( client *qovery.APIClient, promptUiFactory promptuifactory.PromptUiFactory, ) *ClusterServiceImpl
func (*ClusterServiceImpl) AskToEditStorageClass ¶
func (service *ClusterServiceImpl) AskToEditStorageClass(cluster *qovery.Cluster) error
func (*ClusterServiceImpl) DeployCluster ¶
func (service *ClusterServiceImpl) DeployCluster(organizationName string, clusterName string, watchFlag bool) error
func (*ClusterServiceImpl) ListClusterRegions ¶
func (service *ClusterServiceImpl) ListClusterRegions(cloudProviderType qovery.CloudProviderEnum) (*qovery.ClusterRegionResponseList, error)
func (*ClusterServiceImpl) ListClusters ¶
func (service *ClusterServiceImpl) ListClusters(organizationId string) (*qovery.ClusterResponseList, error)
func (*ClusterServiceImpl) StopCluster ¶
func (service *ClusterServiceImpl) StopCluster(organizationName string, clusterName string, watchFlag bool) error
Click to show internal directories.
Click to hide internal directories.