harbor

package
v0.0.0-...-f053077 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	API harborapi.API
}

Client contain the REST client and the API specification

func NewClient

func NewClient(cfg Config) (*Client, error)

NewClient init client with custom config

func NewDefaultClient

func NewDefaultClient() (*Client, error)

NewDefaultClient init client with empty config

type Config

type Config struct {
	Address          string
	Username         string
	Password         string
	DisableVerifySSL bool
	CAs              []string
	Timeout          time.Duration
	Debug            bool
}

Config contain the value to access on Kibana API

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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