service

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Platform string

	CdkService *cdk.ServiceContent
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config) *Service

func (*Service) ChangeVersionStatus

func (s *Service) ChangeVersionStatus(request *model.VersionChangeStatusRequest) (err error)

func (*Service) CheckAndUpdateVersion

func (s *Service) CheckAndUpdateVersion(request *model.VersionCheckAndUpdateRequest) (res *model.VersionCheckAndUpdateResponse, err error)

func (Service) Config

func (s Service) Config() *config.Config

func (*Service) CreateVersion

func (s *Service) CreateVersion(request *model.VersionCreateRequest) (res *model.VersionCreateResponse, err error)

func (*Service) GetToken

func (s *Service) GetToken(request *model.GetTokenRequest) (res *model.GetTokenResponse, err error)

func (*Service) GetVersionList

func (s *Service) GetVersionList(request *model.GetVersionListRequest) (res *model.GetVersionListResponse, err error)

func (*Service) Ping

func (s *Service) Ping() error

func (*Service) UpdateVersion

func (s *Service) UpdateVersion(request *model.VersionUpdateRequest) (res *model.VersionUpdateResponse, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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