Documentation
¶
Index ¶
- type API
- type Client
- type ExecTransformationInternalServerError
- type ExecTransformationOK
- type ExecTransformationParams
- func NewExecTransformationParams() *ExecTransformationParams
- func NewExecTransformationParamsWithContext(ctx context.Context) *ExecTransformationParams
- func NewExecTransformationParamsWithHTTPClient(client *http.Client) *ExecTransformationParams
- func NewExecTransformationParamsWithTimeout(timeout time.Duration) *ExecTransformationParams
- func (o *ExecTransformationParams) SetContext(ctx context.Context)
- func (o *ExecTransformationParams) SetFastMode(fastMode *bool)
- func (o *ExecTransformationParams) SetFrom(from *strfmt.DateTime)
- func (o *ExecTransformationParams) SetHTTPClient(client *http.Client)
- func (o *ExecTransformationParams) SetTimeout(timeout time.Duration)
- func (o *ExecTransformationParams) SetTo(to *strfmt.DateTime)
- func (o *ExecTransformationParams) WithContext(ctx context.Context) *ExecTransformationParams
- func (o *ExecTransformationParams) WithFastMode(fastMode *bool) *ExecTransformationParams
- func (o *ExecTransformationParams) WithFrom(from *strfmt.DateTime) *ExecTransformationParams
- func (o *ExecTransformationParams) WithHTTPClient(client *http.Client) *ExecTransformationParams
- func (o *ExecTransformationParams) WithTimeout(timeout time.Duration) *ExecTransformationParams
- func (o *ExecTransformationParams) WithTo(to *strfmt.DateTime) *ExecTransformationParams
- func (o *ExecTransformationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExecTransformationReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface {
/*
ExecTransformation transformations of u d r to c d r task trigger*/
ExecTransformation(ctx context.Context, params *ExecTransformationParams) (*ExecTransformationOK, error)
}
API is the interface of the trigger management client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for trigger management API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new trigger management API client.
func (*Client) ExecTransformation ¶
func (a *Client) ExecTransformation(ctx context.Context, params *ExecTransformationParams) (*ExecTransformationOK, error)
ExecTransformation transformations of u d r to c d r task trigger
type ExecTransformationInternalServerError ¶
type ExecTransformationInternalServerError struct {
Payload *models.ErrorResponse
}
ExecTransformationInternalServerError handles this case with default header values.
Something unexpected happend, error raised
func NewExecTransformationInternalServerError ¶
func NewExecTransformationInternalServerError() *ExecTransformationInternalServerError
NewExecTransformationInternalServerError creates a ExecTransformationInternalServerError with default headers values
func (*ExecTransformationInternalServerError) Error ¶
func (o *ExecTransformationInternalServerError) Error() string
func (*ExecTransformationInternalServerError) GetPayload ¶
func (o *ExecTransformationInternalServerError) GetPayload() *models.ErrorResponse
type ExecTransformationOK ¶
type ExecTransformationOK struct {
}
ExecTransformationOK handles this case with default header values.
Transformation task executed successfully.
func NewExecTransformationOK ¶
func NewExecTransformationOK() *ExecTransformationOK
NewExecTransformationOK creates a ExecTransformationOK with default headers values
func (*ExecTransformationOK) Error ¶
func (o *ExecTransformationOK) Error() string
type ExecTransformationParams ¶
type ExecTransformationParams struct {
/*FastMode
Switch for using 15m boundaries instead of 8h
*/
FastMode *bool
/*From
Datetime from which to get the usage report
*/
From *strfmt.DateTime
/*To
Datetime until which to get the usage report
*/
To *strfmt.DateTime
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ExecTransformationParams contains all the parameters to send to the API endpoint for the exec transformation operation typically these are written to a http.Request
func NewExecTransformationParams ¶
func NewExecTransformationParams() *ExecTransformationParams
NewExecTransformationParams creates a new ExecTransformationParams object with the default values initialized.
func NewExecTransformationParamsWithContext ¶
func NewExecTransformationParamsWithContext(ctx context.Context) *ExecTransformationParams
NewExecTransformationParamsWithContext creates a new ExecTransformationParams object with the default values initialized, and the ability to set a context for a request
func NewExecTransformationParamsWithHTTPClient ¶
func NewExecTransformationParamsWithHTTPClient(client *http.Client) *ExecTransformationParams
NewExecTransformationParamsWithHTTPClient creates a new ExecTransformationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewExecTransformationParamsWithTimeout ¶
func NewExecTransformationParamsWithTimeout(timeout time.Duration) *ExecTransformationParams
NewExecTransformationParamsWithTimeout creates a new ExecTransformationParams object with the default values initialized, and the ability to set a timeout on a request
func (*ExecTransformationParams) SetContext ¶
func (o *ExecTransformationParams) SetContext(ctx context.Context)
SetContext adds the context to the exec transformation params
func (*ExecTransformationParams) SetFastMode ¶
func (o *ExecTransformationParams) SetFastMode(fastMode *bool)
SetFastMode adds the fastMode to the exec transformation params
func (*ExecTransformationParams) SetFrom ¶
func (o *ExecTransformationParams) SetFrom(from *strfmt.DateTime)
SetFrom adds the from to the exec transformation params
func (*ExecTransformationParams) SetHTTPClient ¶
func (o *ExecTransformationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the exec transformation params
func (*ExecTransformationParams) SetTimeout ¶
func (o *ExecTransformationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the exec transformation params
func (*ExecTransformationParams) SetTo ¶
func (o *ExecTransformationParams) SetTo(to *strfmt.DateTime)
SetTo adds the to to the exec transformation params
func (*ExecTransformationParams) WithContext ¶
func (o *ExecTransformationParams) WithContext(ctx context.Context) *ExecTransformationParams
WithContext adds the context to the exec transformation params
func (*ExecTransformationParams) WithFastMode ¶
func (o *ExecTransformationParams) WithFastMode(fastMode *bool) *ExecTransformationParams
WithFastMode adds the fastMode to the exec transformation params
func (*ExecTransformationParams) WithFrom ¶
func (o *ExecTransformationParams) WithFrom(from *strfmt.DateTime) *ExecTransformationParams
WithFrom adds the from to the exec transformation params
func (*ExecTransformationParams) WithHTTPClient ¶
func (o *ExecTransformationParams) WithHTTPClient(client *http.Client) *ExecTransformationParams
WithHTTPClient adds the HTTPClient to the exec transformation params
func (*ExecTransformationParams) WithTimeout ¶
func (o *ExecTransformationParams) WithTimeout(timeout time.Duration) *ExecTransformationParams
WithTimeout adds the timeout to the exec transformation params
func (*ExecTransformationParams) WithTo ¶
func (o *ExecTransformationParams) WithTo(to *strfmt.DateTime) *ExecTransformationParams
WithTo adds the to to the exec transformation params
func (*ExecTransformationParams) WriteToRequest ¶
func (o *ExecTransformationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExecTransformationReader ¶
type ExecTransformationReader struct {
// contains filtered or unexported fields
}
ExecTransformationReader is a Reader for the ExecTransformation structure.
func (*ExecTransformationReader) ReadResponse ¶
func (o *ExecTransformationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.