e2eutil

package
v0.0.0-...-a834cfb Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: UPL-1.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAutonomousContainerDatabase

func CreateAutonomousContainerDatabase(dbClient database.DatabaseClient, compartmentId *string, acdName *string, exadataVmClusterID *string) (response database.CreateAutonomousContainerDatabaseResponse, err error)

func CreateAutonomousDatabase

func CreateAutonomousDatabase(dbClient database.DatabaseClient, compartmentID *string, dbName *string, adminPassword *string) (response database.CreateAutonomousDatabaseResponse, err error)

func CreateKubeSecret

func CreateKubeSecret(secretNamespace string, secretName string, data map[string]string) (*corev1.Secret, error)

func DeleteAutonomousDatabase

func DeleteAutonomousDatabase(dbClient database.DatabaseClient, databaseOCID *string) error

DeleteAutonomousDatabase terminates the database if it exists and is not in TERMINATED state

func DownloadWalletZip

func DownloadWalletZip(dbClient database.DatabaseClient, databaseOCID *string, walletPassword *string) (string, error)

func GenerateACDName

func GenerateACDName() string

func GenerateDBName

func GenerateDBName() string

GenerateDBName returns a string DB concatenate 14 digits of the date time E.g., DB060102150405 if the curret date-time is 2006.01.02 15:04:05

func GetAutonomousContainerDatabase

func GetAutonomousContainerDatabase(dbClient database.DatabaseClient, acdOCID *string, retryPolicy *common.RetryPolicy) (database.GetAutonomousContainerDatabaseResponse, error)

func GetAutonomousDatabase

func GetAutonomousDatabase(dbClient database.DatabaseClient, databaseOCID *string, retryPolicy *common.RetryPolicy) (database.GetAutonomousDatabaseResponse, error)

func GetOCIConfigUtil

func GetOCIConfigUtil(configPath string, profile string) (*configUtil, error)

func GetTestConfig

func GetTestConfig(filename string) (*testConfiguration, error)

func ListAutonomousDatabases

func ListAutonomousDatabases(dbClient database.DatabaseClient, compartmentOCID *string, displayName *string) (database.ListAutonomousDatabasesResponse, error)

func LoadTestFixture

func LoadTestFixture(adb *dbv1alpha1.AutonomousDatabase, filename string) (*dbv1alpha1.AutonomousDatabase, error)

LoadTestFixture create an AutonomousDatabase resource from a test fixture

func NewLifecycleStateRetryPolicyADB

func NewLifecycleStateRetryPolicyADB(lifecycleState database.AutonomousDatabaseLifecycleStateEnum) common.RetryPolicy

func WaitUntilWorkCompleted

func WaitUntilWorkCompleted(workClient workrequests.WorkRequestClient, opcWorkRequestID *string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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