filesystemlayout

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 12 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 filesystemlayout API

func (*Client) CreateFilesystemLayout

func (a *Client) CreateFilesystemLayout(params *CreateFilesystemLayoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFilesystemLayoutCreated, error)

CreateFilesystemLayout creates a filesystemlayout if the given ID already exists a conflict is returned

func (*Client) DeleteFilesystemLayout

func (a *Client) DeleteFilesystemLayout(params *DeleteFilesystemLayoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFilesystemLayoutOK, error)

DeleteFilesystemLayout deletes an filesystemlayout and returns the deleted entity

func (*Client) GetFilesystemLayout

func (a *Client) GetFilesystemLayout(params *GetFilesystemLayoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFilesystemLayoutOK, error)

GetFilesystemLayout gets filesystemlayout by id

func (*Client) ListFilesystemLayouts

func (a *Client) ListFilesystemLayouts(params *ListFilesystemLayoutsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFilesystemLayoutsOK, error)

ListFilesystemLayouts gets all filesystemlayouts

func (*Client) MatchFilesystemLayout

func (a *Client) MatchFilesystemLayout(params *MatchFilesystemLayoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MatchFilesystemLayoutOK, error)

MatchFilesystemLayout checks if the given machine id satisfies the disk requirements of the filesystemlayout in question

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TryFilesystemLayout

func (a *Client) TryFilesystemLayout(params *TryFilesystemLayoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TryFilesystemLayoutOK, error)

TryFilesystemLayout tries to detect a filesystemlayout based on given size and image

func (*Client) UpdateFilesystemLayout

func (a *Client) UpdateFilesystemLayout(params *UpdateFilesystemLayoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateFilesystemLayoutOK, error)

UpdateFilesystemLayout updates a filesystemlayout if the filesystemlayout was changed since this one was read a conflict is returned

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	CreateFilesystemLayout(params *CreateFilesystemLayoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFilesystemLayoutCreated, error)

	DeleteFilesystemLayout(params *DeleteFilesystemLayoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFilesystemLayoutOK, error)

	GetFilesystemLayout(params *GetFilesystemLayoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFilesystemLayoutOK, error)

	ListFilesystemLayouts(params *ListFilesystemLayoutsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFilesystemLayoutsOK, error)

	MatchFilesystemLayout(params *MatchFilesystemLayoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MatchFilesystemLayoutOK, error)

	TryFilesystemLayout(params *TryFilesystemLayoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TryFilesystemLayoutOK, error)

	UpdateFilesystemLayout(params *UpdateFilesystemLayoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateFilesystemLayoutOK, 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 filesystemlayout API client.

func NewClientWithBasicAuth added in v0.32.0

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new filesystemlayout API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken added in v0.32.0

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new filesystemlayout API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreateFilesystemLayoutConflict

type CreateFilesystemLayoutConflict struct {
	Payload *httperrors.HTTPErrorResponse
}

CreateFilesystemLayoutConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateFilesystemLayoutConflict

func NewCreateFilesystemLayoutConflict() *CreateFilesystemLayoutConflict

NewCreateFilesystemLayoutConflict creates a CreateFilesystemLayoutConflict with default headers values

func (*CreateFilesystemLayoutConflict) Code added in v0.22.1

Code gets the status code for the create filesystem layout conflict response

func (*CreateFilesystemLayoutConflict) Error

func (*CreateFilesystemLayoutConflict) GetPayload

func (*CreateFilesystemLayoutConflict) IsClientError added in v0.19.3

func (o *CreateFilesystemLayoutConflict) IsClientError() bool

IsClientError returns true when this create filesystem layout conflict response has a 4xx status code

func (*CreateFilesystemLayoutConflict) IsCode added in v0.19.3

func (o *CreateFilesystemLayoutConflict) IsCode(code int) bool

IsCode returns true when this create filesystem layout conflict response a status code equal to that given

func (*CreateFilesystemLayoutConflict) IsRedirect added in v0.19.3

func (o *CreateFilesystemLayoutConflict) IsRedirect() bool

IsRedirect returns true when this create filesystem layout conflict response has a 3xx status code

func (*CreateFilesystemLayoutConflict) IsServerError added in v0.19.3

func (o *CreateFilesystemLayoutConflict) IsServerError() bool

IsServerError returns true when this create filesystem layout conflict response has a 5xx status code

func (*CreateFilesystemLayoutConflict) IsSuccess added in v0.19.3

func (o *CreateFilesystemLayoutConflict) IsSuccess() bool

IsSuccess returns true when this create filesystem layout conflict response has a 2xx status code

func (*CreateFilesystemLayoutConflict) String added in v0.19.3

type CreateFilesystemLayoutCreated

type CreateFilesystemLayoutCreated struct {
	Payload *models.V1FilesystemLayoutResponse
}

CreateFilesystemLayoutCreated describes a response with status code 201, with default header values.

Created

func NewCreateFilesystemLayoutCreated

func NewCreateFilesystemLayoutCreated() *CreateFilesystemLayoutCreated

NewCreateFilesystemLayoutCreated creates a CreateFilesystemLayoutCreated with default headers values

func (*CreateFilesystemLayoutCreated) Code added in v0.22.1

Code gets the status code for the create filesystem layout created response

func (*CreateFilesystemLayoutCreated) Error

func (*CreateFilesystemLayoutCreated) GetPayload

func (*CreateFilesystemLayoutCreated) IsClientError added in v0.19.3

func (o *CreateFilesystemLayoutCreated) IsClientError() bool

IsClientError returns true when this create filesystem layout created response has a 4xx status code

func (*CreateFilesystemLayoutCreated) IsCode added in v0.19.3

func (o *CreateFilesystemLayoutCreated) IsCode(code int) bool

IsCode returns true when this create filesystem layout created response a status code equal to that given

func (*CreateFilesystemLayoutCreated) IsRedirect added in v0.19.3

func (o *CreateFilesystemLayoutCreated) IsRedirect() bool

IsRedirect returns true when this create filesystem layout created response has a 3xx status code

func (*CreateFilesystemLayoutCreated) IsServerError added in v0.19.3

func (o *CreateFilesystemLayoutCreated) IsServerError() bool

IsServerError returns true when this create filesystem layout created response has a 5xx status code

func (*CreateFilesystemLayoutCreated) IsSuccess added in v0.19.3

func (o *CreateFilesystemLayoutCreated) IsSuccess() bool

IsSuccess returns true when this create filesystem layout created response has a 2xx status code

func (*CreateFilesystemLayoutCreated) String added in v0.19.3

type CreateFilesystemLayoutDefault

type CreateFilesystemLayoutDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

CreateFilesystemLayoutDefault describes a response with status code -1, with default header values.

Error

func NewCreateFilesystemLayoutDefault

func NewCreateFilesystemLayoutDefault(code int) *CreateFilesystemLayoutDefault

NewCreateFilesystemLayoutDefault creates a CreateFilesystemLayoutDefault with default headers values

func (*CreateFilesystemLayoutDefault) Code

Code gets the status code for the create filesystem layout default response

func (*CreateFilesystemLayoutDefault) Error

func (*CreateFilesystemLayoutDefault) GetPayload

func (*CreateFilesystemLayoutDefault) IsClientError added in v0.19.3

func (o *CreateFilesystemLayoutDefault) IsClientError() bool

IsClientError returns true when this create filesystem layout default response has a 4xx status code

func (*CreateFilesystemLayoutDefault) IsCode added in v0.19.3

func (o *CreateFilesystemLayoutDefault) IsCode(code int) bool

IsCode returns true when this create filesystem layout default response a status code equal to that given

func (*CreateFilesystemLayoutDefault) IsRedirect added in v0.19.3

func (o *CreateFilesystemLayoutDefault) IsRedirect() bool

IsRedirect returns true when this create filesystem layout default response has a 3xx status code

func (*CreateFilesystemLayoutDefault) IsServerError added in v0.19.3

func (o *CreateFilesystemLayoutDefault) IsServerError() bool

IsServerError returns true when this create filesystem layout default response has a 5xx status code

func (*CreateFilesystemLayoutDefault) IsSuccess added in v0.19.3

func (o *CreateFilesystemLayoutDefault) IsSuccess() bool

IsSuccess returns true when this create filesystem layout default response has a 2xx status code

func (*CreateFilesystemLayoutDefault) String added in v0.19.3

type CreateFilesystemLayoutParams

type CreateFilesystemLayoutParams struct {

	// Body.
	Body *models.V1FilesystemLayoutCreateRequest

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

CreateFilesystemLayoutParams contains all the parameters to send to the API endpoint

for the create filesystem layout operation.

Typically these are written to a http.Request.

func NewCreateFilesystemLayoutParams

func NewCreateFilesystemLayoutParams() *CreateFilesystemLayoutParams

NewCreateFilesystemLayoutParams creates a new CreateFilesystemLayoutParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateFilesystemLayoutParamsWithContext

func NewCreateFilesystemLayoutParamsWithContext(ctx context.Context) *CreateFilesystemLayoutParams

NewCreateFilesystemLayoutParamsWithContext creates a new CreateFilesystemLayoutParams object with the ability to set a context for a request.

func NewCreateFilesystemLayoutParamsWithHTTPClient

func NewCreateFilesystemLayoutParamsWithHTTPClient(client *http.Client) *CreateFilesystemLayoutParams

NewCreateFilesystemLayoutParamsWithHTTPClient creates a new CreateFilesystemLayoutParams object with the ability to set a custom HTTPClient for a request.

func NewCreateFilesystemLayoutParamsWithTimeout

func NewCreateFilesystemLayoutParamsWithTimeout(timeout time.Duration) *CreateFilesystemLayoutParams

NewCreateFilesystemLayoutParamsWithTimeout creates a new CreateFilesystemLayoutParams object with the ability to set a timeout on a request.

func (*CreateFilesystemLayoutParams) SetBody

SetBody adds the body to the create filesystem layout params

func (*CreateFilesystemLayoutParams) SetContext

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

SetContext adds the context to the create filesystem layout params

func (*CreateFilesystemLayoutParams) SetDefaults

func (o *CreateFilesystemLayoutParams) SetDefaults()

SetDefaults hydrates default values in the create filesystem layout params (not the query body).

All values with no default are reset to their zero value.

func (*CreateFilesystemLayoutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create filesystem layout params

func (*CreateFilesystemLayoutParams) SetTimeout

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

SetTimeout adds the timeout to the create filesystem layout params

func (*CreateFilesystemLayoutParams) WithBody

WithBody adds the body to the create filesystem layout params

func (*CreateFilesystemLayoutParams) WithContext

WithContext adds the context to the create filesystem layout params

func (*CreateFilesystemLayoutParams) WithDefaults

WithDefaults hydrates default values in the create filesystem layout params (not the query body).

All values with no default are reset to their zero value.

func (*CreateFilesystemLayoutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create filesystem layout params

func (*CreateFilesystemLayoutParams) WithTimeout

WithTimeout adds the timeout to the create filesystem layout params

func (*CreateFilesystemLayoutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateFilesystemLayoutReader

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

CreateFilesystemLayoutReader is a Reader for the CreateFilesystemLayout structure.

func (*CreateFilesystemLayoutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteFilesystemLayoutDefault

type DeleteFilesystemLayoutDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

DeleteFilesystemLayoutDefault describes a response with status code -1, with default header values.

Error

func NewDeleteFilesystemLayoutDefault

func NewDeleteFilesystemLayoutDefault(code int) *DeleteFilesystemLayoutDefault

NewDeleteFilesystemLayoutDefault creates a DeleteFilesystemLayoutDefault with default headers values

func (*DeleteFilesystemLayoutDefault) Code

Code gets the status code for the delete filesystem layout default response

func (*DeleteFilesystemLayoutDefault) Error

func (*DeleteFilesystemLayoutDefault) GetPayload

func (*DeleteFilesystemLayoutDefault) IsClientError added in v0.19.3

func (o *DeleteFilesystemLayoutDefault) IsClientError() bool

IsClientError returns true when this delete filesystem layout default response has a 4xx status code

func (*DeleteFilesystemLayoutDefault) IsCode added in v0.19.3

func (o *DeleteFilesystemLayoutDefault) IsCode(code int) bool

IsCode returns true when this delete filesystem layout default response a status code equal to that given

func (*DeleteFilesystemLayoutDefault) IsRedirect added in v0.19.3

func (o *DeleteFilesystemLayoutDefault) IsRedirect() bool

IsRedirect returns true when this delete filesystem layout default response has a 3xx status code

func (*DeleteFilesystemLayoutDefault) IsServerError added in v0.19.3

func (o *DeleteFilesystemLayoutDefault) IsServerError() bool

IsServerError returns true when this delete filesystem layout default response has a 5xx status code

func (*DeleteFilesystemLayoutDefault) IsSuccess added in v0.19.3

func (o *DeleteFilesystemLayoutDefault) IsSuccess() bool

IsSuccess returns true when this delete filesystem layout default response has a 2xx status code

func (*DeleteFilesystemLayoutDefault) String added in v0.19.3

type DeleteFilesystemLayoutOK

type DeleteFilesystemLayoutOK struct {
	Payload *models.V1FilesystemLayoutResponse
}

DeleteFilesystemLayoutOK describes a response with status code 200, with default header values.

OK

func NewDeleteFilesystemLayoutOK

func NewDeleteFilesystemLayoutOK() *DeleteFilesystemLayoutOK

NewDeleteFilesystemLayoutOK creates a DeleteFilesystemLayoutOK with default headers values

func (*DeleteFilesystemLayoutOK) Code added in v0.22.1

func (o *DeleteFilesystemLayoutOK) Code() int

Code gets the status code for the delete filesystem layout o k response

func (*DeleteFilesystemLayoutOK) Error

func (o *DeleteFilesystemLayoutOK) Error() string

func (*DeleteFilesystemLayoutOK) GetPayload

func (*DeleteFilesystemLayoutOK) IsClientError added in v0.19.3

func (o *DeleteFilesystemLayoutOK) IsClientError() bool

IsClientError returns true when this delete filesystem layout o k response has a 4xx status code

func (*DeleteFilesystemLayoutOK) IsCode added in v0.19.3

func (o *DeleteFilesystemLayoutOK) IsCode(code int) bool

IsCode returns true when this delete filesystem layout o k response a status code equal to that given

func (*DeleteFilesystemLayoutOK) IsRedirect added in v0.19.3

func (o *DeleteFilesystemLayoutOK) IsRedirect() bool

IsRedirect returns true when this delete filesystem layout o k response has a 3xx status code

func (*DeleteFilesystemLayoutOK) IsServerError added in v0.19.3

func (o *DeleteFilesystemLayoutOK) IsServerError() bool

IsServerError returns true when this delete filesystem layout o k response has a 5xx status code

func (*DeleteFilesystemLayoutOK) IsSuccess added in v0.19.3

func (o *DeleteFilesystemLayoutOK) IsSuccess() bool

IsSuccess returns true when this delete filesystem layout o k response has a 2xx status code

func (*DeleteFilesystemLayoutOK) String added in v0.19.3

func (o *DeleteFilesystemLayoutOK) String() string

type DeleteFilesystemLayoutParams

type DeleteFilesystemLayoutParams struct {

	/* ID.

	   identifier of the filesystemlayout
	*/
	ID string

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

DeleteFilesystemLayoutParams contains all the parameters to send to the API endpoint

for the delete filesystem layout operation.

Typically these are written to a http.Request.

func NewDeleteFilesystemLayoutParams

func NewDeleteFilesystemLayoutParams() *DeleteFilesystemLayoutParams

NewDeleteFilesystemLayoutParams creates a new DeleteFilesystemLayoutParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteFilesystemLayoutParamsWithContext

func NewDeleteFilesystemLayoutParamsWithContext(ctx context.Context) *DeleteFilesystemLayoutParams

NewDeleteFilesystemLayoutParamsWithContext creates a new DeleteFilesystemLayoutParams object with the ability to set a context for a request.

func NewDeleteFilesystemLayoutParamsWithHTTPClient

func NewDeleteFilesystemLayoutParamsWithHTTPClient(client *http.Client) *DeleteFilesystemLayoutParams

NewDeleteFilesystemLayoutParamsWithHTTPClient creates a new DeleteFilesystemLayoutParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteFilesystemLayoutParamsWithTimeout

func NewDeleteFilesystemLayoutParamsWithTimeout(timeout time.Duration) *DeleteFilesystemLayoutParams

NewDeleteFilesystemLayoutParamsWithTimeout creates a new DeleteFilesystemLayoutParams object with the ability to set a timeout on a request.

func (*DeleteFilesystemLayoutParams) SetContext

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

SetContext adds the context to the delete filesystem layout params

func (*DeleteFilesystemLayoutParams) SetDefaults

func (o *DeleteFilesystemLayoutParams) SetDefaults()

SetDefaults hydrates default values in the delete filesystem layout params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteFilesystemLayoutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete filesystem layout params

func (*DeleteFilesystemLayoutParams) SetID

func (o *DeleteFilesystemLayoutParams) SetID(id string)

SetID adds the id to the delete filesystem layout params

func (*DeleteFilesystemLayoutParams) SetTimeout

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

SetTimeout adds the timeout to the delete filesystem layout params

func (*DeleteFilesystemLayoutParams) WithContext

WithContext adds the context to the delete filesystem layout params

func (*DeleteFilesystemLayoutParams) WithDefaults

WithDefaults hydrates default values in the delete filesystem layout params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteFilesystemLayoutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete filesystem layout params

func (*DeleteFilesystemLayoutParams) WithID

WithID adds the id to the delete filesystem layout params

func (*DeleteFilesystemLayoutParams) WithTimeout

WithTimeout adds the timeout to the delete filesystem layout params

func (*DeleteFilesystemLayoutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteFilesystemLayoutReader

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

DeleteFilesystemLayoutReader is a Reader for the DeleteFilesystemLayout structure.

func (*DeleteFilesystemLayoutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFilesystemLayoutDefault

type GetFilesystemLayoutDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

GetFilesystemLayoutDefault describes a response with status code -1, with default header values.

Error

func NewGetFilesystemLayoutDefault

func NewGetFilesystemLayoutDefault(code int) *GetFilesystemLayoutDefault

NewGetFilesystemLayoutDefault creates a GetFilesystemLayoutDefault with default headers values

func (*GetFilesystemLayoutDefault) Code

func (o *GetFilesystemLayoutDefault) Code() int

Code gets the status code for the get filesystem layout default response

func (*GetFilesystemLayoutDefault) Error

func (*GetFilesystemLayoutDefault) GetPayload

func (*GetFilesystemLayoutDefault) IsClientError added in v0.19.3

func (o *GetFilesystemLayoutDefault) IsClientError() bool

IsClientError returns true when this get filesystem layout default response has a 4xx status code

func (*GetFilesystemLayoutDefault) IsCode added in v0.19.3

func (o *GetFilesystemLayoutDefault) IsCode(code int) bool

IsCode returns true when this get filesystem layout default response a status code equal to that given

func (*GetFilesystemLayoutDefault) IsRedirect added in v0.19.3

func (o *GetFilesystemLayoutDefault) IsRedirect() bool

IsRedirect returns true when this get filesystem layout default response has a 3xx status code

func (*GetFilesystemLayoutDefault) IsServerError added in v0.19.3

func (o *GetFilesystemLayoutDefault) IsServerError() bool

IsServerError returns true when this get filesystem layout default response has a 5xx status code

func (*GetFilesystemLayoutDefault) IsSuccess added in v0.19.3

func (o *GetFilesystemLayoutDefault) IsSuccess() bool

IsSuccess returns true when this get filesystem layout default response has a 2xx status code

func (*GetFilesystemLayoutDefault) String added in v0.19.3

func (o *GetFilesystemLayoutDefault) String() string

type GetFilesystemLayoutOK

type GetFilesystemLayoutOK struct {
	Payload *models.V1FilesystemLayoutResponse
}

GetFilesystemLayoutOK describes a response with status code 200, with default header values.

OK

func NewGetFilesystemLayoutOK

func NewGetFilesystemLayoutOK() *GetFilesystemLayoutOK

NewGetFilesystemLayoutOK creates a GetFilesystemLayoutOK with default headers values

func (*GetFilesystemLayoutOK) Code added in v0.22.1

func (o *GetFilesystemLayoutOK) Code() int

Code gets the status code for the get filesystem layout o k response

func (*GetFilesystemLayoutOK) Error

func (o *GetFilesystemLayoutOK) Error() string

func (*GetFilesystemLayoutOK) GetPayload

func (*GetFilesystemLayoutOK) IsClientError added in v0.19.3

func (o *GetFilesystemLayoutOK) IsClientError() bool

IsClientError returns true when this get filesystem layout o k response has a 4xx status code

func (*GetFilesystemLayoutOK) IsCode added in v0.19.3

func (o *GetFilesystemLayoutOK) IsCode(code int) bool

IsCode returns true when this get filesystem layout o k response a status code equal to that given

func (*GetFilesystemLayoutOK) IsRedirect added in v0.19.3

func (o *GetFilesystemLayoutOK) IsRedirect() bool

IsRedirect returns true when this get filesystem layout o k response has a 3xx status code

func (*GetFilesystemLayoutOK) IsServerError added in v0.19.3

func (o *GetFilesystemLayoutOK) IsServerError() bool

IsServerError returns true when this get filesystem layout o k response has a 5xx status code

func (*GetFilesystemLayoutOK) IsSuccess added in v0.19.3

func (o *GetFilesystemLayoutOK) IsSuccess() bool

IsSuccess returns true when this get filesystem layout o k response has a 2xx status code

func (*GetFilesystemLayoutOK) String added in v0.19.3

func (o *GetFilesystemLayoutOK) String() string

type GetFilesystemLayoutParams

type GetFilesystemLayoutParams struct {

	/* ID.

	   identifier of the filesystemlayout
	*/
	ID string

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

GetFilesystemLayoutParams contains all the parameters to send to the API endpoint

for the get filesystem layout operation.

Typically these are written to a http.Request.

func NewGetFilesystemLayoutParams

func NewGetFilesystemLayoutParams() *GetFilesystemLayoutParams

NewGetFilesystemLayoutParams creates a new GetFilesystemLayoutParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetFilesystemLayoutParamsWithContext

func NewGetFilesystemLayoutParamsWithContext(ctx context.Context) *GetFilesystemLayoutParams

NewGetFilesystemLayoutParamsWithContext creates a new GetFilesystemLayoutParams object with the ability to set a context for a request.

func NewGetFilesystemLayoutParamsWithHTTPClient

func NewGetFilesystemLayoutParamsWithHTTPClient(client *http.Client) *GetFilesystemLayoutParams

NewGetFilesystemLayoutParamsWithHTTPClient creates a new GetFilesystemLayoutParams object with the ability to set a custom HTTPClient for a request.

func NewGetFilesystemLayoutParamsWithTimeout

func NewGetFilesystemLayoutParamsWithTimeout(timeout time.Duration) *GetFilesystemLayoutParams

NewGetFilesystemLayoutParamsWithTimeout creates a new GetFilesystemLayoutParams object with the ability to set a timeout on a request.

func (*GetFilesystemLayoutParams) SetContext

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

SetContext adds the context to the get filesystem layout params

func (*GetFilesystemLayoutParams) SetDefaults

func (o *GetFilesystemLayoutParams) SetDefaults()

SetDefaults hydrates default values in the get filesystem layout params (not the query body).

All values with no default are reset to their zero value.

func (*GetFilesystemLayoutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get filesystem layout params

func (*GetFilesystemLayoutParams) SetID

func (o *GetFilesystemLayoutParams) SetID(id string)

SetID adds the id to the get filesystem layout params

func (*GetFilesystemLayoutParams) SetTimeout

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

SetTimeout adds the timeout to the get filesystem layout params

func (*GetFilesystemLayoutParams) WithContext

WithContext adds the context to the get filesystem layout params

func (*GetFilesystemLayoutParams) WithDefaults

WithDefaults hydrates default values in the get filesystem layout params (not the query body).

All values with no default are reset to their zero value.

func (*GetFilesystemLayoutParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get filesystem layout params

func (*GetFilesystemLayoutParams) WithID

WithID adds the id to the get filesystem layout params

func (*GetFilesystemLayoutParams) WithTimeout

WithTimeout adds the timeout to the get filesystem layout params

func (*GetFilesystemLayoutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFilesystemLayoutReader

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

GetFilesystemLayoutReader is a Reader for the GetFilesystemLayout structure.

func (*GetFilesystemLayoutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListFilesystemLayoutsDefault

type ListFilesystemLayoutsDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

ListFilesystemLayoutsDefault describes a response with status code -1, with default header values.

Error

func NewListFilesystemLayoutsDefault

func NewListFilesystemLayoutsDefault(code int) *ListFilesystemLayoutsDefault

NewListFilesystemLayoutsDefault creates a ListFilesystemLayoutsDefault with default headers values

func (*ListFilesystemLayoutsDefault) Code

Code gets the status code for the list filesystem layouts default response

func (*ListFilesystemLayoutsDefault) Error

func (*ListFilesystemLayoutsDefault) GetPayload

func (*ListFilesystemLayoutsDefault) IsClientError added in v0.19.3

func (o *ListFilesystemLayoutsDefault) IsClientError() bool

IsClientError returns true when this list filesystem layouts default response has a 4xx status code

func (*ListFilesystemLayoutsDefault) IsCode added in v0.19.3

func (o *ListFilesystemLayoutsDefault) IsCode(code int) bool

IsCode returns true when this list filesystem layouts default response a status code equal to that given

func (*ListFilesystemLayoutsDefault) IsRedirect added in v0.19.3

func (o *ListFilesystemLayoutsDefault) IsRedirect() bool

IsRedirect returns true when this list filesystem layouts default response has a 3xx status code

func (*ListFilesystemLayoutsDefault) IsServerError added in v0.19.3

func (o *ListFilesystemLayoutsDefault) IsServerError() bool

IsServerError returns true when this list filesystem layouts default response has a 5xx status code

func (*ListFilesystemLayoutsDefault) IsSuccess added in v0.19.3

func (o *ListFilesystemLayoutsDefault) IsSuccess() bool

IsSuccess returns true when this list filesystem layouts default response has a 2xx status code

func (*ListFilesystemLayoutsDefault) String added in v0.19.3

type ListFilesystemLayoutsOK

type ListFilesystemLayoutsOK struct {
	Payload []*models.V1FilesystemLayoutResponse
}

ListFilesystemLayoutsOK describes a response with status code 200, with default header values.

OK

func NewListFilesystemLayoutsOK

func NewListFilesystemLayoutsOK() *ListFilesystemLayoutsOK

NewListFilesystemLayoutsOK creates a ListFilesystemLayoutsOK with default headers values

func (*ListFilesystemLayoutsOK) Code added in v0.22.1

func (o *ListFilesystemLayoutsOK) Code() int

Code gets the status code for the list filesystem layouts o k response

func (*ListFilesystemLayoutsOK) Error

func (o *ListFilesystemLayoutsOK) Error() string

func (*ListFilesystemLayoutsOK) GetPayload

func (*ListFilesystemLayoutsOK) IsClientError added in v0.19.3

func (o *ListFilesystemLayoutsOK) IsClientError() bool

IsClientError returns true when this list filesystem layouts o k response has a 4xx status code

func (*ListFilesystemLayoutsOK) IsCode added in v0.19.3

func (o *ListFilesystemLayoutsOK) IsCode(code int) bool

IsCode returns true when this list filesystem layouts o k response a status code equal to that given

func (*ListFilesystemLayoutsOK) IsRedirect added in v0.19.3

func (o *ListFilesystemLayoutsOK) IsRedirect() bool

IsRedirect returns true when this list filesystem layouts o k response has a 3xx status code

func (*ListFilesystemLayoutsOK) IsServerError added in v0.19.3

func (o *ListFilesystemLayoutsOK) IsServerError() bool

IsServerError returns true when this list filesystem layouts o k response has a 5xx status code

func (*ListFilesystemLayoutsOK) IsSuccess added in v0.19.3

func (o *ListFilesystemLayoutsOK) IsSuccess() bool

IsSuccess returns true when this list filesystem layouts o k response has a 2xx status code

func (*ListFilesystemLayoutsOK) String added in v0.19.3

func (o *ListFilesystemLayoutsOK) String() string

type ListFilesystemLayoutsParams

type ListFilesystemLayoutsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListFilesystemLayoutsParams contains all the parameters to send to the API endpoint

for the list filesystem layouts operation.

Typically these are written to a http.Request.

func NewListFilesystemLayoutsParams

func NewListFilesystemLayoutsParams() *ListFilesystemLayoutsParams

NewListFilesystemLayoutsParams creates a new ListFilesystemLayoutsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListFilesystemLayoutsParamsWithContext

func NewListFilesystemLayoutsParamsWithContext(ctx context.Context) *ListFilesystemLayoutsParams

NewListFilesystemLayoutsParamsWithContext creates a new ListFilesystemLayoutsParams object with the ability to set a context for a request.

func NewListFilesystemLayoutsParamsWithHTTPClient

func NewListFilesystemLayoutsParamsWithHTTPClient(client *http.Client) *ListFilesystemLayoutsParams

NewListFilesystemLayoutsParamsWithHTTPClient creates a new ListFilesystemLayoutsParams object with the ability to set a custom HTTPClient for a request.

func NewListFilesystemLayoutsParamsWithTimeout

func NewListFilesystemLayoutsParamsWithTimeout(timeout time.Duration) *ListFilesystemLayoutsParams

NewListFilesystemLayoutsParamsWithTimeout creates a new ListFilesystemLayoutsParams object with the ability to set a timeout on a request.

func (*ListFilesystemLayoutsParams) SetContext

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

SetContext adds the context to the list filesystem layouts params

func (*ListFilesystemLayoutsParams) SetDefaults

func (o *ListFilesystemLayoutsParams) SetDefaults()

SetDefaults hydrates default values in the list filesystem layouts params (not the query body).

All values with no default are reset to their zero value.

func (*ListFilesystemLayoutsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list filesystem layouts params

func (*ListFilesystemLayoutsParams) SetTimeout

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

SetTimeout adds the timeout to the list filesystem layouts params

func (*ListFilesystemLayoutsParams) WithContext

WithContext adds the context to the list filesystem layouts params

func (*ListFilesystemLayoutsParams) WithDefaults

WithDefaults hydrates default values in the list filesystem layouts params (not the query body).

All values with no default are reset to their zero value.

func (*ListFilesystemLayoutsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list filesystem layouts params

func (*ListFilesystemLayoutsParams) WithTimeout

WithTimeout adds the timeout to the list filesystem layouts params

func (*ListFilesystemLayoutsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListFilesystemLayoutsReader

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

ListFilesystemLayoutsReader is a Reader for the ListFilesystemLayouts structure.

func (*ListFilesystemLayoutsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MatchFilesystemLayoutDefault

type MatchFilesystemLayoutDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

MatchFilesystemLayoutDefault describes a response with status code -1, with default header values.

Error

func NewMatchFilesystemLayoutDefault

func NewMatchFilesystemLayoutDefault(code int) *MatchFilesystemLayoutDefault

NewMatchFilesystemLayoutDefault creates a MatchFilesystemLayoutDefault with default headers values

func (*MatchFilesystemLayoutDefault) Code

Code gets the status code for the match filesystem layout default response

func (*MatchFilesystemLayoutDefault) Error

func (*MatchFilesystemLayoutDefault) GetPayload

func (*MatchFilesystemLayoutDefault) IsClientError added in v0.19.3

func (o *MatchFilesystemLayoutDefault) IsClientError() bool

IsClientError returns true when this match filesystem layout default response has a 4xx status code

func (*MatchFilesystemLayoutDefault) IsCode added in v0.19.3

func (o *MatchFilesystemLayoutDefault) IsCode(code int) bool

IsCode returns true when this match filesystem layout default response a status code equal to that given

func (*MatchFilesystemLayoutDefault) IsRedirect added in v0.19.3

func (o *MatchFilesystemLayoutDefault) IsRedirect() bool

IsRedirect returns true when this match filesystem layout default response has a 3xx status code

func (*MatchFilesystemLayoutDefault) IsServerError added in v0.19.3

func (o *MatchFilesystemLayoutDefault) IsServerError() bool

IsServerError returns true when this match filesystem layout default response has a 5xx status code

func (*MatchFilesystemLayoutDefault) IsSuccess added in v0.19.3

func (o *MatchFilesystemLayoutDefault) IsSuccess() bool

IsSuccess returns true when this match filesystem layout default response has a 2xx status code

func (*MatchFilesystemLayoutDefault) String added in v0.19.3

type MatchFilesystemLayoutOK

type MatchFilesystemLayoutOK struct {
	Payload *models.V1FilesystemLayoutResponse
}

MatchFilesystemLayoutOK describes a response with status code 200, with default header values.

OK

func NewMatchFilesystemLayoutOK

func NewMatchFilesystemLayoutOK() *MatchFilesystemLayoutOK

NewMatchFilesystemLayoutOK creates a MatchFilesystemLayoutOK with default headers values

func (*MatchFilesystemLayoutOK) Code added in v0.22.1

func (o *MatchFilesystemLayoutOK) Code() int

Code gets the status code for the match filesystem layout o k response

func (*MatchFilesystemLayoutOK) Error

func (o *MatchFilesystemLayoutOK) Error() string

func (*MatchFilesystemLayoutOK) GetPayload

func (*MatchFilesystemLayoutOK) IsClientError added in v0.19.3

func (o *MatchFilesystemLayoutOK) IsClientError() bool

IsClientError returns true when this match filesystem layout o k response has a 4xx status code

func (*MatchFilesystemLayoutOK) IsCode added in v0.19.3

func (o *MatchFilesystemLayoutOK) IsCode(code int) bool

IsCode returns true when this match filesystem layout o k response a status code equal to that given

func (*MatchFilesystemLayoutOK) IsRedirect added in v0.19.3

func (o *MatchFilesystemLayoutOK) IsRedirect() bool

IsRedirect returns true when this match filesystem layout o k response has a 3xx status code

func (*MatchFilesystemLayoutOK) IsServerError added in v0.19.3

func (o *MatchFilesystemLayoutOK) IsServerError() bool

IsServerError returns true when this match filesystem layout o k response has a 5xx status code

func (*MatchFilesystemLayoutOK) IsSuccess added in v0.19.3

func (o *MatchFilesystemLayoutOK) IsSuccess() bool

IsSuccess returns true when this match filesystem layout o k response has a 2xx status code

func (*MatchFilesystemLayoutOK) String added in v0.19.3

func (o *MatchFilesystemLayoutOK) String() string

type MatchFilesystemLayoutParams

type MatchFilesystemLayoutParams struct {

	// Body.
	Body *models.V1FilesystemLayoutMatchRequest

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

MatchFilesystemLayoutParams contains all the parameters to send to the API endpoint

for the match filesystem layout operation.

Typically these are written to a http.Request.

func NewMatchFilesystemLayoutParams

func NewMatchFilesystemLayoutParams() *MatchFilesystemLayoutParams

NewMatchFilesystemLayoutParams creates a new MatchFilesystemLayoutParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewMatchFilesystemLayoutParamsWithContext

func NewMatchFilesystemLayoutParamsWithContext(ctx context.Context) *MatchFilesystemLayoutParams

NewMatchFilesystemLayoutParamsWithContext creates a new MatchFilesystemLayoutParams object with the ability to set a context for a request.

func NewMatchFilesystemLayoutParamsWithHTTPClient

func NewMatchFilesystemLayoutParamsWithHTTPClient(client *http.Client) *MatchFilesystemLayoutParams

NewMatchFilesystemLayoutParamsWithHTTPClient creates a new MatchFilesystemLayoutParams object with the ability to set a custom HTTPClient for a request.

func NewMatchFilesystemLayoutParamsWithTimeout

func NewMatchFilesystemLayoutParamsWithTimeout(timeout time.Duration) *MatchFilesystemLayoutParams

NewMatchFilesystemLayoutParamsWithTimeout creates a new MatchFilesystemLayoutParams object with the ability to set a timeout on a request.

func (*MatchFilesystemLayoutParams) SetBody

SetBody adds the body to the match filesystem layout params

func (*MatchFilesystemLayoutParams) SetContext

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

SetContext adds the context to the match filesystem layout params

func (*MatchFilesystemLayoutParams) SetDefaults

func (o *MatchFilesystemLayoutParams) SetDefaults()

SetDefaults hydrates default values in the match filesystem layout params (not the query body).

All values with no default are reset to their zero value.

func (*MatchFilesystemLayoutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the match filesystem layout params

func (*MatchFilesystemLayoutParams) SetTimeout

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

SetTimeout adds the timeout to the match filesystem layout params

func (*MatchFilesystemLayoutParams) WithBody

WithBody adds the body to the match filesystem layout params

func (*MatchFilesystemLayoutParams) WithContext

WithContext adds the context to the match filesystem layout params

func (*MatchFilesystemLayoutParams) WithDefaults

WithDefaults hydrates default values in the match filesystem layout params (not the query body).

All values with no default are reset to their zero value.

func (*MatchFilesystemLayoutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the match filesystem layout params

func (*MatchFilesystemLayoutParams) WithTimeout

WithTimeout adds the timeout to the match filesystem layout params

func (*MatchFilesystemLayoutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MatchFilesystemLayoutReader

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

MatchFilesystemLayoutReader is a Reader for the MatchFilesystemLayout structure.

func (*MatchFilesystemLayoutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TryFilesystemLayoutDefault

type TryFilesystemLayoutDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

TryFilesystemLayoutDefault describes a response with status code -1, with default header values.

Error

func NewTryFilesystemLayoutDefault

func NewTryFilesystemLayoutDefault(code int) *TryFilesystemLayoutDefault

NewTryFilesystemLayoutDefault creates a TryFilesystemLayoutDefault with default headers values

func (*TryFilesystemLayoutDefault) Code

func (o *TryFilesystemLayoutDefault) Code() int

Code gets the status code for the try filesystem layout default response

func (*TryFilesystemLayoutDefault) Error

func (*TryFilesystemLayoutDefault) GetPayload

func (*TryFilesystemLayoutDefault) IsClientError added in v0.19.3

func (o *TryFilesystemLayoutDefault) IsClientError() bool

IsClientError returns true when this try filesystem layout default response has a 4xx status code

func (*TryFilesystemLayoutDefault) IsCode added in v0.19.3

func (o *TryFilesystemLayoutDefault) IsCode(code int) bool

IsCode returns true when this try filesystem layout default response a status code equal to that given

func (*TryFilesystemLayoutDefault) IsRedirect added in v0.19.3

func (o *TryFilesystemLayoutDefault) IsRedirect() bool

IsRedirect returns true when this try filesystem layout default response has a 3xx status code

func (*TryFilesystemLayoutDefault) IsServerError added in v0.19.3

func (o *TryFilesystemLayoutDefault) IsServerError() bool

IsServerError returns true when this try filesystem layout default response has a 5xx status code

func (*TryFilesystemLayoutDefault) IsSuccess added in v0.19.3

func (o *TryFilesystemLayoutDefault) IsSuccess() bool

IsSuccess returns true when this try filesystem layout default response has a 2xx status code

func (*TryFilesystemLayoutDefault) String added in v0.19.3

func (o *TryFilesystemLayoutDefault) String() string

type TryFilesystemLayoutOK

type TryFilesystemLayoutOK struct {
	Payload *models.V1FilesystemLayoutResponse
}

TryFilesystemLayoutOK describes a response with status code 200, with default header values.

OK

func NewTryFilesystemLayoutOK

func NewTryFilesystemLayoutOK() *TryFilesystemLayoutOK

NewTryFilesystemLayoutOK creates a TryFilesystemLayoutOK with default headers values

func (*TryFilesystemLayoutOK) Code added in v0.22.1

func (o *TryFilesystemLayoutOK) Code() int

Code gets the status code for the try filesystem layout o k response

func (*TryFilesystemLayoutOK) Error

func (o *TryFilesystemLayoutOK) Error() string

func (*TryFilesystemLayoutOK) GetPayload

func (*TryFilesystemLayoutOK) IsClientError added in v0.19.3

func (o *TryFilesystemLayoutOK) IsClientError() bool

IsClientError returns true when this try filesystem layout o k response has a 4xx status code

func (*TryFilesystemLayoutOK) IsCode added in v0.19.3

func (o *TryFilesystemLayoutOK) IsCode(code int) bool

IsCode returns true when this try filesystem layout o k response a status code equal to that given

func (*TryFilesystemLayoutOK) IsRedirect added in v0.19.3

func (o *TryFilesystemLayoutOK) IsRedirect() bool

IsRedirect returns true when this try filesystem layout o k response has a 3xx status code

func (*TryFilesystemLayoutOK) IsServerError added in v0.19.3

func (o *TryFilesystemLayoutOK) IsServerError() bool

IsServerError returns true when this try filesystem layout o k response has a 5xx status code

func (*TryFilesystemLayoutOK) IsSuccess added in v0.19.3

func (o *TryFilesystemLayoutOK) IsSuccess() bool

IsSuccess returns true when this try filesystem layout o k response has a 2xx status code

func (*TryFilesystemLayoutOK) String added in v0.19.3

func (o *TryFilesystemLayoutOK) String() string

type TryFilesystemLayoutParams

type TryFilesystemLayoutParams struct {

	// Body.
	Body *models.V1FilesystemLayoutTryRequest

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

TryFilesystemLayoutParams contains all the parameters to send to the API endpoint

for the try filesystem layout operation.

Typically these are written to a http.Request.

func NewTryFilesystemLayoutParams

func NewTryFilesystemLayoutParams() *TryFilesystemLayoutParams

NewTryFilesystemLayoutParams creates a new TryFilesystemLayoutParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTryFilesystemLayoutParamsWithContext

func NewTryFilesystemLayoutParamsWithContext(ctx context.Context) *TryFilesystemLayoutParams

NewTryFilesystemLayoutParamsWithContext creates a new TryFilesystemLayoutParams object with the ability to set a context for a request.

func NewTryFilesystemLayoutParamsWithHTTPClient

func NewTryFilesystemLayoutParamsWithHTTPClient(client *http.Client) *TryFilesystemLayoutParams

NewTryFilesystemLayoutParamsWithHTTPClient creates a new TryFilesystemLayoutParams object with the ability to set a custom HTTPClient for a request.

func NewTryFilesystemLayoutParamsWithTimeout

func NewTryFilesystemLayoutParamsWithTimeout(timeout time.Duration) *TryFilesystemLayoutParams

NewTryFilesystemLayoutParamsWithTimeout creates a new TryFilesystemLayoutParams object with the ability to set a timeout on a request.

func (*TryFilesystemLayoutParams) SetBody

SetBody adds the body to the try filesystem layout params

func (*TryFilesystemLayoutParams) SetContext

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

SetContext adds the context to the try filesystem layout params

func (*TryFilesystemLayoutParams) SetDefaults

func (o *TryFilesystemLayoutParams) SetDefaults()

SetDefaults hydrates default values in the try filesystem layout params (not the query body).

All values with no default are reset to their zero value.

func (*TryFilesystemLayoutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the try filesystem layout params

func (*TryFilesystemLayoutParams) SetTimeout

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

SetTimeout adds the timeout to the try filesystem layout params

func (*TryFilesystemLayoutParams) WithBody

WithBody adds the body to the try filesystem layout params

func (*TryFilesystemLayoutParams) WithContext

WithContext adds the context to the try filesystem layout params

func (*TryFilesystemLayoutParams) WithDefaults

WithDefaults hydrates default values in the try filesystem layout params (not the query body).

All values with no default are reset to their zero value.

func (*TryFilesystemLayoutParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the try filesystem layout params

func (*TryFilesystemLayoutParams) WithTimeout

WithTimeout adds the timeout to the try filesystem layout params

func (*TryFilesystemLayoutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TryFilesystemLayoutReader

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

TryFilesystemLayoutReader is a Reader for the TryFilesystemLayout structure.

func (*TryFilesystemLayoutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateFilesystemLayoutConflict

type UpdateFilesystemLayoutConflict struct {
	Payload *httperrors.HTTPErrorResponse
}

UpdateFilesystemLayoutConflict describes a response with status code 409, with default header values.

Conflict

func NewUpdateFilesystemLayoutConflict

func NewUpdateFilesystemLayoutConflict() *UpdateFilesystemLayoutConflict

NewUpdateFilesystemLayoutConflict creates a UpdateFilesystemLayoutConflict with default headers values

func (*UpdateFilesystemLayoutConflict) Code added in v0.22.1

Code gets the status code for the update filesystem layout conflict response

func (*UpdateFilesystemLayoutConflict) Error

func (*UpdateFilesystemLayoutConflict) GetPayload

func (*UpdateFilesystemLayoutConflict) IsClientError added in v0.19.3

func (o *UpdateFilesystemLayoutConflict) IsClientError() bool

IsClientError returns true when this update filesystem layout conflict response has a 4xx status code

func (*UpdateFilesystemLayoutConflict) IsCode added in v0.19.3

func (o *UpdateFilesystemLayoutConflict) IsCode(code int) bool

IsCode returns true when this update filesystem layout conflict response a status code equal to that given

func (*UpdateFilesystemLayoutConflict) IsRedirect added in v0.19.3

func (o *UpdateFilesystemLayoutConflict) IsRedirect() bool

IsRedirect returns true when this update filesystem layout conflict response has a 3xx status code

func (*UpdateFilesystemLayoutConflict) IsServerError added in v0.19.3

func (o *UpdateFilesystemLayoutConflict) IsServerError() bool

IsServerError returns true when this update filesystem layout conflict response has a 5xx status code

func (*UpdateFilesystemLayoutConflict) IsSuccess added in v0.19.3

func (o *UpdateFilesystemLayoutConflict) IsSuccess() bool

IsSuccess returns true when this update filesystem layout conflict response has a 2xx status code

func (*UpdateFilesystemLayoutConflict) String added in v0.19.3

type UpdateFilesystemLayoutDefault

type UpdateFilesystemLayoutDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

UpdateFilesystemLayoutDefault describes a response with status code -1, with default header values.

Error

func NewUpdateFilesystemLayoutDefault

func NewUpdateFilesystemLayoutDefault(code int) *UpdateFilesystemLayoutDefault

NewUpdateFilesystemLayoutDefault creates a UpdateFilesystemLayoutDefault with default headers values

func (*UpdateFilesystemLayoutDefault) Code

Code gets the status code for the update filesystem layout default response

func (*UpdateFilesystemLayoutDefault) Error

func (*UpdateFilesystemLayoutDefault) GetPayload

func (*UpdateFilesystemLayoutDefault) IsClientError added in v0.19.3

func (o *UpdateFilesystemLayoutDefault) IsClientError() bool

IsClientError returns true when this update filesystem layout default response has a 4xx status code

func (*UpdateFilesystemLayoutDefault) IsCode added in v0.19.3

func (o *UpdateFilesystemLayoutDefault) IsCode(code int) bool

IsCode returns true when this update filesystem layout default response a status code equal to that given

func (*UpdateFilesystemLayoutDefault) IsRedirect added in v0.19.3

func (o *UpdateFilesystemLayoutDefault) IsRedirect() bool

IsRedirect returns true when this update filesystem layout default response has a 3xx status code

func (*UpdateFilesystemLayoutDefault) IsServerError added in v0.19.3

func (o *UpdateFilesystemLayoutDefault) IsServerError() bool

IsServerError returns true when this update filesystem layout default response has a 5xx status code

func (*UpdateFilesystemLayoutDefault) IsSuccess added in v0.19.3

func (o *UpdateFilesystemLayoutDefault) IsSuccess() bool

IsSuccess returns true when this update filesystem layout default response has a 2xx status code

func (*UpdateFilesystemLayoutDefault) String added in v0.19.3

type UpdateFilesystemLayoutOK

type UpdateFilesystemLayoutOK struct {
	Payload *models.V1FilesystemLayoutResponse
}

UpdateFilesystemLayoutOK describes a response with status code 200, with default header values.

OK

func NewUpdateFilesystemLayoutOK

func NewUpdateFilesystemLayoutOK() *UpdateFilesystemLayoutOK

NewUpdateFilesystemLayoutOK creates a UpdateFilesystemLayoutOK with default headers values

func (*UpdateFilesystemLayoutOK) Code added in v0.22.1

func (o *UpdateFilesystemLayoutOK) Code() int

Code gets the status code for the update filesystem layout o k response

func (*UpdateFilesystemLayoutOK) Error

func (o *UpdateFilesystemLayoutOK) Error() string

func (*UpdateFilesystemLayoutOK) GetPayload

func (*UpdateFilesystemLayoutOK) IsClientError added in v0.19.3

func (o *UpdateFilesystemLayoutOK) IsClientError() bool

IsClientError returns true when this update filesystem layout o k response has a 4xx status code

func (*UpdateFilesystemLayoutOK) IsCode added in v0.19.3

func (o *UpdateFilesystemLayoutOK) IsCode(code int) bool

IsCode returns true when this update filesystem layout o k response a status code equal to that given

func (*UpdateFilesystemLayoutOK) IsRedirect added in v0.19.3

func (o *UpdateFilesystemLayoutOK) IsRedirect() bool

IsRedirect returns true when this update filesystem layout o k response has a 3xx status code

func (*UpdateFilesystemLayoutOK) IsServerError added in v0.19.3

func (o *UpdateFilesystemLayoutOK) IsServerError() bool

IsServerError returns true when this update filesystem layout o k response has a 5xx status code

func (*UpdateFilesystemLayoutOK) IsSuccess added in v0.19.3

func (o *UpdateFilesystemLayoutOK) IsSuccess() bool

IsSuccess returns true when this update filesystem layout o k response has a 2xx status code

func (*UpdateFilesystemLayoutOK) String added in v0.19.3

func (o *UpdateFilesystemLayoutOK) String() string

type UpdateFilesystemLayoutParams

type UpdateFilesystemLayoutParams struct {

	// Body.
	Body *models.V1FilesystemLayoutUpdateRequest

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

UpdateFilesystemLayoutParams contains all the parameters to send to the API endpoint

for the update filesystem layout operation.

Typically these are written to a http.Request.

func NewUpdateFilesystemLayoutParams

func NewUpdateFilesystemLayoutParams() *UpdateFilesystemLayoutParams

NewUpdateFilesystemLayoutParams creates a new UpdateFilesystemLayoutParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateFilesystemLayoutParamsWithContext

func NewUpdateFilesystemLayoutParamsWithContext(ctx context.Context) *UpdateFilesystemLayoutParams

NewUpdateFilesystemLayoutParamsWithContext creates a new UpdateFilesystemLayoutParams object with the ability to set a context for a request.

func NewUpdateFilesystemLayoutParamsWithHTTPClient

func NewUpdateFilesystemLayoutParamsWithHTTPClient(client *http.Client) *UpdateFilesystemLayoutParams

NewUpdateFilesystemLayoutParamsWithHTTPClient creates a new UpdateFilesystemLayoutParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateFilesystemLayoutParamsWithTimeout

func NewUpdateFilesystemLayoutParamsWithTimeout(timeout time.Duration) *UpdateFilesystemLayoutParams

NewUpdateFilesystemLayoutParamsWithTimeout creates a new UpdateFilesystemLayoutParams object with the ability to set a timeout on a request.

func (*UpdateFilesystemLayoutParams) SetBody

SetBody adds the body to the update filesystem layout params

func (*UpdateFilesystemLayoutParams) SetContext

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

SetContext adds the context to the update filesystem layout params

func (*UpdateFilesystemLayoutParams) SetDefaults

func (o *UpdateFilesystemLayoutParams) SetDefaults()

SetDefaults hydrates default values in the update filesystem layout params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateFilesystemLayoutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update filesystem layout params

func (*UpdateFilesystemLayoutParams) SetTimeout

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

SetTimeout adds the timeout to the update filesystem layout params

func (*UpdateFilesystemLayoutParams) WithBody

WithBody adds the body to the update filesystem layout params

func (*UpdateFilesystemLayoutParams) WithContext

WithContext adds the context to the update filesystem layout params

func (*UpdateFilesystemLayoutParams) WithDefaults

WithDefaults hydrates default values in the update filesystem layout params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateFilesystemLayoutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update filesystem layout params

func (*UpdateFilesystemLayoutParams) WithTimeout

WithTimeout adds the timeout to the update filesystem layout params

func (*UpdateFilesystemLayoutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateFilesystemLayoutReader

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

UpdateFilesystemLayoutReader is a Reader for the UpdateFilesystemLayout structure.

func (*UpdateFilesystemLayoutReader) ReadResponse

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