resource

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceUIName     = "ui"
	ServiceAdminTools = "admintools"
)

Additionals services

View Source
const (
	ServiceConfig = "config"
)

Service components.

View Source
const UIServicePort = 8080

Variables

This section is empty.

Functions

This section is empty.

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 *v1alpha1.TemporalCluster, scheme *runtime.Scheme) *AdminToolsDeploymentBuilder

func (*AdminToolsDeploymentBuilder) Build added in v0.0.4

func (*AdminToolsDeploymentBuilder) Update added in v0.0.4

func (b *AdminToolsDeploymentBuilder) Update(object client.Object) error

type Builder

type Builder interface {
	Build() (client.Object, error)
	Update(client.Object) error
}

type ConfigmapBuilder

type ConfigmapBuilder struct {
	// contains filtered or unexported fields
}

func NewConfigmapBuilder

func NewConfigmapBuilder(instance *v1alpha1.TemporalCluster, scheme *runtime.Scheme) *ConfigmapBuilder

func (*ConfigmapBuilder) Build

func (b *ConfigmapBuilder) Build() (client.Object, error)

func (*ConfigmapBuilder) Update

func (b *ConfigmapBuilder) Update(object client.Object) error

type DeploymentBuilder

type DeploymentBuilder struct {
	// contains filtered or unexported fields
}

func NewDeploymentBuilder

func NewDeploymentBuilder(serviceName string, instance *v1alpha1.TemporalCluster, scheme *runtime.Scheme, service *v1alpha1.ServiceSpec) *DeploymentBuilder

func (*DeploymentBuilder) Build

func (b *DeploymentBuilder) Build() (client.Object, error)

func (*DeploymentBuilder) ReportServiceStatus

func (b *DeploymentBuilder) ReportServiceStatus(ctx context.Context, c client.Client) (*v1alpha1.ServiceStatus, error)

func (*DeploymentBuilder) Update

func (b *DeploymentBuilder) Update(object client.Object) error

type FrontendServiceBuilder

type FrontendServiceBuilder struct {
	// contains filtered or unexported fields
}

func NewFrontendServiceBuilder

func NewFrontendServiceBuilder(instance *v1alpha1.TemporalCluster, scheme *runtime.Scheme) *FrontendServiceBuilder

func (*FrontendServiceBuilder) Build

func (b *FrontendServiceBuilder) Build() (client.Object, error)

func (*FrontendServiceBuilder) Update

func (b *FrontendServiceBuilder) Update(object client.Object) error

type HeadlessServiceBuilder

type HeadlessServiceBuilder struct {
	// contains filtered or unexported fields
}

func NewHeadlessServiceBuilder

func NewHeadlessServiceBuilder(serviceName string, instance *v1alpha1.TemporalCluster, scheme *runtime.Scheme, service *v1alpha1.ServiceSpec) *HeadlessServiceBuilder

func (*HeadlessServiceBuilder) Build

func (b *HeadlessServiceBuilder) Build() (client.Object, error)

func (*HeadlessServiceBuilder) Update

func (b *HeadlessServiceBuilder) Update(object client.Object) error

type Pruner added in v0.1.0

type Pruner interface {
	Build() (client.Object, error)
}

type StatusReporter

type StatusReporter interface {
	ReportServiceStatus(context.Context, client.Client) (*v1alpha1.ServiceStatus, error)
}

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 *v1alpha1.TemporalCluster, scheme *runtime.Scheme) *UIDeploymentBuilder

func (*UIDeploymentBuilder) Build added in v0.0.4

func (b *UIDeploymentBuilder) Build() (client.Object, error)

func (*UIDeploymentBuilder) Update added in v0.0.4

func (b *UIDeploymentBuilder) Update(object client.Object) error

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 *v1alpha1.TemporalCluster, scheme *runtime.Scheme) *UIIngressBuilder

func (*UIIngressBuilder) Build added in v0.0.4

func (b *UIIngressBuilder) Build() (client.Object, error)

func (*UIIngressBuilder) Update added in v0.0.4

func (b *UIIngressBuilder) Update(object client.Object) error

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 *v1alpha1.TemporalCluster, scheme *runtime.Scheme) *UIServiceBuilder

func (*UIServiceBuilder) Build added in v0.0.4

func (b *UIServiceBuilder) Build() (client.Object, error)

func (*UIServiceBuilder) Update added in v0.0.4

func (b *UIServiceBuilder) Update(object client.Object) error

Jump to

Keyboard shortcuts

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