common_main

package
v0.0.0-...-fc94236 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HelperName

func HelperName(basename string) (string, error)

Types

type Manager

type Manager struct {
	Logger *slog.Logger

	AppClient            k8s.AppClient
	SqlInstanceClient    k8s.SqlInstanceClient
	SqlSslCertClient     k8s.SqlSslCertClient
	SqlDatabaseClient    k8s.SqlDatabaseClient
	SqlUserClient        k8s.SqlUserClient
	SqlAdminService      *sqladmin.Service
	DatamigrationService *datamigration.Service
	DBMigrationClient    *dms.DataMigrationClient
	K8sClient            kubernetes.Interface
}

func Main

func Main(ctx context.Context, cfg *config.Config, phase any, logger *slog.Logger) (*Manager, error)

Jump to

Keyboard shortcuts

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