examples

package
v0.0.0-...-fbbf138 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Annotation@Enable=true

Index

Constants

This section is empty.

Variables

View Source
var NewApplicationHandlerFunction = &lib.NewFunction{
	F:         func() (interface{}, error) { return new(ApplicationHandler), nil },
	Singleton: false,
}
View Source
var NewApplicationHandlerServiceFunction = &lib.NewFunction{
	F:         func() (interface{}, error) { return new(ApplicationHandlerService), nil },
	Singleton: false,
}

Functions

func ValidateCreateService

func ValidateCreateService(ctx context.Context) (model.Response, web.HttpStatus, error)

Types

type ApplicationHandler

type ApplicationHandler struct {
}

Annotation@Service Annotation@Component

func ProvideApplicationHandler

func ProvideApplicationHandler() (*ApplicationHandler, error)

func (*ApplicationHandler) CreateService

func (handler *ApplicationHandler) CreateService(ctx context.Context) (model.Response, web.HttpStatus)

Annotation@BeforeCallOrder=["Logger"] Annotation@AfterCallOrder=["Logger"] Annotation@Expose={"enableValidate": true}

func (*ApplicationHandler) CreateServiceVersion

func (handler *ApplicationHandler) CreateServiceVersion(ctx context.Context) (model.Response, web.HttpStatus)

func (*ApplicationHandler) DeleteService

func (handler *ApplicationHandler) DeleteService(ctx context.Context) (model.Response, web.HttpStatus)

Annotation@Expose={"enableValidate": false}

func (*ApplicationHandler) DeleteServiceVersion

func (handler *ApplicationHandler) DeleteServiceVersion(ctx context.Context) (model.Response, web.HttpStatus)

func (*ApplicationHandler) DescribeServiceVersions

func (handler *ApplicationHandler) DescribeServiceVersions(ctx context.Context) (model.Response, web.HttpStatus)

func (*ApplicationHandler) DescribeServices

func (handler *ApplicationHandler) DescribeServices(ctx context.Context) (model.Response, web.HttpStatus)

func (*ApplicationHandler) ModifyService

func (handler *ApplicationHandler) ModifyService(ctx context.Context) (model.Response, web.HttpStatus)

Annotation@Expose={"enableValidate": false}

func (*ApplicationHandler) ModifyServiceVersionReplicas

func (handler *ApplicationHandler) ModifyServiceVersionReplicas(ctx context.Context) (model.Response, web.HttpStatus)

type ApplicationHandlerService

type ApplicationHandlerService struct {
	Order              []string
	ApplicationHandler *ApplicationHandler `autowired:"true"`
}

Annotation@Component

func ProvideApplicationHandlerService

func ProvideApplicationHandlerService() (*ApplicationHandlerService, error)

func (*ApplicationHandlerService) CreateService

func (handler *ApplicationHandlerService) CreateService(ctx context.Context) (model.Response, web.HttpStatus)

func (*ApplicationHandlerService) DeleteService

func (handler *ApplicationHandlerService) DeleteService(ctx context.Context) (model.Response, web.HttpStatus)

func (*ApplicationHandlerService) ModifyService

func (handler *ApplicationHandlerService) ModifyService(ctx context.Context) (model.Response, web.HttpStatus)

Jump to

Keyboard shortcuts

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