v2

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthSecretStrategyForURL

func AuthSecretStrategyForURL(URL string) (common.AuthSecretStrategy, error)

Types

type BasicAuth

type BasicAuth struct{}

func (*BasicAuth) Method

func (s *BasicAuth) Method(secret corev1.Secret) (*common.Auth, error)

type CheckoutBranch

type CheckoutBranch struct {
	// contains filtered or unexported fields
}

func (*CheckoutBranch) Checkout

func (c *CheckoutBranch) Checkout(ctx context.Context, path, url string, auth *common.Auth) (common.Commit, string, error)

type CheckoutCommit

type CheckoutCommit struct {
	// contains filtered or unexported fields
}

func (*CheckoutCommit) Checkout

func (c *CheckoutCommit) Checkout(ctx context.Context, path, url string, auth *common.Auth) (common.Commit, string, error)

type CheckoutSemVer

type CheckoutSemVer struct {
	// contains filtered or unexported fields
}

func (*CheckoutSemVer) Checkout

func (c *CheckoutSemVer) Checkout(ctx context.Context, path, url string, auth *common.Auth) (common.Commit, string, error)

type CheckoutTag

type CheckoutTag struct {
	// contains filtered or unexported fields
}

func (*CheckoutTag) Checkout

func (c *CheckoutTag) Checkout(ctx context.Context, path, url string, auth *common.Auth) (common.Commit, string, error)

type Commit

type Commit struct {
	// contains filtered or unexported fields
}

func (*Commit) Hash

func (c *Commit) Hash() string

func (*Commit) Verify

func (c *Commit) Verify(secret corev1.Secret) error

Verify returns an error if the PGP signature can't be verified

type PublicKeyAuth

type PublicKeyAuth struct {
	// contains filtered or unexported fields
}

func (*PublicKeyAuth) Method

func (s *PublicKeyAuth) Method(secret corev1.Secret) (*common.Auth, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL