outputs

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2020 License: MPL-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for outputs API

func (*Client) DeleteV1BucketsBucketIDOutputsOutputID

func (a *Client) DeleteV1BucketsBucketIDOutputsOutputID(params *DeleteV1BucketsBucketIDOutputsOutputIDParams) (*DeleteV1BucketsBucketIDOutputsOutputIDOK, error)

DeleteV1BucketsBucketIDOutputsOutputID deletes output

func (*Client) PostV1BucketsBucketIDOutputs

func (a *Client) PostV1BucketsBucketIDOutputs(params *PostV1BucketsBucketIDOutputsParams) (*PostV1BucketsBucketIDOutputsCreated, error)

PostV1BucketsBucketIDOutputs creates a new output

Create one or more outputs for the bucket to start forwarding webhooks to those destinations.

func (*Client) PutV1BucketsBucketIDOutputsOutputID

func (a *Client) PutV1BucketsBucketIDOutputsOutputID(params *PutV1BucketsBucketIDOutputsOutputIDParams) (*PutV1BucketsBucketIDOutputsOutputIDOK, error)

PutV1BucketsBucketIDOutputsOutputID updates output

Update output destination or make it public/internal.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService added in v0.3.0

type ClientService interface {
	DeleteV1BucketsBucketIDOutputsOutputID(params *DeleteV1BucketsBucketIDOutputsOutputIDParams) (*DeleteV1BucketsBucketIDOutputsOutputIDOK, error)

	PostV1BucketsBucketIDOutputs(params *PostV1BucketsBucketIDOutputsParams) (*PostV1BucketsBucketIDOutputsCreated, error)

	PutV1BucketsBucketIDOutputsOutputID(params *PutV1BucketsBucketIDOutputsOutputIDParams) (*PutV1BucketsBucketIDOutputsOutputIDOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new outputs API client.

type DeleteV1BucketsBucketIDOutputsOutputIDNotFound

type DeleteV1BucketsBucketIDOutputsOutputIDNotFound struct {
}

DeleteV1BucketsBucketIDOutputsOutputIDNotFound handles this case with default header values.

Output or Bucket not found

func NewDeleteV1BucketsBucketIDOutputsOutputIDNotFound

func NewDeleteV1BucketsBucketIDOutputsOutputIDNotFound() *DeleteV1BucketsBucketIDOutputsOutputIDNotFound

NewDeleteV1BucketsBucketIDOutputsOutputIDNotFound creates a DeleteV1BucketsBucketIDOutputsOutputIDNotFound with default headers values

func (*DeleteV1BucketsBucketIDOutputsOutputIDNotFound) Error

type DeleteV1BucketsBucketIDOutputsOutputIDOK

type DeleteV1BucketsBucketIDOutputsOutputIDOK struct {
}

DeleteV1BucketsBucketIDOutputsOutputIDOK handles this case with default header values.

DeleteV1BucketsBucketIDOutputsOutputIDOK delete v1 buckets bucket Id outputs output Id o k

func NewDeleteV1BucketsBucketIDOutputsOutputIDOK

func NewDeleteV1BucketsBucketIDOutputsOutputIDOK() *DeleteV1BucketsBucketIDOutputsOutputIDOK

NewDeleteV1BucketsBucketIDOutputsOutputIDOK creates a DeleteV1BucketsBucketIDOutputsOutputIDOK with default headers values

func (*DeleteV1BucketsBucketIDOutputsOutputIDOK) Error

type DeleteV1BucketsBucketIDOutputsOutputIDParams

type DeleteV1BucketsBucketIDOutputsOutputIDParams struct {

	/*BucketID
	  ID of a bucket to create input in

	*/
	BucketID string
	/*OutputID
	  ID of an output to manage

	*/
	OutputID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteV1BucketsBucketIDOutputsOutputIDParams contains all the parameters to send to the API endpoint for the delete v1 buckets bucket ID outputs output ID operation typically these are written to a http.Request

func NewDeleteV1BucketsBucketIDOutputsOutputIDParams

func NewDeleteV1BucketsBucketIDOutputsOutputIDParams() *DeleteV1BucketsBucketIDOutputsOutputIDParams

NewDeleteV1BucketsBucketIDOutputsOutputIDParams creates a new DeleteV1BucketsBucketIDOutputsOutputIDParams object with the default values initialized.

func NewDeleteV1BucketsBucketIDOutputsOutputIDParamsWithContext

func NewDeleteV1BucketsBucketIDOutputsOutputIDParamsWithContext(ctx context.Context) *DeleteV1BucketsBucketIDOutputsOutputIDParams

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

func NewDeleteV1BucketsBucketIDOutputsOutputIDParamsWithHTTPClient

func NewDeleteV1BucketsBucketIDOutputsOutputIDParamsWithHTTPClient(client *http.Client) *DeleteV1BucketsBucketIDOutputsOutputIDParams

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

func NewDeleteV1BucketsBucketIDOutputsOutputIDParamsWithTimeout

func NewDeleteV1BucketsBucketIDOutputsOutputIDParamsWithTimeout(timeout time.Duration) *DeleteV1BucketsBucketIDOutputsOutputIDParams

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

func (*DeleteV1BucketsBucketIDOutputsOutputIDParams) SetBucketID

func (o *DeleteV1BucketsBucketIDOutputsOutputIDParams) SetBucketID(bucketID string)

SetBucketID adds the bucketId to the delete v1 buckets bucket ID outputs output ID params

func (*DeleteV1BucketsBucketIDOutputsOutputIDParams) SetContext

SetContext adds the context to the delete v1 buckets bucket ID outputs output ID params

func (*DeleteV1BucketsBucketIDOutputsOutputIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 buckets bucket ID outputs output ID params

func (*DeleteV1BucketsBucketIDOutputsOutputIDParams) SetOutputID

func (o *DeleteV1BucketsBucketIDOutputsOutputIDParams) SetOutputID(outputID string)

SetOutputID adds the outputId to the delete v1 buckets bucket ID outputs output ID params

func (*DeleteV1BucketsBucketIDOutputsOutputIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 buckets bucket ID outputs output ID params

func (*DeleteV1BucketsBucketIDOutputsOutputIDParams) WithBucketID

WithBucketID adds the bucketID to the delete v1 buckets bucket ID outputs output ID params

func (*DeleteV1BucketsBucketIDOutputsOutputIDParams) WithContext

WithContext adds the context to the delete v1 buckets bucket ID outputs output ID params

func (*DeleteV1BucketsBucketIDOutputsOutputIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 buckets bucket ID outputs output ID params

func (*DeleteV1BucketsBucketIDOutputsOutputIDParams) WithOutputID

WithOutputID adds the outputID to the delete v1 buckets bucket ID outputs output ID params

func (*DeleteV1BucketsBucketIDOutputsOutputIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 buckets bucket ID outputs output ID params

func (*DeleteV1BucketsBucketIDOutputsOutputIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1BucketsBucketIDOutputsOutputIDReader

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

DeleteV1BucketsBucketIDOutputsOutputIDReader is a Reader for the DeleteV1BucketsBucketIDOutputsOutputID structure.

func (*DeleteV1BucketsBucketIDOutputsOutputIDReader) ReadResponse

func (o *DeleteV1BucketsBucketIDOutputsOutputIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostV1BucketsBucketIDOutputsBadRequest

type PostV1BucketsBucketIDOutputsBadRequest struct {
}

PostV1BucketsBucketIDOutputsBadRequest handles this case with default header values.

Invalid output request supplied

func NewPostV1BucketsBucketIDOutputsBadRequest

func NewPostV1BucketsBucketIDOutputsBadRequest() *PostV1BucketsBucketIDOutputsBadRequest

NewPostV1BucketsBucketIDOutputsBadRequest creates a PostV1BucketsBucketIDOutputsBadRequest with default headers values

func (*PostV1BucketsBucketIDOutputsBadRequest) Error

type PostV1BucketsBucketIDOutputsCreated

type PostV1BucketsBucketIDOutputsCreated struct {
	Payload *models.Output
}

PostV1BucketsBucketIDOutputsCreated handles this case with default header values.

PostV1BucketsBucketIDOutputsCreated post v1 buckets bucket Id outputs created

func NewPostV1BucketsBucketIDOutputsCreated

func NewPostV1BucketsBucketIDOutputsCreated() *PostV1BucketsBucketIDOutputsCreated

NewPostV1BucketsBucketIDOutputsCreated creates a PostV1BucketsBucketIDOutputsCreated with default headers values

func (*PostV1BucketsBucketIDOutputsCreated) Error

func (*PostV1BucketsBucketIDOutputsCreated) GetPayload

type PostV1BucketsBucketIDOutputsParams

type PostV1BucketsBucketIDOutputsParams struct {

	/*Body*/
	Body *models.Output
	/*BucketID
	  ID of a bucket to create output in

	*/
	BucketID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostV1BucketsBucketIDOutputsParams contains all the parameters to send to the API endpoint for the post v1 buckets bucket ID outputs operation typically these are written to a http.Request

func NewPostV1BucketsBucketIDOutputsParams

func NewPostV1BucketsBucketIDOutputsParams() *PostV1BucketsBucketIDOutputsParams

NewPostV1BucketsBucketIDOutputsParams creates a new PostV1BucketsBucketIDOutputsParams object with the default values initialized.

func NewPostV1BucketsBucketIDOutputsParamsWithContext

func NewPostV1BucketsBucketIDOutputsParamsWithContext(ctx context.Context) *PostV1BucketsBucketIDOutputsParams

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

func NewPostV1BucketsBucketIDOutputsParamsWithHTTPClient

func NewPostV1BucketsBucketIDOutputsParamsWithHTTPClient(client *http.Client) *PostV1BucketsBucketIDOutputsParams

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

func NewPostV1BucketsBucketIDOutputsParamsWithTimeout

func NewPostV1BucketsBucketIDOutputsParamsWithTimeout(timeout time.Duration) *PostV1BucketsBucketIDOutputsParams

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

func (*PostV1BucketsBucketIDOutputsParams) SetBody

SetBody adds the body to the post v1 buckets bucket ID outputs params

func (*PostV1BucketsBucketIDOutputsParams) SetBucketID

func (o *PostV1BucketsBucketIDOutputsParams) SetBucketID(bucketID string)

SetBucketID adds the bucketId to the post v1 buckets bucket ID outputs params

func (*PostV1BucketsBucketIDOutputsParams) SetContext

SetContext adds the context to the post v1 buckets bucket ID outputs params

func (*PostV1BucketsBucketIDOutputsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 buckets bucket ID outputs params

func (*PostV1BucketsBucketIDOutputsParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 buckets bucket ID outputs params

func (*PostV1BucketsBucketIDOutputsParams) WithBody

WithBody adds the body to the post v1 buckets bucket ID outputs params

func (*PostV1BucketsBucketIDOutputsParams) WithBucketID

WithBucketID adds the bucketID to the post v1 buckets bucket ID outputs params

func (*PostV1BucketsBucketIDOutputsParams) WithContext

WithContext adds the context to the post v1 buckets bucket ID outputs params

func (*PostV1BucketsBucketIDOutputsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 buckets bucket ID outputs params

func (*PostV1BucketsBucketIDOutputsParams) WithTimeout

WithTimeout adds the timeout to the post v1 buckets bucket ID outputs params

func (*PostV1BucketsBucketIDOutputsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1BucketsBucketIDOutputsReader

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

PostV1BucketsBucketIDOutputsReader is a Reader for the PostV1BucketsBucketIDOutputs structure.

func (*PostV1BucketsBucketIDOutputsReader) ReadResponse

func (o *PostV1BucketsBucketIDOutputsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutV1BucketsBucketIDOutputsOutputIDBadRequest

type PutV1BucketsBucketIDOutputsOutputIDBadRequest struct {
}

PutV1BucketsBucketIDOutputsOutputIDBadRequest handles this case with default header values.

Invalid output request supplied

func NewPutV1BucketsBucketIDOutputsOutputIDBadRequest

func NewPutV1BucketsBucketIDOutputsOutputIDBadRequest() *PutV1BucketsBucketIDOutputsOutputIDBadRequest

NewPutV1BucketsBucketIDOutputsOutputIDBadRequest creates a PutV1BucketsBucketIDOutputsOutputIDBadRequest with default headers values

func (*PutV1BucketsBucketIDOutputsOutputIDBadRequest) Error

type PutV1BucketsBucketIDOutputsOutputIDOK

type PutV1BucketsBucketIDOutputsOutputIDOK struct {
	Payload *models.Output
}

PutV1BucketsBucketIDOutputsOutputIDOK handles this case with default header values.

Output updated

func NewPutV1BucketsBucketIDOutputsOutputIDOK

func NewPutV1BucketsBucketIDOutputsOutputIDOK() *PutV1BucketsBucketIDOutputsOutputIDOK

NewPutV1BucketsBucketIDOutputsOutputIDOK creates a PutV1BucketsBucketIDOutputsOutputIDOK with default headers values

func (*PutV1BucketsBucketIDOutputsOutputIDOK) Error

func (*PutV1BucketsBucketIDOutputsOutputIDOK) GetPayload

type PutV1BucketsBucketIDOutputsOutputIDParams

type PutV1BucketsBucketIDOutputsOutputIDParams struct {

	/*Body*/
	Body *models.Output
	/*BucketID
	  ID of a bucket to create input in

	*/
	BucketID string
	/*OutputID
	  ID of an output to manage

	*/
	OutputID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutV1BucketsBucketIDOutputsOutputIDParams contains all the parameters to send to the API endpoint for the put v1 buckets bucket ID outputs output ID operation typically these are written to a http.Request

func NewPutV1BucketsBucketIDOutputsOutputIDParams

func NewPutV1BucketsBucketIDOutputsOutputIDParams() *PutV1BucketsBucketIDOutputsOutputIDParams

NewPutV1BucketsBucketIDOutputsOutputIDParams creates a new PutV1BucketsBucketIDOutputsOutputIDParams object with the default values initialized.

func NewPutV1BucketsBucketIDOutputsOutputIDParamsWithContext

func NewPutV1BucketsBucketIDOutputsOutputIDParamsWithContext(ctx context.Context) *PutV1BucketsBucketIDOutputsOutputIDParams

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

func NewPutV1BucketsBucketIDOutputsOutputIDParamsWithHTTPClient

func NewPutV1BucketsBucketIDOutputsOutputIDParamsWithHTTPClient(client *http.Client) *PutV1BucketsBucketIDOutputsOutputIDParams

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

func NewPutV1BucketsBucketIDOutputsOutputIDParamsWithTimeout

func NewPutV1BucketsBucketIDOutputsOutputIDParamsWithTimeout(timeout time.Duration) *PutV1BucketsBucketIDOutputsOutputIDParams

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

func (*PutV1BucketsBucketIDOutputsOutputIDParams) SetBody

SetBody adds the body to the put v1 buckets bucket ID outputs output ID params

func (*PutV1BucketsBucketIDOutputsOutputIDParams) SetBucketID

func (o *PutV1BucketsBucketIDOutputsOutputIDParams) SetBucketID(bucketID string)

SetBucketID adds the bucketId to the put v1 buckets bucket ID outputs output ID params

func (*PutV1BucketsBucketIDOutputsOutputIDParams) SetContext

SetContext adds the context to the put v1 buckets bucket ID outputs output ID params

func (*PutV1BucketsBucketIDOutputsOutputIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put v1 buckets bucket ID outputs output ID params

func (*PutV1BucketsBucketIDOutputsOutputIDParams) SetOutputID

func (o *PutV1BucketsBucketIDOutputsOutputIDParams) SetOutputID(outputID string)

SetOutputID adds the outputId to the put v1 buckets bucket ID outputs output ID params

func (*PutV1BucketsBucketIDOutputsOutputIDParams) SetTimeout

SetTimeout adds the timeout to the put v1 buckets bucket ID outputs output ID params

func (*PutV1BucketsBucketIDOutputsOutputIDParams) WithBody

WithBody adds the body to the put v1 buckets bucket ID outputs output ID params

func (*PutV1BucketsBucketIDOutputsOutputIDParams) WithBucketID

WithBucketID adds the bucketID to the put v1 buckets bucket ID outputs output ID params

func (*PutV1BucketsBucketIDOutputsOutputIDParams) WithContext

WithContext adds the context to the put v1 buckets bucket ID outputs output ID params

func (*PutV1BucketsBucketIDOutputsOutputIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 buckets bucket ID outputs output ID params

func (*PutV1BucketsBucketIDOutputsOutputIDParams) WithOutputID

WithOutputID adds the outputID to the put v1 buckets bucket ID outputs output ID params

func (*PutV1BucketsBucketIDOutputsOutputIDParams) WithTimeout

WithTimeout adds the timeout to the put v1 buckets bucket ID outputs output ID params

func (*PutV1BucketsBucketIDOutputsOutputIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1BucketsBucketIDOutputsOutputIDReader

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

PutV1BucketsBucketIDOutputsOutputIDReader is a Reader for the PutV1BucketsBucketIDOutputsOutputID structure.

func (*PutV1BucketsBucketIDOutputsOutputIDReader) ReadResponse

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