Documentation
¶
Index ¶
- type AtlasDeploymentsService
- type Connection
- type PrivateEndpoint
- type ProductionAtlasDeployments
- func (ds *ProductionAtlasDeployments) ClusterExists(ctx context.Context, projectID, clusterName string) (bool, error)
- func (ds *ProductionAtlasDeployments) DeploymentIsReady(ctx context.Context, projectID, deploymentName string) (bool, error)
- func (ds *ProductionAtlasDeployments) ListClusterNames(ctx context.Context, projectID string) ([]string, error)
- func (ds *ProductionAtlasDeployments) ListDeploymentConnections(ctx context.Context, projectID string) ([]Connection, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtlasDeploymentsService ¶
type AtlasDeploymentsService interface { ListClusterNames(ctx context.Context, projectID string) ([]string, error) ListDeploymentConnections(ctx context.Context, projectID string) ([]Connection, error) ClusterExists(ctx context.Context, projectID, clusterName string) (bool, error) DeploymentIsReady(ctx context.Context, projectID, deploymentName string) (bool, error) }
type Connection ¶
type PrivateEndpoint ¶
type ProductionAtlasDeployments ¶
type ProductionAtlasDeployments struct {
// contains filtered or unexported fields
}
func NewAtlasDeploymentsService ¶
func NewAtlasDeploymentsService(ctx context.Context, provider atlas.Provider, secretRef *types.NamespacedName, log *zap.SugaredLogger, isGov bool) (*ProductionAtlasDeployments, error)
func NewProductionAtlasDeployments ¶
func NewProductionAtlasDeployments(clusterService admin.ClustersApi, serverlessAPI admin.ServerlessInstancesApi, isGov bool) *ProductionAtlasDeployments
func (*ProductionAtlasDeployments) ClusterExists ¶
func (*ProductionAtlasDeployments) DeploymentIsReady ¶
func (*ProductionAtlasDeployments) ListClusterNames ¶
func (*ProductionAtlasDeployments) ListDeploymentConnections ¶
func (ds *ProductionAtlasDeployments) ListDeploymentConnections(ctx context.Context, projectID string) ([]Connection, error)
Click to show internal directories.
Click to hide internal directories.