{"modulePath":"github.com/6prod/pullrun","version":"v0.0.0-20210610211520-e07cd0921208","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package git\n\n## Functions\n\n```go\nfunc Auth(_type string, iconf interface{}) (git.Auth, error)\n```\n\n```go\nfunc New(plugin puller.Config) (puller.Puller, error)\n```\n\n```go\nfunc NewAuthAccessToken(iconf interface{}) (git.Auth, error)\n```\n\n```go\nfunc NewAuthDeployKey(iconf interface{}) (git.Auth, error)\n```\n\n```go\nfunc NewAuthSSH(iconf interface{}) (git.Auth, error)\n```\n\n## Types\n\n```go\ntype AuthAccessToken struct {\n\tUsername string\n\tToken    string\n}\n```\n\n```go\ntype AuthDeployKey struct {\n\tPublicKey  string\n\tPrivateKey string\n}\n```\n\n```go\ntype AuthSSH struct {\n\tPublicKey  string\n\tPrivateKey string\n}\n```\n\n```go\ntype Git struct {\n\tAddress string\n\tRef     string\n\tDir     string\n\tAuth    struct {\n\t\tType   string\n\t\tConfig interface{}\n\t}\n}\n```\n\n```go\nfunc (g Git) Pull(ctx context.Context) error\n```\n\n","path":"github.com/6prod/pullrun/pkg/puller/plugins/git","name":"git","synopsis":"","isRedistributable":true}
