configmapandsecret

package
Version: v1.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2019 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL