auth

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2018 License: Apache-2.0 Imports: 17 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEncrypted added in v0.1.1

func IsEncrypted(buffer []byte) (bool, error)

Types

type ArtifactoryDetails

type ArtifactoryDetails interface {
	GetUrl() string
	GetUser() string
	GetPassword() string
	GetApiKey() string
	GetAccessToken() string
	GetSshAuthHeaders() map[string]string
	GetVersion() (string, error)
	SetUrl(url string)
	SetUser(user string)
	SetPassword(password string)
	SetApiKey(apiKey string)
	SetAccessToken(accessToken string)
	SetSshAuthHeaders(sshAuthHeaders map[string]string)

	AuthenticateSsh(sshKey, sshPassphrase string) error

	CreateHttpClientDetails() httputils.HttpClientDetails
}

func NewArtifactoryDetails

func NewArtifactoryDetails() ArtifactoryDetails

type SshAuthResult

type SshAuthResult struct {
	Href    string
	Headers map[string]string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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