Documentation ¶
Index ¶
- Constants
- func GetTLSEnvironmentVariables(instance *v1beta1.TemporalCluster, envPrefix, certsMountPath string) []corev1.EnvVar
- type AdminToolsFrontendClientCertificateBuilder
- type GenericCAIssuerBuilder
- type GenericFrontendClientCertificateBuilder
- type GenericItermediateCACertificateBuilder
- type MTLSBootstrapIssuerBuilder
- type MTLSFrontendCertificateBuilder
- type MTLSFrontendIntermediateCAIssuerBuilder
- type MTLSFrontendItermediateCACertificateBuilder
- type MTLSInternodeCertificateBuilder
- type MTLSInternodeIntermediateCAIssuerBuilder
- type MTLSInternodeItermediateCACertificateBuilder
- type MTLSRootCACertificateBuilder
- type MTLSRootCAIssuerBuilder
- type UIFrontendClientCertificateBuilder
- type WorkerFrontendClientCertificateBuilder
Constants ¶
View Source
const ( // InternodeCertificate is the name of the certificate used for internode communications. InternodeCertificate = "internode-certificate" // FrontendCertificate is the name of the certificate used by the frontend. FrontendCertificate = "frontend-certificate" // WorkerCertificate is the name of the client certificate // used for by the worker for authenticating against the frontend. WorkerCertificate = "worker-certificate" // InternodeIntermediateCACertificate is the name of the intermediate CA certificate used to issue // internode certificates. InternodeIntermediateCACertificate = "internode-intermediate-ca-certificate" // FrontendIntermediateCACertificate is the name of the intermediate CA certificate used to issue // frontend certificates. FrontendIntermediateCACertificate = "frontend-intermediate-ca-certificate" // AdmintoolsFrontendClientCertificate is the name of the client certificate // used for by admin tools for authenticating against the frontend. AdmintoolsFrontendClientCertificate = "admintools-mtls-certificate" // UIFrontendClientCertificate is the name of the client certificate // used for by UI for authenticating against the frontend. UIFrontendClientCertificate = "ui-mtls-certificate" )
View Source
const ( TLSCA = "ca.crt" TLSCert = "tls.crt" TLSKey = "tls.key" )
Variables ¶
This section is empty.
Functions ¶
func GetTLSEnvironmentVariables ¶ added in v0.6.1
func GetTLSEnvironmentVariables(instance *v1beta1.TemporalCluster, envPrefix, certsMountPath string) []corev1.EnvVar
GetTLSEnvironmentVariables returns needed env vars for enabling TLS connection for temporal tools. To support the whole range of temporal tools, the caller should provide an envPrefix which prefixes all TLS env vars.
Types ¶
type AdminToolsFrontendClientCertificateBuilder ¶
type AdminToolsFrontendClientCertificateBuilder struct {
GenericFrontendClientCertificateBuilder
}
func NewAdminToolsFrontendClientCertificateBuilder ¶
func NewAdminToolsFrontendClientCertificateBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *AdminToolsFrontendClientCertificateBuilder
type GenericCAIssuerBuilder ¶
type GenericCAIssuerBuilder struct {
// contains filtered or unexported fields
}
type GenericFrontendClientCertificateBuilder ¶
type GenericFrontendClientCertificateBuilder struct {
// contains filtered or unexported fields
}
func NewGenericFrontendClientCertificateBuilder ¶
func NewGenericFrontendClientCertificateBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme, name string, secretName string, dnsName string, commonName string) *GenericFrontendClientCertificateBuilder
type GenericItermediateCACertificateBuilder ¶ added in v0.6.1
type GenericItermediateCACertificateBuilder struct {
// contains filtered or unexported fields
}
type MTLSBootstrapIssuerBuilder ¶
type MTLSBootstrapIssuerBuilder struct {
// contains filtered or unexported fields
}
func NewMTLSBootstrapIssuerBuilder ¶
func NewMTLSBootstrapIssuerBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *MTLSBootstrapIssuerBuilder
type MTLSFrontendCertificateBuilder ¶
type MTLSFrontendCertificateBuilder struct {
// contains filtered or unexported fields
}
func NewMTLSFrontendCertificateBuilder ¶
func NewMTLSFrontendCertificateBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *MTLSFrontendCertificateBuilder
type MTLSFrontendIntermediateCAIssuerBuilder ¶
type MTLSFrontendIntermediateCAIssuerBuilder struct {
GenericCAIssuerBuilder
}
func NewMTLSFrontendIntermediateCAIssuerBuilder ¶
func NewMTLSFrontendIntermediateCAIssuerBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *MTLSFrontendIntermediateCAIssuerBuilder
type MTLSFrontendItermediateCACertificateBuilder ¶
type MTLSFrontendItermediateCACertificateBuilder struct {
GenericItermediateCACertificateBuilder
}
func NewMTLSFrontendIntermediateCACertificateBuilder ¶
func NewMTLSFrontendIntermediateCACertificateBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *MTLSFrontendItermediateCACertificateBuilder
type MTLSInternodeCertificateBuilder ¶
type MTLSInternodeCertificateBuilder struct {
// contains filtered or unexported fields
}
func NewMTLSInternodeCertificateBuilder ¶
func NewMTLSInternodeCertificateBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *MTLSInternodeCertificateBuilder
type MTLSInternodeIntermediateCAIssuerBuilder ¶
type MTLSInternodeIntermediateCAIssuerBuilder struct {
GenericCAIssuerBuilder
}
func NewMTLSInternodeIntermediateCAIssuerBuilder ¶
func NewMTLSInternodeIntermediateCAIssuerBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *MTLSInternodeIntermediateCAIssuerBuilder
type MTLSInternodeItermediateCACertificateBuilder ¶
type MTLSInternodeItermediateCACertificateBuilder struct {
GenericItermediateCACertificateBuilder
}
func NewMTLSInternodeIntermediateCACertificateBuilder ¶
func NewMTLSInternodeIntermediateCACertificateBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *MTLSInternodeItermediateCACertificateBuilder
type MTLSRootCACertificateBuilder ¶
type MTLSRootCACertificateBuilder struct {
// contains filtered or unexported fields
}
func NewMTLSRootCACertificateBuilder ¶
func NewMTLSRootCACertificateBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *MTLSRootCACertificateBuilder
type MTLSRootCAIssuerBuilder ¶
type MTLSRootCAIssuerBuilder struct {
GenericCAIssuerBuilder
}
func NewMTLSRootCAIssuerBuilder ¶
func NewMTLSRootCAIssuerBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *MTLSRootCAIssuerBuilder
type UIFrontendClientCertificateBuilder ¶
type UIFrontendClientCertificateBuilder struct {
GenericFrontendClientCertificateBuilder
}
func NewUIFrontendClientCertificateBuilder ¶
func NewUIFrontendClientCertificateBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *UIFrontendClientCertificateBuilder
type WorkerFrontendClientCertificateBuilder ¶
type WorkerFrontendClientCertificateBuilder struct {
GenericFrontendClientCertificateBuilder
}
func NewWorkerFrontendClientCertificateBuilder ¶
func NewWorkerFrontendClientCertificateBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *WorkerFrontendClientCertificateBuilder
Source Files ¶
- adminstools_frontend_client_certificate_builder.go
- certmanager.go
- env.go
- generic_ca_issuer_builder.go
- generic_frontend_client_certificate_builder.go
- generic_intermediate_ca_certificate_builder.go
- mtls_bootstrap_issuer_builder.go
- mtls_frontend_certificate_builder.go
- mtls_frontend_intermediate_ca_certificate_builder.go
- mtls_frontend_intermediate_ca_issuer_builder.go
- mtls_internode_certificate_builder.go
- mtls_internode_intermediate_ca_certificate_builder.go
- mtls_internode_intermediate_ca_issuer_builder.go
- mtls_root_ca_certificate_builder.go
- mtls_root_ca_issuer_builder.go
- ui_frontend_client_certificate_builder.go
- worker_frontend_client_certificate_builder.go
Click to show internal directories.
Click to hide internal directories.