Documentation ¶
Index ¶
Constants ¶
View Source
const ( ScmCredentialsSecretLabel = "appstudio.redhat.com/credentials" ScmSecretHostnameLabel = "appstudio.redhat.com/scm.host" ScmSecretRepositoryAnnotation = "appstudio.redhat.com/scm.repository" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicAuthCredentials ¶
type BasicAuthCredentialsProvider ¶
type BasicAuthCredentialsProvider interface {
GetBasicAuthCredentials(ctx context.Context, component *git.ScmComponent) (*BasicAuthCredentials, error)
}
type BasicAuthCredentialsProviderFunc ¶
type BasicAuthCredentialsProviderFunc func(ctx context.Context, component *git.ScmComponent) (*BasicAuthCredentials, error)
func (BasicAuthCredentialsProviderFunc) GetBasicAuthCredentials ¶
func (f BasicAuthCredentialsProviderFunc) GetBasicAuthCredentials(ctx context.Context, component *git.ScmComponent) (*BasicAuthCredentials, error)
type SSHCredentials ¶
type SSHCredentials struct {
PrivateKey []byte
}
type SSHCredentialsCredentialsProvider ¶
type SSHCredentialsCredentialsProvider interface {
GetSSHCredentials(ctx context.Context, component git.ScmComponent) (*SSHCredentials, error)
}
Click to show internal directories.
Click to hide internal directories.