elf_storage_policy

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: ISC 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 elf storage policy API

func (*Client) GetElfStoragePolicies

func (a *Client) GetElfStoragePolicies(params *GetElfStoragePoliciesParams, opts ...ClientOption) (*GetElfStoragePoliciesOK, error)

GetElfStoragePolicies get elf storage policies API

func (*Client) GetElfStoragePoliciesConnection

func (a *Client) GetElfStoragePoliciesConnection(params *GetElfStoragePoliciesConnectionParams, opts ...ClientOption) (*GetElfStoragePoliciesConnectionOK, error)

GetElfStoragePoliciesConnection get elf storage policies connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetElfStoragePolicies(params *GetElfStoragePoliciesParams, opts ...ClientOption) (*GetElfStoragePoliciesOK, error)

	GetElfStoragePoliciesConnection(params *GetElfStoragePoliciesConnectionParams, opts ...ClientOption) (*GetElfStoragePoliciesConnectionOK, 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 elf storage policy API client.

type GetElfStoragePoliciesBadRequest

type GetElfStoragePoliciesBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetElfStoragePoliciesBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetElfStoragePoliciesBadRequest

func NewGetElfStoragePoliciesBadRequest() *GetElfStoragePoliciesBadRequest

NewGetElfStoragePoliciesBadRequest creates a GetElfStoragePoliciesBadRequest with default headers values

func (*GetElfStoragePoliciesBadRequest) Error

func (*GetElfStoragePoliciesBadRequest) GetPayload

type GetElfStoragePoliciesConnectionBadRequest

type GetElfStoragePoliciesConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetElfStoragePoliciesConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetElfStoragePoliciesConnectionBadRequest

func NewGetElfStoragePoliciesConnectionBadRequest() *GetElfStoragePoliciesConnectionBadRequest

NewGetElfStoragePoliciesConnectionBadRequest creates a GetElfStoragePoliciesConnectionBadRequest with default headers values

func (*GetElfStoragePoliciesConnectionBadRequest) Error

func (*GetElfStoragePoliciesConnectionBadRequest) GetPayload

type GetElfStoragePoliciesConnectionInternalServerError

type GetElfStoragePoliciesConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetElfStoragePoliciesConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetElfStoragePoliciesConnectionInternalServerError

func NewGetElfStoragePoliciesConnectionInternalServerError() *GetElfStoragePoliciesConnectionInternalServerError

NewGetElfStoragePoliciesConnectionInternalServerError creates a GetElfStoragePoliciesConnectionInternalServerError with default headers values

func (*GetElfStoragePoliciesConnectionInternalServerError) Error

func (*GetElfStoragePoliciesConnectionInternalServerError) GetPayload

type GetElfStoragePoliciesConnectionNotFound

type GetElfStoragePoliciesConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetElfStoragePoliciesConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetElfStoragePoliciesConnectionNotFound

func NewGetElfStoragePoliciesConnectionNotFound() *GetElfStoragePoliciesConnectionNotFound

NewGetElfStoragePoliciesConnectionNotFound creates a GetElfStoragePoliciesConnectionNotFound with default headers values

func (*GetElfStoragePoliciesConnectionNotFound) Error

func (*GetElfStoragePoliciesConnectionNotFound) GetPayload

type GetElfStoragePoliciesConnectionOK

type GetElfStoragePoliciesConnectionOK struct {
	XTowerRequestID string

	Payload *models.ElfStoragePolicyConnection
}
GetElfStoragePoliciesConnectionOK describes a response with status code 200, with default header values.

GetElfStoragePoliciesConnectionOK get elf storage policies connection o k

func NewGetElfStoragePoliciesConnectionOK

func NewGetElfStoragePoliciesConnectionOK() *GetElfStoragePoliciesConnectionOK

NewGetElfStoragePoliciesConnectionOK creates a GetElfStoragePoliciesConnectionOK with default headers values

func (*GetElfStoragePoliciesConnectionOK) Error

func (*GetElfStoragePoliciesConnectionOK) GetPayload

type GetElfStoragePoliciesConnectionParams

type GetElfStoragePoliciesConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetElfStoragePoliciesConnectionRequestBody

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

GetElfStoragePoliciesConnectionParams contains all the parameters to send to the API endpoint

for the get elf storage policies connection operation.

Typically these are written to a http.Request.

func NewGetElfStoragePoliciesConnectionParams

func NewGetElfStoragePoliciesConnectionParams() *GetElfStoragePoliciesConnectionParams

NewGetElfStoragePoliciesConnectionParams creates a new GetElfStoragePoliciesConnectionParams 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 NewGetElfStoragePoliciesConnectionParamsWithContext

func NewGetElfStoragePoliciesConnectionParamsWithContext(ctx context.Context) *GetElfStoragePoliciesConnectionParams

NewGetElfStoragePoliciesConnectionParamsWithContext creates a new GetElfStoragePoliciesConnectionParams object with the ability to set a context for a request.

func NewGetElfStoragePoliciesConnectionParamsWithHTTPClient

func NewGetElfStoragePoliciesConnectionParamsWithHTTPClient(client *http.Client) *GetElfStoragePoliciesConnectionParams

NewGetElfStoragePoliciesConnectionParamsWithHTTPClient creates a new GetElfStoragePoliciesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetElfStoragePoliciesConnectionParamsWithTimeout

func NewGetElfStoragePoliciesConnectionParamsWithTimeout(timeout time.Duration) *GetElfStoragePoliciesConnectionParams

NewGetElfStoragePoliciesConnectionParamsWithTimeout creates a new GetElfStoragePoliciesConnectionParams object with the ability to set a timeout on a request.

func (*GetElfStoragePoliciesConnectionParams) SetContentLanguage

func (o *GetElfStoragePoliciesConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get elf storage policies connection params

func (*GetElfStoragePoliciesConnectionParams) SetContext

SetContext adds the context to the get elf storage policies connection params

func (*GetElfStoragePoliciesConnectionParams) SetDefaults

func (o *GetElfStoragePoliciesConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get elf storage policies connection params (not the query body).

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

func (*GetElfStoragePoliciesConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get elf storage policies connection params

func (*GetElfStoragePoliciesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get elf storage policies connection params

func (*GetElfStoragePoliciesConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get elf storage policies connection params

func (*GetElfStoragePoliciesConnectionParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the get elf storage policies connection params

func (*GetElfStoragePoliciesConnectionParams) WithContext

WithContext adds the context to the get elf storage policies connection params

func (*GetElfStoragePoliciesConnectionParams) WithDefaults

WithDefaults hydrates default values in the get elf storage policies connection params (not the query body).

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

func (*GetElfStoragePoliciesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get elf storage policies connection params

func (*GetElfStoragePoliciesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get elf storage policies connection params

func (*GetElfStoragePoliciesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get elf storage policies connection params

func (*GetElfStoragePoliciesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetElfStoragePoliciesConnectionReader

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

GetElfStoragePoliciesConnectionReader is a Reader for the GetElfStoragePoliciesConnection structure.

func (*GetElfStoragePoliciesConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetElfStoragePoliciesInternalServerError

type GetElfStoragePoliciesInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetElfStoragePoliciesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetElfStoragePoliciesInternalServerError

func NewGetElfStoragePoliciesInternalServerError() *GetElfStoragePoliciesInternalServerError

NewGetElfStoragePoliciesInternalServerError creates a GetElfStoragePoliciesInternalServerError with default headers values

func (*GetElfStoragePoliciesInternalServerError) Error

func (*GetElfStoragePoliciesInternalServerError) GetPayload

type GetElfStoragePoliciesNotFound

type GetElfStoragePoliciesNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetElfStoragePoliciesNotFound describes a response with status code 404, with default header values.

Not found

func NewGetElfStoragePoliciesNotFound

func NewGetElfStoragePoliciesNotFound() *GetElfStoragePoliciesNotFound

NewGetElfStoragePoliciesNotFound creates a GetElfStoragePoliciesNotFound with default headers values

func (*GetElfStoragePoliciesNotFound) Error

func (*GetElfStoragePoliciesNotFound) GetPayload

type GetElfStoragePoliciesOK

type GetElfStoragePoliciesOK struct {
	XTowerRequestID string

	Payload []*models.ElfStoragePolicy
}
GetElfStoragePoliciesOK describes a response with status code 200, with default header values.

GetElfStoragePoliciesOK get elf storage policies o k

func NewGetElfStoragePoliciesOK

func NewGetElfStoragePoliciesOK() *GetElfStoragePoliciesOK

NewGetElfStoragePoliciesOK creates a GetElfStoragePoliciesOK with default headers values

func (*GetElfStoragePoliciesOK) Error

func (o *GetElfStoragePoliciesOK) Error() string

func (*GetElfStoragePoliciesOK) GetPayload

func (o *GetElfStoragePoliciesOK) GetPayload() []*models.ElfStoragePolicy

type GetElfStoragePoliciesParams

type GetElfStoragePoliciesParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetElfStoragePoliciesRequestBody

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

GetElfStoragePoliciesParams contains all the parameters to send to the API endpoint

for the get elf storage policies operation.

Typically these are written to a http.Request.

func NewGetElfStoragePoliciesParams

func NewGetElfStoragePoliciesParams() *GetElfStoragePoliciesParams

NewGetElfStoragePoliciesParams creates a new GetElfStoragePoliciesParams 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 NewGetElfStoragePoliciesParamsWithContext

func NewGetElfStoragePoliciesParamsWithContext(ctx context.Context) *GetElfStoragePoliciesParams

NewGetElfStoragePoliciesParamsWithContext creates a new GetElfStoragePoliciesParams object with the ability to set a context for a request.

func NewGetElfStoragePoliciesParamsWithHTTPClient

func NewGetElfStoragePoliciesParamsWithHTTPClient(client *http.Client) *GetElfStoragePoliciesParams

NewGetElfStoragePoliciesParamsWithHTTPClient creates a new GetElfStoragePoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewGetElfStoragePoliciesParamsWithTimeout

func NewGetElfStoragePoliciesParamsWithTimeout(timeout time.Duration) *GetElfStoragePoliciesParams

NewGetElfStoragePoliciesParamsWithTimeout creates a new GetElfStoragePoliciesParams object with the ability to set a timeout on a request.

func (*GetElfStoragePoliciesParams) SetContentLanguage

func (o *GetElfStoragePoliciesParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get elf storage policies params

func (*GetElfStoragePoliciesParams) SetContext

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

SetContext adds the context to the get elf storage policies params

func (*GetElfStoragePoliciesParams) SetDefaults

func (o *GetElfStoragePoliciesParams) SetDefaults()

SetDefaults hydrates default values in the get elf storage policies params (not the query body).

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

func (*GetElfStoragePoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get elf storage policies params

func (*GetElfStoragePoliciesParams) SetRequestBody

SetRequestBody adds the requestBody to the get elf storage policies params

func (*GetElfStoragePoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the get elf storage policies params

func (*GetElfStoragePoliciesParams) WithContentLanguage

func (o *GetElfStoragePoliciesParams) WithContentLanguage(contentLanguage *string) *GetElfStoragePoliciesParams

WithContentLanguage adds the contentLanguage to the get elf storage policies params

func (*GetElfStoragePoliciesParams) WithContext

WithContext adds the context to the get elf storage policies params

func (*GetElfStoragePoliciesParams) WithDefaults

WithDefaults hydrates default values in the get elf storage policies params (not the query body).

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

func (*GetElfStoragePoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get elf storage policies params

func (*GetElfStoragePoliciesParams) WithRequestBody

WithRequestBody adds the requestBody to the get elf storage policies params

func (*GetElfStoragePoliciesParams) WithTimeout

WithTimeout adds the timeout to the get elf storage policies params

func (*GetElfStoragePoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetElfStoragePoliciesReader

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

GetElfStoragePoliciesReader is a Reader for the GetElfStoragePolicies structure.

func (*GetElfStoragePoliciesReader) ReadResponse

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