package
0.55.0
Repository: https://github.com/replicatedhq/ship.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
BailIfPresent returns an error if the path is present.
for the provided base and all subbases, check each strategic merge patch and json patch if they match the resid provided, remove them.
exclude the provided kubernetes resource file from the kustomization.yaml at basePath, or from bases imported from that.
calls ExcludeKubernetesResource for each excluded resource.
FindOnlySubdir finds the only subdirectory of a directory.
No description provided by the author
returns true if this parses as a valid Github URL.
No description provided by the author
IsLegalPath checks if the provided path is a relative path within the current working directory or within the os tempdir.
No description provided by the author
No description provided by the author
No description provided by the author
this function is not perfect, and has known limitations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RecursiveNormalizeCopyKustomize copies kubernetes yaml from the source directory into the dest directory.
RenewCA takes an existing CA and generates a new certificate with the notBefore/notAfter dates updated.
No description provided by the author
No description provided by the author
SplitAllKustomize ensures that all yaml files within the designated directory are split into one resource per file, excepting CRDs if a kustomization yaml existed beforehand, it rewrites the resource list to match the new filenames if not, it creates a kustomization yaml if an existing kustomization yaml referred to other bases, splitAll will be called on those bases as well.
TimeToExpire takes a certificate, parses it, and returns the duration left until the certificate expires.
No description provided by the author
UnExcludeKubernetesResource finds a deleted resource in a child of the basePath and includes it again.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author