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: 10 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 {
	/*
	   ExecSample samples task trigger*/
	ExecSample(ctx context.Context, params *ExecSampleParams) (*ExecSampleOK, 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) ExecSample

func (a *Client) ExecSample(ctx context.Context, params *ExecSampleParams) (*ExecSampleOK, error)

ExecSample samples task trigger

type ExecSampleInternalServerError

type ExecSampleInternalServerError struct {
	Payload *models.ErrorResponse
}

ExecSampleInternalServerError handles this case with default header values.

Something unexpected happend, error raised

func NewExecSampleInternalServerError

func NewExecSampleInternalServerError() *ExecSampleInternalServerError

NewExecSampleInternalServerError creates a ExecSampleInternalServerError with default headers values

func (*ExecSampleInternalServerError) Error

func (*ExecSampleInternalServerError) GetPayload

type ExecSampleOK

type ExecSampleOK struct {
}

ExecSampleOK handles this case with default header values.

Sample task executed successfully

func NewExecSampleOK

func NewExecSampleOK() *ExecSampleOK

NewExecSampleOK creates a ExecSampleOK with default headers values

func (*ExecSampleOK) Error

func (o *ExecSampleOK) Error() string

type ExecSampleParams

type ExecSampleParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExecSampleParams contains all the parameters to send to the API endpoint for the exec sample operation typically these are written to a http.Request

func NewExecSampleParams

func NewExecSampleParams() *ExecSampleParams

NewExecSampleParams creates a new ExecSampleParams object with the default values initialized.

func NewExecSampleParamsWithContext

func NewExecSampleParamsWithContext(ctx context.Context) *ExecSampleParams

NewExecSampleParamsWithContext creates a new ExecSampleParams object with the default values initialized, and the ability to set a context for a request

func NewExecSampleParamsWithHTTPClient

func NewExecSampleParamsWithHTTPClient(client *http.Client) *ExecSampleParams

NewExecSampleParamsWithHTTPClient creates a new ExecSampleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewExecSampleParamsWithTimeout

func NewExecSampleParamsWithTimeout(timeout time.Duration) *ExecSampleParams

NewExecSampleParamsWithTimeout creates a new ExecSampleParams object with the default values initialized, and the ability to set a timeout on a request

func (*ExecSampleParams) SetContext

func (o *ExecSampleParams) SetContext(ctx context.Context)

SetContext adds the context to the exec sample params

func (*ExecSampleParams) SetHTTPClient

func (o *ExecSampleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the exec sample params

func (*ExecSampleParams) SetTimeout

func (o *ExecSampleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the exec sample params

func (*ExecSampleParams) WithContext

func (o *ExecSampleParams) WithContext(ctx context.Context) *ExecSampleParams

WithContext adds the context to the exec sample params

func (*ExecSampleParams) WithHTTPClient

func (o *ExecSampleParams) WithHTTPClient(client *http.Client) *ExecSampleParams

WithHTTPClient adds the HTTPClient to the exec sample params

func (*ExecSampleParams) WithTimeout

func (o *ExecSampleParams) WithTimeout(timeout time.Duration) *ExecSampleParams

WithTimeout adds the timeout to the exec sample params

func (*ExecSampleParams) WriteToRequest

func (o *ExecSampleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExecSampleReader

type ExecSampleReader struct {
	// contains filtered or unexported fields
}

ExecSampleReader is a Reader for the ExecSample structure.

func (*ExecSampleReader) ReadResponse

func (o *ExecSampleReader) 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