nexus

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNexusKeychain

func NewNexusKeychain(username, password, hostname string) authn.Keychain

Types

type NexusAsset

type NexusAsset struct {
	ID         string                 `json:"id"`
	Repository string                 `json:"repository"`
	Format     string                 `json:"format"`
	Path       string                 `json:"path"`
	Checksum   map[string]string      `json:"checksum"`
	FileSize   int64                  `json:"fileSize"`
	Attributes map[string]interface{} `json:"attributes"`
}

NexusAsset represents an asset from Nexus V3

type NexusComponent

type NexusComponent struct {
	ID         string                 `json:"id"`
	Repository string                 `json:"repository"`
	Format     string                 `json:"format"`
	Group      string                 `json:"group"`
	Name       string                 `json:"name"`
	Version    string                 `json:"version"`
	Assets     []NexusAsset           `json:"assets"`
	Attributes map[string]interface{} `json:"attributes"`
}

NexusComponent represents a component from Nexus V3

type NexusDockerConfig

type NexusDockerConfig struct {
	V1Enabled      bool   `json:"v1Enabled"`
	ForceBasicAuth bool   `json:"forceBasicAuth"`
	HttpPort       int    `json:"httpPort,omitempty"`
	HttpsPort      int    `json:"httpsPort,omitempty"`
	Subdomain      string `json:"subdomain,omitempty"`
}

NexusDockerConfig represents Docker-specific configuration

type NexusRepository

type NexusRepository struct {
	Name   string `json:"name"`
	Format string `json:"format"`
	Type   string `json:"type"`
	URL    string `json:"url"`
	Online bool   `json:"online"`
}

NexusRepository represents a repository from Nexus V3

type NexusRepositoryDetails

type NexusRepositoryDetails struct {
	Name   string             `json:"name"`
	Docker *NexusDockerConfig `json:"docker,omitempty"`
}

NexusRepositoryDetails represents detailed repository information from Nexus V3

type NexusSearchResponse

type NexusSearchResponse struct {
	Items             []NexusComponent `json:"items"`
	ContinuationToken string           `json:"continuationToken"`
}

NexusSearchResponse represents the search response from Nexus V3

Jump to

Keyboard shortcuts

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