Documentation ¶
Overview ¶
Package localizer contains utilities for the command kustomize localize, which is documented under proposals/localize-command or at https://github.com/kubernetes-sigs/kustomize/blob/master/proposals/22-04-localize-command.md
Index ¶
Constants ¶
View Source
const ( // DstPrefix prefixes the target and ref, if target is remote, in the default localize destination directory name DstPrefix = "localized" // LocalizeDir is the name of the localize directories used to store remote content in the localize destination LocalizeDir = "localized-files" // FileSchemeDir is the name of the directory immediately inside LocalizeDir used to store file-schemed repos FileSchemeDir = "file-schemed" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Args ¶
type Args struct { // target; local copy if remote Target filesys.ConfirmedDir // directory that bounds target's local references // repo directory of local copy if target is remote Scope filesys.ConfirmedDir // localize destination NewDir filesys.ConfirmedDir }
Args holds localize arguments
type Loader ¶
type Loader struct { // loader at Loader's current directory ifc.Loader // contains filtered or unexported fields }
Loader is an ifc.Loader that enforces additional constraints specific to kustomize localize.
type PathLocalizeError ¶
func (PathLocalizeError) Error ¶
func (ple PathLocalizeError) Error() string
type ResourceLoadError ¶
func (ResourceLoadError) Error ¶
func (rle ResourceLoadError) Error() string
Click to show internal directories.
Click to hide internal directories.