resource_definitions

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: UPL-1.0 Imports: 13 Imported by: 0

Documentation

Overview

Code generated by imagetag_generator.go; DO NOT EDIT.

Index

Constants

View Source
const CAKey = certMeta.TLSCAKey

CAKey is the key for a CA certificate within a TLS secret

View Source
const ConsoleLinkNSLabel = "operator.cryostat.io/cryostat-consolelink-namespace"
View Source
const ConsoleLinkNameLabel = "operator.cryostat.io/cryostat-consolelink-name"
View Source
const DatasourceURL = "http://" + datasourceHost + ":" + datasourcePort

DatasourceURL contains the fixed URL to jfr-datasource's web server

View Source
const DefaultCoreImageTag = "quay.io/cryostat/cryostat:1.0.0"

Default image tag for the core application image

View Source
const DefaultDatasourceImageTag = "quay.io/cryostat/jfr-datasource:1.0.0"

Default image tag for the JFR datasource image

View Source
const DefaultGrafanaImageTag = "quay.io/cryostat/cryostat-grafana-dashboard:1.0.0"

Default image tag for the Grafana dashboard image

View Source
const JMXSecretNameSuffix = "-jmx-auth"

JMXSecretNameSuffix is the suffix to be appended to the name of a Cryostat CR to name its JMX credentials secret

View Source
const JMXSecretPassKey = "CRYOSTAT_RJMX_PASS"

JMXSecretPassKey indexes the password within the Cryostat JMX auth secret

View Source
const JMXSecretUserKey = "CRYOSTAT_RJMX_USER"

JMXSecretUserKey indexes the username within the Cryostat JMX auth secret

Variables

This section is empty.

Functions

func GenPasswd

func GenPasswd(length int) string

func NewCommandChannelService

func NewCommandChannelService(cr *operatorv1beta1.Cryostat) *corev1.Service
func NewConsoleLink(cr *operatorv1beta1.Cryostat, url string) *consolev1.ConsoleLink

func NewCoreContainer

func NewCoreContainer(cr *operatorv1beta1.Cryostat, specs *ServiceSpecs, imageTag string, tls *TLSConfig) corev1.Container

func NewCryostatCACert

func NewCryostatCACert(cr *operatorv1beta1.Cryostat) *certv1.Certificate

func NewCryostatCAIssuer

func NewCryostatCAIssuer(cr *operatorv1beta1.Cryostat) *certv1.Issuer

func NewCryostatCert

func NewCryostatCert(cr *operatorv1beta1.Cryostat) *certv1.Certificate

func NewDeploymentForCR

func NewDeploymentForCR(cr *operatorv1beta1.Cryostat, specs *ServiceSpecs, imageTags *ImageTags,
	tls *TLSConfig) *appsv1.Deployment

func NewExporterService

func NewExporterService(cr *operatorv1beta1.Cryostat) *corev1.Service

func NewGrafanaCert

func NewGrafanaCert(cr *operatorv1beta1.Cryostat) *certv1.Certificate

func NewGrafanaContainer

func NewGrafanaContainer(cr *operatorv1beta1.Cryostat, imageTag string, tls *TLSConfig) corev1.Container

func NewGrafanaSecretForCR

func NewGrafanaSecretForCR(cr *operatorv1beta1.Cryostat) *corev1.Secret

func NewGrafanaService

func NewGrafanaService(cr *operatorv1beta1.Cryostat) *corev1.Service

func NewJfrDatasourceContainer

func NewJfrDatasourceContainer(cr *operatorv1beta1.Cryostat, imageTag string) corev1.Container

func NewJmxSecretForCR

func NewJmxSecretForCR(cr *operatorv1beta1.Cryostat) *corev1.Secret

func NewKeystoreSecretForCR

func NewKeystoreSecretForCR(cr *operatorv1beta1.Cryostat) *corev1.Secret

func NewPodForCR

func NewPodForCR(cr *operatorv1beta1.Cryostat, specs *ServiceSpecs, imageTags *ImageTags,
	tls *TLSConfig) *corev1.PodSpec

func NewSelfSignedIssuer

func NewSelfSignedIssuer(cr *operatorv1beta1.Cryostat) *certv1.Issuer

Types

type ImageTags

type ImageTags struct {
	CoreImageTag       string
	DatasourceImageTag string
	GrafanaImageTag    string
}

ImageTags contains container image tags for each of the images to deploy

type ServiceSpecs

type ServiceSpecs struct {
	CoreURL    *url.URL
	CommandURL *url.URL
	GrafanaURL *url.URL
}

type TLSConfig

type TLSConfig struct {
	// Name of the TLS secret for Cryostat
	CryostatSecret string
	// Name of the TLS secret for Grafana
	GrafanaSecret string
	// Name of the secret containing the password for the keystore in CryostatSecret
	KeystorePassSecret string
}

TLSConfig contains TLS-related information useful when creating other objects

Jump to

Keyboard shortcuts

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