Documentation ¶
Index ¶
- Constants
- type CronJobBuilder
- type DeploymentBuilder
- type HorizontalPodAutoscalerBuilder
- type JobBuilder
- type PersistentVolumeClaimBuilder
- type PodDisruptionBudgetBuilder
- type ResourceBuilder
- type ServiceBuilder
- type ValhallaResourceBuilder
- func (builder *ValhallaResourceBuilder) CronJob() *CronJobBuilder
- func (builder *ValhallaResourceBuilder) Deployment() *DeploymentBuilder
- func (builder *ValhallaResourceBuilder) HorizontalPodAutoscaler() *HorizontalPodAutoscalerBuilder
- func (builder *ValhallaResourceBuilder) Job() *JobBuilder
- func (builder *ValhallaResourceBuilder) PersistentVolumeClaim() *PersistentVolumeClaimBuilder
- func (builder *ValhallaResourceBuilder) PodDisruptionBudget() *PodDisruptionBudgetBuilder
- func (builder *ValhallaResourceBuilder) ResourceBuilders() []ResourceBuilder
- func (builder *ValhallaResourceBuilder) Service() *ServiceBuilder
Constants ¶
View Source
const CronJobSuffix = "predicted-traffic"
View Source
const DeploymentSuffix = ""
View Source
const HorizontalPodAutoscalerSuffix = ""
View Source
const JobSuffix = "builder"
View Source
const PersistentVolumeClaimSuffix = ""
View Source
const PodDisruptionBudgetSuffix = ""
View Source
const ServiceSuffix = ""
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronJobBuilder ¶ added in v1.2.1
type CronJobBuilder struct {
*ValhallaResourceBuilder
}
func (*CronJobBuilder) Build ¶ added in v1.2.1
func (builder *CronJobBuilder) Build() (client.Object, error)
func (*CronJobBuilder) ShouldDeploy ¶ added in v1.2.1
func (builder *CronJobBuilder) ShouldDeploy(resources []runtime.Object) bool
type DeploymentBuilder ¶
type DeploymentBuilder struct {
*ValhallaResourceBuilder
}
func (*DeploymentBuilder) ShouldDeploy ¶
func (*DeploymentBuilder) ShouldDeploy(resources []runtime.Object) bool
type HorizontalPodAutoscalerBuilder ¶
type HorizontalPodAutoscalerBuilder struct {
*ValhallaResourceBuilder
}
func (*HorizontalPodAutoscalerBuilder) Build ¶
func (builder *HorizontalPodAutoscalerBuilder) Build() (client.Object, error)
func (*HorizontalPodAutoscalerBuilder) ShouldDeploy ¶
func (*HorizontalPodAutoscalerBuilder) ShouldDeploy(resources []runtime.Object) bool
type JobBuilder ¶
type JobBuilder struct {
*ValhallaResourceBuilder
}
func (*JobBuilder) ShouldDeploy ¶
func (*JobBuilder) ShouldDeploy(resources []runtime.Object) bool
type PersistentVolumeClaimBuilder ¶
type PersistentVolumeClaimBuilder struct {
*ValhallaResourceBuilder
}
func (*PersistentVolumeClaimBuilder) Build ¶
func (builder *PersistentVolumeClaimBuilder) Build() (client.Object, error)
func (*PersistentVolumeClaimBuilder) ShouldDeploy ¶
func (*PersistentVolumeClaimBuilder) ShouldDeploy(resources []runtime.Object) bool
type PodDisruptionBudgetBuilder ¶
type PodDisruptionBudgetBuilder struct {
*ValhallaResourceBuilder
}
func (*PodDisruptionBudgetBuilder) Build ¶
func (builder *PodDisruptionBudgetBuilder) Build() (client.Object, error)
func (*PodDisruptionBudgetBuilder) ShouldDeploy ¶
func (*PodDisruptionBudgetBuilder) ShouldDeploy(resources []runtime.Object) bool
type ResourceBuilder ¶
type ServiceBuilder ¶
type ServiceBuilder struct {
*ValhallaResourceBuilder
}
func (*ServiceBuilder) ShouldDeploy ¶
func (*ServiceBuilder) ShouldDeploy(resources []runtime.Object) bool
type ValhallaResourceBuilder ¶
type ValhallaResourceBuilder struct { Instance *valhallav1alpha1.Valhalla Scheme *runtime.Scheme }
func (*ValhallaResourceBuilder) CronJob ¶ added in v1.2.1
func (builder *ValhallaResourceBuilder) CronJob() *CronJobBuilder
func (*ValhallaResourceBuilder) Deployment ¶
func (builder *ValhallaResourceBuilder) Deployment() *DeploymentBuilder
func (*ValhallaResourceBuilder) HorizontalPodAutoscaler ¶
func (builder *ValhallaResourceBuilder) HorizontalPodAutoscaler() *HorizontalPodAutoscalerBuilder
func (*ValhallaResourceBuilder) Job ¶
func (builder *ValhallaResourceBuilder) Job() *JobBuilder
func (*ValhallaResourceBuilder) PersistentVolumeClaim ¶
func (builder *ValhallaResourceBuilder) PersistentVolumeClaim() *PersistentVolumeClaimBuilder
func (*ValhallaResourceBuilder) PodDisruptionBudget ¶
func (builder *ValhallaResourceBuilder) PodDisruptionBudget() *PodDisruptionBudgetBuilder
func (*ValhallaResourceBuilder) ResourceBuilders ¶
func (builder *ValhallaResourceBuilder) ResourceBuilders() []ResourceBuilder
func (*ValhallaResourceBuilder) Service ¶
func (builder *ValhallaResourceBuilder) Service() *ServiceBuilder
Click to show internal directories.
Click to hide internal directories.