MCPcopy Create free account

hub / github.com/TimeBye/go-harbor / types & classes

Types & classes81 in github.com/TimeBye/go-harbor

↓ 3 callersInterfaceClock
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 callersInterfaceTicker
pkg/rest/util/clock/clock.go:358
↓ 2 callersInterfaceTimer
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
StructAccessLog
AccessLog holds information about logs which are used to record the actions that user take to the resourses.
project.go:36
StructAdditionLink
AdditionLink is a link via that the addition can be fetched
pkg/model/artifact.go:32
StructArtifact
artifacts.go:9
StructArtifact
pkg/model/artifact.go:24
InterfaceArtifactInterface
pkg/project/artifacts.go:25
StructArtifactOption
artifacts.go:15
StructArtifactService
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
StructArtifactsListOptions
pkg/project/options/list_options.go:22
StructBackoff
pkg/rest/util/flowcontrol/backoff.go:31
StructClient
harbor.go:15
StructClientset
Clientset contains the clients for groups. Each group has exactly one version included in a Clientset.
pkg/client/clientset.go:32
InterfaceClock
An injectable, mockable clock interface.
pkg/rest/util/flowcontrol/throttle.go:56
StructComponentsOverview
ComponentsOverview has the total number and a list of components number of different serverity level.
repositories.go:38
StructComponentsOverviewEntry
ComponentsOverviewEntry ...
repositories.go:44
StructConfig
Config holds the common attributes that can be passed to a Kubernetes client on initialization.
pkg/rest/config.go:71
StructContentConfig
pkg/rest/request.go:108
StructFakeClock
FakeClock implements Clock, but returns an arbitrary time.
pkg/rest/util/clock/clock.go:83
StructFakePassiveClock
FakePassiveClock implements PassiveClock, but returns an arbitrary time.
pkg/rest/util/clock/clock.go:77
InterfaceHTTPClient
HTTPClient is an interface for testing a request object.
pkg/rest/request.go:47
StructImgScanOverview
ImgScanOverview mapped to a record of image scan overview.
repositories.go:50
InterfaceInterface
pkg/client/clientset.go:26
InterfaceInterface
Interface captures the set of operations for generically interacting with Kubernetes REST apis.
pkg/rest/client.go:26
StructIntervalClock
IntervalClock implements Clock, but each invocation of Now steps the clock forward the specified duration
pkg/rest/util/clock/clock.go:235
StructListLogOptions
ListLogOptions LogQueryParam is used to set query conditions when listing access logs.
project.go:63
StructListOptions
ListOptions specifies the optional parameters to various List methods that support pagination.
harbor.go:36
StructListProjectsOptions
project.go:54
StructListRepositoriesOption
repositories.go:94
StructManifestResp
repositories.go:102
StructMemberRequest
project.go:73
StructNotAnAPIObject
pkg/rest/request_test.go:116
InterfacePassiveClock
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
StructProject
Project holds the details of a project.
project.go:21
StructProjectMetadata
ProjectMetadata holds the metadata of a project.
project.go:10
StructProjectRequest
ProjectRequest holds informations that need for creating project API
project.go:48
InterfaceProjectsInterface
ProjectsInterface holds the methods that discover server-supported API groups, versions and resources.
pkg/project/project.go:26
StructProjectsListOptions
pkg/project/options/list_options.go:5
StructProjectsService
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
StructProjectsV2Client
ProjectsV2Client is used to interact with features provided by the admissionregistration.k8s.io group.
pkg/project/project.go:31
StructQuery
pkg/model/query.go:18
StructRESTClient
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
InterfaceRateLimiter
pkg/rest/util/flowcontrol/throttle.go:27
StructRealClock
RealClock really calls time.Now()
pkg/rest/util/clock/clock.go:43
StructRepoResp
repositories.go:21
StructRepositoriesListOptions
pkg/project/options/list_options.go:16
StructRepositoriesService
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
StructRepository
pkg/project/repository.go:32
StructRepository
Repository holds the record of an repository in DB, all the infors are from the registry notification event.
pkg/model/repository.go:8
StructRepositoryDescription
repositories.go:134
InterfaceRepositoryInterface
pkg/project/repository.go:24
StructRequest
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
StructRequestConstructionError
RequestConstructionError is returned when there's an error assembling a request.
pkg/rest/request.go:59
InterfaceResponseWrapper
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
StructResult
Result contains the result of calling Request.Do().
pkg/rest/request.go:101
StructRole
Role holds the details of a role.
project.go:288
StructSearch
harbor.go:129
StructSearchRepository
harbor.go:116
InterfaceSettablePassiveClock
pkg/rest/util/clock/clock_test.go:36
StructSignature
repositories.go:75
StructStatisticMap
harbor.go:151
StructTLSClientConfig
TLSClientConfig contains settings to enable transport layer security +k8s:deepcopy-gen=true
pkg/rest/config.go:30
StructTagResp
repositories.go:80
StructUser
User holds the details of a user.
project.go:243
StructUsersClient
pkg/user/user.go:29
InterfaceUsersInterface
UsersInterface holds the methods that discover server-supported API groups, versions and resources.
pkg/user/user.go:26
StructVulnerabilityItem
VulnerabilityItem is an item in the vulnerability result returned by vulnerability details API.
repositories.go:11
Structartifact
pkg/project/artifacts.go:31
StructbackoffEntry
pkg/rest/util/flowcontrol/backoff.go:26
Structcfg
repositories.go:33
StructfakeAlwaysRateLimiter
pkg/rest/util/flowcontrol/throttle.go:102
StructfakeClockWaiter
pkg/rest/util/clock/clock.go:90
StructfakeNeverRateLimiter
pkg/rest/util/flowcontrol/throttle.go:124
StructfakeTicker
pkg/rest/util/clock/clock.go:375
StructfakeTimer
fakeTimer implements Timer based on a FakeClock.
pkg/rest/util/clock/clock.go:302
StructrealClock
pkg/rest/util/flowcontrol/throttle.go:61
StructrealTicker
pkg/rest/util/clock/clock.go:363
StructrealTimer
realTimer is backed by an actual time.Timer.
pkg/rest/util/clock/clock.go:282
StructtagDetail
repositories.go:63
StructtokenBucketRateLimiter
pkg/rest/util/flowcontrol/throttle.go:39