Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TimeBye/go-harbor
/ types & classes
Types & classes
81 in github.com/TimeBye/go-harbor
⨍
Functions
250
◇
Types & classes
81
↓ 3 callers
Interface
Clock
Clock allows for injecting fake or real clocks into code that needs to do arbitrary things based on time.
pkg/rest/util/clock/clock.go:34
↓ 2 callers
Interface
Ticker
pkg/rest/util/clock/clock.go:358
↓ 2 callers
Interface
Timer
Timer allows for injecting fake or real timers into code that needs to do arbitrary things based on time.
pkg/rest/util/clock/clock.go:275
Struct
AccessLog
AccessLog holds information about logs which are used to record the actions that user take to the resourses.
project.go:36
Struct
AdditionLink
AdditionLink is a link via that the addition can be fetched
pkg/model/artifact.go:32
Struct
Artifact
artifacts.go:9
Struct
Artifact
pkg/model/artifact.go:24
Interface
ArtifactInterface
pkg/project/artifacts.go:25
Struct
ArtifactOption
artifacts.go:15
Struct
ArtifactService
curl -X GET "http://xxx.xx.xx/api/v2.0/projects/sdc/repositories/csd/artifacts? q=csd&page=1&page_size=10&with_tag=true&with_label=true&with_scan_over
artifacts.go:29
Struct
ArtifactsListOptions
pkg/project/options/list_options.go:22
Struct
Backoff
pkg/rest/util/flowcontrol/backoff.go:31
Struct
Client
harbor.go:15
Struct
Clientset
Clientset contains the clients for groups. Each group has exactly one version included in a Clientset.
pkg/client/clientset.go:32
Interface
Clock
An injectable, mockable clock interface.
pkg/rest/util/flowcontrol/throttle.go:56
Struct
ComponentsOverview
ComponentsOverview has the total number and a list of components number of different serverity level.
repositories.go:38
Struct
ComponentsOverviewEntry
ComponentsOverviewEntry ...
repositories.go:44
Struct
Config
Config holds the common attributes that can be passed to a Kubernetes client on initialization.
pkg/rest/config.go:71
Struct
ContentConfig
pkg/rest/request.go:108
Struct
FakeClock
FakeClock implements Clock, but returns an arbitrary time.
pkg/rest/util/clock/clock.go:83
Struct
FakePassiveClock
FakePassiveClock implements PassiveClock, but returns an arbitrary time.
pkg/rest/util/clock/clock.go:77
Interface
HTTPClient
HTTPClient is an interface for testing a request object.
pkg/rest/request.go:47
Struct
ImgScanOverview
ImgScanOverview mapped to a record of image scan overview.
repositories.go:50
Interface
Interface
pkg/client/clientset.go:26
Interface
Interface
Interface captures the set of operations for generically interacting with Kubernetes REST apis.
pkg/rest/client.go:26
Struct
IntervalClock
IntervalClock implements Clock, but each invocation of Now steps the clock forward the specified duration
pkg/rest/util/clock/clock.go:235
Struct
ListLogOptions
ListLogOptions LogQueryParam is used to set query conditions when listing access logs.
project.go:63
Struct
ListOptions
ListOptions specifies the optional parameters to various List methods that support pagination.
harbor.go:36
Struct
ListProjectsOptions
project.go:54
Struct
ListRepositoriesOption
repositories.go:94
Struct
ManifestResp
repositories.go:102
Struct
MemberRequest
project.go:73
Struct
NotAnAPIObject
pkg/rest/request_test.go:116
Interface
PassiveClock
PassiveClock allows for injecting fake or real clocks into code that needs to read the current time but does not support scheduling activity in the fu
pkg/rest/util/clock/clock.go:27
Struct
Project
Project holds the details of a project.
project.go:21
Struct
ProjectMetadata
ProjectMetadata holds the metadata of a project.
project.go:10
Struct
ProjectRequest
ProjectRequest holds informations that need for creating project API
project.go:48
Interface
ProjectsInterface
ProjectsInterface holds the methods that discover server-supported API groups, versions and resources.
pkg/project/project.go:26
Struct
ProjectsListOptions
pkg/project/options/list_options.go:5
Struct
ProjectsService
ProjectsService handles communication with the user related methods of the Harbor API. Harbor API docs: https://github.com/vmware/harbor/blob/release
project.go:82
Struct
ProjectsV2Client
ProjectsV2Client is used to interact with features provided by the admissionregistration.k8s.io group.
pkg/project/project.go:31
Struct
Query
pkg/model/query.go:18
Struct
RESTClient
RESTClient imposes common Kubernetes API conventions on a set of resource paths. The baseURL is expected to point to an HTTP or HTTPS path that is the
pkg/rest/client.go:42
Interface
RateLimiter
pkg/rest/util/flowcontrol/throttle.go:27
Struct
RealClock
RealClock really calls time.Now()
pkg/rest/util/clock/clock.go:43
Struct
RepoResp
repositories.go:21
Struct
RepositoriesListOptions
pkg/project/options/list_options.go:16
Struct
RepositoriesService
RepositoriesService handles communication with the user related methods of the Harbor API. Harbor API docs: https://github.com/vmware/harbor/blob/rel
repositories.go:90
Struct
Repository
pkg/project/repository.go:32
Struct
Repository
Repository holds the record of an repository in DB, all the infors are from the registry notification event.
pkg/model/repository.go:8
Struct
RepositoryDescription
repositories.go:134
Interface
RepositoryInterface
pkg/project/repository.go:24
Struct
Request
Request allows for building up a request to a server in a chained fashion. Any errors are stored until the end of your call, so you only have to check
pkg/rest/request.go:71
Struct
RequestConstructionError
RequestConstructionError is returned when there's an error assembling a request.
pkg/rest/request.go:59
Interface
ResponseWrapper
ResponseWrapper is an interface for getting a response. The response may be either accessed as a raw data (the whole output is put into memory) or as
pkg/rest/request.go:53
Struct
Result
Result contains the result of calling Request.Do().
pkg/rest/request.go:101
Struct
Role
Role holds the details of a role.
project.go:288
Struct
Search
harbor.go:129
Struct
SearchRepository
harbor.go:116
Interface
SettablePassiveClock
pkg/rest/util/clock/clock_test.go:36
Struct
Signature
repositories.go:75
Struct
StatisticMap
harbor.go:151
Struct
TLSClientConfig
TLSClientConfig contains settings to enable transport layer security +k8s:deepcopy-gen=true
pkg/rest/config.go:30
Struct
TagResp
repositories.go:80
Struct
User
User holds the details of a user.
project.go:243
Struct
UsersClient
pkg/user/user.go:29
Interface
UsersInterface
UsersInterface holds the methods that discover server-supported API groups, versions and resources.
pkg/user/user.go:26
Struct
VulnerabilityItem
VulnerabilityItem is an item in the vulnerability result returned by vulnerability details API.
repositories.go:11
Struct
artifact
pkg/project/artifacts.go:31
Struct
backoffEntry
pkg/rest/util/flowcontrol/backoff.go:26
Struct
cfg
repositories.go:33
Struct
fakeAlwaysRateLimiter
pkg/rest/util/flowcontrol/throttle.go:102
Struct
fakeClockWaiter
pkg/rest/util/clock/clock.go:90
Struct
fakeNeverRateLimiter
pkg/rest/util/flowcontrol/throttle.go:124
Struct
fakeTicker
pkg/rest/util/clock/clock.go:375
Struct
fakeTimer
fakeTimer implements Timer based on a FakeClock.
pkg/rest/util/clock/clock.go:302
Struct
realClock
pkg/rest/util/flowcontrol/throttle.go:61
Struct
realTicker
pkg/rest/util/clock/clock.go:363
Struct
realTimer
realTimer is backed by an actual time.Timer.
pkg/rest/util/clock/clock.go:282
Struct
tagDetail
repositories.go:63
Struct
tokenBucketRateLimiter
pkg/rest/util/flowcontrol/throttle.go:39