Versions in this module Expand all Collapse all v0 v0.3.0 May 5, 2025 v0.2.0 Jun 26, 2024 Changes in this version + type Authenticator interface + SetupAuth func(args *shared.VCSFetchRequest, config map[string]string, logger hclog.Logger) (transport.AuthMethod, error) + ValidateConfig func(config map[string]string) error + type Client struct + func New(logger hclog.Logger, globalConfig *config.Config, pluginConfig interface{}, ...) (*Client, error) + func (c *Client) CloneRepository(args *shared.VCSFetchRequest, defaultBranch string) (string, error) + type HTTPAuthenticator struct + func (h *HTTPAuthenticator) SetupAuth(args *shared.VCSFetchRequest, config map[string]string, logger hclog.Logger) (transport.AuthMethod, error) + func (h *HTTPAuthenticator) ValidateConfig(config map[string]string) error + type RefType struct + Branch plumbing.ReferenceName + Hash plumbing.Hash + IsCommit bool + type RepositoryMetadata struct + BranchName *string + CommitHash *string + RepoRootFolder string + RepositoryFullName *string + Subfolder string + func CollectRepositoryMetadata(sourceFolder string) (*RepositoryMetadata, error) + type SSHAgentAuthenticator struct + func (s *SSHAgentAuthenticator) SetupAuth(args *shared.VCSFetchRequest, config map[string]string, logger hclog.Logger) (transport.AuthMethod, error) + func (s *SSHAgentAuthenticator) ValidateConfig(config map[string]string) error + type SSHKeyAuthenticator struct + func (s *SSHKeyAuthenticator) SetupAuth(args *shared.VCSFetchRequest, config map[string]string, logger hclog.Logger) (transport.AuthMethod, error) + func (s *SSHKeyAuthenticator) ValidateConfig(config map[string]string) error