Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { PubSubConfiguration PubSubConfiguration `yaml:"pubsub" validate:"required"` KubeBuilderConfiguration KubeBuilderConfiguration `yaml:"kubebuilder" validate:"required"` KubernetesConfiguration KubernetesConfiguration `yaml:"kubernetes" validate:"required"` }
kubebuilder:
mount: ./mount purgepubsub: true bypassVCS: true bypassBuild: true bypassKubernetes: false
gcp:
connectionString: beamery-trials topic: cadium subscriptionString: cadium-sub
Configuration representation of yaml
func LoadConfiguration ¶
func LoadConfiguration(filepath string) (*Configuration, error)
LoadConfiguration ...
type KubeBuilderConfiguration ¶
type KubeBuilderConfiguration struct { Mount string `yaml:"mount" validate:"required"` Drainqueue bool `yaml:"drainqueue" validate:"required"` BypassVCS bool `yaml:"bypassVCS" validate:"required"` BypassBuild bool `yaml:"bypassBuild" validate:"required"` BypassKubernetes bool `yaml:"bypassKubernetes" validate:"required"` }
KubeBuilderConfiguration applicatoin configuration
type KubernetesConfiguration ¶
type KubernetesConfiguration struct { InCluster bool `yaml:"incluster" validate:"required"` MasterURL string `yaml:"masterurl" validate:"required"` }
KubernetesConfiguration ...
type PubSubConfiguration ¶
type PubSubConfiguration struct { ConnectionString string `yaml:"connectionString"` Topic string `yaml:"topic"` SubscriptionString string `yaml:"subscriptionString"` }
PubSubConfiguration object
Click to show internal directories.
Click to hide internal directories.