package configmapandsecret
import "k8s.io/cli-runtime/pkg/kustomize/k8sdeps/configmapandsecret"
Package configmapandsecret generates configmaps and secrets per generator rules.
Index ¶
- type ConfigMapFactory
- func NewConfigMapFactory(l ifc.Loader) *ConfigMapFactory
- func (f *ConfigMapFactory) MakeConfigMap( args *types.ConfigMapArgs, options *types.GeneratorOptions) (*corev1.ConfigMap, error)
- type SecretFactory
Types ¶
type ConfigMapFactory ¶
type ConfigMapFactory struct {
// contains filtered or unexported fields
}
ConfigMapFactory makes ConfigMaps.
func NewConfigMapFactory ¶
func NewConfigMapFactory(l ifc.Loader) *ConfigMapFactory
NewConfigMapFactory returns a new ConfigMapFactory.
func (*ConfigMapFactory) MakeConfigMap ¶
func (f *ConfigMapFactory) MakeConfigMap( args *types.ConfigMapArgs, options *types.GeneratorOptions) (*corev1.ConfigMap, error)
MakeConfigMap returns a new ConfigMap, or nil and an error.
type SecretFactory ¶
type SecretFactory struct {
// contains filtered or unexported fields
}
SecretFactory makes Secrets.
func NewSecretFactory ¶
func NewSecretFactory(ldr ifc.Loader) *SecretFactory
NewSecretFactory returns a new SecretFactory.
func (*SecretFactory) MakeSecret ¶
func (f *SecretFactory) MakeSecret(args *types.SecretArgs, options *types.GeneratorOptions) (*corev1.Secret, error)
MakeSecret returns a new secret.
Source Files ¶
configmapfactory.go kv.go secretfactory.go
- Version
- v0.15.11-beta.0
- Published
- Feb 11, 2020
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 3 minutes ago –
Tools for package owners.