cluster

package
v1.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL