Documentation ¶
Index ¶
- Constants
- func NewDockerRegistryClient(endpoint, username, password string) *dockerRegistryClient
- func NewHarborClient(endpoint, username, password string) *harborClient
- func NewNexusClient(endpoint, username, password string) *nexusClient
- type BasicTransport
- type HttpClient
- type ItemResult
- type NameResult
Constants ¶
View Source
const ( BaseUrl = "service/rest" RepoUrl = BaseUrl + "/v1/repositories" ComponentUrl = BaseUrl + "/v1/components?repository=" )
Variables ¶
This section is empty.
Functions ¶
func NewDockerRegistryClient ¶
func NewDockerRegistryClient(endpoint, username, password string) *dockerRegistryClient
func NewHarborClient ¶
func NewHarborClient(endpoint, username, password string) *harborClient
func NewNexusClient ¶
func NewNexusClient(endpoint, username, password string) *nexusClient
Types ¶
type BasicTransport ¶
type BasicTransport struct { Transport http.RoundTripper URL string Username string Password string }
type HttpClient ¶
func (*HttpClient) NewRequest ¶
func (h *HttpClient) NewRequest(method, endpoint string) (request *http.Request, err error)
type ItemResult ¶
type ItemResult struct {
Items []NameResult
}
type NameResult ¶
Click to show internal directories.
Click to hide internal directories.