Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyFileAuthMethod ¶
type KeyFileAuthMethod struct { // PrivateKeyFile is the path to the private key file PrivateKeyFile string `json:"private_key_file"` // PrivateKeyPassword is the password for the private key file PrivateKeyPassword string `json:"private_key_password"` // GitSSHUser is the user to use for git ssh GitSSHUser string `json:"git_ssh_user"` }
KeyFileAuthMethod is used for private key file authentication
func NewKeyFileAuthMethod ¶
func NewKeyFileAuthMethod() *KeyFileAuthMethod
NewKeyFileAuthMethod creates a new KeyFileAuthMethod from the given credential
func (*KeyFileAuthMethod) AuthMethodConstructor ¶
func (auth *KeyFileAuthMethod) AuthMethodConstructor(credential *credentials.Credential) (repository.AuthMethodReader, error)
AuthMethodConstructor creates a new KeyFileAuthMethod from the given credential
func (*KeyFileAuthMethod) Name ¶
func (a *KeyFileAuthMethod) Name() string
Name returns the name of the authentication method
Click to show internal directories.
Click to hide internal directories.