automation

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NDBSERVER_PATH  = "./config/ndb.yaml"
	DATABASE_PATH   = "./config/database.yaml"
	DB_SECRET_PATH  = "./config/db-secret.yaml"
	NDB_SECRET_PATH = "./config/ndb-secret.yaml"
	APP_POD_PATH    = "./config/pod.yaml"
	APP_SVC_PATH    = "./config/service.yaml"

	KUBECONFIG_ENV          = "KUBECONFIG"
	DB_SECRET_PASSWORD_ENV  = "DB_SECRET_PASSWORD"
	NDB_SECRET_USERNAME_ENV = "NDB_SECRET_USERNAME"
	NDB_SECRET_PASSWORD_ENV = "NDB_SECRET_PASSWORD"
	NDB_SERVER_ENV          = "NDB_SERVER"
	NDB_CLUSTER_ID_ENV      = "NDB_CLUSTER_ID"
)

Variables

This section is empty.

Functions

func CreateTypeFromPath

func CreateTypeFromPath(theType any, path string) (err error)

CreateTypeFromPath reads a file path, converts it to json, and unmarshals json to a pointer. Ensure that theType is a pointer.

Types

type SetupPaths

type SetupPaths struct {
	DbPath        string
	DbSecretPath  string
	NdbSecretPath string
	AppPodPath    string
	AppSvcPath    string
}

Used in TestSuites to create resource objects

Directories

Path Synopsis
clientset

Jump to

Keyboard shortcuts

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