Documentation
¶
Index ¶
- type CloudConnector
- func (connector *CloudConnector) AwsCloud(ctx context.Context, writer http.ResponseWriter, request *http.Request) error
- func (connector *CloudConnector) CallWebhook(ctx context.Context, writer http.ResponseWriter, request *http.Request) error
- func (connector *CloudConnector) Index(ctx context.Context, writer http.ResponseWriter, request *http.Request) error
- type ErrReport
- type ErrorList
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudConnector ¶
type CloudConnector struct { }
CloudConnector represents the User API method handler set.
func (*CloudConnector) AwsCloud ¶
func (connector *CloudConnector) AwsCloud(ctx context.Context, writer http.ResponseWriter, request *http.Request) error
AwsCloud triggers a set of rules based on the user input 200 OK, 400 Bad Request, 500 Internal Error
func (*CloudConnector) CallWebhook ¶
func (connector *CloudConnector) CallWebhook(ctx context.Context, writer http.ResponseWriter, request *http.Request) error
CallWebhook 200 OK, 400 Bad Request, 404 endpoint not found, 500 Internal Error
func (*CloudConnector) Index ¶
func (connector *CloudConnector) Index(ctx context.Context, writer http.ResponseWriter, request *http.Request) error
Index is used for Docker Healthcheck commands to indicate whether the http server is up and running to take requests nolint: unparam
type ErrReport ¶
type ErrReport struct { Field string `json:"field"` ErrorType string `json:"errortype"` Value interface{} `json:"value"` Description string `json:"description"` }
ErrReport is used to wrap schema validation errors int json object
Click to show internal directories.
Click to hide internal directories.