configmapandsecret

package
v3.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 6 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 Factory

type Factory struct {
	// contains filtered or unexported fields
}

Factory makes ConfigMaps and Secrets.

func NewFactory

func NewFactory(
	ldr ifc.Loader, o *types.GeneratorOptions) *Factory

NewFactory returns a new factory that makes ConfigMaps and Secrets.

func (*Factory) MakeConfigMap

func (f *Factory) MakeConfigMap(
	args *types.ConfigMapArgs) (*v1.ConfigMap, error)

MakeConfigMap returns a new ConfigMap, or nil and an error.

func (*Factory) MakeSecret

func (f *Factory) MakeSecret(
	args *types.SecretArgs) (*corev1.Secret, error)

MakeSecret returns a new secret.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL