Versions in this module Expand all Collapse all v0 v0.1.8 Jun 19, 2023 v0.1.7 Feb 10, 2022 Changes in this version + const HTTPS + const SSH + const SSHAgent + type AuthOption interface + func WithHTTPS(username, password string) AuthOption + func WithPemFile(pemFile, password string) AuthOption + type AuthProvider interface + AuthMethod func() (transport.AuthMethod, error) + GetRepositoryURL func(reponame string) string + func NewAuthProvider(opt ...AuthOption) AuthProvider + type AuthProviderHTTPS struct + func (p *AuthProviderHTTPS) AuthMethod() (transport.AuthMethod, error) + func (p *AuthProviderHTTPS) GetRepositoryURL(reponame string) string + type AuthProviderWithSSH struct + func (p *AuthProviderWithSSH) AuthMethod() (transport.AuthMethod, error) + func (p *AuthProviderWithSSH) GetRepositoryURL(reponame string) string + type AuthProviderWithSSHAgent struct + func (p *AuthProviderWithSSHAgent) AuthMethod() (transport.AuthMethod, error) + func (p *AuthProviderWithSSHAgent) GetRepositoryURL(reponame string) string + type MockAuthOption struct + func NewMockAuthOption(ctrl *gomock.Controller) *MockAuthOption + func (m *MockAuthOption) EXPECT() *MockAuthOptionMockRecorder + type MockAuthOptionMockRecorder struct + type MockAuthProvider struct + func NewMockAuthProvider(ctrl *gomock.Controller) *MockAuthProvider + func (m *MockAuthProvider) AuthMethod() (transport.AuthMethod, error) + func (m *MockAuthProvider) EXPECT() *MockAuthProviderMockRecorder + func (m *MockAuthProvider) GetRepositoryURL(reponame string) string + type MockAuthProviderMockRecorder struct + func (mr *MockAuthProviderMockRecorder) AuthMethod() *gomock.Call + func (mr *MockAuthProviderMockRecorder) GetRepositoryURL(reponame interface{}) *gomock.Call