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
Click to show internal directories.
Click to hide internal directories.