# Functions

ChangePasswordCmd returns sql cmd to change user identifier.
CreateUserCmd returns sql cmd to create a user with provided identifier.
FetchMetaDataFromImage returns Oracle Home, CDB name, Version by parsing database image metadata file if it exists.
GetDefaultInitParams returns default init parameters, which will be set in DB creation.
GrantUserCmd returns sql cmd to grant permissions to a user.
LoadTemplateListener applies listener input to listener and tns template.
MakeDirs creates directories in the container.
MapToSlice converts map[string]string into a string slice with format "<key>=<value>".
MergeInitParams merges default parameters and user specified parameters, and returns merged parameters.
MoveConfigFiles moves Database config files from Oracle standard paths to the persistent configuration in the PD.
MoveFile moves a file between directories.
NewBootstrapDatabaseTask returns a Task which can be invoked to bootstrap a DB.
NewBootstrapDatabaseTaskForUnseeded returns a Task for bootstrapping a CDB created during instance creation.
NewSetupUsersTaskForStandby returns setupUsers subtask for standby instance.
RelinkConfigFiles creates softlinks under the Oracle standard paths from the persistent configuration files in the PD.
RemoveConfigFileLinks removes softlinks of config files under the Oracle standard path.

# Variables

ControlFileTemplateName is the filepath for the control file template in the container.
InitOraTemplateName is the filepath for the initOra file template in the container for Oracle EE/SE.
InitOraXeTemplateName is the filepath for the initOra file template in the container for Oracle 18c XE.
ListenerTemplateName is the filepath for the listener file template in the container.
SQLNetSrc is the filepath for the control file template in the container.
TnsnamesTemplateName is the filepath for the tnsnames file template in the container.

# Structs

BootstrapTask defines a task can be invoked to bootstrap an Oracle DB.
ListenerInput is the struct, which will be applied to the listener template.
OSUtilImpl contains utility methods for fetching user/group metadata.