Documentation
¶
Index ¶
- func CreateSelfManagedTestCluster(organization *qovery.Organization, cloudProviderType qovery.CloudProviderEnum) *qovery.Cluster
- func MockGetInstallationHelmValues(organization *qovery.Organization, cluster *qovery.Cluster)
- type InstallSelfManagedClusterService
- type SelfManagedClusterService
- type SelfManagedClusterServiceImpl
- func (service *SelfManagedClusterServiceImpl) Configure(cluster *qovery.Cluster) error
- func (service *SelfManagedClusterServiceImpl) Create(organizationID string, cloudProviderType qovery.CloudProviderEnum) (*qovery.Cluster, error)
- func (service *SelfManagedClusterServiceImpl) GetBaseHelmValuesContent(kubernetesType qovery.CloudProviderEnum) (*string, error)
- func (service *SelfManagedClusterServiceImpl) GetInstallationHelmValues(organizationId string, clusterId string) (*string, error)
- type SelfManagedClusterServiceMock
- func (mock *SelfManagedClusterServiceMock) Configure(cluster *qovery.Cluster) error
- func (mock *SelfManagedClusterServiceMock) Create(organizationID string, cloudProviderType qovery.CloudProviderEnum) (*qovery.Cluster, error)
- func (mock *SelfManagedClusterServiceMock) GetBaseHelmValuesContent(kubernetesType qovery.CloudProviderEnum) (*string, error)
- func (mock *SelfManagedClusterServiceMock) GetInstallationHelmValues(organizationId string, clusterId string) (*string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSelfManagedTestCluster ¶
func CreateSelfManagedTestCluster(organization *qovery.Organization, cloudProviderType qovery.CloudProviderEnum) *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, cloudProviderType qovery.CloudProviderEnum) (*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, cloudProviderType qovery.CloudProviderEnum, ) (*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, cloudProviderType qovery.CloudProviderEnum) (*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, cloudProviderType qovery.CloudProviderEnum) (*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)
Click to show internal directories.
Click to hide internal directories.