env

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

env implements environment variable templating.

SPDX-License-Identifier: MIT Copyright (c) 2019 Hadrien Chauvin

SPDX-License-Identifier: MIT Copyright (c) 2019 Hadrien Chauvin

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transformer

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

func NewTranformer

func NewTranformer(
	cfg *config.Config,
	name names.Name,
	k8sClient *k8s.K8s,
) *Transformer

func (*Transformer) Get

func (trans *Transformer) Get(
	ctx context.Context,
	tplStr string,
) (string, error)

Gets get the expansion of a template.

Jump to

Keyboard shortcuts

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