Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateTiers ¶
func GenerateTiers(s *runtime.Scheme, ensureObject EnsureObject, namespace string, metadata map[string]string, files map[string][]byte) error
GenerateTiers processes the given metadata and files, generates TierTemplates and NSTemplateTiers, and ensures them via the provided EnsureObject function
Types ¶
type BasedOnTier ¶
type BasedOnTier struct { Revision string From string `json:"from"` Parameters []templatev1.Parameter `json:"parameters,omitempty" protobuf:"bytes,4,rep,name=parameters"` }
BasedOnTier defines which tier is supposed to be reused and which parameters should be modified An example:
from: base parameters:
- name: IDLER_TIMEOUT_SECONDS value: 43200
Which defines that for creating baseextendedidling tier the base tier should be used and the parameter IDLER_TIMEOUT_SECONDS should be set to 43200
type EnsureObject ¶
type TierGenerator ¶
type TierGenerator struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.