Help us shape the future of Go! Take the 2026 Go Developer Survey

keystone

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServiceName -
	ServiceName = "keystone"
	// DatabaseName -
	DatabaseName = "keystone"

	// KeystonePublicPort -
	KeystonePublicPort int32 = 5000
	// KeystoneInternalPort -
	KeystoneInternalPort int32 = 5000

	// KollaConfig -
	KollaConfig = "/var/lib/config-data/merged/keystone-api-config.json"
)
View Source
const (
	// BootstrapCommand -
	BootstrapCommand = "/usr/local/bin/kolla_set_configs && keystone-manage bootstrap"
)
View Source
const (
	// DBSyncCommand -
	DBSyncCommand = "/usr/local/bin/kolla_set_configs && /usr/local/bin/kolla_start"
)
View Source
const (
	// InitContainerCommand -
	InitContainerCommand = "/usr/local/bin/container-scripts/init.sh"
)
View Source
const (
	// ServiceCommand -
	ServiceCommand = "/usr/local/bin/kolla_set_configs && /usr/local/bin/kolla_start"
)
View Source
const (
	// TrustFlushCommand -
	TrustFlushCommand = "/usr/local/bin/kolla_set_configs && keystone-manage trust_flush"
)

Variables

This section is empty.

Functions

func BootstrapJob

func BootstrapJob(
	instance *keystonev1beta1.KeystoneAPI,
	labels map[string]string,
	annotations map[string]string,
	endpoints map[string]string,
) *batchv1.Job

BootstrapJob func

func CronJob

func CronJob(
	instance *keystonev1beta1.KeystoneAPI,
	labels map[string]string,
	annotations map[string]string,
) *batchv1.CronJob

CronJob func

func DbSyncJob

func DbSyncJob(
	instance *keystonev1.KeystoneAPI,
	labels map[string]string,
	annotations map[string]string,
) *batchv1.Job

DbSyncJob func

func Deployment

func Deployment(
	instance *keystonev1beta1.KeystoneAPI,
	configHash string,
	labels map[string]string,
	annotations map[string]string,
) *appsv1.Deployment

Deployment func

func GenerateFernetKey

func GenerateFernetKey() string

GenerateFernetKey -

Types

type APIDetails

type APIDetails struct {
	ContainerImage       string
	DatabaseHost         string
	DatabaseUser         string
	DatabaseName         string
	OSPSecret            string
	DBPasswordSelector   string
	UserPasswordSelector string
	VolumeMounts         []corev1.VolumeMount
}

APIDetails information

type OpenStackConfig

type OpenStackConfig struct {
	Clouds struct {
		Default struct {
			Auth struct {
				AuthURL           string `yaml:"auth_url"`
				ProjectName       string `yaml:"project_name"`
				UserName          string `yaml:"username"`
				UserDomainName    string `yaml:"user_domain_name"`
				ProjectDomainName string `yaml:"project_domain_name"`
			} `yaml:"auth"`
			RegionName string `yaml:"region_name"`
		} `yaml:"default"`
	}
}

OpenStackConfig type

type OpenStackConfigSecret

type OpenStackConfigSecret struct {
	Clouds struct {
		Default struct {
			Auth struct {
				Password string `yaml:"password"`
			}
		}
	}
}

OpenStackConfigSecret type

Jump to

Keyboard shortcuts

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