Documentation ¶
Index ¶
Constants ¶
View Source
const ( CredentialTypeBasic = CredentialType("basic") CredentialTypeSSH = CredentialType("ssh") CredentialTypeAccessToken = CredentialType("access_token") CredentialTypeGitHubApp = CredentialType("github_app") CredentialTypeDockerLocal = CredentialType("docker_local") )
View Source
const ( ProtocolHTTP = Protocol("http") ProtocolHTTPS = Protocol("https") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicAuthConfig ¶
BasicAuthConfig has configuration for authenticating with private git repositories with basic auth.
type Config ¶
type Config struct { Log Log `glu:"log"` Credentials Credentials `glu:"credentials"` Sources Sources `glu:"sources"` Server Server `glu:"server"` }
func (*Config) SetDefaults ¶
type Credential ¶
type Credential struct { Type CredentialType `glu:"type"` Basic *BasicAuthConfig `glu:"basic"` SSH *SSHAuthConfig `glu:"ssh"` AccessToken *string `glu:"access_token"` GitHubApp *GitHubAppConfig `glu:"github_app"` }
type CredentialType ¶
type CredentialType string
type Credentials ¶
type Credentials map[string]Credential
type GitHubAppConfig ¶
type GitRepositories ¶
type GitRepositories map[string]*GitRepository
type GitRepository ¶
type OCIRepositories ¶
type OCIRepositories map[string]*OCIRepository
type OCIRepository ¶
type SSHAuthConfig ¶
type SSHAuthConfig struct { User string `glu:"user"` Password string `glu:"password"` PrivateKeyBytes string `glu:"private_key_bytes"` PrivateKeyPath string `glu:"private_key_path"` InsecureIgnoreHostKey bool `glu:"insecure_ignore_host_key"` }
SSHAuthConfig provides configuration support for SSH private key credentials when authenticating with private git repositories
type Sources ¶
type Sources struct { Git GitRepositories `glu:"git"` OCI OCIRepositories `glu:"oci"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.