builder

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuilderService

type BuilderService interface {
	GetTeamBuilderDesc(teamID int) (interface{}, error)
}

type BuilderServiceImpl

type BuilderServiceImpl struct {
	// contains filtered or unexported fields
}

func NewBuilderServiceImpl

func NewBuilderServiceImpl(logger *zap.SugaredLogger, appRepository repository.AppRepository, resourceRepository repository.ResourceRepository,
	actionRepository repository.ActionRepository) *BuilderServiceImpl

func (*BuilderServiceImpl) GetTeamBuilderDesc

func (impl *BuilderServiceImpl) GetTeamBuilderDesc(teamID int) (interface{}, error)

type EmptyBuilderDescResponse

type EmptyBuilderDescResponse struct {
	AppNum         int    `json:"appNum"`
	ResourceNum    int    `json:"resourceNum"`
	ActionNum      int    `json:"actionNum"`
	LastModifiedAt string `json:"lastModifiedAt"` // is "" by first time enter builder.
}

func NewEmptyBuilderDescResponse

func NewEmptyBuilderDescResponse(appNum int, resourceNum int, actionNum int) *EmptyBuilderDescResponse

type GetBuilderDescResponse

type GetBuilderDescResponse struct {
	AppNum         int       `json:"appNum"`
	ResourceNum    int       `json:"resourceNum"`
	ActionNum      int       `json:"actionNum"`
	LastModifiedAt time.Time `json:"lastModifiedAt"`
}

func NewGetBuilderDescResponse

func NewGetBuilderDescResponse(appNum int, resourceNum int, actionNum int, lastModifiedAt time.Time) *GetBuilderDescResponse

Jump to

Keyboard shortcuts

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