Documentation ¶
Overview ¶
Copyright 2023 The KodeRover Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The KodeRover Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- func AddSystemOperationLog(c *gin.Context)
- func BatchCreatePrivateKey(c *gin.Context)
- func CheckJenkinsIntegration(c *gin.Context)
- func CheckLLMIntegration(c *gin.Context)
- func CleanCache(c *gin.Context)
- func CleanCacheState(c *gin.Context)
- func CleanImageCache(c *gin.Context)
- func CreateAnnouncement(c *gin.Context)
- func CreateBasicImage(c *gin.Context)
- func CreateConfigurationManagement(c *gin.Context)
- func CreateExternalLink(c *gin.Context)
- func CreateExternalSystem(c *gin.Context)
- func CreateFavorite(c *gin.Context)
- func CreateHelmRepo(c *gin.Context)
- func CreateIMApp(c *gin.Context)
- func CreateInstall(c *gin.Context)
- func CreateJenkinsIntegration(c *gin.Context)
- func CreateLLMIntegration(c *gin.Context)
- func CreateOrUpdateDashboardConfiguration(c *gin.Context)
- func CreatePrivateKey(c *gin.Context)
- func CreateProjectManagement(c *gin.Context)
- func CreateProxy(c *gin.Context)
- func CreateRegistryNamespace(c *gin.Context)
- func CreateS3Storage(c *gin.Context)
- func CreateSonarIntegration(c *gin.Context)
- func DeleteAnnouncement(c *gin.Context)
- func DeleteBasicImage(c *gin.Context)
- func DeleteConfigurationManagement(c *gin.Context)
- func DeleteExternalLink(c *gin.Context)
- func DeleteExternalSystem(c *gin.Context)
- func DeleteFavorite(c *gin.Context)
- func DeleteHelmRepo(c *gin.Context)
- func DeleteIMApp(c *gin.Context)
- func DeleteInstall(c *gin.Context)
- func DeleteJenkinsIntegration(c *gin.Context)
- func DeleteLLMIntegration(c *gin.Context)
- func DeleteNotifies(c *gin.Context)
- func DeletePrivateKey(c *gin.Context)
- func DeleteProjectManagement(c *gin.Context)
- func DeleteProxy(c *gin.Context)
- func DeleteRegistryNamespace(c *gin.Context)
- func DeleteS3Storage(c *gin.Context)
- func DeleteSonarIntegration(c *gin.Context)
- func DingTalkEventHandler(c *gin.Context)
- func GarbageCollection(c *gin.Context)
- func GetBasicImage(c *gin.Context)
- func GetConfigurationManagement(c *gin.Context)
- func GetDashboardConfiguration(c *gin.Context)
- func GetDefaultLogin(c *gin.Context)
- func GetDefaultRegistryNamespace(c *gin.Context)
- func GetDingTalkDepartment(c *gin.Context)
- func GetDingTalkUserID(c *gin.Context)
- func GetExternalSystemDetail(c *gin.Context)
- func GetInstall(c *gin.Context)
- func GetJiraAllStatus(c *gin.Context)
- func GetJiraTypes(c *gin.Context)
- func GetLLMIntegration(c *gin.Context)
- func GetLarkDepartment(c *gin.Context)
- func GetLarkUserID(c *gin.Context)
- func GetMeegoProjects(c *gin.Context)
- func GetMyEnvironment(c *gin.Context)
- func GetMyWorkflow(c *gin.Context)
- func GetOperationLogs(c *gin.Context)
- func GetPrivateKey(c *gin.Context)
- func GetProxy(c *gin.Context)
- func GetProxyConfig(c *gin.Context)
- func GetRSAPublicKey(c *gin.Context)
- func GetRegistryNamespace(c *gin.Context)
- func GetRunningWorkflow(c *gin.Context)
- func GetS3Storage(c *gin.Context)
- func GetSonarIntegration(c *gin.Context)
- func GetStrategy(c *gin.Context)
- func GetTextFromEncryptedKey(c *gin.Context)
- func GetThemeInfos(c *gin.Context)
- func GetWebhookConfig(c *gin.Context)
- func GetWorkItemTypeList(c *gin.Context)
- func GetWorkflowConcurrency(c *gin.Context)
- func HandleJiraEvent(c *gin.Context)
- func HandleMeegoEvent(c *gin.Context)
- func LarkEventHandler(c *gin.Context)
- func ListAllRepos(c *gin.Context)
- func ListApolloApps(c *gin.Context)
- func ListApolloEnvAndClusters(c *gin.Context)
- func ListApolloNamespaces(c *gin.Context)
- func ListAvailableWorkItemTransitions(c *gin.Context)
- func ListBasicImages(c *gin.Context)
- func ListCharts(c *gin.Context)
- func ListConfigurationManagement(c *gin.Context)
- func ListExternalLinks(c *gin.Context)
- func ListExternalSystem(c *gin.Context)
- func ListHelmRepos(c *gin.Context)
- func ListHelmReposPublic(c *gin.Context)
- func ListIMApp(c *gin.Context)
- func ListImages(c *gin.Context)
- func ListInstalls(c *gin.Context)
- func ListJenkinsIntegration(c *gin.Context)
- func ListJiraProjects(c *gin.Context)
- func ListJobBuildArgs(c *gin.Context)
- func ListJobNames(c *gin.Context)
- func ListLLMIntegration(c *gin.Context)
- func ListLabels(c *gin.Context)
- func ListMeegoWorkItems(c *gin.Context)
- func ListNacosConfig(c *gin.Context)
- func ListNacosNamespace(c *gin.Context)
- func ListPrivateKeys(c *gin.Context)
- func ListPrivateKeysInternal(c *gin.Context)
- func ListProjectManagement(c *gin.Context)
- func ListProxies(c *gin.Context)
- func ListRegistries(c *gin.Context)
- func ListRegistryNamespaces(c *gin.Context)
- func ListRepoImages(c *gin.Context)
- func ListS3Storage(c *gin.Context)
- func ListSonarIntegration(c *gin.Context)
- func ListSubscriptions(c *gin.Context)
- func ListTars(c *gin.Context)
- func OpenAPICreateRegistry(c *gin.Context)
- func OpenAPIListCluster(c *gin.Context)
- func OpenAPIListRegistry(c *gin.Context)
- func PullAllAnnouncement(c *gin.Context)
- func PullNotify(c *gin.Context)
- func PullNotifyAnnouncement(c *gin.Context)
- func ReadNotify(c *gin.Context)
- func SearchJiraIssues(c *gin.Context)
- func SearchJiraProjectIssuesWithJQL(c *gin.Context)
- func SetCron(c *gin.Context)
- func TestConnection(c *gin.Context)
- func TestJenkinsConnection(c *gin.Context)
- func Unsubscribe(c *gin.Context)
- func UpdateAnnouncement(c *gin.Context)
- func UpdateBasicImage(c *gin.Context)
- func UpdateConfigurationManagement(c *gin.Context)
- func UpdateDefaultLogin(c *gin.Context)
- func UpdateExternalLink(c *gin.Context)
- func UpdateExternalSystem(c *gin.Context)
- func UpdateHelmRepo(c *gin.Context)
- func UpdateIMApp(c *gin.Context)
- func UpdateInstall(c *gin.Context)
- func UpdateJenkinsIntegration(c *gin.Context)
- func UpdateLLMIntegration(c *gin.Context)
- func UpdateOperationLog(c *gin.Context)
- func UpdatePrivateKey(c *gin.Context)
- func UpdateProjectManagement(c *gin.Context)
- func UpdateProxy(c *gin.Context)
- func UpdateRegistryNamespace(c *gin.Context)
- func UpdateS3Storage(c *gin.Context)
- func UpdateSonarIntegration(c *gin.Context)
- func UpdateStrategy(c *gin.Context)
- func UpdateSubscribe(c *gin.Context)
- func UpdateThemeInfo(c *gin.Context)
- func UpdateWorkflowConcurrency(c *gin.Context)
- func UpsertSubscription(c *gin.Context)
- func Validate(c *gin.Context)
- func ValidateConfigurationManagement(c *gin.Context)
- func ValidateIMApp(c *gin.Context)
- func ValidateSonarInformation(c *gin.Context)
- type AdvancedRegistrySetting
- type CheckJenkinsIntegrationResp
- type CreateLLMIntegrationRequest
- type DryRunFlag
- type GetLLMIntegrationRespone
- type ListImagesOption
- type ListTarsOption
- type OpenAPIRouter
- type ProxyConfig
- type Registry
- type Router
- type SetCleanConfig
Constants ¶
This section is empty.
Variables ¶
var SonarIntegrationValidationError = errors.New("name and server must be provided")
Functions ¶
func AddSystemOperationLog ¶ added in v1.4.0
func BatchCreatePrivateKey ¶ added in v1.6.0
func CheckJenkinsIntegration ¶ added in v1.9.0
func CheckLLMIntegration ¶ added in v1.9.9
@Summary Check llm integrations @Description Check llm integrations @Tags system @Accept json @Produce json @Success 200 {object} checkLLMIntegrationResponse @Router /api/aslan/system/llm/integration/check [get]
func CleanCache ¶ added in v1.2.0
func CleanCacheState ¶
func CleanImageCache ¶
func CreateAnnouncement ¶ added in v1.4.0
func CreateBasicImage ¶
func CreateConfigurationManagement ¶ added in v1.9.9
func CreateExternalLink ¶ added in v1.7.0
func CreateExternalSystem ¶ added in v1.8.0
func CreateFavorite ¶ added in v1.9.9
func CreateHelmRepo ¶ added in v1.2.0
func CreateIMApp ¶ added in v1.9.9
func CreateInstall ¶
func CreateLLMIntegration ¶ added in v1.9.9
@Summary Create a llm integration @Description Create a llm integration @Tags system @Accept json @Produce json @Param body body CreateLLMIntegrationRequest true "body" @Success 200 @Router /api/aslan/system/llm/integration [post]
func CreateOrUpdateDashboardConfiguration ¶ added in v1.9.9
func CreatePrivateKey ¶ added in v1.2.0
func CreateProjectManagement ¶ added in v1.9.9
func CreateProxy ¶
func CreateRegistryNamespace ¶
func CreateS3Storage ¶
func CreateSonarIntegration ¶ added in v1.9.9
func DeleteAnnouncement ¶ added in v1.4.0
func DeleteBasicImage ¶
func DeleteConfigurationManagement ¶ added in v1.9.9
func DeleteExternalLink ¶ added in v1.7.0
func DeleteExternalSystem ¶ added in v1.8.0
func DeleteFavorite ¶ added in v1.9.9
func DeleteHelmRepo ¶ added in v1.2.0
func DeleteIMApp ¶ added in v1.9.9
func DeleteInstall ¶
func DeleteLLMIntegration ¶ added in v1.9.9
@Summary Delete a llm integration @Description Delete a llm integration @Tags system @Accept json @Produce json @Param id path string true "id" @Success 200 @Router /api/aslan/system/llm/integration/{id} [delete]
func DeleteNotifies ¶ added in v1.2.0
func DeletePrivateKey ¶ added in v1.2.0
func DeleteProjectManagement ¶ added in v1.9.9
func DeleteProxy ¶
func DeleteRegistryNamespace ¶
func DeleteS3Storage ¶
func DeleteSonarIntegration ¶ added in v1.9.9
func DingTalkEventHandler ¶ added in v1.9.9
func GarbageCollection ¶ added in v1.2.0
func GetBasicImage ¶
func GetConfigurationManagement ¶ added in v1.9.9
func GetDashboardConfiguration ¶ added in v1.9.9
func GetDefaultLogin ¶ added in v1.9.9
func GetDefaultRegistryNamespace ¶ added in v1.2.0
func GetDingTalkDepartment ¶ added in v1.9.9
func GetDingTalkUserID ¶ added in v1.9.9
func GetExternalSystemDetail ¶ added in v1.8.0
func GetInstall ¶
func GetJiraAllStatus ¶ added in v1.9.9
func GetJiraTypes ¶ added in v1.9.9
func GetLLMIntegration ¶ added in v1.9.9
@Summary Get a llm integration @Description Get a llm integration @Tags system @Accept json @Produce json @Param id path string true "id" @Success 200 {object} commonmodels.LLMIntegration @Router /api/aslan/system/llm/integration/{id} [get]
func GetLarkDepartment ¶ added in v1.9.9
func GetLarkUserID ¶ added in v1.9.9
func GetMeegoProjects ¶ added in v1.9.9
func GetMyEnvironment ¶ added in v1.9.9
func GetMyWorkflow ¶ added in v1.9.9
func GetOperationLogs ¶ added in v1.4.0
func GetPrivateKey ¶ added in v1.2.0
func GetProxyConfig ¶
func GetRSAPublicKey ¶ added in v1.9.9
func GetRegistryNamespace ¶ added in v1.8.0
func GetRunningWorkflow ¶ added in v1.9.9
func GetS3Storage ¶
func GetSonarIntegration ¶ added in v1.9.9
func GetStrategy ¶ added in v1.2.0
func GetTextFromEncryptedKey ¶ added in v1.9.9
func GetThemeInfos ¶ added in v1.9.9
func GetWebhookConfig ¶ added in v1.9.9
@Summary Get webhook config @Description Get webhook config @Tags system @Accept json @Produce json @Success 200 {object} service.GetWebhookConfigReponse @Router /api/aslan/system/webhook/config [get]
func GetWorkItemTypeList ¶ added in v1.9.9
func GetWorkflowConcurrency ¶ added in v1.9.9
func HandleJiraEvent ¶ added in v1.9.9
func HandleMeegoEvent ¶ added in v1.9.9
func LarkEventHandler ¶ added in v1.9.9
func ListAllRepos ¶
func ListApolloApps ¶ added in v1.9.9
func ListApolloEnvAndClusters ¶ added in v1.9.9
func ListApolloNamespaces ¶ added in v1.9.9
func ListAvailableWorkItemTransitions ¶ added in v1.9.9
func ListBasicImages ¶
func ListCharts ¶ added in v1.9.9
func ListConfigurationManagement ¶ added in v1.9.9
func ListExternalLinks ¶ added in v1.7.0
func ListExternalSystem ¶ added in v1.8.0
func ListHelmRepos ¶ added in v1.2.0
func ListHelmReposPublic ¶ added in v1.9.9
func ListImages ¶
func ListInstalls ¶
func ListJenkinsIntegration ¶
func ListJiraProjects ¶ added in v1.9.9
func ListJobBuildArgs ¶
func ListJobNames ¶
func ListLLMIntegration ¶ added in v1.9.9
@Summary List llm integrations @Description List llm integrations @Tags system @Accept json @Produce json @Success 200 {array} commonmodels.LLMIntegration @Router /api/aslan/system/llm/integration [get]
func ListLabels ¶ added in v1.6.0
func ListMeegoWorkItems ¶ added in v1.9.9
func ListNacosConfig ¶ added in v1.9.9
func ListNacosNamespace ¶ added in v1.9.9
func ListPrivateKeys ¶ added in v1.2.0
func ListPrivateKeysInternal ¶ added in v1.9.9
func ListProjectManagement ¶ added in v1.9.9
func ListProxies ¶
func ListRegistries ¶
func ListRegistryNamespaces ¶
func ListRepoImages ¶
func ListS3Storage ¶
func ListSonarIntegration ¶ added in v1.9.9
func ListSubscriptions ¶ added in v1.2.0
func OpenAPICreateRegistry ¶ added in v1.9.9
func OpenAPIListCluster ¶ added in v1.9.9
func OpenAPIListRegistry ¶ added in v1.9.9
func PullAllAnnouncement ¶ added in v1.4.0
func PullNotify ¶ added in v1.2.0
func PullNotifyAnnouncement ¶ added in v1.4.0
func ReadNotify ¶ added in v1.2.0
func SearchJiraIssues ¶ added in v1.9.9
func SearchJiraProjectIssuesWithJQL ¶ added in v1.9.9
func TestConnection ¶
func TestJenkinsConnection ¶
func Unsubscribe ¶ added in v1.2.0
func UpdateAnnouncement ¶ added in v1.4.0
func UpdateBasicImage ¶
func UpdateConfigurationManagement ¶ added in v1.9.9
func UpdateDefaultLogin ¶ added in v1.9.9
func UpdateExternalLink ¶ added in v1.7.0
func UpdateExternalSystem ¶ added in v1.8.0
func UpdateHelmRepo ¶ added in v1.2.0
func UpdateIMApp ¶ added in v1.9.9
func UpdateInstall ¶
func UpdateLLMIntegration ¶ added in v1.9.9
@Summary Update a llm integration @Description Update a llm integration @Tags system @Accept json @Produce json @Param id path string true "id" @Param body body CreateLLMIntegrationRequest true "body" @Success 200 @Router /api/aslan/system/llm/integration/{id} [put]
func UpdateOperationLog ¶ added in v1.4.0
func UpdatePrivateKey ¶ added in v1.2.0
func UpdateProjectManagement ¶ added in v1.9.9
func UpdateProxy ¶
func UpdateRegistryNamespace ¶
func UpdateS3Storage ¶
func UpdateSonarIntegration ¶ added in v1.9.9
func UpdateStrategy ¶ added in v1.2.0
func UpdateSubscribe ¶ added in v1.2.0
func UpdateThemeInfo ¶ added in v1.9.9
func UpdateWorkflowConcurrency ¶ added in v1.9.9
func UpsertSubscription ¶ added in v1.2.0
func ValidateConfigurationManagement ¶ added in v1.9.9
func ValidateIMApp ¶ added in v1.9.9
func ValidateSonarInformation ¶ added in v1.9.9
Types ¶
type AdvancedRegistrySetting ¶ added in v1.9.9
type CheckJenkinsIntegrationResp ¶ added in v1.9.0
type CheckJenkinsIntegrationResp struct {
Exists bool `json:"exists"`
}
type CreateLLMIntegrationRequest ¶ added in v1.9.9
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 GetLLMIntegrationRespone ¶ added in v1.9.9
type ListImagesOption ¶
type ListImagesOption struct {
Names []string `json:"names"`
}
type ListTarsOption ¶ added in v1.6.0
type ListTarsOption struct {
Names []string `json:"names"`
}
type OpenAPIRouter ¶ added in v1.9.9
type OpenAPIRouter struct{}
func (*OpenAPIRouter) Inject ¶ added in v1.9.9
func (*OpenAPIRouter) Inject(router *gin.RouterGroup)
type ProxyConfig ¶
type Router ¶
type Router struct{}
func (*Router) Inject ¶
func (*Router) Inject(router *gin.RouterGroup)
type SetCleanConfig ¶ added in v1.9.9
Source Files ¶
- announcement.go
- approval.go
- basic_images.go
- capacity.go
- concurrency.go
- configuration_management.go
- custom_theme.go
- dashboard.go
- dingtalk.go
- external_link.go
- external_system.go
- favorite.go
- helm.go
- install.go
- jenkins.go
- lark.go
- llm.go
- login.go
- meego.go
- nacos.go
- notify.go
- openapi.go
- operation.go
- private_key.go
- project_management.go
- proxy.go
- registry.go
- resp.go
- response.go
- router.go
- rsa_key.go
- s3.go
- sonar.go
- system_cache.go
- webhook.go