Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthSecretStrategy ¶
type AuthSecretStrategy interface {
Method(secret corev1.Secret) (transport.AuthMethod, error)
}
func AuthSecretStrategyForURL ¶
func AuthSecretStrategyForURL(url string) AuthSecretStrategy
type CheckoutBranch ¶
type CheckoutBranch struct {
// contains filtered or unexported fields
}
type CheckoutCommit ¶
type CheckoutCommit struct {
// contains filtered or unexported fields
}
type CheckoutSemVer ¶
type CheckoutSemVer struct {
// contains filtered or unexported fields
}
type CheckoutStrategy ¶
type CheckoutStrategy interface {
Checkout(ctx context.Context, path, url string, auth transport.AuthMethod) (*object.Commit, string, error)
}
func CheckoutStrategyForRef ¶
func CheckoutStrategyForRef(ref *sourcev1.GitRepositoryRef) CheckoutStrategy
type CheckoutTag ¶
type CheckoutTag struct {
// contains filtered or unexported fields
}
type PublicKeyAuth ¶
type PublicKeyAuth struct{}
func (*PublicKeyAuth) Method ¶
func (s *PublicKeyAuth) Method(secret corev1.Secret) (transport.AuthMethod, error)
Click to show internal directories.
Click to hide internal directories.