Documentation
¶
Overview ¶
Package logging provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.
Index ¶
- Constants
- func NewBulkRegisterLoggersRequest(server string, body BulkRegisterLoggersJSONRequestBody) (*http.Request, error)
- func NewBulkRegisterLoggersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateLogGroupRequest(server string, body CreateLogGroupJSONRequestBody) (*http.Request, error)
- func NewCreateLogGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateLoggerRequest(server string, body CreateLoggerJSONRequestBody) (*http.Request, error)
- func NewCreateLoggerRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteLogGroupRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteLoggerRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetLogGroupRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetLoggerRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewListLogGroupsRequest(server string) (*http.Request, error)
- func NewListLoggersRequest(server string, params *ListLoggersParams) (*http.Request, error)
- func NewUpdateLogGroupRequest(server string, id openapi_types.UUID, body UpdateLogGroupJSONRequestBody) (*http.Request, error)
- func NewUpdateLogGroupRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateLoggerRequest(server string, id openapi_types.UUID, body UpdateLoggerJSONRequestBody) (*http.Request, error)
- func NewUpdateLoggerRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- type BulkRegisterLoggersJSONRequestBody
- type BulkRegisterLoggersResponse
- type Client
- func (c *Client) BulkRegisterLoggers(ctx context.Context, body BulkRegisterLoggersJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BulkRegisterLoggersWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateLogGroup(ctx context.Context, body CreateLogGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateLogGroupWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateLogger(ctx context.Context, body CreateLoggerJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateLoggerWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteLogGroup(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteLogger(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLogGroup(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLogger(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListLogGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListLoggers(ctx context.Context, params *ListLoggersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateLogGroup(ctx context.Context, id openapi_types.UUID, body UpdateLogGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateLogGroupWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateLogger(ctx context.Context, id openapi_types.UUID, body UpdateLoggerJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateLoggerWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) BulkRegisterLoggersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BulkRegisterLoggersResponse, error)
- func (c *ClientWithResponses) BulkRegisterLoggersWithResponse(ctx context.Context, body BulkRegisterLoggersJSONRequestBody, ...) (*BulkRegisterLoggersResponse, error)
- func (c *ClientWithResponses) CreateLogGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateLogGroupResponse, error)
- func (c *ClientWithResponses) CreateLogGroupWithResponse(ctx context.Context, body CreateLogGroupJSONRequestBody, ...) (*CreateLogGroupResponse, error)
- func (c *ClientWithResponses) CreateLoggerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateLoggerResponse, error)
- func (c *ClientWithResponses) CreateLoggerWithResponse(ctx context.Context, body CreateLoggerJSONRequestBody, ...) (*CreateLoggerResponse, error)
- func (c *ClientWithResponses) DeleteLogGroupWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteLogGroupResponse, error)
- func (c *ClientWithResponses) DeleteLoggerWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteLoggerResponse, error)
- func (c *ClientWithResponses) GetLogGroupWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLogGroupResponse, error)
- func (c *ClientWithResponses) GetLoggerWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLoggerResponse, error)
- func (c *ClientWithResponses) ListLogGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLogGroupsResponse, error)
- func (c *ClientWithResponses) ListLoggersWithResponse(ctx context.Context, params *ListLoggersParams, reqEditors ...RequestEditorFn) (*ListLoggersResponse, error)
- func (c *ClientWithResponses) UpdateLogGroupWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateLogGroupResponse, error)
- func (c *ClientWithResponses) UpdateLogGroupWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateLogGroupJSONRequestBody, ...) (*UpdateLogGroupResponse, error)
- func (c *ClientWithResponses) UpdateLoggerWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateLoggerResponse, error)
- func (c *ClientWithResponses) UpdateLoggerWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateLoggerJSONRequestBody, ...) (*UpdateLoggerResponse, error)
- type ClientWithResponsesInterface
- type CreateLogGroupJSONRequestBody
- type CreateLogGroupResponse
- type CreateLoggerJSONRequestBody
- type CreateLoggerResponse
- type DeleteLogGroupResponse
- type DeleteLoggerResponse
- type Error
- type ErrorResponse
- type GetLogGroupResponse
- type GetLoggerResponse
- type HTTPValidationError
- type HttpRequestDoer
- type ListLogGroupsResponse
- type ListLoggersParams
- type ListLoggersResponse
- type LogGroup
- type LogGroupListResponse
- type LogGroupResource
- type LogGroupResourceType
- type LogGroupResponse
- type Logger
- type LoggerBulkItem
- type LoggerBulkRequest
- type LoggerBulkResponse
- type LoggerListResponse
- type LoggerResource
- type LoggerResourceType
- type LoggerResponse
- type RequestEditorFn
- type ResourceLogGroup
- type ResourceLogger
- type ResponseLogGroup
- type ResponseLogger
- type UpdateLogGroupJSONRequestBody
- type UpdateLogGroupResponse
- type UpdateLoggerJSONRequestBody
- type UpdateLoggerResponse
- type ValidationError
- type ValidationErrorLoc0
- type ValidationErrorLoc1
- type ValidationError_Loc_Item
- func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
- func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error
Constants ¶
const (
HTTPBearerScopes = "HTTPBearer.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewBulkRegisterLoggersRequest ¶ added in v1.2.6
func NewBulkRegisterLoggersRequest(server string, body BulkRegisterLoggersJSONRequestBody) (*http.Request, error)
NewBulkRegisterLoggersRequest calls the generic BulkRegisterLoggers builder with application/json body
func NewBulkRegisterLoggersRequestWithBody ¶ added in v1.2.6
func NewBulkRegisterLoggersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBulkRegisterLoggersRequestWithBody generates requests for BulkRegisterLoggers with any type of body
func NewCreateLogGroupRequest ¶ added in v1.2.6
func NewCreateLogGroupRequest(server string, body CreateLogGroupJSONRequestBody) (*http.Request, error)
NewCreateLogGroupRequest calls the generic CreateLogGroup builder with application/json body
func NewCreateLogGroupRequestWithBody ¶ added in v1.2.6
func NewCreateLogGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateLogGroupRequestWithBody generates requests for CreateLogGroup with any type of body
func NewCreateLoggerRequest ¶
func NewCreateLoggerRequest(server string, body CreateLoggerJSONRequestBody) (*http.Request, error)
NewCreateLoggerRequest calls the generic CreateLogger builder with application/json body
func NewCreateLoggerRequestWithBody ¶
func NewCreateLoggerRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateLoggerRequestWithBody generates requests for CreateLogger with any type of body
func NewDeleteLogGroupRequest ¶ added in v1.2.6
NewDeleteLogGroupRequest generates requests for DeleteLogGroup
func NewDeleteLoggerRequest ¶
NewDeleteLoggerRequest generates requests for DeleteLogger
func NewGetLogGroupRequest ¶ added in v1.2.6
NewGetLogGroupRequest generates requests for GetLogGroup
func NewGetLoggerRequest ¶
NewGetLoggerRequest generates requests for GetLogger
func NewListLogGroupsRequest ¶ added in v1.2.6
NewListLogGroupsRequest generates requests for ListLogGroups
func NewListLoggersRequest ¶
func NewListLoggersRequest(server string, params *ListLoggersParams) (*http.Request, error)
NewListLoggersRequest generates requests for ListLoggers
func NewUpdateLogGroupRequest ¶ added in v1.2.6
func NewUpdateLogGroupRequest(server string, id openapi_types.UUID, body UpdateLogGroupJSONRequestBody) (*http.Request, error)
NewUpdateLogGroupRequest calls the generic UpdateLogGroup builder with application/json body
func NewUpdateLogGroupRequestWithBody ¶ added in v1.2.6
func NewUpdateLogGroupRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateLogGroupRequestWithBody generates requests for UpdateLogGroup with any type of body
func NewUpdateLoggerRequest ¶
func NewUpdateLoggerRequest(server string, id openapi_types.UUID, body UpdateLoggerJSONRequestBody) (*http.Request, error)
NewUpdateLoggerRequest calls the generic UpdateLogger builder with application/json body
Types ¶
type BulkRegisterLoggersJSONRequestBody ¶ added in v1.2.6
type BulkRegisterLoggersJSONRequestBody = LoggerBulkRequest
BulkRegisterLoggersJSONRequestBody defines body for BulkRegisterLoggers for application/json ContentType.
type BulkRegisterLoggersResponse ¶ added in v1.2.6
type BulkRegisterLoggersResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *LoggerBulkResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON422 *HTTPValidationError
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseBulkRegisterLoggersResponse ¶ added in v1.2.6
func ParseBulkRegisterLoggersResponse(rsp *http.Response) (*BulkRegisterLoggersResponse, error)
ParseBulkRegisterLoggersResponse parses an HTTP response from a BulkRegisterLoggersWithResponse call
func (BulkRegisterLoggersResponse) Status ¶ added in v1.2.6
func (r BulkRegisterLoggersResponse) Status() string
Status returns HTTPResponse.Status
func (BulkRegisterLoggersResponse) StatusCode ¶ added in v1.2.6
func (r BulkRegisterLoggersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) BulkRegisterLoggers ¶ added in v1.2.6
func (c *Client) BulkRegisterLoggers(ctx context.Context, body BulkRegisterLoggersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BulkRegisterLoggersWithBody ¶ added in v1.2.6
func (*Client) CreateLogGroup ¶ added in v1.2.6
func (c *Client) CreateLogGroup(ctx context.Context, body CreateLogGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateLogGroupWithBody ¶ added in v1.2.6
func (*Client) CreateLogger ¶
func (c *Client) CreateLogger(ctx context.Context, body CreateLoggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateLoggerWithBody ¶
func (*Client) DeleteLogGroup ¶ added in v1.2.6
func (c *Client) DeleteLogGroup(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteLogger ¶
func (c *Client) DeleteLogger(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetLogGroup ¶ added in v1.2.6
func (c *Client) GetLogGroup(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetLogger ¶
func (c *Client) GetLogger(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListLogGroups ¶ added in v1.2.6
func (*Client) ListLoggers ¶
func (c *Client) ListLoggers(ctx context.Context, params *ListLoggersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateLogGroup ¶ added in v1.2.6
func (c *Client) UpdateLogGroup(ctx context.Context, id openapi_types.UUID, body UpdateLogGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateLogGroupWithBody ¶ added in v1.2.6
func (*Client) UpdateLogger ¶
func (c *Client) UpdateLogger(ctx context.Context, id openapi_types.UUID, body UpdateLoggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateLoggerWithBody ¶
type ClientInterface ¶
type ClientInterface interface {
// ListLogGroups request
ListLogGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateLogGroupWithBody request with any body
CreateLogGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateLogGroup(ctx context.Context, body CreateLogGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteLogGroup request
DeleteLogGroup(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLogGroup request
GetLogGroup(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateLogGroupWithBody request with any body
UpdateLogGroupWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateLogGroup(ctx context.Context, id openapi_types.UUID, body UpdateLogGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListLoggers request
ListLoggers(ctx context.Context, params *ListLoggersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateLoggerWithBody request with any body
CreateLoggerWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateLogger(ctx context.Context, body CreateLoggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkRegisterLoggersWithBody request with any body
BulkRegisterLoggersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkRegisterLoggers(ctx context.Context, body BulkRegisterLoggersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteLogger request
DeleteLogger(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLogger request
GetLogger(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateLoggerWithBody request with any body
UpdateLoggerWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateLogger(ctx context.Context, id openapi_types.UUID, body UpdateLoggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) BulkRegisterLoggersWithBodyWithResponse ¶ added in v1.2.6
func (c *ClientWithResponses) BulkRegisterLoggersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkRegisterLoggersResponse, error)
BulkRegisterLoggersWithBodyWithResponse request with arbitrary body returning *BulkRegisterLoggersResponse
func (*ClientWithResponses) BulkRegisterLoggersWithResponse ¶ added in v1.2.6
func (c *ClientWithResponses) BulkRegisterLoggersWithResponse(ctx context.Context, body BulkRegisterLoggersJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkRegisterLoggersResponse, error)
func (*ClientWithResponses) CreateLogGroupWithBodyWithResponse ¶ added in v1.2.6
func (c *ClientWithResponses) CreateLogGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLogGroupResponse, error)
CreateLogGroupWithBodyWithResponse request with arbitrary body returning *CreateLogGroupResponse
func (*ClientWithResponses) CreateLogGroupWithResponse ¶ added in v1.2.6
func (c *ClientWithResponses) CreateLogGroupWithResponse(ctx context.Context, body CreateLogGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLogGroupResponse, error)
func (*ClientWithResponses) CreateLoggerWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateLoggerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLoggerResponse, error)
CreateLoggerWithBodyWithResponse request with arbitrary body returning *CreateLoggerResponse
func (*ClientWithResponses) CreateLoggerWithResponse ¶
func (c *ClientWithResponses) CreateLoggerWithResponse(ctx context.Context, body CreateLoggerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLoggerResponse, error)
func (*ClientWithResponses) DeleteLogGroupWithResponse ¶ added in v1.2.6
func (c *ClientWithResponses) DeleteLogGroupWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteLogGroupResponse, error)
DeleteLogGroupWithResponse request returning *DeleteLogGroupResponse
func (*ClientWithResponses) DeleteLoggerWithResponse ¶
func (c *ClientWithResponses) DeleteLoggerWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteLoggerResponse, error)
DeleteLoggerWithResponse request returning *DeleteLoggerResponse
func (*ClientWithResponses) GetLogGroupWithResponse ¶ added in v1.2.6
func (c *ClientWithResponses) GetLogGroupWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLogGroupResponse, error)
GetLogGroupWithResponse request returning *GetLogGroupResponse
func (*ClientWithResponses) GetLoggerWithResponse ¶
func (c *ClientWithResponses) GetLoggerWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLoggerResponse, error)
GetLoggerWithResponse request returning *GetLoggerResponse
func (*ClientWithResponses) ListLogGroupsWithResponse ¶ added in v1.2.6
func (c *ClientWithResponses) ListLogGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLogGroupsResponse, error)
ListLogGroupsWithResponse request returning *ListLogGroupsResponse
func (*ClientWithResponses) ListLoggersWithResponse ¶
func (c *ClientWithResponses) ListLoggersWithResponse(ctx context.Context, params *ListLoggersParams, reqEditors ...RequestEditorFn) (*ListLoggersResponse, error)
ListLoggersWithResponse request returning *ListLoggersResponse
func (*ClientWithResponses) UpdateLogGroupWithBodyWithResponse ¶ added in v1.2.6
func (c *ClientWithResponses) UpdateLogGroupWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLogGroupResponse, error)
UpdateLogGroupWithBodyWithResponse request with arbitrary body returning *UpdateLogGroupResponse
func (*ClientWithResponses) UpdateLogGroupWithResponse ¶ added in v1.2.6
func (c *ClientWithResponses) UpdateLogGroupWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateLogGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLogGroupResponse, error)
func (*ClientWithResponses) UpdateLoggerWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateLoggerWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLoggerResponse, error)
UpdateLoggerWithBodyWithResponse request with arbitrary body returning *UpdateLoggerResponse
func (*ClientWithResponses) UpdateLoggerWithResponse ¶
func (c *ClientWithResponses) UpdateLoggerWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateLoggerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLoggerResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListLogGroupsWithResponse request
ListLogGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLogGroupsResponse, error)
// CreateLogGroupWithBodyWithResponse request with any body
CreateLogGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLogGroupResponse, error)
CreateLogGroupWithResponse(ctx context.Context, body CreateLogGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLogGroupResponse, error)
// DeleteLogGroupWithResponse request
DeleteLogGroupWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteLogGroupResponse, error)
// GetLogGroupWithResponse request
GetLogGroupWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLogGroupResponse, error)
// UpdateLogGroupWithBodyWithResponse request with any body
UpdateLogGroupWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLogGroupResponse, error)
UpdateLogGroupWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateLogGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLogGroupResponse, error)
// ListLoggersWithResponse request
ListLoggersWithResponse(ctx context.Context, params *ListLoggersParams, reqEditors ...RequestEditorFn) (*ListLoggersResponse, error)
// CreateLoggerWithBodyWithResponse request with any body
CreateLoggerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLoggerResponse, error)
CreateLoggerWithResponse(ctx context.Context, body CreateLoggerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLoggerResponse, error)
// BulkRegisterLoggersWithBodyWithResponse request with any body
BulkRegisterLoggersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkRegisterLoggersResponse, error)
BulkRegisterLoggersWithResponse(ctx context.Context, body BulkRegisterLoggersJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkRegisterLoggersResponse, error)
// DeleteLoggerWithResponse request
DeleteLoggerWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteLoggerResponse, error)
// GetLoggerWithResponse request
GetLoggerWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLoggerResponse, error)
// UpdateLoggerWithBodyWithResponse request with any body
UpdateLoggerWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLoggerResponse, error)
UpdateLoggerWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateLoggerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLoggerResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateLogGroupJSONRequestBody ¶ added in v1.2.6
type CreateLogGroupJSONRequestBody = ResponseLogGroup
CreateLogGroupJSONRequestBody defines body for CreateLogGroup for application/json ContentType.
type CreateLogGroupResponse ¶ added in v1.2.6
type CreateLogGroupResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON201 *LogGroupResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON422 *HTTPValidationError
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseCreateLogGroupResponse ¶ added in v1.2.6
func ParseCreateLogGroupResponse(rsp *http.Response) (*CreateLogGroupResponse, error)
ParseCreateLogGroupResponse parses an HTTP response from a CreateLogGroupWithResponse call
func (CreateLogGroupResponse) Status ¶ added in v1.2.6
func (r CreateLogGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateLogGroupResponse) StatusCode ¶ added in v1.2.6
func (r CreateLogGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateLoggerJSONRequestBody ¶
type CreateLoggerJSONRequestBody = ResponseLogger
CreateLoggerJSONRequestBody defines body for CreateLogger for application/json ContentType.
type CreateLoggerResponse ¶
type CreateLoggerResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON201 *LoggerResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON422 *HTTPValidationError
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseCreateLoggerResponse ¶
func ParseCreateLoggerResponse(rsp *http.Response) (*CreateLoggerResponse, error)
ParseCreateLoggerResponse parses an HTTP response from a CreateLoggerWithResponse call
func (CreateLoggerResponse) Status ¶
func (r CreateLoggerResponse) Status() string
Status returns HTTPResponse.Status
func (CreateLoggerResponse) StatusCode ¶
func (r CreateLoggerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteLogGroupResponse ¶ added in v1.2.6
type DeleteLogGroupResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON422 *HTTPValidationError
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseDeleteLogGroupResponse ¶ added in v1.2.6
func ParseDeleteLogGroupResponse(rsp *http.Response) (*DeleteLogGroupResponse, error)
ParseDeleteLogGroupResponse parses an HTTP response from a DeleteLogGroupWithResponse call
func (DeleteLogGroupResponse) Status ¶ added in v1.2.6
func (r DeleteLogGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteLogGroupResponse) StatusCode ¶ added in v1.2.6
func (r DeleteLogGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteLoggerResponse ¶
type DeleteLoggerResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON422 *HTTPValidationError
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseDeleteLoggerResponse ¶
func ParseDeleteLoggerResponse(rsp *http.Response) (*DeleteLoggerResponse, error)
ParseDeleteLoggerResponse parses an HTTP response from a DeleteLoggerWithResponse call
func (DeleteLoggerResponse) Status ¶
func (r DeleteLoggerResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteLoggerResponse) StatusCode ¶
func (r DeleteLoggerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Error ¶
type Error struct {
Detail *string `json:"detail,omitempty"`
Source *map[string]interface{} `json:"source,omitempty"`
Status string `json:"status"`
Title string `json:"title"`
}
Error Single JSON:API error object.
type ErrorResponse ¶
type ErrorResponse struct {
Errors []Error `json:"errors"`
}
ErrorResponse JSON:API error response envelope.
type GetLogGroupResponse ¶ added in v1.2.6
type GetLogGroupResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *LogGroupResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON422 *HTTPValidationError
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseGetLogGroupResponse ¶ added in v1.2.6
func ParseGetLogGroupResponse(rsp *http.Response) (*GetLogGroupResponse, error)
ParseGetLogGroupResponse parses an HTTP response from a GetLogGroupWithResponse call
func (GetLogGroupResponse) Status ¶ added in v1.2.6
func (r GetLogGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetLogGroupResponse) StatusCode ¶ added in v1.2.6
func (r GetLogGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLoggerResponse ¶
type GetLoggerResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *LoggerResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON422 *HTTPValidationError
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseGetLoggerResponse ¶
func ParseGetLoggerResponse(rsp *http.Response) (*GetLoggerResponse, error)
ParseGetLoggerResponse parses an HTTP response from a GetLoggerWithResponse call
func (GetLoggerResponse) Status ¶
func (r GetLoggerResponse) Status() string
Status returns HTTPResponse.Status
func (GetLoggerResponse) StatusCode ¶
func (r GetLoggerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HTTPValidationError ¶
type HTTPValidationError struct {
Detail *[]ValidationError `json:"detail,omitempty"`
}
HTTPValidationError defines model for HTTPValidationError.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListLogGroupsResponse ¶ added in v1.2.6
type ListLogGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *LogGroupListResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseListLogGroupsResponse ¶ added in v1.2.6
func ParseListLogGroupsResponse(rsp *http.Response) (*ListLogGroupsResponse, error)
ParseListLogGroupsResponse parses an HTTP response from a ListLogGroupsWithResponse call
func (ListLogGroupsResponse) Status ¶ added in v1.2.6
func (r ListLogGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListLogGroupsResponse) StatusCode ¶ added in v1.2.6
func (r ListLogGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListLoggersParams ¶
type ListLoggersParams struct {
FilterKey *string `form:"filter[key],omitempty" json:"filter[key],omitempty"`
FilterManaged *bool `form:"filter[managed],omitempty" json:"filter[managed],omitempty"`
}
ListLoggersParams defines parameters for ListLoggers.
type ListLoggersResponse ¶
type ListLoggersResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *LoggerListResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON422 *HTTPValidationError
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseListLoggersResponse ¶
func ParseListLoggersResponse(rsp *http.Response) (*ListLoggersResponse, error)
ParseListLoggersResponse parses an HTTP response from a ListLoggersWithResponse call
func (ListLoggersResponse) Status ¶
func (r ListLoggersResponse) Status() string
Status returns HTTPResponse.Status
func (ListLoggersResponse) StatusCode ¶
func (r ListLoggersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LogGroup ¶ added in v1.2.6
type LogGroup struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
Environments *map[string]interface{} `json:"environments,omitempty"`
Group *string `json:"group,omitempty"`
Key *string `json:"key,omitempty"`
Level *string `json:"level,omitempty"`
Name string `json:"name"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
LogGroup defines model for LogGroup.
type LogGroupListResponse ¶ added in v1.2.6
type LogGroupListResponse struct {
Data []LogGroupResource `json:"data"`
}
LogGroupListResponse defines model for LogGroupListResponse.
type LogGroupResource ¶ added in v1.2.6
type LogGroupResource struct {
Attributes LogGroup `json:"attributes"`
Id *string `json:"id,omitempty"`
Type LogGroupResourceType `json:"type"`
}
LogGroupResource defines model for LogGroupResource.
type LogGroupResourceType ¶ added in v1.2.6
type LogGroupResourceType string
LogGroupResourceType defines model for LogGroupResource.Type.
const (
LogGroupResourceTypeLogGroup LogGroupResourceType = "log_group"
)
Defines values for LogGroupResourceType.
func (LogGroupResourceType) Valid ¶ added in v1.2.6
func (e LogGroupResourceType) Valid() bool
Valid indicates whether the value is a known member of the LogGroupResourceType enum.
type LogGroupResponse ¶ added in v1.2.6
type LogGroupResponse struct {
Data LogGroupResource `json:"data"`
}
LogGroupResponse defines model for LogGroupResponse.
type Logger ¶
type Logger struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
Environments *map[string]interface{} `json:"environments,omitempty"`
Group *string `json:"group,omitempty"`
Key *string `json:"key,omitempty"`
Level *string `json:"level,omitempty"`
Managed *bool `json:"managed,omitempty"`
Name string `json:"name"`
Sources *[]map[string]interface{} `json:"sources,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
Logger defines model for Logger.
type LoggerBulkItem ¶ added in v1.2.6
type LoggerBulkItem struct {
// Key Normalized logger name
Key string `json:"key"`
// Level Observed log level in smplkit canonical format
Level string `json:"level"`
// Service Service name that discovered this logger
Service *string `json:"service,omitempty"`
}
LoggerBulkItem defines model for LoggerBulkItem.
type LoggerBulkRequest ¶ added in v1.2.6
type LoggerBulkRequest struct {
Loggers []LoggerBulkItem `json:"loggers"`
}
LoggerBulkRequest defines model for LoggerBulkRequest.
type LoggerBulkResponse ¶ added in v1.2.6
type LoggerBulkResponse struct {
Registered int `json:"registered"`
}
LoggerBulkResponse defines model for LoggerBulkResponse.
type LoggerListResponse ¶
type LoggerListResponse struct {
Data []LoggerResource `json:"data"`
}
LoggerListResponse defines model for LoggerListResponse.
type LoggerResource ¶
type LoggerResource struct {
Attributes Logger `json:"attributes"`
Id *string `json:"id,omitempty"`
Type LoggerResourceType `json:"type"`
}
LoggerResource defines model for LoggerResource.
type LoggerResourceType ¶ added in v1.2.6
type LoggerResourceType string
LoggerResourceType defines model for LoggerResource.Type.
const (
LoggerResourceTypeLogger LoggerResourceType = "logger"
)
Defines values for LoggerResourceType.
func (LoggerResourceType) Valid ¶ added in v1.2.6
func (e LoggerResourceType) Valid() bool
Valid indicates whether the value is a known member of the LoggerResourceType enum.
type LoggerResponse ¶
type LoggerResponse struct {
Data LoggerResource `json:"data"`
}
LoggerResponse defines model for LoggerResponse.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResourceLogGroup ¶ added in v1.2.6
type ResourceLogGroup struct {
Attributes LogGroup `json:"attributes"`
Id *string `json:"id,omitempty"`
Type *string `json:"type,omitempty"`
}
ResourceLogGroup defines model for Resource_LogGroup_.
type ResourceLogger ¶
type ResourceLogger struct {
Attributes Logger `json:"attributes"`
Id *string `json:"id,omitempty"`
Type *string `json:"type,omitempty"`
}
ResourceLogger defines model for Resource_Logger_.
type ResponseLogGroup ¶ added in v1.2.6
type ResponseLogGroup struct {
Data ResourceLogGroup `json:"data"`
}
ResponseLogGroup defines model for Response_LogGroup_.
type ResponseLogger ¶
type ResponseLogger struct {
Data ResourceLogger `json:"data"`
}
ResponseLogger defines model for Response_Logger_.
type UpdateLogGroupJSONRequestBody ¶ added in v1.2.6
type UpdateLogGroupJSONRequestBody = ResponseLogGroup
UpdateLogGroupJSONRequestBody defines body for UpdateLogGroup for application/json ContentType.
type UpdateLogGroupResponse ¶ added in v1.2.6
type UpdateLogGroupResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *LogGroupResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON422 *HTTPValidationError
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseUpdateLogGroupResponse ¶ added in v1.2.6
func ParseUpdateLogGroupResponse(rsp *http.Response) (*UpdateLogGroupResponse, error)
ParseUpdateLogGroupResponse parses an HTTP response from a UpdateLogGroupWithResponse call
func (UpdateLogGroupResponse) Status ¶ added in v1.2.6
func (r UpdateLogGroupResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateLogGroupResponse) StatusCode ¶ added in v1.2.6
func (r UpdateLogGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateLoggerJSONRequestBody ¶
type UpdateLoggerJSONRequestBody = ResponseLogger
UpdateLoggerJSONRequestBody defines body for UpdateLogger for application/json ContentType.
type UpdateLoggerResponse ¶
type UpdateLoggerResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *LoggerResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON422 *HTTPValidationError
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseUpdateLoggerResponse ¶
func ParseUpdateLoggerResponse(rsp *http.Response) (*UpdateLoggerResponse, error)
ParseUpdateLoggerResponse parses an HTTP response from a UpdateLoggerWithResponse call
func (UpdateLoggerResponse) Status ¶
func (r UpdateLoggerResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateLoggerResponse) StatusCode ¶
func (r UpdateLoggerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValidationError ¶
type ValidationError struct {
Loc []ValidationError_Loc_Item `json:"loc"`
Msg string `json:"msg"`
Type string `json:"type"`
}
ValidationError defines model for ValidationError.
type ValidationErrorLoc0 ¶
type ValidationErrorLoc0 = string
ValidationErrorLoc0 defines model for .
type ValidationError_Loc_Item ¶
type ValidationError_Loc_Item struct {
// contains filtered or unexported fields
}
ValidationError_Loc_Item defines model for ValidationError.loc.Item.
func (ValidationError_Loc_Item) AsValidationErrorLoc0 ¶
func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
AsValidationErrorLoc0 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc0
func (ValidationError_Loc_Item) AsValidationErrorLoc1 ¶
func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
AsValidationErrorLoc1 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc1
func (*ValidationError_Loc_Item) FromValidationErrorLoc0 ¶
func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
FromValidationErrorLoc0 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) FromValidationErrorLoc1 ¶
func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
FromValidationErrorLoc1 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc1
func (ValidationError_Loc_Item) MarshalJSON ¶
func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
func (*ValidationError_Loc_Item) MergeValidationErrorLoc0 ¶
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
MergeValidationErrorLoc0 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) MergeValidationErrorLoc1 ¶
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
MergeValidationErrorLoc1 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc1
func (*ValidationError_Loc_Item) UnmarshalJSON ¶
func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error