Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HarborAssistClient ¶
type HarborAssistClient struct {
Client *assistclient.HarborAPI
}
HarborAssistClient keeps Harbor client.
type HarborClientV2 ¶
type HarborClientV2 struct { Client *v2client.HarborAPI Auth gruntime.ClientAuthInfoWriter }
HarborClientV2 keeps Harbor client v2.
type HarborLegacyClient ¶
type HarborLegacyClient struct {
Client *legacyclient.HarborAPI
}
HarborLegacyClient keeps Harbor client.
type HarborServer ¶
HarborServer contains connection data.
func NewHarborServer ¶
func NewHarborServer(url, username, password string, insecure bool) *HarborServer
NewHarborServer returns harbor server with inputs.
func (*HarborServer) ClientV2 ¶
func (h *HarborServer) ClientV2() (*HarborClientV2, error)
ClientV2 created based on the server data. Harbor V2 API.
Click to show internal directories.
Click to hide internal directories.