Documentation ¶
Overview ¶
Annotation@Enable=true
Index ¶
- Variables
- func ValidateCreateService(ctx context.Context) (model.Response, web.HttpStatus, error)
- type ApplicationHandler
- func (handler *ApplicationHandler) CreateService(ctx context.Context) (model.Response, web.HttpStatus)
- func (handler *ApplicationHandler) CreateServiceVersion(ctx context.Context) (model.Response, web.HttpStatus)
- func (handler *ApplicationHandler) DeleteService(ctx context.Context) (model.Response, web.HttpStatus)
- func (handler *ApplicationHandler) DeleteServiceVersion(ctx context.Context) (model.Response, web.HttpStatus)
- func (handler *ApplicationHandler) DescribeServiceVersions(ctx context.Context) (model.Response, web.HttpStatus)
- func (handler *ApplicationHandler) DescribeServices(ctx context.Context) (model.Response, web.HttpStatus)
- func (handler *ApplicationHandler) ModifyService(ctx context.Context) (model.Response, web.HttpStatus)
- func (handler *ApplicationHandler) ModifyServiceVersionReplicas(ctx context.Context) (model.Response, web.HttpStatus)
- type ApplicationHandlerService
- func (handler *ApplicationHandlerService) CreateService(ctx context.Context) (model.Response, web.HttpStatus)
- func (handler *ApplicationHandlerService) DeleteService(ctx context.Context) (model.Response, web.HttpStatus)
- func (handler *ApplicationHandlerService) ModifyService(ctx context.Context) (model.Response, web.HttpStatus)
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 ¶
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)
Click to show internal directories.
Click to hide internal directories.