Documentation ¶
Index ¶
- func GetCommaSepratedString[T int | string](appIds []T) string
- func GetCommaSepratedStringWithComma[T int | string](appIds []T) string
- type AppListingFilter
- type AppListingRepositoryQueryBuilder
- func (impl AppListingRepositoryQueryBuilder) BuildAppListingQuery(appListingFilter AppListingFilter) string
- func (impl AppListingRepositoryQueryBuilder) BuildAppListingQueryForAppIds(appListingFilter AppListingFilter) string
- func (impl AppListingRepositoryQueryBuilder) BuildAppListingQueryLastDeploymentTime() string
- func (impl AppListingRepositoryQueryBuilder) BuildAppListingQueryLastDeploymentTimeV2(pipelineIDs []int) string
- func (impl AppListingRepositoryQueryBuilder) BuildJobListingQuery(appIDs []int, statuses []string, environmentIds []int, sortOrder string) string
- func (impl AppListingRepositoryQueryBuilder) CommonJoinSubQuery(appListingFilter AppListingFilter) string
- func (impl AppListingRepositoryQueryBuilder) GetAppIdsQueryWithPaginationForAppNameSearch(appListingFilter AppListingFilter) string
- func (impl AppListingRepositoryQueryBuilder) GetAppIdsQueryWithPaginationForLastDeployedSearch(appListingFilter AppListingFilter) string
- func (impl AppListingRepositoryQueryBuilder) GetQueryForAppEnvContainerss(appListingFilter AppListingFilter) string
- func (impl AppListingRepositoryQueryBuilder) JobsLastSucceededOnTimeQuery(ciPipelineIDs []int) string
- func (impl AppListingRepositoryQueryBuilder) OverviewCiPipelineQuery() string
- func (impl AppListingRepositoryQueryBuilder) TestForCommonAppFilter(appListingFilter AppListingFilter) string
- type AppType
- type SortBy
- type SortOrder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCommaSepratedString ¶ added in v0.6.15
func GetCommaSepratedStringWithComma ¶ added in v0.6.26
Types ¶
type AppListingFilter ¶
type AppListingFilter struct { Environments []int `json:"environments"` Statuses []string `json:"statutes"` Teams []int `json:"teams"` AppStatuses []string `json:"appStatuses"` AppNameSearch string `json:"appNameSearch"` SortOrder SortOrder `json:"sortOrder"` SortBy SortBy `json:"sortBy"` Offset int `json:"offset"` Size int `json:"size"` DeploymentGroupId int `json:"deploymentGroupId"` AppIds []int `json:"-"` //internal use only }
type AppListingRepositoryQueryBuilder ¶
type AppListingRepositoryQueryBuilder struct {
// contains filtered or unexported fields
}
func NewAppListingRepositoryQueryBuilder ¶
func NewAppListingRepositoryQueryBuilder(logger *zap.SugaredLogger) AppListingRepositoryQueryBuilder
func (AppListingRepositoryQueryBuilder) BuildAppListingQuery ¶
func (impl AppListingRepositoryQueryBuilder) BuildAppListingQuery(appListingFilter AppListingFilter) string
func (AppListingRepositoryQueryBuilder) BuildAppListingQueryForAppIds ¶ added in v0.6.17
func (impl AppListingRepositoryQueryBuilder) BuildAppListingQueryForAppIds(appListingFilter AppListingFilter) string
func (AppListingRepositoryQueryBuilder) BuildAppListingQueryLastDeploymentTime ¶
func (impl AppListingRepositoryQueryBuilder) BuildAppListingQueryLastDeploymentTime() string
func (AppListingRepositoryQueryBuilder) BuildAppListingQueryLastDeploymentTimeV2 ¶ added in v0.6.17
func (impl AppListingRepositoryQueryBuilder) BuildAppListingQueryLastDeploymentTimeV2(pipelineIDs []int) string
func (AppListingRepositoryQueryBuilder) BuildJobListingQuery ¶ added in v0.6.15
func (AppListingRepositoryQueryBuilder) CommonJoinSubQuery ¶ added in v0.6.17
func (impl AppListingRepositoryQueryBuilder) CommonJoinSubQuery(appListingFilter AppListingFilter) string
func (AppListingRepositoryQueryBuilder) GetAppIdsQueryWithPaginationForAppNameSearch ¶ added in v0.6.17
func (impl AppListingRepositoryQueryBuilder) GetAppIdsQueryWithPaginationForAppNameSearch(appListingFilter AppListingFilter) string
func (AppListingRepositoryQueryBuilder) GetAppIdsQueryWithPaginationForLastDeployedSearch ¶ added in v0.6.17
func (impl AppListingRepositoryQueryBuilder) GetAppIdsQueryWithPaginationForLastDeployedSearch(appListingFilter AppListingFilter) string
func (AppListingRepositoryQueryBuilder) GetQueryForAppEnvContainerss ¶ added in v0.6.17
func (impl AppListingRepositoryQueryBuilder) GetQueryForAppEnvContainerss(appListingFilter AppListingFilter) string
func (AppListingRepositoryQueryBuilder) JobsLastSucceededOnTimeQuery ¶ added in v0.6.15
func (impl AppListingRepositoryQueryBuilder) JobsLastSucceededOnTimeQuery(ciPipelineIDs []int) string
use this query with atleast 1 cipipeline id
func (AppListingRepositoryQueryBuilder) OverviewCiPipelineQuery ¶ added in v0.6.15
func (impl AppListingRepositoryQueryBuilder) OverviewCiPipelineQuery() string
func (AppListingRepositoryQueryBuilder) TestForCommonAppFilter ¶ added in v0.6.17
func (impl AppListingRepositoryQueryBuilder) TestForCommonAppFilter(appListingFilter AppListingFilter) string
Click to show internal directories.
Click to hide internal directories.