cloner

package
v1.3.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cloner

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

func NewCloner

func NewCloner(l *zerolog.Logger) *Cloner

func (*Cloner) Bootstrap

func (m *Cloner) Bootstrap(ctx *cli.Context) error

type NexuAssetMaven2

type NexuAssetMaven2 struct {
	Extension  string `json:"extension,omitempty"`
	GroupID    string `json:"groupId,omitempty"`
	ArtifactID string `json:"artifactId,omitempty"`
	Version    string `json:"version,omitempty"`
	Classifier string `json:"classifier,omitempty"`
}

type NexusAsset

type NexusAsset struct {
	DownloadURL  string              `json:"downloadUrl,omitempty"`
	Path         string              `json:"path,omitempty"`
	ID           string              `json:"id,omitempty"`
	Repository   string              `json:"repository,omitempty"`
	Format       string              `json:"format,omitempty"`
	Checksum     *NexusAssetChecksum `json:"checksum,omitempty"`
	ContentType  string              `json:"contentType,omitempty"`
	LastModified string              `json:"lastModified,omitempty"`
	BlobCreated  string              `json:"blobCreated,omitempty"`
	LastDownload string              `json:"lastDownloaded,omitempty"`
	Maven2       *NexuAssetMaven2    `json:"maven2,omitempty"`
}

type NexusAsset2 added in v1.3.3

type NexusAsset2 interface {
	// contains filtered or unexported methods
}

type NexusAssetChecksum

type NexusAssetChecksum struct {
	Sha1   string `json:"sha1,omitempty"`
	Sha512 string `json:"sha512,omitempty"`
	Sha256 string `json:"sha256,omitempty"`
	Md5    string `json:"md5,omitempty"`
}

type NexusAssetsCollection

type NexusAssetsCollection struct {
	Items             []*NexusAsset `json:"items,omitempty"`
	ContinuationToken string        `json:"continuationToken,omitempty"`
}

Jump to

Keyboard shortcuts

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