trigger_management

package
v0.0.0-...-33e56a9 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 (*ExecTransformationInternalServerError) GetPayload

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

SetTo adds the to to the exec transformation params

func (*ExecTransformationParams) WithContext

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

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

WithTimeout adds the timeout to the exec transformation params

func (*ExecTransformationParams) WithTo

WithTo adds the to to the exec transformation params

func (*ExecTransformationParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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