handler

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSystemOperationLog added in v1.4.0

func AddSystemOperationLog(c *gin.Context)

func BatchCreatePrivateKey added in v1.6.0

func BatchCreatePrivateKey(c *gin.Context)

func CheckJenkinsIntegration added in v1.9.0

func CheckJenkinsIntegration(c *gin.Context)

func CleanCache added in v1.2.0

func CleanCache(c *gin.Context)

func CleanCacheState

func CleanCacheState(c *gin.Context)

func CleanImageCache

func CleanImageCache(c *gin.Context)

func CreateAnnouncement added in v1.4.0

func CreateAnnouncement(c *gin.Context)

func CreateBasicImage

func CreateBasicImage(c *gin.Context)
func CreateExternalLink(c *gin.Context)

func CreateExternalSystem added in v1.8.0

func CreateExternalSystem(c *gin.Context)

func CreateGithubApp

func CreateGithubApp(c *gin.Context)

func CreateHelmRepo added in v1.2.0

func CreateHelmRepo(c *gin.Context)

func CreateInstall

func CreateInstall(c *gin.Context)

func CreateJenkinsIntegration

func CreateJenkinsIntegration(c *gin.Context)

func CreatePrivateKey added in v1.2.0

func CreatePrivateKey(c *gin.Context)

func CreateProxy

func CreateProxy(c *gin.Context)

func CreateRegistryNamespace

func CreateRegistryNamespace(c *gin.Context)

func CreateS3Storage

func CreateS3Storage(c *gin.Context)

func DeleteAnnouncement added in v1.4.0

func DeleteAnnouncement(c *gin.Context)

func DeleteBasicImage

func DeleteBasicImage(c *gin.Context)
func DeleteExternalLink(c *gin.Context)

func DeleteExternalSystem added in v1.8.0

func DeleteExternalSystem(c *gin.Context)

func DeleteGithubApp

func DeleteGithubApp(c *gin.Context)

func DeleteHelmRepo added in v1.2.0

func DeleteHelmRepo(c *gin.Context)

func DeleteInstall

func DeleteInstall(c *gin.Context)

func DeleteJenkinsIntegration

func DeleteJenkinsIntegration(c *gin.Context)

func DeleteNotifies added in v1.2.0

func DeleteNotifies(c *gin.Context)

func DeletePrivateKey added in v1.2.0

func DeletePrivateKey(c *gin.Context)

func DeleteProxy

func DeleteProxy(c *gin.Context)

func DeleteRegistryNamespace

func DeleteRegistryNamespace(c *gin.Context)

func DeleteS3Storage

func DeleteS3Storage(c *gin.Context)

func GarbageCollection added in v1.2.0

func GarbageCollection(c *gin.Context)

func GetBasicImage

func GetBasicImage(c *gin.Context)

func GetDefaultRegistryNamespace added in v1.2.0

func GetDefaultRegistryNamespace(c *gin.Context)

func GetExternalSystemDetail added in v1.8.0

func GetExternalSystemDetail(c *gin.Context)

func GetGithubApp

func GetGithubApp(c *gin.Context)

func GetInstall

func GetInstall(c *gin.Context)

func GetOperationLogs added in v1.4.0

func GetOperationLogs(c *gin.Context)

func GetPrivateKey added in v1.2.0

func GetPrivateKey(c *gin.Context)

func GetProxy

func GetProxy(c *gin.Context)

func GetProxyConfig

func GetProxyConfig(c *gin.Context)

func GetRSAPublicKey added in v1.9.9

func GetRSAPublicKey(c *gin.Context)

func GetRegistryNamespace added in v1.8.0

func GetRegistryNamespace(c *gin.Context)

func GetS3Storage

func GetS3Storage(c *gin.Context)

func GetStrategy added in v1.2.0

func GetStrategy(c *gin.Context)

func GetTextFromEncryptedKey added in v1.9.9

func GetTextFromEncryptedKey(c *gin.Context)

func GetWorkflowConcurrency added in v1.9.9

func GetWorkflowConcurrency(c *gin.Context)

func ListAllRepos

func ListAllRepos(c *gin.Context)

func ListBasicImages

func ListBasicImages(c *gin.Context)

func ListCharts added in v1.9.9

func ListCharts(c *gin.Context)
func ListExternalLinks(c *gin.Context)

func ListExternalSystem added in v1.8.0

func ListExternalSystem(c *gin.Context)

func ListHelmRepos added in v1.2.0

func ListHelmRepos(c *gin.Context)

func ListImages

func ListImages(c *gin.Context)

func ListInstalls

func ListInstalls(c *gin.Context)

func ListJenkinsIntegration

func ListJenkinsIntegration(c *gin.Context)

func ListJobBuildArgs

func ListJobBuildArgs(c *gin.Context)

func ListJobNames

func ListJobNames(c *gin.Context)

func ListLabels added in v1.6.0

func ListLabels(c *gin.Context)

func ListPrivateKeys added in v1.2.0

func ListPrivateKeys(c *gin.Context)

func ListPrivateKeysInternal added in v1.9.9

func ListPrivateKeysInternal(c *gin.Context)

func ListProxies

func ListProxies(c *gin.Context)

func ListRegistries

func ListRegistries(c *gin.Context)

func ListRegistryNamespaces

func ListRegistryNamespaces(c *gin.Context)

func ListRepoImages

func ListRepoImages(c *gin.Context)

func ListS3Storage

func ListS3Storage(c *gin.Context)

func ListSubscriptions added in v1.2.0

func ListSubscriptions(c *gin.Context)

func ListTars added in v1.6.0

func ListTars(c *gin.Context)

func PullAllAnnouncement added in v1.4.0

func PullAllAnnouncement(c *gin.Context)

func PullNotify added in v1.2.0

func PullNotify(c *gin.Context)

func PullNotifyAnnouncement added in v1.4.0

func PullNotifyAnnouncement(c *gin.Context)

func ReadNotify added in v1.2.0

func ReadNotify(c *gin.Context)

func SetCron added in v1.9.9

func SetCron(c *gin.Context)

func TestConnection

func TestConnection(c *gin.Context)

func TestJenkinsConnection

func TestJenkinsConnection(c *gin.Context)

func Unsubscribe added in v1.2.0

func Unsubscribe(c *gin.Context)

func UpdateAnnouncement added in v1.4.0

func UpdateAnnouncement(c *gin.Context)

func UpdateBasicImage

func UpdateBasicImage(c *gin.Context)
func UpdateExternalLink(c *gin.Context)

func UpdateExternalSystem added in v1.8.0

func UpdateExternalSystem(c *gin.Context)

func UpdateHelmRepo added in v1.2.0

func UpdateHelmRepo(c *gin.Context)

func UpdateInstall

func UpdateInstall(c *gin.Context)

func UpdateJenkinsIntegration

func UpdateJenkinsIntegration(c *gin.Context)

func UpdateOperationLog added in v1.4.0

func UpdateOperationLog(c *gin.Context)

func UpdatePrivateKey added in v1.2.0

func UpdatePrivateKey(c *gin.Context)

func UpdateProxy

func UpdateProxy(c *gin.Context)

func UpdateRegistryNamespace

func UpdateRegistryNamespace(c *gin.Context)

func UpdateS3Storage

func UpdateS3Storage(c *gin.Context)

func UpdateStrategy added in v1.2.0

func UpdateStrategy(c *gin.Context)

func UpdateSubscribe added in v1.2.0

func UpdateSubscribe(c *gin.Context)

func UpdateWorkflowConcurrency added in v1.9.9

func UpdateWorkflowConcurrency(c *gin.Context)

func UpsertSubscription added in v1.2.0

func UpsertSubscription(c *gin.Context)

Types

type AdvancedRegistrySetting added in v1.9.9

type AdvancedRegistrySetting struct {
	Modified   bool   `json:"modified"`
	TLSEnabled bool   `json:"enable_tls"`
	TLSCert    string `json:"tls_cert"`
}

type CheckJenkinsIntegrationResp added in v1.9.0

type CheckJenkinsIntegrationResp struct {
	Exists bool `json:"exists"`
}

type DryRunFlag added in v1.2.0

type DryRunFlag struct {
	DryRun bool `json:"dryrun"`
}

DryRunFlag indicates whether a run is a dry run or not. If it is a dry run, the relevant API is supposed to be no-op except logging.

type ListImagesOption

type ListImagesOption struct {
	Names []string `json:"names"`
}

type ListTarsOption added in v1.6.0

type ListTarsOption struct {
	Names []string `json:"names"`
}

type ProxyConfig

type ProxyConfig struct {
	HTTPAddr   string `json:"HTTPAddr"`
	HTTPSAddr  string `json:"HTTPSAddr"`
	Socks5Addr string `json:"Socks5Addr"`
	NoProxy    string `json:"NoProxy"`
}

type Registry added in v1.2.0

type Registry struct {
	ID              string                   `json:"id"`
	RegAddr         string                   `json:"reg_addr"`
	IsDefault       bool                     `json:"is_default"`
	Namespace       string                   `json:"namespace"`
	AccessKey       string                   `json:"access_key"`
	SecretKey       string                   `json:"secret_key"`
	AdvancedSetting *AdvancedRegistrySetting `json:"advanced_setting"`
}

type Router

type Router struct{}

func (*Router) Inject

func (*Router) Inject(router *gin.RouterGroup)

type SetCleanConfig added in v1.9.9

type SetCleanConfig struct {
	Cron        string `json:"cron"`
	CronEnabled bool   `json:"cron_enabled"`
}

Jump to

Keyboard shortcuts

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