nexus

package
v0.0.0-...-3d1e82d Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifact

type Artifact struct {
	Url         string
	File        string
	ContentType string
}

type Credential

type Credential struct {
	Username    string
	Userpass    string
	Certificate string
}

type Session

type Session struct {
	Credential *Credential
	HttpClient *http.Client
}

func New

func New(creds Credential) (*Session, error)

func (*Session) GetArtifact

func (session *Session) GetArtifact(artifact Artifact) error

func (*Session) PutArtifact

func (session *Session) PutArtifact(artifact Artifact) error

Jump to

Keyboard shortcuts

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