Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamicService ¶
type DynamicService struct {
// contains filtered or unexported fields
}
func NewDynamicService ¶
func NewDynamicService(config DynamicServiceConfig) *DynamicService
func (*DynamicService) Render ¶
func (s *DynamicService) Render(in RenderInput) (configmap *corev1.ConfigMap, secret *corev1.Secret, err error)
type DynamicServiceConfig ¶
type InvalidConfigError ¶
type InvalidConfigError struct {
// contains filtered or unexported fields
}
func (*InvalidConfigError) Error ¶
func (e *InvalidConfigError) Error() string
func (*InvalidConfigError) Is ¶
func (e *InvalidConfigError) Is(target error) bool
type RenderInput ¶
type RenderInput struct {
// Root directory of the config repository.
Dir string
// Path to the schema file.
Schema string
// List of variables for the schema in primitive format of 'name=value'.
Variables []string
// The name of the generated ConfigMap and Secret.
Name string
// The namespace of the generated ConfigMap and Secret.
Namespace string
// Additional annotations to be set on the generated ConfigMap and Secret.
ExtraAnnotations map[string]string
// Additional labels to be set on the generated ConfigMap and Secret.
ExtraLabels map[string]string
// The key to store the rendered data in the generated ConfigMap
ConfigMapDataKey string
// The key to store the rendered data in the generated Secret
SecretDataKey string
}
Click to show internal directories.
Click to hide internal directories.