Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMicroService ¶
NewMicroService returns a pointer to a complete Kubernetes manifest for a deployment
Types ¶
type Options ¶
type Options struct { mutations.VaultConfig Replicas int32 `json:"replicas"` Port int32 `json:"port,omitempty"` ServicePort int32 `json:"servicePort,omitempty"` Name string `json:"name"` ServiceAccountName string `json:"serviceAccountName"` Image string `json:"image"` ServiceType string `json:"serviceType,omitempty"` Command []string `json:"command,omitempty"` Env map[string]string `json:"env,omitempty"` EnableVault bool `json:"enableVault"` EnableHostNetworking bool `json:"hostNetwork"` EnableGoogleCloudServiceAccount bool `json:"enableGoogleCloudServiceAccount"` IncludeKubeletHostIp bool `json:"includeKubeletHostIp"` ReadinessProbe *objects.ProbeOptions `json:"readinessProbe,omitempty"` LivenessProbe *objects.ProbeOptions `json:"livenessProbe,omitempty"` Ingress *objects.IngressOptions `json:"ingress,omitempty"` }
Options represents all the input we accept in our Jsonnet microservice implementation
Click to show internal directories.
Click to hide internal directories.