Documentation ¶
Index ¶
- Constants
- func ApplyDeploymentOverrides(deployment *appsv1.Deployment, override *v1beta1.DeploymentOverride) error
- func ApplyPodTemplateSpecOverrides(podTemplate *corev1.PodTemplateSpec, override *v1beta1.PodTemplateSpecOverride) error
- func PatchPodSpecWithOverride(spec, override *corev1.PodSpec) (*corev1.PodSpec, error)
- type AdminToolsDeploymentBuilder
- type Builder
- type Comparer
- type ConfigmapBuilder
- type DependentBuilder
- type DeploymentBuilder
- type DynamicConfigmapBuilder
- type FrontendServiceBuilder
- type HeadlessServiceBuilder
- type Pruner
- type ServiceAccountBuilder
- type StatusReporter
- type UIDeploymentBuilder
- type UIIngressBuilder
- type UIServiceBuilder
Constants ¶
View Source
const ( FrontendService = "frontend" ServiceConfig = "config" ServiceDynamicConfig = "dynamicconfig" )
Service components.
View Source
const ( ServiceUIName = "ui" ServiceAdminTools = "admintools" )
Additionals services.
View Source
const UIServicePort = 8080
Variables ¶
This section is empty.
Functions ¶
func ApplyDeploymentOverrides ¶ added in v0.9.0
func ApplyDeploymentOverrides(deployment *appsv1.Deployment, override *v1beta1.DeploymentOverride) error
ApplyDeploymentOverrides applies the provided DeploymentOverride to the provided Deployment.
func ApplyPodTemplateSpecOverrides ¶ added in v0.9.0
func ApplyPodTemplateSpecOverrides(podTemplate *corev1.PodTemplateSpec, override *v1beta1.PodTemplateSpecOverride) error
ApplyPodTemplateOverrides applies the provided PodTemplateOverride to the provided PodTemplateSpec.
Types ¶
type AdminToolsDeploymentBuilder ¶ added in v0.0.4
type AdminToolsDeploymentBuilder struct {
// contains filtered or unexported fields
}
func NewAdminToolsDeploymentBuilder ¶ added in v0.0.4
func NewAdminToolsDeploymentBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *AdminToolsDeploymentBuilder
type Comparer ¶ added in v0.5.0
type Comparer interface {
Equal()
}
A Comparer provides a custom function to compare two resources returned by a Builder.
type ConfigmapBuilder ¶
type ConfigmapBuilder struct {
// contains filtered or unexported fields
}
func NewConfigmapBuilder ¶
func NewConfigmapBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *ConfigmapBuilder
type DependentBuilder ¶ added in v0.11.0
type DeploymentBuilder ¶
type DeploymentBuilder struct {
// contains filtered or unexported fields
}
func NewDeploymentBuilder ¶
func NewDeploymentBuilder(serviceName string, instance *v1beta1.TemporalCluster, scheme *runtime.Scheme, service *v1beta1.ServiceSpec) *DeploymentBuilder
func (*DeploymentBuilder) ReportServiceStatus ¶
func (b *DeploymentBuilder) ReportServiceStatus(ctx context.Context, c client.Client) (*v1beta1.ServiceStatus, error)
type DynamicConfigmapBuilder ¶ added in v0.11.0
type DynamicConfigmapBuilder struct {
// contains filtered or unexported fields
}
func NewDynamicConfigmapBuilder ¶ added in v0.11.0
func NewDynamicConfigmapBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *DynamicConfigmapBuilder
type FrontendServiceBuilder ¶
type FrontendServiceBuilder struct {
// contains filtered or unexported fields
}
func NewFrontendServiceBuilder ¶
func NewFrontendServiceBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *FrontendServiceBuilder
type HeadlessServiceBuilder ¶
type HeadlessServiceBuilder struct {
// contains filtered or unexported fields
}
func NewHeadlessServiceBuilder ¶
func NewHeadlessServiceBuilder(serviceName string, instance *v1beta1.TemporalCluster, scheme *runtime.Scheme, service *v1beta1.ServiceSpec) *HeadlessServiceBuilder
type ServiceAccountBuilder ¶ added in v0.5.0
type ServiceAccountBuilder struct {
// contains filtered or unexported fields
}
func NewServiceAccountBuilder ¶ added in v0.5.0
func NewServiceAccountBuilder(serviceName string, instance *v1beta1.TemporalCluster, scheme *runtime.Scheme, service *v1beta1.ServiceSpec) *ServiceAccountBuilder
type StatusReporter ¶
type UIDeploymentBuilder ¶ added in v0.0.4
type UIDeploymentBuilder struct {
// contains filtered or unexported fields
}
func NewUIDeploymentBuilder ¶ added in v0.0.4
func NewUIDeploymentBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *UIDeploymentBuilder
type UIIngressBuilder ¶ added in v0.0.4
type UIIngressBuilder struct {
// contains filtered or unexported fields
}
func NewUIIngressBuilder ¶ added in v0.0.4
func NewUIIngressBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *UIIngressBuilder
type UIServiceBuilder ¶ added in v0.0.4
type UIServiceBuilder struct {
// contains filtered or unexported fields
}
func NewUIServiceBuilder ¶ added in v0.0.4
func NewUIServiceBuilder(instance *v1beta1.TemporalCluster, scheme *runtime.Scheme) *UIServiceBuilder
Source Files ¶
Click to show internal directories.
Click to hide internal directories.