Help us shape the future of Go! Take the 2026 Go Developer Survey

selfmanaged

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSelfManagedTestCluster

func CreateSelfManagedTestCluster(organization *qovery.Organization, cloudVendor qovery.CloudVendorEnum) *qovery.Cluster

func MockGetInstallationHelmValues

func MockGetInstallationHelmValues(organization *qovery.Organization, cluster *qovery.Cluster)

Types

type InstallSelfManagedClusterService

type InstallSelfManagedClusterService struct {
	// contains filtered or unexported fields
}

func NewInstallSelfManagedClusterService

func NewInstallSelfManagedClusterService(
	organizationService organization.OrganizationService,
	selfManagedClusterService SelfManagedClusterService,
	clusterService cluster.ClusterService,
	fileWriterService filewriter.FileWriterService,
	promptUiFactory promptuifactory.PromptUiFactory,
) *InstallSelfManagedClusterService

func (*InstallSelfManagedClusterService) InstallCluster

func (service *InstallSelfManagedClusterService) InstallCluster() (*string, error)

InstallCluster Returns either an error or an indication printed by the caller

type SelfManagedClusterService

type SelfManagedClusterService interface {
	Create(organizationID string, cloudVendor qovery.CloudVendorEnum) (*qovery.Cluster, error)
	Configure(cluster *qovery.Cluster) error
	GetInstallationHelmValues(organizationId string, clusterId string) (*string, error)
	GetBaseHelmValuesContent(kubernetesType qovery.CloudProviderEnum) (*string, error)
}

type SelfManagedClusterServiceImpl

type SelfManagedClusterServiceImpl struct {
	// contains filtered or unexported fields
}

func NewSelfManagedClusterService

func NewSelfManagedClusterService(
	client *qovery.APIClient,
	clusterService cluster.ClusterService,
	clusterCredentialsService credentials.ClusterCredentialsService,
	clusterContainerRegistryService containerregistry.ClusterContainerRegistryService,
	promptUiFactory promptuifactory.PromptUiFactory,
) *SelfManagedClusterServiceImpl

func (*SelfManagedClusterServiceImpl) Configure

func (service *SelfManagedClusterServiceImpl) Configure(cluster *qovery.Cluster) error

func (*SelfManagedClusterServiceImpl) Create

func (service *SelfManagedClusterServiceImpl) Create(
	organizationID string,
	cloudVendor qovery.CloudVendorEnum,
) (*qovery.Cluster, error)

func (*SelfManagedClusterServiceImpl) GetBaseHelmValuesContent

func (service *SelfManagedClusterServiceImpl) GetBaseHelmValuesContent(kubernetesType qovery.CloudProviderEnum) (*string, error)

func (*SelfManagedClusterServiceImpl) GetInstallationHelmValues

func (service *SelfManagedClusterServiceImpl) GetInstallationHelmValues(organizationId string, clusterId string) (*string, error)

type SelfManagedClusterServiceMock

type SelfManagedClusterServiceMock struct {
	ResultCreate                    func(organizationID string, cloudVendor qovery.CloudVendorEnum) (*qovery.Cluster, error)
	ResultConfigure                 func() error
	ResultGetInstallationHelmValues func() (*string, error)
	ResultGetBaseHelmValuesContent  func(kubernetesType qovery.CloudProviderEnum) (*string, error)
}

func (*SelfManagedClusterServiceMock) Configure

func (mock *SelfManagedClusterServiceMock) Configure(cluster *qovery.Cluster) error

func (*SelfManagedClusterServiceMock) Create

func (mock *SelfManagedClusterServiceMock) Create(organizationID string, cloudVendor qovery.CloudVendorEnum) (*qovery.Cluster, error)

func (*SelfManagedClusterServiceMock) GetBaseHelmValuesContent

func (mock *SelfManagedClusterServiceMock) GetBaseHelmValuesContent(kubernetesType qovery.CloudProviderEnum) (*string, error)

func (*SelfManagedClusterServiceMock) GetInstallationHelmValues

func (mock *SelfManagedClusterServiceMock) GetInstallationHelmValues(organizationId string, clusterId string) (*string, error)

Jump to

Keyboard shortcuts

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