Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithIngressSubDomain ¶ added in v0.3.2
Types ¶
type ManifestGroup ¶
type ManifestGroup struct {
Deployment *appsv1.Deployment `json:"deployment"`
StatefulSet *appsv1.StatefulSet `json:"statefulset"`
Service *corev1.Service `json:"service"`
ConfigMaps []*corev1.ConfigMap `json:"configMaps"`
Secrets []*corev1.Secret `json:"secrets"`
Ingress *netv1.Ingress `json:"ingress"`
}
The manifests applied for a Grey Matter component or dependency.
type Sidecar ¶
type Sidecar struct {
Container corev1.Container `json:"container"`
Volumes []corev1.Volume `json:"volumes"`
StaticConfig json.RawMessage `json:"staticConfig"`
}
The manifests applied for Grey Matter sidecar injection.
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
Version contains a cue.Value that holds all installation templates for a version of Grey Matter, plus options applied from a Mesh custom resource.
func New ¶ added in v0.3.2
New creates a *Version instance which contains all manifests needed to install a version of Grey Matter. It accepts a base install templates and a Mesh CR which overrides defaults when supplied.
func (Version) Manifests ¶
func (v Version) Manifests() []ManifestGroup
Extracts manifests from a Version's cue.Value.
func (Version) SidecarTemplate ¶
Returns a function that extracts sidecar manifests from a Version's cue.Value.
Click to show internal directories.
Click to hide internal directories.