Documentation ¶
Index ¶
- Constants
- Variables
- func BaseHelmCommand(helmCommand string, releaseName ReleaseName, chart Neo4jHelmChartBuilder, ...) []string
- func CheckError(err error)
- func HeadlessServiceHelmCommand(helmCommand string, releaseName ReleaseName, extraHelmArguments ...string) []string
- func LoadBalancerHelmCommand(helmCommand string, releaseName ReleaseName, extraHelmArguments ...string) []string
- type Admin
- type Affinity
- type AggregateBackup
- type Analytics
- type Annotations
- type ApocCredentials
- type Backup
- type Backups
- type Bolt
- type Capabilities
- type Config
- type ConsistencyCheck
- type ContainerSecurityContext
- type Data
- type Default
- type DefaultStorageClass
- type Dynamic
- type Env
- type HTTPS
- type HelmChartBuilder
- type HelmClient
- type HelmValues
- type Image
- type Import
- type Ingress
- type Internals
- type Jvm
- type K8sResources
- func HelmTemplate(t *testing.T, chart HelmChartBuilder, helmTemplateArgs []string, ...) (*K8sResources, error)
- func HelmTemplateForRelease(t *testing.T, releaseName ReleaseName, chart HelmChartBuilder, ...) (*K8sResources, error)
- func HelmTemplateFromStruct(t *testing.T, chart HelmChartBuilder, values interface{}, extraArgs ...string) (*K8sResources, error)
- func HelmTemplateFromYamlFile(t *testing.T, chart HelmChartBuilder, values resources.YamlFile, ...) (*K8sResources, error)
- func NewK8sResources(objects []runtime.Object, schemas []schema.GroupVersionKind) *K8sResources
- func RunHelmCommand(t *testing.T, helmTemplateArgs []string, moreHelmTemplateArgs ...string) (*K8sResources, error)
- func (k *K8sResources) Add(i runtime.Object, more ...runtime.Object)
- func (k *K8sResources) AddEndpoints(items []v1.Endpoints)
- func (k *K8sResources) AddPods(pods []v1.Pod)
- func (k *K8sResources) AddServices(services []v1.Service)
- func (k *K8sResources) All() (out []runtime.Object)
- func (k *K8sResources) AllWithMetadata() (out []metav1.Object)
- func (k *K8sResources) First(i runtime.Object) runtime.Object
- func (k *K8sResources) OfType(i runtime.Object) (out []runtime.Object)
- func (k *K8sResources) OfTypeWithName(i metav1.Object, name string) metav1.Object
- func (k *K8sResources) Only(t *testing.T, i runtime.Object) runtime.Object
- type LabelSelector
- type Licenses
- type LivenessProbe
- type Logging
- type Logs
- type MatchExpressions
- type MatchLabels
- type Metadata
- type Metrics
- type Namespace
- type NamespaceSelector
- type Neo4J
- type Neo4jBackupLimits
- type Neo4jBackupNeo4j
- type Neo4jBackupRequests
- type Neo4jBackupResources
- type Neo4jBackupValues
- type Neo4jConfiguration
- func (c *Neo4jConfiguration) Conf() map[string]string
- func (c *Neo4jConfiguration) JvmArgs() []string
- func (c *Neo4jConfiguration) PopulateFromFile(filename string) (*Neo4jConfiguration, error)
- func (c *Neo4jConfiguration) Update(other Neo4jConfiguration, appendJvmArgs bool) Neo4jConfiguration
- func (c *Neo4jConfiguration) UpdateFromMap(other map[string]string, appendJvmArgs bool) Neo4jConfiguration
- type Neo4jHelmChartBuilder
- type Neo4jLoadBalancer
- type Neo4jLoadBalancerValues
- type Neo4jReverseProxyValues
- type Neo4jService
- type Operations
- type PersistentDiskName
- type PodAffinity
- type PodAntiAffinity
- type PodDisruptionBudget
- type PodSpec
- type Port
- type Ports
- type PrivateKey
- type PublicCertificate
- type ReadinessProbe
- type ReleaseName
- type Requests
- type RequiredDuringSchedulingIgnoredDuringExecution
- type Resources
- type ReverseProxy
- type RevokedCerts
- type SecurityContext
- type Selector
- type SelectorTemplate
- type ServiceMonitor
- type ServiceMonitorSelector
- type ServiceSelector
- type Services
- type Share
- type Spec
- type Ssl
- type StartupProbe
- type Statefulset
- type TLS
- type Toleration
- type TopologySpreadConstraint
- type TrustedCerts
- type Type
- type Volume
- type VolumeClaimTemplate
- type Volumes
Constants ¶
View Source
const MOVIES_CYPHER = `` /* 27563-byte string literal not displayed */
View Source
const StorageSize = "10Gi"
Variables ¶
View Source
var ( PriorityClassNameArgs func(namespace string) []string EnableServerArgs func() []string NodeSelectorArgs func(namespace string) []string )
View Source
var BackupHelmChart = newHelmChart("neo4j-admin")
View Source
var BucketName = "helm-backup-test"
View Source
var ClusterReadReplicaHelmChart = newNeo4jHelmChart("neo4j", []string{"enterprise"})
View Source
var DefaultAuthSecretName = "neo4j-auth"
View Source
var DefaultClusterSize = 3
View Source
var DefaultClusterSizeArg = []string{"--set", "neo4j.minimumClusterSize=" + strconv.Itoa(DefaultClusterSize)}
View Source
var DefaultCommunityValues = HelmValues{ Neo4J: Neo4J{ Name: "test", Edition: "community", }, Volumes: Volumes{ Data: Data{ Mode: "selector", DisableSubPath: false, }, }, }
View Source
var DefaultEnterpriseSizeArgs = []string{"--set", "neo4j.edition=enterprise", "--set", "neo4j.acceptLicenseAgreement=yes"}
View Source
var DefaultEnterpriseValues = HelmValues{ Neo4J: Neo4J{ Name: "test", AcceptLicenseAgreement: "yes", Edition: "enterprise", }, Volumes: Volumes{ Data: Data{ Mode: "selector", DisableSubPath: false, }, }, }
View Source
var DefaultHelmTemplateReleaseName = releaseName("my-release")
View Source
var DefaultNeo4jBackupChartName = "neo4j-admin"
View Source
var DefaultNeo4jBackupValues = Neo4jBackupValues{ ConsistencyCheck: ConsistencyCheck{ Enable: true, CheckIndexes: true, CheckGraph: true, CheckCounts: true, CheckPropertyOwners: true, Verbose: true, }, Neo4J: Neo4jBackupNeo4j{ Image: strings.Split(os.Getenv("NEO4J_DOCKER_BACKUP_IMG"), ":")[0], ImageTag: strings.Split(os.Getenv("NEO4J_DOCKER_BACKUP_IMG"), ":")[1], JobSchedule: "* * * * *", SuccessfulJobsHistoryLimit: 3, FailedJobsHistoryLimit: 3, BackoffLimit: 3, }, TempVolume: map[string]interface{}{ "emptyDir": nil, }, Resources: Neo4jBackupResources{ Requests: Neo4jBackupRequests{ EphemeralStorage: "2Gi", }, Limits: Neo4jBackupLimits{ EphemeralStorage: "2Gi", }, }, SecurityContext: SecurityContext{ RunAsNonRoot: true, RunAsUser: 7474, RunAsGroup: 7474, FsGroup: 7474, FsGroupChangePolicy: "Always", }, ContainerSecurityContext: ContainerSecurityContext{ RunAsNonRoot: true, RunAsUser: 7474, RunAsGroup: 7474, ReadOnlyRootFilesystem: false, AllowPrivilegeEscalation: false, Capabilities: Capabilities{ Drop: []string{"ALL"}, }, }, }
View Source
var DefaultNeo4jChartName = "neo4j"
View Source
var DefaultNeo4jName = "test-cluster"
View Source
var DefaultNeo4jNameArg = []string{"--set", "neo4j.name=" + DefaultNeo4jName}
View Source
var DefaultNeo4jReverseProxyChartName = "neo4j-reverse-proxy"
View Source
var DefaultNeo4jReverseProxyValues = Neo4jReverseProxyValues{ ReverseProxy: ReverseProxy{ Image: os.Getenv("NEO4J_REVERSE_PROXY_IMG"), Ingress: Ingress{ Enabled: true, TLS: TLS{ Enabled: true, Config: []Config{ { SecretName: "ingress-secret", }, }, }, }, }, }
View Source
var DefaultPassword = fmt.Sprintf("defaulthelmpassword%da", RandomIntBetween(100000, 999999999))
View Source
var HeadlessServiceHelmChart = newHelmChart("neo4j-headless-service")
View Source
var HelmChart = newNeo4jHelmChart("neo4j", []string{"enterprise"})
View Source
var ImagePullSecretArgs []string
View Source
var ImagePullSecretUsername, ImagePullSecretPass, ImagePullSecretCustomImageName, ImagePullSecretEmail string
View Source
var LdapArgs = []string{"--set", "ldapPasswordFromSecret=ldapsecret", "--set", "ldapPasswordMountPath=/config/ldapPassword/"}
View Source
var LoadBalancerHelmChart = newHelmChart("neo4j-loadbalancer")
View Source
var Neo4jEdition = strings.ToLower(env.GetString("NEO4J_EDITION", "enterprise"))
View Source
var Neo4jHelmChartCommunityAndEnterprise = newNeo4jHelmChart("neo4j", []string{"community", "enterprise"})
View Source
var NodeSelectorLabel = func(namespace string) string { return fmt.Sprintf("testLabel=%s-1", namespace) }
View Source
var PrimaryHelmCharts = []Neo4jHelmChartBuilder{Neo4jHelmChartCommunityAndEnterprise}
View Source
var PriorityClassName = func(namespace string) string { return fmt.Sprintf("high-priority-%s", namespace) }
View Source
var ReverseProxyHelmChart = newHelmChart("neo4j-reverse-proxy")
Functions ¶
func BaseHelmCommand ¶
func BaseHelmCommand(helmCommand string, releaseName ReleaseName, chart Neo4jHelmChartBuilder, edition string, extraHelmArguments ...string) []string
func CheckError ¶
func CheckError(err error)
func HeadlessServiceHelmCommand ¶
func HeadlessServiceHelmCommand(helmCommand string, releaseName ReleaseName, extraHelmArguments ...string) []string
HeadlessServiceHelmCommand will perform helm install or helm uninstall on headless service chart
func LoadBalancerHelmCommand ¶
func LoadBalancerHelmCommand(helmCommand string, releaseName ReleaseName, extraHelmArguments ...string) []string
Types ¶
type Affinity ¶
type Affinity struct {
PodAffinity PodAffinity `yaml:"podAffinity"`
}
type AggregateBackup ¶
type AggregateBackup struct { Enabled bool `yaml:"enabled" default:"false"` Verbose bool `yaml:"verbose" default:"true"` KeepOldBackup bool `yaml:"keepOldBackup" default:"false"` ParallelRecovery bool `yaml:"parallelRecovery" default:"false"` FromPath string `yaml:"fromPath"` Database string `yaml:"database"` }
type Annotations ¶
type Annotations struct { }
type ApocCredentials ¶
type Backup ¶
type Backup struct { BucketName string `yaml:"bucketName,omitempty"` DatabaseAdminServiceName string `yaml:"databaseAdminServiceName,omitempty"` DatabaseAdminServiceIP string `yaml:"databaseAdminServiceIP,omitempty"` DatabaseNamespace string `yaml:"databaseNamespace,omitempty" default:"default"` DatabaseBackupPort string `yaml:"databaseBackupPort,omitempty" default:"6362"` DatabaseClusterDomain string `yaml:"databaseClusterDomain,omitempty" default:"cluster.local"` DatabaseBackupEndpoints string `yaml:"databaseBackupEndpoints,omitempty"` Database string `yaml:"database,omitempty"` AzureStorageAccountName string `yaml:"azureStorageAccountName,omitempty"` CloudProvider string `yaml:"cloudProvider,omitempty"` MinioEndpoint string `yaml:"minioEndpoint,omitempty"` SecretName string `yaml:"secretName,omitempty"` SecretKeyName string `yaml:"secretKeyName,omitempty"` PageCache string `yaml:"pageCache,omitempty"` HeapSize string `yaml:"heapSize,omitempty"` FallbackToFull bool `yaml:"fallbackToFull" default:"true"` IncludeMetadata string `yaml:"includeMetadata,omitempty"` Type string `yaml:"type,omitempty"` KeepFailed bool `yaml:"keepFailed" default:"false"` ParallelRecovery bool `yaml:"parallelRecovery" default:"false"` KeepBackupFiles bool `yaml:"keepBackupFiles" default:"true"` Verbose bool `yaml:"verbose" default:"true"` AggregateBackup AggregateBackup `yaml:"aggregate,omitempty"` }
type Bolt ¶
type Bolt struct { PrivateKey PrivateKey `yaml:"privateKey,omitempty"` PublicCertificate PublicCertificate `yaml:"publicCertificate,omitempty"` TrustedCerts TrustedCerts `yaml:"trustedCerts,omitempty"` RevokedCerts RevokedCerts `yaml:"revokedCerts,omitempty"` }
type Capabilities ¶
type Capabilities struct {
Drop []string `yaml:"drop,omitempty"`
}
type ConsistencyCheck ¶
type ConsistencyCheck struct { Enable bool `yaml:"enable" default:"false"` Database string `yaml:"database,omitempty"` CheckIndexes bool `yaml:"checkIndexes" default:"true"` CheckGraph bool `yaml:"checkGraph" default:"true"` CheckCounts bool `yaml:"checkCounts" default:"true"` CheckPropertyOwners bool `yaml:"checkPropertyOwners" default:"true"` MaxOffHeapMemory string `yaml:"maxOffHeapMemory,omitempty"` Threads string `yaml:"threads,omitempty"` Verbose bool `yaml:"verbose" default:"true"` }
type ContainerSecurityContext ¶
type ContainerSecurityContext struct { RunAsNonRoot bool `yaml:"runAsNonRoot,omitempty"` RunAsUser int64 `yaml:"runAsUser,omitempty"` RunAsGroup int64 `yaml:"runAsGroup,omitempty"` ReadOnlyRootFilesystem bool `yaml:"readOnlyRootFilesystem,omitempty"` AllowPrivilegeEscalation bool `yaml:"allowPrivilegeEscalation,omitempty"` Capabilities Capabilities `yaml:"capabilities,omitempty"` }
type Data ¶
type Data struct { Mode string `yaml:"mode,omitempty"` Selector Selector `yaml:"selector,omitempty"` DefaultStorageClass DefaultStorageClass `yaml:"defaultStorageClass,omitempty"` Dynamic Dynamic `yaml:"dynamic,omitempty"` Volume Volume `yaml:"volume,omitempty"` VolumeClaimTemplate VolumeClaimTemplate `yaml:"volumeClaimTemplate,omitempty"` DisableSubPath bool `yaml:"disableSubPathExpr,omitempty"` Labels map[string]string `yaml:"labels,omitempty"` }
type DefaultStorageClass ¶
type HTTPS ¶
type HTTPS struct { PrivateKey PrivateKey `yaml:"privateKey,omitempty"` PublicCertificate PublicCertificate `yaml:"publicCertificate,omitempty"` TrustedCerts TrustedCerts `yaml:"trustedCerts,omitempty"` RevokedCerts RevokedCerts `yaml:"revokedCerts,omitempty"` }
type HelmChartBuilder ¶
type HelmChartBuilder interface { Name() string // contains filtered or unexported methods }
type HelmClient ¶
type HelmClient struct {
// contains filtered or unexported fields
}
func NewHelmClient ¶
func NewHelmClient(chartName string, extraArgs ...string) *HelmClient
type HelmValues ¶
type HelmValues struct { FullnameOverride string `yaml:"fullnameOverride,omitempty"` NameOverride string `yaml:"nameOverride,omitempty"` Neo4J Neo4J `yaml:"neo4j,omitempty"` Volumes Volumes `yaml:"volumes,omitempty"` AdditionalVolumes []interface{} `yaml:"additionalVolumes,omitempty"` AdditionalVolumeMounts []interface{} `yaml:"additionalVolumeMounts,omitempty"` NodeSelector map[string]string `yaml:"nodeSelector,omitempty"` DisableLookups bool `default:"false" yaml:"disableLookups"` Services Services `yaml:"services,omitempty"` Config map[string]string `yaml:"config,omitempty"` SecurityContext SecurityContext `yaml:"securityContext,omitempty"` ContainerSecurityContext SecurityContext `yaml:"containerSecurityContext,omitempty"` ReadinessProbe ReadinessProbe `yaml:"readinessProbe,omitempty"` LivenessProbe LivenessProbe `yaml:"livenessProbe,omitempty"` StartupProbe StartupProbe `yaml:"startupProbe,omitempty"` Ssl Ssl `yaml:"ssl,omitempty"` ClusterDomain string `yaml:"clusterDomain,omitempty"` Image Image `yaml:"image,omitempty"` Statefulset Statefulset `yaml:"statefulset,omitempty"` Env Env `yaml:"env,omitempty"` PodSpec PodSpec `yaml:"podSpec,omitempty"` LogInitialPassword bool `yaml:"logInitialPassword,omitempty"` Jvm Jvm `yaml:"jvm,omitempty"` Logs Logging `yaml:"logs,omitempty"` LdapPasswordFromSecret string `yaml:"ldapPasswordFromSecret,omitempty"` LdapPasswordMountPath string `yaml:"ldapPasswordMountPath,omitempty"` ApocCredentials ApocCredentials `yaml:"apoc_credentials,omitempty"` PodDisruptionBudget PodDisruptionBudget `yaml:"podDisruptionBudget"` ServiceMonitor ServiceMonitor `yaml:"serviceMonitor"` Analytics Analytics `yaml:"analytics"` }
func HelmReleaseValues ¶
func HelmReleaseValues(t *testing.T) (HelmValues, error)
type K8sResources ¶
type K8sResources struct {
// contains filtered or unexported fields
}
func HelmTemplate ¶
func HelmTemplate(t *testing.T, chart HelmChartBuilder, helmTemplateArgs []string, moreHelmTemplateArgs ...string) (*K8sResources, error)
func HelmTemplateForRelease ¶
func HelmTemplateForRelease(t *testing.T, releaseName ReleaseName, chart HelmChartBuilder, helmTemplateArgs []string, moreHelmTemplateArgs ...string) (*K8sResources, error)
func HelmTemplateFromStruct ¶
func HelmTemplateFromStruct(t *testing.T, chart HelmChartBuilder, values interface{}, extraArgs ...string) (*K8sResources, error)
func HelmTemplateFromYamlFile ¶
func HelmTemplateFromYamlFile(t *testing.T, chart HelmChartBuilder, values resources.YamlFile, extraHelmArgs ...string) (*K8sResources, error)
func NewK8sResources ¶
func NewK8sResources(objects []runtime.Object, schemas []schema.GroupVersionKind) *K8sResources
func RunHelmCommand ¶
func (*K8sResources) AddEndpoints ¶
func (k *K8sResources) AddEndpoints(items []v1.Endpoints)
func (*K8sResources) AddPods ¶
func (k *K8sResources) AddPods(pods []v1.Pod)
func (*K8sResources) AddServices ¶
func (k *K8sResources) AddServices(services []v1.Service)
func (*K8sResources) All ¶
func (k *K8sResources) All() (out []runtime.Object)
func (*K8sResources) AllWithMetadata ¶
func (k *K8sResources) AllWithMetadata() (out []metav1.Object)
func (*K8sResources) OfType ¶
func (k *K8sResources) OfType(i runtime.Object) (out []runtime.Object)
func (*K8sResources) OfTypeWithName ¶
type LabelSelector ¶
type LabelSelector struct { MatchExpressions []MatchExpressions `yaml:"matchExpressions,omitempty"` MatchLabels map[string]string `yaml:"matchLabels,omitempty"` }
type LivenessProbe ¶
type MatchExpressions ¶
type MatchLabels ¶
type NamespaceSelector ¶
type Neo4J ¶
type Neo4J struct { Name string `yaml:"name,omitempty"` Password string `yaml:"password,omitempty"` PasswordFromSecret string `yaml:"passwordFromSecret,omitempty"` Edition string `yaml:"edition,omitempty"` MinimumClusterSize int `yaml:"minimumClusterSize,omitempty"` AcceptLicenseAgreement string `yaml:"acceptLicenseAgreement,omitempty"` OfflineMaintenanceModeEnabled bool `yaml:"offlineMaintenanceModeEnabled,omitempty"` Resources Resources `yaml:"resources,omitempty"` Labels interface{} `yaml:"labels,omitempty"` Operations Operations `yaml:"operations,omitempty"` }
type Neo4jBackupLimits ¶
type Neo4jBackupNeo4j ¶
type Neo4jBackupNeo4j struct { Image string `yaml:"image" default:"neo4jbuildservice/helm-charts"` ImageTag string `yaml:"imageTag" default:"backup"` PodLabels map[string]string `yaml:"podLabels,omitempty"` PodAnnotations map[string]string `yaml:"podAnnotations,omitempty"` JobSchedule string `yaml:"jobSchedule" default:"* * * * *"` SuccessfulJobsHistoryLimit int `yaml:"successfulJobsHistoryLimit" default:"3"` FailedJobsHistoryLimit int `yaml:"failedJobsHistoryLimit" default:"1"` BackoffLimit int `yaml:"backoffLimit" default:"6"` Labels map[string]string `yaml:"labels,omitempty"` }
type Neo4jBackupRequests ¶
type Neo4jBackupResources ¶
type Neo4jBackupResources struct { Requests Neo4jBackupRequests `yaml:"requests,omitempty"` Limits Neo4jBackupLimits `yaml:"limits,omitempty"` }
type Neo4jBackupValues ¶
type Neo4jBackupValues struct { NameOverride string `yaml:"nameOverride,omitempty"` FullnameOverride string `yaml:"fullnameOverride,omitempty"` DisableLookups bool `yaml:"disableLookups" default:"false"` Neo4J Neo4jBackupNeo4j `yaml:"neo4j"` Backup Backup `yaml:"backup"` ConsistencyCheck ConsistencyCheck `yaml:"consistencyCheck"` ServiceAccountName string `yaml:"serviceAccountName"` TempVolume map[string]interface{} `yaml:"tempVolume"` SecurityContext SecurityContext `yaml:"securityContext"` ContainerSecurityContext ContainerSecurityContext `yaml:"containerSecurityContext,omitempty"` NodeSelector map[string]string `yaml:"nodeSelector,omitempty"` Resources Neo4jBackupResources `yaml:"resources,omitempty"` Tolerations []Toleration `yaml:"tolerations,omitempty"` Affinity Affinity `yaml:"affinity,omitempty"` }
type Neo4jConfiguration ¶
type Neo4jConfiguration struct {
// contains filtered or unexported fields
}
func (*Neo4jConfiguration) Conf ¶
func (c *Neo4jConfiguration) Conf() map[string]string
func (*Neo4jConfiguration) JvmArgs ¶
func (c *Neo4jConfiguration) JvmArgs() []string
func (*Neo4jConfiguration) PopulateFromFile ¶
func (c *Neo4jConfiguration) PopulateFromFile(filename string) (*Neo4jConfiguration, error)
func (*Neo4jConfiguration) Update ¶
func (c *Neo4jConfiguration) Update(other Neo4jConfiguration, appendJvmArgs bool) Neo4jConfiguration
func (*Neo4jConfiguration) UpdateFromMap ¶
func (c *Neo4jConfiguration) UpdateFromMap(other map[string]string, appendJvmArgs bool) Neo4jConfiguration
type Neo4jHelmChartBuilder ¶
type Neo4jHelmChartBuilder interface { HelmChartBuilder GetEditions() []string SupportsEdition(edition string) bool }
type Neo4jLoadBalancer ¶
type Neo4jLoadBalancerValues ¶
type Neo4jLoadBalancerValues struct { Neo4j Neo4jLoadBalancer `yaml:"neo4j"` Annotations map[string]string `yaml:"annotations"` Ports Ports `yaml:"ports"` Selector map[string]string `yaml:"selector"` Spec Spec `yaml:"spec"` ClusterDomain string `yaml:"clusterDomain"` MultiCluster bool `yaml:"multiCluster"` }
type Neo4jReverseProxyValues ¶
type Neo4jReverseProxyValues struct { NameOverride string `yaml:"nameOverride,omitempty"` FullnameOverride string `yaml:"fullnameOverride,omitempty"` ReverseProxy ReverseProxy `yaml:"reverseProxy,omitempty"` }
type Neo4jService ¶
type Neo4jService struct { Enabled bool `yaml:"enabled,omitempty" default:"true"` Annotations map[string]string `yaml:"annotations,omitempty"` Spec Spec `yaml:"spec,omitempty"` Ports Ports `yaml:"ports"` Selector ServiceSelector `yaml:"selector,omitempty"` MultiCluster bool `yaml:"multiCluster,omitempty"` }
type Operations ¶
type PersistentDiskName ¶
type PersistentDiskName string
type PodAffinity ¶
type PodAffinity struct {
RequiredDuringSchedulingIgnoredDuringExecution []RequiredDuringSchedulingIgnoredDuringExecution `yaml:"requiredDuringSchedulingIgnoredDuringExecution"`
}
type PodAntiAffinity ¶
type PodAntiAffinity struct {
RequiredDuringSchedulingIgnoredDuringExecution []RequiredDuringSchedulingIgnoredDuringExecution `yaml:"requiredDuringSchedulingIgnoredDuringExecution"`
}
type PodDisruptionBudget ¶
type PodDisruptionBudget struct { Enabled bool `yaml:"enabled"` MatchLabels map[string]string `yaml:"matchLabels,omitempty"` MatchExpressions []MatchExpressions `yaml:"matchExpressions,omitempty"` Labels map[string]string `yaml:"labels,omitempty"` MinAvailable string `yaml:"minAvailable,omitempty"` }
type PodSpec ¶
type PodSpec struct { Annotations map[string]string `yaml:"annotations,omitempty"` NodeAffinity map[string]interface{} `yaml:"nodeAffinity,omitempty"` PodAntiAffinity interface{} `yaml:"podAntiAffinity,omitempty"` Tolerations []interface{} `yaml:"tolerations,omitempty"` PriorityClassName string `yaml:"priorityClassName,omitempty"` DNSPolicy string `yaml:"dnsPolicy,omitempty"` Loadbalancer string `yaml:"loadbalancer,omitempty"` ServiceAccountName string `yaml:"serviceAccountName,omitempty"` TerminationGracePeriodSeconds int `yaml:"terminationGracePeriodSeconds,omitempty"` InitContainers []interface{} `yaml:"initContainers,omitempty"` Containers []interface{} `yaml:"containers,omitempty"` TopologySpreadConstraints []TopologySpreadConstraint `yaml:"topologySpreadConstraints,omitempty"` }
type PrivateKey ¶
type PrivateKey struct { SecretName interface{} `yaml:"secretName,omitempty"` SubPath interface{} `yaml:"subPath,omitempty"` }
type PublicCertificate ¶
type PublicCertificate struct { SecretName interface{} `yaml:"secretName,omitempty"` SubPath interface{} `yaml:"subPath,omitempty"` }
type ReadinessProbe ¶
type ReleaseName ¶
type ReleaseName interface { String() string Namespace() Namespace DiskName() PersistentDiskName PodName() string ShortName() string EnvConfigMapName() string UserConfigMapName() string InternalServiceName() string DefaultConfigMapName() string UserLogsConfigMapName() string ServerLogsConfigMapName() string }
func NewCoreReleaseName ¶
func NewCoreReleaseName(clusterName ReleaseName, number int) ReleaseName
func NewHeadlessServiceReleaseName ¶
func NewHeadlessServiceReleaseName(clusterName ReleaseName) ReleaseName
func NewLoadBalancerReleaseName ¶
func NewLoadBalancerReleaseName(clusterName ReleaseName) ReleaseName
func NewReleaseName ¶
func NewReleaseName(name string) ReleaseName
type RequiredDuringSchedulingIgnoredDuringExecution ¶
type RequiredDuringSchedulingIgnoredDuringExecution struct { LabelSelector LabelSelector `yaml:"labelSelector,omitempty"` TopologyKey string `yaml:"topologyKey,omitempty"` }
type ReverseProxy ¶
type RevokedCerts ¶
type RevokedCerts struct {
Sources []interface{} `yaml:"sources,omitempty"`
}
type SecurityContext ¶
type SecurityContext struct { RunAsNonRoot bool `yaml:"runAsNonRoot,omitempty"` RunAsUser int `yaml:"runAsUser,omitempty"` RunAsGroup int `yaml:"runAsGroup,omitempty"` FsGroup int `yaml:"fsGroup,omitempty"` FsGroupChangePolicy string `yaml:"fsGroupChangePolicy,omitempty"` ReadOnlyRootFilesystem bool `yaml:"readOnlyRootFilesystem,omitempty"` AllowPrivilegeEscalation bool `yaml:"allowPrivilegeEscalation,omitempty"` Capabilities Capabilities `yaml:"capabilities,omitempty"` }
type Selector ¶
type Selector struct { StorageClassName string `yaml:"storageClassName,omitempty"` AccessModes []string `yaml:"accessModes,omitempty"` Requests Requests `yaml:"requests,omitempty"` SelectorTemplate SelectorTemplate `yaml:"selectorTemplate,omitempty"` }
type SelectorTemplate ¶
type SelectorTemplate struct {
MatchLabels MatchLabels `yaml:"matchLabels,omitempty"`
}
type ServiceMonitor ¶
type ServiceMonitor struct { Enabled bool `yaml:"enabled"` Labels map[string]string `yaml:"labels,omitempty"` JobLabel string `yaml:"jobLabel,omitempty"` Interval string `yaml:"interval,omitempty"` Port string `yaml:"port,omitempty"` Path string `yaml:"path,omitempty"` NamespaceSelector NamespaceSelector `yaml:"namespaceSelector"` TargetLabels []string `yaml:"targetLabels,omitempty"` Selector ServiceMonitorSelector `yaml:"selector,omitempty"` }
type ServiceMonitorSelector ¶
type ServiceSelector ¶
type ServiceSelector struct {
HelmNeo4JComNeo4JLoadbalancer string `yaml:"helm.neo4j.com/neo4j.loadbalancer,omitempty"`
}
type Services ¶
type Services struct { Default Default `yaml:"default,omitempty"` Neo4j Neo4jService `yaml:"neo4j,omitempty"` Admin Admin `yaml:"admin,omitempty"` Internals Internals `yaml:"internals,omitempty"` }
type StartupProbe ¶
type Statefulset ¶
type Statefulset struct {
Metadata Metadata `yaml:"metadata,omitempty"`
}
type Toleration ¶
type TrustedCerts ¶
type TrustedCerts struct {
Sources []interface{} `yaml:"sources,omitempty"`
}
type Volume ¶
type Volume struct {
SetOwnerAndGroupWritableFilePermissions bool `yaml:"setOwnerAndGroupWritableFilePermissions,omitempty"`
}
type VolumeClaimTemplate ¶
type VolumeClaimTemplate struct { }
Click to show internal directories.
Click to hide internal directories.