Documentation ¶
Index ¶
- type Client
- type ClientService
- type UploadSeedBundleBadRequest
- type UploadSeedBundleConflict
- type UploadSeedBundleForbidden
- type UploadSeedBundleInternalServerError
- type UploadSeedBundleNotFound
- type UploadSeedBundleOK
- type UploadSeedBundleParams
- func NewUploadSeedBundleParams() *UploadSeedBundleParams
- func NewUploadSeedBundleParamsWithContext(ctx context.Context) *UploadSeedBundleParams
- func NewUploadSeedBundleParamsWithHTTPClient(client *http.Client) *UploadSeedBundleParams
- func NewUploadSeedBundleParamsWithTimeout(timeout time.Duration) *UploadSeedBundleParams
- func (o *UploadSeedBundleParams) SetContext(ctx context.Context)
- func (o *UploadSeedBundleParams) SetFile(file runtime.NamedReadCloser)
- func (o *UploadSeedBundleParams) SetHTTPClient(client *http.Client)
- func (o *UploadSeedBundleParams) SetTimeout(timeout time.Duration)
- func (o *UploadSeedBundleParams) WithContext(ctx context.Context) *UploadSeedBundleParams
- func (o *UploadSeedBundleParams) WithFile(file runtime.NamedReadCloser) *UploadSeedBundleParams
- func (o *UploadSeedBundleParams) WithHTTPClient(client *http.Client) *UploadSeedBundleParams
- func (o *UploadSeedBundleParams) WithTimeout(timeout time.Duration) *UploadSeedBundleParams
- func (o *UploadSeedBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadSeedBundleReader
- type UploadSeedBundleUnauthorized
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 ¶
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 (o *UploadSeedBundleBadRequest) Error() string
func (*UploadSeedBundleBadRequest) GetPayload ¶
func (o *UploadSeedBundleBadRequest) GetPayload() *models.APIResult
type UploadSeedBundleConflict ¶
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 ¶
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 ¶
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 (o *UploadSeedBundleInternalServerError) Error() string
func (*UploadSeedBundleInternalServerError) GetPayload ¶
func (o *UploadSeedBundleInternalServerError) GetPayload() *models.APIResult
type UploadSeedBundleNotFound ¶
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 ¶
func (o *UploadSeedBundleParams) SetFile(file runtime.NamedReadCloser)
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 ¶
func (o *UploadSeedBundleParams) WithContext(ctx context.Context) *UploadSeedBundleParams
WithContext adds the context to the upload seed bundle params
func (*UploadSeedBundleParams) WithFile ¶
func (o *UploadSeedBundleParams) WithFile(file runtime.NamedReadCloser) *UploadSeedBundleParams
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 ¶
func (o *UploadSeedBundleParams) WithTimeout(timeout time.Duration) *UploadSeedBundleParams
WithTimeout adds the timeout to the upload seed bundle params
func (*UploadSeedBundleParams) WriteToRequest ¶
func (o *UploadSeedBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *UploadSeedBundleUnauthorized) Error() string
func (*UploadSeedBundleUnauthorized) GetPayload ¶
func (o *UploadSeedBundleUnauthorized) GetPayload() *models.APIResult