Documentation ¶
Index ¶
- Constants
- type ClusterScopedBuilder
- type ConfigMapBuilder
- type CronJobBuilder
- type DeploymentBuilder
- type GatewayDeploymentBuilder
- type GatewayServiceBuilder
- type HorizontalPodAutoscalerBuilder
- type JobBuilder
- type OSRMResourceBuilder
- func (builder *OSRMResourceBuilder) ConfigMap(profiles []*osrmv1alpha1.ProfileSpec) *ConfigMapBuilder
- func (builder *OSRMResourceBuilder) CronJob(profile *osrmv1alpha1.ProfileSpec) *CronJobBuilder
- func (builder *OSRMResourceBuilder) Deployment(profile *osrmv1alpha1.ProfileSpec) *DeploymentBuilder
- func (builder *OSRMResourceBuilder) GatewayDeployment(profiles []*osrmv1alpha1.ProfileSpec) *GatewayDeploymentBuilder
- func (builder *OSRMResourceBuilder) GatewayService(profiles []*osrmv1alpha1.ProfileSpec) *GatewayServiceBuilder
- func (builder *OSRMResourceBuilder) HorizontalPodAutoscaler(profile *osrmv1alpha1.ProfileSpec) *HorizontalPodAutoscalerBuilder
- func (builder *OSRMResourceBuilder) Job(profile *osrmv1alpha1.ProfileSpec) *JobBuilder
- func (builder *OSRMResourceBuilder) PersistentVolumeClaim(profile *osrmv1alpha1.ProfileSpec) *PersistentVolumeClaimBuilder
- func (builder *OSRMResourceBuilder) PodDisruptionBudget(profile *osrmv1alpha1.ProfileSpec) *PodDisruptionBudgetBuilder
- func (builder *OSRMResourceBuilder) ResourceBuilders() []ResourceBuilder
- func (builder *OSRMResourceBuilder) Service(profile *osrmv1alpha1.ProfileSpec) *ServiceBuilder
- type OSRMService
- type PersistentVolumeClaimBuilder
- type PodDisruptionBudgetBuilder
- type ProfileScopedBuilder
- type ResourceBuilder
- type ServiceBuilder
Constants ¶
View Source
const ConfigMapSuffix = ""
View Source
const CronJobSuffix = "speed-updates"
View Source
const DeploymentSuffix = ""
View Source
const GatewayConfigVersion = "osrmcluter.itayankri/gatewayConfigHash"
View Source
const GatewaySuffix = ""
View Source
const HorizontalPodAutoscalerSuffix = ""
View Source
const JobSuffix = "map-builder"
View Source
const LastTrafficUpdateTimeAnnotation = "osrmcluster.itayankri/lastTrafficUpdateTime"
View Source
const PersistentVolumeClaimSuffix = ""
View Source
const PodDisruptionBudgetSuffix = ""
View Source
const ServiceSuffix = ""
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterScopedBuilder ¶
type ClusterScopedBuilder struct {
// contains filtered or unexported fields
}
type ConfigMapBuilder ¶
type ConfigMapBuilder struct { ClusterScopedBuilder *OSRMResourceBuilder }
func (*ConfigMapBuilder) ShouldDeploy ¶
func (builder *ConfigMapBuilder) ShouldDeploy(resources []runtime.Object) bool
type CronJobBuilder ¶
type CronJobBuilder struct { ProfileScopedBuilder *OSRMResourceBuilder }
func (*CronJobBuilder) ShouldDeploy ¶
func (builder *CronJobBuilder) ShouldDeploy(resources []runtime.Object) bool
type DeploymentBuilder ¶
type DeploymentBuilder struct { ProfileScopedBuilder *OSRMResourceBuilder }
func (*DeploymentBuilder) ShouldDeploy ¶
func (builder *DeploymentBuilder) ShouldDeploy(resources []runtime.Object) bool
type GatewayDeploymentBuilder ¶
type GatewayDeploymentBuilder struct { ClusterScopedBuilder *OSRMResourceBuilder }
func (*GatewayDeploymentBuilder) Build ¶
func (builder *GatewayDeploymentBuilder) Build() (client.Object, error)
func (*GatewayDeploymentBuilder) ShouldDeploy ¶
func (builder *GatewayDeploymentBuilder) ShouldDeploy(resources []runtime.Object) bool
type GatewayServiceBuilder ¶
type GatewayServiceBuilder struct { ClusterScopedBuilder *OSRMResourceBuilder }
func (*GatewayServiceBuilder) Build ¶
func (builder *GatewayServiceBuilder) Build() (client.Object, error)
func (*GatewayServiceBuilder) ShouldDeploy ¶
func (builder *GatewayServiceBuilder) ShouldDeploy(resources []runtime.Object) bool
type HorizontalPodAutoscalerBuilder ¶
type HorizontalPodAutoscalerBuilder struct { ProfileScopedBuilder *OSRMResourceBuilder }
func (*HorizontalPodAutoscalerBuilder) Build ¶
func (builder *HorizontalPodAutoscalerBuilder) Build() (client.Object, error)
func (*HorizontalPodAutoscalerBuilder) ShouldDeploy ¶
func (builder *HorizontalPodAutoscalerBuilder) ShouldDeploy(resources []runtime.Object) bool
type JobBuilder ¶
type JobBuilder struct { ProfileScopedBuilder *OSRMResourceBuilder }
func (*JobBuilder) ShouldDeploy ¶
func (builder *JobBuilder) ShouldDeploy(resources []runtime.Object) bool
type OSRMResourceBuilder ¶
type OSRMResourceBuilder struct { Instance *osrmv1alpha1.OSRMCluster Scheme *runtime.Scheme }
func (*OSRMResourceBuilder) ConfigMap ¶
func (builder *OSRMResourceBuilder) ConfigMap(profiles []*osrmv1alpha1.ProfileSpec) *ConfigMapBuilder
func (*OSRMResourceBuilder) CronJob ¶
func (builder *OSRMResourceBuilder) CronJob(profile *osrmv1alpha1.ProfileSpec) *CronJobBuilder
func (*OSRMResourceBuilder) Deployment ¶
func (builder *OSRMResourceBuilder) Deployment(profile *osrmv1alpha1.ProfileSpec) *DeploymentBuilder
func (*OSRMResourceBuilder) GatewayDeployment ¶
func (builder *OSRMResourceBuilder) GatewayDeployment(profiles []*osrmv1alpha1.ProfileSpec) *GatewayDeploymentBuilder
func (*OSRMResourceBuilder) GatewayService ¶
func (builder *OSRMResourceBuilder) GatewayService(profiles []*osrmv1alpha1.ProfileSpec) *GatewayServiceBuilder
func (*OSRMResourceBuilder) HorizontalPodAutoscaler ¶
func (builder *OSRMResourceBuilder) HorizontalPodAutoscaler(profile *osrmv1alpha1.ProfileSpec) *HorizontalPodAutoscalerBuilder
func (*OSRMResourceBuilder) Job ¶
func (builder *OSRMResourceBuilder) Job(profile *osrmv1alpha1.ProfileSpec) *JobBuilder
func (*OSRMResourceBuilder) PersistentVolumeClaim ¶
func (builder *OSRMResourceBuilder) PersistentVolumeClaim(profile *osrmv1alpha1.ProfileSpec) *PersistentVolumeClaimBuilder
func (*OSRMResourceBuilder) PodDisruptionBudget ¶
func (builder *OSRMResourceBuilder) PodDisruptionBudget(profile *osrmv1alpha1.ProfileSpec) *PodDisruptionBudgetBuilder
func (*OSRMResourceBuilder) ResourceBuilders ¶
func (builder *OSRMResourceBuilder) ResourceBuilders() []ResourceBuilder
func (*OSRMResourceBuilder) Service ¶
func (builder *OSRMResourceBuilder) Service(profile *osrmv1alpha1.ProfileSpec) *ServiceBuilder
type OSRMService ¶
type OSRMService string
const ( NearestService OSRMService = "nearest" RouteService OSRMService = "route" TableService OSRMService = "table" MatchService OSRMService = "match" TripService OSRMService = "trip" TileService OSRMService = "tile" )
type PersistentVolumeClaimBuilder ¶
type PersistentVolumeClaimBuilder struct { ProfileScopedBuilder *OSRMResourceBuilder }
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 { ProfileScopedBuilder *OSRMResourceBuilder }
func (*PodDisruptionBudgetBuilder) Build ¶
func (builder *PodDisruptionBudgetBuilder) Build() (client.Object, error)
func (*PodDisruptionBudgetBuilder) ShouldDeploy ¶
func (builder *PodDisruptionBudgetBuilder) ShouldDeploy(resources []runtime.Object) bool
type ProfileScopedBuilder ¶
type ProfileScopedBuilder struct {
// contains filtered or unexported fields
}
type ResourceBuilder ¶
type ServiceBuilder ¶
type ServiceBuilder struct { ProfileScopedBuilder *OSRMResourceBuilder }
func (*ServiceBuilder) ShouldDeploy ¶
func (builder *ServiceBuilder) ShouldDeploy(resources []runtime.Object) bool
Click to show internal directories.
Click to hide internal directories.