Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigHome ¶ added in v0.0.229
func GetConfigHome() string
GetConfigHome returns the home dir
func GitCredentialsFile ¶ added in v0.0.169
func GitCredentialsFile() string
GitCredentialsFile returns the location of the git credentials file
Types ¶
type Options ¶
type Options struct { Dir string UserName string UserEmail string OutputFile string DisableInClusterTest bool Namespace string SecretName string KubeClient kubernetes.Interface CommandRunner cmdrunner.CommandRunner // contains filtered or unexported fields }
Options the options for the command
func NewCmdGitSetup ¶
NewCmdGitSetup creates a command object for the command
func (*Options) GenerateGitCredentials ¶ added in v0.0.169
func (*Options) GitCredentialsFileData ¶ added in v0.0.169
func (o *Options) GitCredentialsFileData(credentials []credentialhelper.GitCredential) ([]byte, error)
GitCredentialsFileData takes the given git credentials and writes them into a byte array.
Click to show internal directories.
Click to hide internal directories.