Documentation ¶
Index ¶
- type Client
- type PostRepositoryConfigsValidationOK
- type PostRepositoryConfigsValidationParams
- func NewPostRepositoryConfigsValidationParams() *PostRepositoryConfigsValidationParams
- func NewPostRepositoryConfigsValidationParamsWithContext(ctx context.Context) *PostRepositoryConfigsValidationParams
- func NewPostRepositoryConfigsValidationParamsWithHTTPClient(client *http.Client) *PostRepositoryConfigsValidationParams
- func NewPostRepositoryConfigsValidationParamsWithTimeout(timeout time.Duration) *PostRepositoryConfigsValidationParams
- func (o *PostRepositoryConfigsValidationParams) SetBody(body *models_cloudbreak.RepoConfigValidationRequest)
- func (o *PostRepositoryConfigsValidationParams) SetContext(ctx context.Context)
- func (o *PostRepositoryConfigsValidationParams) SetHTTPClient(client *http.Client)
- func (o *PostRepositoryConfigsValidationParams) SetTimeout(timeout time.Duration)
- func (o *PostRepositoryConfigsValidationParams) WithBody(body *models_cloudbreak.RepoConfigValidationRequest) *PostRepositoryConfigsValidationParams
- func (o *PostRepositoryConfigsValidationParams) WithContext(ctx context.Context) *PostRepositoryConfigsValidationParams
- func (o *PostRepositoryConfigsValidationParams) WithHTTPClient(client *http.Client) *PostRepositoryConfigsValidationParams
- func (o *PostRepositoryConfigsValidationParams) WithTimeout(timeout time.Duration) *PostRepositoryConfigsValidationParams
- func (o *PostRepositoryConfigsValidationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRepositoryConfigsValidationReader
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 ¶
func (o *PostRepositoryConfigsValidationOK) Error() string
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 ¶
func (o *PostRepositoryConfigsValidationParams) SetBody(body *models_cloudbreak.RepoConfigValidationRequest)
SetBody adds the body to the post repository configs validation params
func (*PostRepositoryConfigsValidationParams) SetContext ¶
func (o *PostRepositoryConfigsValidationParams) SetContext(ctx context.Context)
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 ¶
func (o *PostRepositoryConfigsValidationParams) WithBody(body *models_cloudbreak.RepoConfigValidationRequest) *PostRepositoryConfigsValidationParams
WithBody adds the body to the post repository configs validation params
func (*PostRepositoryConfigsValidationParams) WithContext ¶
func (o *PostRepositoryConfigsValidationParams) WithContext(ctx context.Context) *PostRepositoryConfigsValidationParams
WithContext adds the context to the post repository configs validation params
func (*PostRepositoryConfigsValidationParams) WithHTTPClient ¶
func (o *PostRepositoryConfigsValidationParams) WithHTTPClient(client *http.Client) *PostRepositoryConfigsValidationParams
WithHTTPClient adds the HTTPClient to the post repository configs validation params
func (*PostRepositoryConfigsValidationParams) WithTimeout ¶
func (o *PostRepositoryConfigsValidationParams) WithTimeout(timeout time.Duration) *PostRepositoryConfigsValidationParams
WithTimeout adds the timeout to the post repository configs validation params
func (*PostRepositoryConfigsValidationParams) WriteToRequest ¶
func (o *PostRepositoryConfigsValidationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.