ceilometercentral

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// ServiceName -
	ServiceName = "ceilometer"
	// ServiceType -
	ServiceType = "Ceilometer"

	// CeilometerPrometheusPort -
	CeilometerPrometheusPort int = 3000

	// KollaConfigCentral -
	KollaConfigCentral = "/var/lib/config-data/merged/config-central.json"

	// KollaConfigNotification -
	KollaConfigNotification = "/var/lib/config-data/merged/config-notification.json"
)
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"
)

Variables

View Source
var (
	// ScriptsVolumeDefaultMode is the default permissions mode for Scripts volume
	ScriptsVolumeDefaultMode int32 = 0755
	// Config0640AccessMode is the 640 permissions mode
	Config0640AccessMode int32 = 0640
)

Functions

func Deployment

func Deployment(
	instance *telemetryv1.CeilometerCentral,
	configHash string,
	labels map[string]string,
) (*appsv1.Deployment, error)

Deployment func

func Service

func Service(
	instance *telemetryv1.CeilometerCentral,
	helper *helper.Helper,
	port int,
	labels map[string]string,
) (*corev1.Service, controllerutil.OperationResult, error)

Service creates services in Kubernetes for the appropiate port in the passed node

Types

type APIDetails

type APIDetails struct {
	ContainerImage     string
	TransportURLSecret string
	OSPSecret          string
	ServiceSelector    string
}

APIDetails information

Jump to

Keyboard shortcuts

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