v1repositoryconfigs

package
v2.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2018 License: Apache-2.0, BSD-2-Clause Imports: 10 Imported by: 2

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 v1repositoryconfigs API

func New

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

New creates a new v1repositoryconfigs API client.

func (*Client) PostRepositoryConfigsValidation

func (a *Client) PostRepositoryConfigsValidation(params *PostRepositoryConfigsValidationParams) (*PostRepositoryConfigsValidationOK, error)

PostRepositoryConfigsValidation validates repository configs fields check their availability

Repository configs validation related operations

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type PostRepositoryConfigsValidationOK

type PostRepositoryConfigsValidationOK struct {
	Payload *models_cloudbreak.RepoConfigValidationResponse
}

PostRepositoryConfigsValidationOK handles this case with default header values.

successful operation

func NewPostRepositoryConfigsValidationOK

func NewPostRepositoryConfigsValidationOK() *PostRepositoryConfigsValidationOK

NewPostRepositoryConfigsValidationOK creates a PostRepositoryConfigsValidationOK with default headers values

func (*PostRepositoryConfigsValidationOK) Error

type PostRepositoryConfigsValidationParams

type PostRepositoryConfigsValidationParams struct {

	/*Body*/
	Body *models_cloudbreak.RepoConfigValidationRequest

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

PostRepositoryConfigsValidationParams contains all the parameters to send to the API endpoint for the post repository configs validation operation typically these are written to a http.Request

func NewPostRepositoryConfigsValidationParams

func NewPostRepositoryConfigsValidationParams() *PostRepositoryConfigsValidationParams

NewPostRepositoryConfigsValidationParams creates a new PostRepositoryConfigsValidationParams object with the default values initialized.

func NewPostRepositoryConfigsValidationParamsWithContext

func NewPostRepositoryConfigsValidationParamsWithContext(ctx context.Context) *PostRepositoryConfigsValidationParams

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

func NewPostRepositoryConfigsValidationParamsWithHTTPClient

func NewPostRepositoryConfigsValidationParamsWithHTTPClient(client *http.Client) *PostRepositoryConfigsValidationParams

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

func NewPostRepositoryConfigsValidationParamsWithTimeout

func NewPostRepositoryConfigsValidationParamsWithTimeout(timeout time.Duration) *PostRepositoryConfigsValidationParams

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

func (*PostRepositoryConfigsValidationParams) SetBody

SetBody adds the body to the post repository configs validation params

func (*PostRepositoryConfigsValidationParams) SetContext

SetContext adds the context to the post repository configs validation params

func (*PostRepositoryConfigsValidationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post repository configs validation params

func (*PostRepositoryConfigsValidationParams) SetTimeout

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

SetTimeout adds the timeout to the post repository configs validation params

func (*PostRepositoryConfigsValidationParams) WithBody

WithBody adds the body to the post repository configs validation params

func (*PostRepositoryConfigsValidationParams) WithContext

WithContext adds the context to the post repository configs validation params

func (*PostRepositoryConfigsValidationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post repository configs validation params

func (*PostRepositoryConfigsValidationParams) WithTimeout

WithTimeout adds the timeout to the post repository configs validation params

func (*PostRepositoryConfigsValidationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRepositoryConfigsValidationReader

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

PostRepositoryConfigsValidationReader is a Reader for the PostRepositoryConfigsValidation structure.

func (*PostRepositoryConfigsValidationReader) ReadResponse

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