seed_bundle_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 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 Client

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

Client for seed bundle controller API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UploadSeedBundle

func (a *Client) UploadSeedBundle(params *UploadSeedBundleParams, authInfo runtime.ClientAuthInfoWriter) (*UploadSeedBundleOK, error)

UploadSeedBundle uploads

type ClientService

type ClientService interface {
	UploadSeedBundle(params *UploadSeedBundleParams, authInfo runtime.ClientAuthInfoWriter) (*UploadSeedBundleOK, 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 seed bundle controller API client.

type UploadSeedBundleBadRequest

type UploadSeedBundleBadRequest struct {
	Payload *models.APIResult
}

UploadSeedBundleBadRequest handles this case with default header values.

Bad Request

func NewUploadSeedBundleBadRequest

func NewUploadSeedBundleBadRequest() *UploadSeedBundleBadRequest

NewUploadSeedBundleBadRequest creates a UploadSeedBundleBadRequest with default headers values

func (*UploadSeedBundleBadRequest) Error

func (*UploadSeedBundleBadRequest) GetPayload

func (o *UploadSeedBundleBadRequest) GetPayload() *models.APIResult

type UploadSeedBundleConflict

type UploadSeedBundleConflict struct {
	Payload *models.APIResult
}

UploadSeedBundleConflict handles this case with default header values.

Conflict

func NewUploadSeedBundleConflict

func NewUploadSeedBundleConflict() *UploadSeedBundleConflict

NewUploadSeedBundleConflict creates a UploadSeedBundleConflict with default headers values

func (*UploadSeedBundleConflict) Error

func (o *UploadSeedBundleConflict) Error() string

func (*UploadSeedBundleConflict) GetPayload

func (o *UploadSeedBundleConflict) GetPayload() *models.APIResult

type UploadSeedBundleForbidden

type UploadSeedBundleForbidden struct {
	Payload *models.APIResult
}

UploadSeedBundleForbidden handles this case with default header values.

Forbidden

func NewUploadSeedBundleForbidden

func NewUploadSeedBundleForbidden() *UploadSeedBundleForbidden

NewUploadSeedBundleForbidden creates a UploadSeedBundleForbidden with default headers values

func (*UploadSeedBundleForbidden) Error

func (o *UploadSeedBundleForbidden) Error() string

func (*UploadSeedBundleForbidden) GetPayload

func (o *UploadSeedBundleForbidden) GetPayload() *models.APIResult

type UploadSeedBundleInternalServerError

type UploadSeedBundleInternalServerError struct {
	Payload *models.APIResult
}

UploadSeedBundleInternalServerError handles this case with default header values.

Internal Server Error

func NewUploadSeedBundleInternalServerError

func NewUploadSeedBundleInternalServerError() *UploadSeedBundleInternalServerError

NewUploadSeedBundleInternalServerError creates a UploadSeedBundleInternalServerError with default headers values

func (*UploadSeedBundleInternalServerError) Error

func (*UploadSeedBundleInternalServerError) GetPayload

type UploadSeedBundleNotFound

type UploadSeedBundleNotFound struct {
	Payload *models.APIResult
}

UploadSeedBundleNotFound handles this case with default header values.

Not Found

func NewUploadSeedBundleNotFound

func NewUploadSeedBundleNotFound() *UploadSeedBundleNotFound

NewUploadSeedBundleNotFound creates a UploadSeedBundleNotFound with default headers values

func (*UploadSeedBundleNotFound) Error

func (o *UploadSeedBundleNotFound) Error() string

func (*UploadSeedBundleNotFound) GetPayload

func (o *UploadSeedBundleNotFound) GetPayload() *models.APIResult

type UploadSeedBundleOK

type UploadSeedBundleOK struct {
	Payload *models.APIResultVoid
}

UploadSeedBundleOK handles this case with default header values.

OK

func NewUploadSeedBundleOK

func NewUploadSeedBundleOK() *UploadSeedBundleOK

NewUploadSeedBundleOK creates a UploadSeedBundleOK with default headers values

func (*UploadSeedBundleOK) Error

func (o *UploadSeedBundleOK) Error() string

func (*UploadSeedBundleOK) GetPayload

func (o *UploadSeedBundleOK) GetPayload() *models.APIResultVoid

type UploadSeedBundleParams

type UploadSeedBundleParams struct {

	/*File
	  file

	*/
	File runtime.NamedReadCloser

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

UploadSeedBundleParams contains all the parameters to send to the API endpoint for the upload seed bundle operation typically these are written to a http.Request

func NewUploadSeedBundleParams

func NewUploadSeedBundleParams() *UploadSeedBundleParams

NewUploadSeedBundleParams creates a new UploadSeedBundleParams object with the default values initialized.

func NewUploadSeedBundleParamsWithContext

func NewUploadSeedBundleParamsWithContext(ctx context.Context) *UploadSeedBundleParams

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

func NewUploadSeedBundleParamsWithHTTPClient

func NewUploadSeedBundleParamsWithHTTPClient(client *http.Client) *UploadSeedBundleParams

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

func NewUploadSeedBundleParamsWithTimeout

func NewUploadSeedBundleParamsWithTimeout(timeout time.Duration) *UploadSeedBundleParams

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

func (*UploadSeedBundleParams) SetContext

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

SetContext adds the context to the upload seed bundle params

func (*UploadSeedBundleParams) SetFile

SetFile adds the file to the upload seed bundle params

func (*UploadSeedBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload seed bundle params

func (*UploadSeedBundleParams) SetTimeout

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

SetTimeout adds the timeout to the upload seed bundle params

func (*UploadSeedBundleParams) WithContext

WithContext adds the context to the upload seed bundle params

func (*UploadSeedBundleParams) WithFile

WithFile adds the file to the upload seed bundle params

func (*UploadSeedBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload seed bundle params

func (*UploadSeedBundleParams) WithTimeout

WithTimeout adds the timeout to the upload seed bundle params

func (*UploadSeedBundleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadSeedBundleReader

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

UploadSeedBundleReader is a Reader for the UploadSeedBundle structure.

func (*UploadSeedBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadSeedBundleUnauthorized

type UploadSeedBundleUnauthorized struct {
	Payload *models.APIResult
}

UploadSeedBundleUnauthorized handles this case with default header values.

Unauthorized

func NewUploadSeedBundleUnauthorized

func NewUploadSeedBundleUnauthorized() *UploadSeedBundleUnauthorized

NewUploadSeedBundleUnauthorized creates a UploadSeedBundleUnauthorized with default headers values

func (*UploadSeedBundleUnauthorized) Error

func (*UploadSeedBundleUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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