Documentation ¶
Index ¶
- Constants
- func GetAgeRecipients(object ObjectMeta) string
- func GetGitBranch(object ObjectMeta) string
- func GetGitCloneOptions(object ObjectMeta) *git.CloneOptions
- func GetGitCommitOptions(obj ObjectMeta) *git.CommitOptions
- func GetGitFilepath(object ObjectMeta) string
- func GetGitSecret(object ObjectMeta) types.NamespacedName
- func GetTargetNamespace(object ObjectMeta) string
- func HasAgeRecipients(object ObjectMeta) bool
- func IsEnabled(object ObjectMeta) bool
- type ObjectMeta
Constants ¶
View Source
const ( Enabled = "kubernetes-git-sync/enabled" TargetNamespace = "kubernetes-git-sync/target-namespace" SopsAgeRecipients = "kubernetes-git-sync/sops-age-recipients" GitSecret = "kubernetes-git-sync/git-secret" GitFilepath = "kubernetes-git-sync/git-filepath" //TODO add multiple paths GitBranch = "kubernetes-git-sync/git-branch" //TODO No work GitUrl = "kubernetes-git-sync/git-url" GitCommitOptions = "kubernetes-git-sync/git-commit-options" )
Variables ¶
This section is empty.
Functions ¶
func GetAgeRecipients ¶
func GetAgeRecipients(object ObjectMeta) string
func GetGitBranch ¶
func GetGitBranch(object ObjectMeta) string
func GetGitCloneOptions ¶
func GetGitCloneOptions(object ObjectMeta) *git.CloneOptions
func GetGitCommitOptions ¶
func GetGitCommitOptions(obj ObjectMeta) *git.CommitOptions
func GetGitFilepath ¶
func GetGitFilepath(object ObjectMeta) string
func GetGitSecret ¶
func GetGitSecret(object ObjectMeta) types.NamespacedName
func GetTargetNamespace ¶ added in v0.0.2
func GetTargetNamespace(object ObjectMeta) string
func HasAgeRecipients ¶
func HasAgeRecipients(object ObjectMeta) bool
func IsEnabled ¶
func IsEnabled(object ObjectMeta) bool
Types ¶
Click to show internal directories.
Click to hide internal directories.