provider

package
v0.0.0-...-b5980d5 Latest Latest
Warning

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

Go to latest
Published: May 3, 2018 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	templateDirectory TemplateDirectory,
	parser teamvault_parser.Parser,
) k8s.Provider

New file provider for directory using Teamvault parser

Types

type NamespaceDirectory

type NamespaceDirectory string

NamespaceDirectory contains all manifest files for the namespace

func (NamespaceDirectory) Exists

func (n NamespaceDirectory) Exists() bool

Exists returns true if the NamespaceDirectory exists

func (NamespaceDirectory) String

func (n NamespaceDirectory) String() string

Returns the path of the NamespaceDirectory

type TemplateDirectory

type TemplateDirectory string

TemplateDirectory for all namespaces

func (TemplateDirectory) NormalizePath

func (t TemplateDirectory) NormalizePath() (TemplateDirectory, error)

NormalizePath to replace ~/ with absolute homedir

func (*TemplateDirectory) PathToNamespace

func (t *TemplateDirectory) PathToNamespace(namespace k8s.Namespace) NamespaceDirectory

PathToNamespace the NamespaceDirectory.

func (TemplateDirectory) String

func (t TemplateDirectory) String() string

Jump to

Keyboard shortcuts

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