Documentation ¶
Index ¶
- func CreateAutonomousContainerDatabase(dbClient database.DatabaseClient, compartmentId *string, acdName *string, ...) (response database.CreateAutonomousContainerDatabaseResponse, err error)
- func CreateAutonomousDatabase(dbClient database.DatabaseClient, compartmentID *string, dbName *string, ...) (response database.CreateAutonomousDatabaseResponse, err error)
- func CreateKubeSecret(secretNamespace string, secretName string, data map[string]string) (*corev1.Secret, error)
- func DeleteAutonomousDatabase(dbClient database.DatabaseClient, databaseOCID *string) error
- func DownloadWalletZip(dbClient database.DatabaseClient, databaseOCID *string, walletPassword *string) (string, error)
- func GenerateACDName() string
- func GenerateDBName() string
- func GetAutonomousContainerDatabase(dbClient database.DatabaseClient, acdOCID *string, ...) (database.GetAutonomousContainerDatabaseResponse, error)
- func GetAutonomousDatabase(dbClient database.DatabaseClient, databaseOCID *string, ...) (database.GetAutonomousDatabaseResponse, error)
- func GetOCIConfigUtil(configPath string, profile string) (*configUtil, error)
- func GetTestConfig(filename string) (*testConfiguration, error)
- func ListAutonomousDatabases(dbClient database.DatabaseClient, compartmentOCID *string, displayName *string) (database.ListAutonomousDatabasesResponse, error)
- func LoadTestFixture(adb *dbv1alpha1.AutonomousDatabase, filename string) (*dbv1alpha1.AutonomousDatabase, error)
- func NewLifecycleStateRetryPolicyACD(lifecycleState database.AutonomousContainerDatabaseLifecycleStateEnum) common.RetryPolicy
- func NewLifecycleStateRetryPolicyADB(lifecycleState database.AutonomousDatabaseLifecycleStateEnum) common.RetryPolicy
- func WaitUntilWorkCompleted(workClient workrequests.WorkRequestClient, opcWorkRequestID *string) error
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 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 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 GetTestConfig ¶
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 NewLifecycleStateRetryPolicyACD ¶
func NewLifecycleStateRetryPolicyACD(lifecycleState database.AutonomousContainerDatabaseLifecycleStateEnum) common.RetryPolicy
func NewLifecycleStateRetryPolicyADB ¶
func NewLifecycleStateRetryPolicyADB(lifecycleState database.AutonomousDatabaseLifecycleStateEnum) common.RetryPolicy
func WaitUntilWorkCompleted ¶
func WaitUntilWorkCompleted(workClient workrequests.WorkRequestClient, opcWorkRequestID *string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.