Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
GitCommands = []CommandType{LfsAuthenticate, UploadPack, ReceivePack, UploadArchive}
)
Functions ¶
This section is empty.
Types ¶
type AuthorizedKeys ¶
func (*AuthorizedKeys) GetArguments ¶
func (ak *AuthorizedKeys) GetArguments() []string
func (*AuthorizedKeys) Parse ¶
func (ak *AuthorizedKeys) Parse() error
type AuthorizedPrincipals ¶
func (*AuthorizedPrincipals) GetArguments ¶
func (ap *AuthorizedPrincipals) GetArguments() []string
func (*AuthorizedPrincipals) Parse ¶
func (ap *AuthorizedPrincipals) Parse() error
type CommandArgs ¶
type CommandType ¶
type CommandType string
const ( Discover CommandType = "discover" TwoFactorRecover CommandType = "2fa_recovery_codes" TwoFactorVerify CommandType = "2fa_verify" LfsAuthenticate CommandType = "git-lfs-authenticate" LfsTransfer CommandType = "git-lfs-transfer" ReceivePack CommandType = "git-receive-pack" UploadPack CommandType = "git-upload-pack" UploadArchive CommandType = "git-upload-archive" PersonalAccessToken CommandType = "personal_access_token" )
type Shell ¶
type Shell struct { Arguments []string GitlabUsername string GitlabKeyId string GitlabKrb5Principal string SshArgs []string CommandType CommandType Env sshenv.Env }
func (*Shell) GetArguments ¶
func (*Shell) ParseCommand ¶
Click to show internal directories.
Click to hide internal directories.