Documentation ¶
Overview ¶
Package configmapandsecret generates configmaps and secrets per generator rules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapFactory ¶ added in v1.0.5
type ConfigMapFactory struct {
// contains filtered or unexported fields
}
ConfigMapFactory makes ConfigMaps.
func NewConfigMapFactory ¶ added in v1.0.5
func NewConfigMapFactory( fSys fs.FileSystem, l loader.Loader) *ConfigMapFactory
NewConfigMapFactory returns a new ConfigMapFactory.
func (*ConfigMapFactory) MakeConfigMap ¶ added in v1.0.5
func (f *ConfigMapFactory) MakeConfigMap( args *types.ConfigMapArgs) (*corev1.ConfigMap, error)
MakeConfigMap returns a new ConfigMap, or nil and an error.
func (*ConfigMapFactory) MakeUnstructAndGenerateName ¶ added in v1.0.5
func (f *ConfigMapFactory) MakeUnstructAndGenerateName( args *types.ConfigMapArgs) (*unstructured.Unstructured, string, error)
MakeUnstructAndGenerateName returns an configmap and the name appended with a hash.
type SecretFactory ¶ added in v1.0.5
type SecretFactory struct {
// contains filtered or unexported fields
}
SecretFactory makes Secrets.
func NewSecretFactory ¶ added in v1.0.5
func NewSecretFactory(fSys fs.FileSystem, wd string) *SecretFactory
NewSecretFactory returns a new SecretFactory.
func (*SecretFactory) MakeSecret ¶ added in v1.0.5
func (f *SecretFactory) MakeSecret(args types.SecretArgs) (*corev1.Secret, error)
MakeSecret returns a new secret.
Click to show internal directories.
Click to hide internal directories.