helper

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppListingFilter

type AppListingFilter struct {
	Environments      []int     `json:"environments"`
	Statuses          []string  `json:"statutes"`
	Teams             []int     `json:"teams"`
	AppNameSearch     string    `json:"appNameSearch"`
	SortOrder         SortOrder `json:"sortOrder"`
	SortBy            SortBy    `json:"sortBy"`
	Offset            int       `json:"offset"`
	Size              int       `json:"size"`
	DeploymentGroupId int       `json:"deploymentGroupId"`
}

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) BuildAppListingQueryLastDeploymentTime

func (impl AppListingRepositoryQueryBuilder) BuildAppListingQueryLastDeploymentTime() string

type SortBy

type SortBy string
const (
	AppNameSortBy SortBy = "appNameSort"
)

type SortOrder

type SortOrder string
const (
	Asc  SortOrder = "ASC"
	Desc SortOrder = "DESC"
)

Jump to

Keyboard shortcuts

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