Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BananaFile ¶
type BananaFile struct { TypeMeta `json:",inline" yaml:",inline"` MetaData *ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` // Name is the name of this konfig Name string `json:"name,omitempty" yaml:"name,omitempty"` // Version is the version of this konfig Version string `json:"version,omitempty" yaml:"version,omitempty"` // Clusters is a list of clusters in this konf Clusters []*Cluster `json:"clusters,omitempty" yaml:"clusters,omitempty"` // Modules is a list of modules applied to this konfig Modules []Module `json:"modules,omitempty" yaml:"modules,omitempty"` }
type Cluster ¶
type Cluster struct { MetaData *ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` // Name is the name of this cluster Name string `json:"name,omitempty" yaml:"name,omitempty"` // Version is the k8s version of this cluster Version string `json:"version,omitempty" yaml:"version,omitempty"` // Ingress is the ingress configuration for services in this cluster Ingress *Ingress `json:"ingress,omitempty" yaml:"ingress,omitempty"` }
type Ingress ¶
type Ingress struct { // URLFormat is the format string for generating URL's to different services in the cluster URLFormat string `json:"urlFormat,omitempty" yaml:"urlFormat,omitempty"` }
type Module ¶
type Module struct { MetaData *ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` // Name is the name of this module Name string `json:"name,omitempty" yaml:"name,omitempty"` // Version is the version of this module Version string `json:"version,omitempty" yaml:"version,omitempty"` // Namespace is the namespace for this module Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` // Opt is options that can be passed to this module Opts ModuleOpts `json:"opts,omitempty" yaml:"opts,omitempty"` // Components is a list of components for this module Components []string `json:"components,omitempty" yaml:"components,omitempty"` }
type ModuleOpts ¶
type ModuleOpts map[string]interface{}
type ObjectMeta ¶
type ObjectMeta struct { Name string `json:"name,omitempty" yaml:"name,omitempty"` Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` }
ObjectMeta partially copies apimachinery/pkg/apis/meta/v1.ObjectMeta No need for a direct dependence; the fields are stable.
Click to show internal directories.
Click to hide internal directories.