settings

package
v2.31.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 11 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 settings API

func (*Client) DefaultRegistryUpdate

func (a *Client) DefaultRegistryUpdate(params *DefaultRegistryUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DefaultRegistryUpdateOK, error)
DefaultRegistryUpdate updates portainer default registry settings

Update Portainer default registry settings.

**Access policy**: administrator

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SettingsEdgeMTLSCACertificates

func (a *Client) SettingsEdgeMTLSCACertificates(params *SettingsEdgeMTLSCACertificatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SettingsEdgeMTLSCACertificatesOK, error)
SettingsEdgeMTLSCACertificates retrieves portainer edge m TLS c a certificates

Retrieve Portainer Edge MTLS CA Certificates.

**Access policy**: administrator

func (*Client) SettingsEdgeMTLSCertificates

func (a *Client) SettingsEdgeMTLSCertificates(params *SettingsEdgeMTLSCertificatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SettingsEdgeMTLSCertificatesOK, error)
SettingsEdgeMTLSCertificates retrieves portainer edge m TLS certificates

Retrieve Portainer Edge MTLS Certificates.

**Access policy**: administrator

func (*Client) SettingsExperimentalInspect

func (a *Client) SettingsExperimentalInspect(params *SettingsExperimentalInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SettingsExperimentalInspectOK, error)
SettingsExperimentalInspect retrieves portainer experimental settings

Retrieve Portainer experimental settings.

**Access policy**: authenticated

func (*Client) SettingsExperimentalUpdate

SettingsExperimentalUpdate updates portainer experimental settings

Update Portainer experimental settings.

**Access policy**: administrator

func (*Client) SettingsInspect

func (a *Client) SettingsInspect(params *SettingsInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SettingsInspectOK, error)
SettingsInspect retrieves portainer settings

Retrieve Portainer settings.

**Access policy**: administrator

func (*Client) SettingsPublic

func (a *Client) SettingsPublic(params *SettingsPublicParams, opts ...ClientOption) (*SettingsPublicOK, error)
SettingsPublic retrieves portainer public settings

Retrieve public settings. Returns a small set of settings that are not reserved to administrators only.

**Access policy**: public

func (*Client) SettingsUpdate

func (a *Client) SettingsUpdate(params *SettingsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SettingsUpdateOK, error)
SettingsUpdate updates portainer settings

Update Portainer settings.

**Access policy**: administrator

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

type ClientService

type ClientService interface {
	DefaultRegistryUpdate(params *DefaultRegistryUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DefaultRegistryUpdateOK, error)

	SettingsEdgeMTLSCACertificates(params *SettingsEdgeMTLSCACertificatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SettingsEdgeMTLSCACertificatesOK, error)

	SettingsEdgeMTLSCertificates(params *SettingsEdgeMTLSCertificatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SettingsEdgeMTLSCertificatesOK, error)

	SettingsExperimentalInspect(params *SettingsExperimentalInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SettingsExperimentalInspectOK, error)

	SettingsExperimentalUpdate(params *SettingsExperimentalUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SettingsExperimentalUpdateNoContent, error)

	SettingsInspect(params *SettingsInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SettingsInspectOK, error)

	SettingsPublic(params *SettingsPublicParams, opts ...ClientOption) (*SettingsPublicOK, error)

	SettingsUpdate(params *SettingsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SettingsUpdateOK, 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 settings API client.

func NewClientWithBasicAuth

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

New creates a new settings 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

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

New creates a new settings 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 DefaultRegistryUpdateBadRequest

type DefaultRegistryUpdateBadRequest struct {
}

DefaultRegistryUpdateBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewDefaultRegistryUpdateBadRequest

func NewDefaultRegistryUpdateBadRequest() *DefaultRegistryUpdateBadRequest

NewDefaultRegistryUpdateBadRequest creates a DefaultRegistryUpdateBadRequest with default headers values

func (*DefaultRegistryUpdateBadRequest) Code

Code gets the status code for the default registry update bad request response

func (*DefaultRegistryUpdateBadRequest) Error

func (*DefaultRegistryUpdateBadRequest) IsClientError

func (o *DefaultRegistryUpdateBadRequest) IsClientError() bool

IsClientError returns true when this default registry update bad request response has a 4xx status code

func (*DefaultRegistryUpdateBadRequest) IsCode

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

IsCode returns true when this default registry update bad request response a status code equal to that given

func (*DefaultRegistryUpdateBadRequest) IsRedirect

func (o *DefaultRegistryUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this default registry update bad request response has a 3xx status code

func (*DefaultRegistryUpdateBadRequest) IsServerError

func (o *DefaultRegistryUpdateBadRequest) IsServerError() bool

IsServerError returns true when this default registry update bad request response has a 5xx status code

func (*DefaultRegistryUpdateBadRequest) IsSuccess

func (o *DefaultRegistryUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this default registry update bad request response has a 2xx status code

func (*DefaultRegistryUpdateBadRequest) String

type DefaultRegistryUpdateInternalServerError

type DefaultRegistryUpdateInternalServerError struct {
}

DefaultRegistryUpdateInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDefaultRegistryUpdateInternalServerError

func NewDefaultRegistryUpdateInternalServerError() *DefaultRegistryUpdateInternalServerError

NewDefaultRegistryUpdateInternalServerError creates a DefaultRegistryUpdateInternalServerError with default headers values

func (*DefaultRegistryUpdateInternalServerError) Code

Code gets the status code for the default registry update internal server error response

func (*DefaultRegistryUpdateInternalServerError) Error

func (*DefaultRegistryUpdateInternalServerError) IsClientError

IsClientError returns true when this default registry update internal server error response has a 4xx status code

func (*DefaultRegistryUpdateInternalServerError) IsCode

IsCode returns true when this default registry update internal server error response a status code equal to that given

func (*DefaultRegistryUpdateInternalServerError) IsRedirect

IsRedirect returns true when this default registry update internal server error response has a 3xx status code

func (*DefaultRegistryUpdateInternalServerError) IsServerError

IsServerError returns true when this default registry update internal server error response has a 5xx status code

func (*DefaultRegistryUpdateInternalServerError) IsSuccess

IsSuccess returns true when this default registry update internal server error response has a 2xx status code

func (*DefaultRegistryUpdateInternalServerError) String

type DefaultRegistryUpdateOK

type DefaultRegistryUpdateOK struct {
	Payload *models.PortainereeSettings
}

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

Success

func NewDefaultRegistryUpdateOK

func NewDefaultRegistryUpdateOK() *DefaultRegistryUpdateOK

NewDefaultRegistryUpdateOK creates a DefaultRegistryUpdateOK with default headers values

func (*DefaultRegistryUpdateOK) Code

func (o *DefaultRegistryUpdateOK) Code() int

Code gets the status code for the default registry update o k response

func (*DefaultRegistryUpdateOK) Error

func (o *DefaultRegistryUpdateOK) Error() string

func (*DefaultRegistryUpdateOK) GetPayload

func (*DefaultRegistryUpdateOK) IsClientError

func (o *DefaultRegistryUpdateOK) IsClientError() bool

IsClientError returns true when this default registry update o k response has a 4xx status code

func (*DefaultRegistryUpdateOK) IsCode

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

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

func (*DefaultRegistryUpdateOK) IsRedirect

func (o *DefaultRegistryUpdateOK) IsRedirect() bool

IsRedirect returns true when this default registry update o k response has a 3xx status code

func (*DefaultRegistryUpdateOK) IsServerError

func (o *DefaultRegistryUpdateOK) IsServerError() bool

IsServerError returns true when this default registry update o k response has a 5xx status code

func (*DefaultRegistryUpdateOK) IsSuccess

func (o *DefaultRegistryUpdateOK) IsSuccess() bool

IsSuccess returns true when this default registry update o k response has a 2xx status code

func (*DefaultRegistryUpdateOK) String

func (o *DefaultRegistryUpdateOK) String() string

type DefaultRegistryUpdateParams

type DefaultRegistryUpdateParams struct {

	/* Body.

	   Update default registry
	*/
	Body *models.SettingsDefaultRegistryUpdatePayload

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

DefaultRegistryUpdateParams contains all the parameters to send to the API endpoint

for the default registry update operation.

Typically these are written to a http.Request.

func NewDefaultRegistryUpdateParams

func NewDefaultRegistryUpdateParams() *DefaultRegistryUpdateParams

NewDefaultRegistryUpdateParams creates a new DefaultRegistryUpdateParams 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 NewDefaultRegistryUpdateParamsWithContext

func NewDefaultRegistryUpdateParamsWithContext(ctx context.Context) *DefaultRegistryUpdateParams

NewDefaultRegistryUpdateParamsWithContext creates a new DefaultRegistryUpdateParams object with the ability to set a context for a request.

func NewDefaultRegistryUpdateParamsWithHTTPClient

func NewDefaultRegistryUpdateParamsWithHTTPClient(client *http.Client) *DefaultRegistryUpdateParams

NewDefaultRegistryUpdateParamsWithHTTPClient creates a new DefaultRegistryUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewDefaultRegistryUpdateParamsWithTimeout

func NewDefaultRegistryUpdateParamsWithTimeout(timeout time.Duration) *DefaultRegistryUpdateParams

NewDefaultRegistryUpdateParamsWithTimeout creates a new DefaultRegistryUpdateParams object with the ability to set a timeout on a request.

func (*DefaultRegistryUpdateParams) SetBody

SetBody adds the body to the default registry update params

func (*DefaultRegistryUpdateParams) SetContext

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

SetContext adds the context to the default registry update params

func (*DefaultRegistryUpdateParams) SetDefaults

func (o *DefaultRegistryUpdateParams) SetDefaults()

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

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

func (*DefaultRegistryUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the default registry update params

func (*DefaultRegistryUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the default registry update params

func (*DefaultRegistryUpdateParams) WithBody

WithBody adds the body to the default registry update params

func (*DefaultRegistryUpdateParams) WithContext

WithContext adds the context to the default registry update params

func (*DefaultRegistryUpdateParams) WithDefaults

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

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

func (*DefaultRegistryUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the default registry update params

func (*DefaultRegistryUpdateParams) WithTimeout

WithTimeout adds the timeout to the default registry update params

func (*DefaultRegistryUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DefaultRegistryUpdateReader

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

DefaultRegistryUpdateReader is a Reader for the DefaultRegistryUpdate structure.

func (*DefaultRegistryUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SettingsEdgeMTLSCACertificatesInternalServerError

type SettingsEdgeMTLSCACertificatesInternalServerError struct {
}

SettingsEdgeMTLSCACertificatesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewSettingsEdgeMTLSCACertificatesInternalServerError

func NewSettingsEdgeMTLSCACertificatesInternalServerError() *SettingsEdgeMTLSCACertificatesInternalServerError

NewSettingsEdgeMTLSCACertificatesInternalServerError creates a SettingsEdgeMTLSCACertificatesInternalServerError with default headers values

func (*SettingsEdgeMTLSCACertificatesInternalServerError) Code

Code gets the status code for the settings edge m Tls c a certificates internal server error response

func (*SettingsEdgeMTLSCACertificatesInternalServerError) Error

func (*SettingsEdgeMTLSCACertificatesInternalServerError) IsClientError

IsClientError returns true when this settings edge m Tls c a certificates internal server error response has a 4xx status code

func (*SettingsEdgeMTLSCACertificatesInternalServerError) IsCode

IsCode returns true when this settings edge m Tls c a certificates internal server error response a status code equal to that given

func (*SettingsEdgeMTLSCACertificatesInternalServerError) IsRedirect

IsRedirect returns true when this settings edge m Tls c a certificates internal server error response has a 3xx status code

func (*SettingsEdgeMTLSCACertificatesInternalServerError) IsServerError

IsServerError returns true when this settings edge m Tls c a certificates internal server error response has a 5xx status code

func (*SettingsEdgeMTLSCACertificatesInternalServerError) IsSuccess

IsSuccess returns true when this settings edge m Tls c a certificates internal server error response has a 2xx status code

func (*SettingsEdgeMTLSCACertificatesInternalServerError) String

type SettingsEdgeMTLSCACertificatesOK

type SettingsEdgeMTLSCACertificatesOK struct {
	Payload *models.SettingsSettingsCACertResponse
}

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

Success

func NewSettingsEdgeMTLSCACertificatesOK

func NewSettingsEdgeMTLSCACertificatesOK() *SettingsEdgeMTLSCACertificatesOK

NewSettingsEdgeMTLSCACertificatesOK creates a SettingsEdgeMTLSCACertificatesOK with default headers values

func (*SettingsEdgeMTLSCACertificatesOK) Code

Code gets the status code for the settings edge m Tls c a certificates o k response

func (*SettingsEdgeMTLSCACertificatesOK) Error

func (*SettingsEdgeMTLSCACertificatesOK) GetPayload

func (*SettingsEdgeMTLSCACertificatesOK) IsClientError

func (o *SettingsEdgeMTLSCACertificatesOK) IsClientError() bool

IsClientError returns true when this settings edge m Tls c a certificates o k response has a 4xx status code

func (*SettingsEdgeMTLSCACertificatesOK) IsCode

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

IsCode returns true when this settings edge m Tls c a certificates o k response a status code equal to that given

func (*SettingsEdgeMTLSCACertificatesOK) IsRedirect

func (o *SettingsEdgeMTLSCACertificatesOK) IsRedirect() bool

IsRedirect returns true when this settings edge m Tls c a certificates o k response has a 3xx status code

func (*SettingsEdgeMTLSCACertificatesOK) IsServerError

func (o *SettingsEdgeMTLSCACertificatesOK) IsServerError() bool

IsServerError returns true when this settings edge m Tls c a certificates o k response has a 5xx status code

func (*SettingsEdgeMTLSCACertificatesOK) IsSuccess

func (o *SettingsEdgeMTLSCACertificatesOK) IsSuccess() bool

IsSuccess returns true when this settings edge m Tls c a certificates o k response has a 2xx status code

func (*SettingsEdgeMTLSCACertificatesOK) String

type SettingsEdgeMTLSCACertificatesParams

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

SettingsEdgeMTLSCACertificatesParams contains all the parameters to send to the API endpoint

for the settings edge m TLS c a certificates operation.

Typically these are written to a http.Request.

func NewSettingsEdgeMTLSCACertificatesParams

func NewSettingsEdgeMTLSCACertificatesParams() *SettingsEdgeMTLSCACertificatesParams

NewSettingsEdgeMTLSCACertificatesParams creates a new SettingsEdgeMTLSCACertificatesParams 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 NewSettingsEdgeMTLSCACertificatesParamsWithContext

func NewSettingsEdgeMTLSCACertificatesParamsWithContext(ctx context.Context) *SettingsEdgeMTLSCACertificatesParams

NewSettingsEdgeMTLSCACertificatesParamsWithContext creates a new SettingsEdgeMTLSCACertificatesParams object with the ability to set a context for a request.

func NewSettingsEdgeMTLSCACertificatesParamsWithHTTPClient

func NewSettingsEdgeMTLSCACertificatesParamsWithHTTPClient(client *http.Client) *SettingsEdgeMTLSCACertificatesParams

NewSettingsEdgeMTLSCACertificatesParamsWithHTTPClient creates a new SettingsEdgeMTLSCACertificatesParams object with the ability to set a custom HTTPClient for a request.

func NewSettingsEdgeMTLSCACertificatesParamsWithTimeout

func NewSettingsEdgeMTLSCACertificatesParamsWithTimeout(timeout time.Duration) *SettingsEdgeMTLSCACertificatesParams

NewSettingsEdgeMTLSCACertificatesParamsWithTimeout creates a new SettingsEdgeMTLSCACertificatesParams object with the ability to set a timeout on a request.

func (*SettingsEdgeMTLSCACertificatesParams) SetContext

SetContext adds the context to the settings edge m TLS c a certificates params

func (*SettingsEdgeMTLSCACertificatesParams) SetDefaults

func (o *SettingsEdgeMTLSCACertificatesParams) SetDefaults()

SetDefaults hydrates default values in the settings edge m TLS c a certificates params (not the query body).

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

func (*SettingsEdgeMTLSCACertificatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the settings edge m TLS c a certificates params

func (*SettingsEdgeMTLSCACertificatesParams) SetTimeout

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

SetTimeout adds the timeout to the settings edge m TLS c a certificates params

func (*SettingsEdgeMTLSCACertificatesParams) WithContext

WithContext adds the context to the settings edge m TLS c a certificates params

func (*SettingsEdgeMTLSCACertificatesParams) WithDefaults

WithDefaults hydrates default values in the settings edge m TLS c a certificates params (not the query body).

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

func (*SettingsEdgeMTLSCACertificatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the settings edge m TLS c a certificates params

func (*SettingsEdgeMTLSCACertificatesParams) WithTimeout

WithTimeout adds the timeout to the settings edge m TLS c a certificates params

func (*SettingsEdgeMTLSCACertificatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SettingsEdgeMTLSCACertificatesReader

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

SettingsEdgeMTLSCACertificatesReader is a Reader for the SettingsEdgeMTLSCACertificates structure.

func (*SettingsEdgeMTLSCACertificatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SettingsEdgeMTLSCertificatesInternalServerError

type SettingsEdgeMTLSCertificatesInternalServerError struct {
}

SettingsEdgeMTLSCertificatesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewSettingsEdgeMTLSCertificatesInternalServerError

func NewSettingsEdgeMTLSCertificatesInternalServerError() *SettingsEdgeMTLSCertificatesInternalServerError

NewSettingsEdgeMTLSCertificatesInternalServerError creates a SettingsEdgeMTLSCertificatesInternalServerError with default headers values

func (*SettingsEdgeMTLSCertificatesInternalServerError) Code

Code gets the status code for the settings edge m Tls certificates internal server error response

func (*SettingsEdgeMTLSCertificatesInternalServerError) Error

func (*SettingsEdgeMTLSCertificatesInternalServerError) IsClientError

IsClientError returns true when this settings edge m Tls certificates internal server error response has a 4xx status code

func (*SettingsEdgeMTLSCertificatesInternalServerError) IsCode

IsCode returns true when this settings edge m Tls certificates internal server error response a status code equal to that given

func (*SettingsEdgeMTLSCertificatesInternalServerError) IsRedirect

IsRedirect returns true when this settings edge m Tls certificates internal server error response has a 3xx status code

func (*SettingsEdgeMTLSCertificatesInternalServerError) IsServerError

IsServerError returns true when this settings edge m Tls certificates internal server error response has a 5xx status code

func (*SettingsEdgeMTLSCertificatesInternalServerError) IsSuccess

IsSuccess returns true when this settings edge m Tls certificates internal server error response has a 2xx status code

func (*SettingsEdgeMTLSCertificatesInternalServerError) String

type SettingsEdgeMTLSCertificatesOK

type SettingsEdgeMTLSCertificatesOK struct {
	Payload *models.SettingsSettingsCertResponse
}

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

Success

func NewSettingsEdgeMTLSCertificatesOK

func NewSettingsEdgeMTLSCertificatesOK() *SettingsEdgeMTLSCertificatesOK

NewSettingsEdgeMTLSCertificatesOK creates a SettingsEdgeMTLSCertificatesOK with default headers values

func (*SettingsEdgeMTLSCertificatesOK) Code

Code gets the status code for the settings edge m Tls certificates o k response

func (*SettingsEdgeMTLSCertificatesOK) Error

func (*SettingsEdgeMTLSCertificatesOK) GetPayload

func (*SettingsEdgeMTLSCertificatesOK) IsClientError

func (o *SettingsEdgeMTLSCertificatesOK) IsClientError() bool

IsClientError returns true when this settings edge m Tls certificates o k response has a 4xx status code

func (*SettingsEdgeMTLSCertificatesOK) IsCode

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

IsCode returns true when this settings edge m Tls certificates o k response a status code equal to that given

func (*SettingsEdgeMTLSCertificatesOK) IsRedirect

func (o *SettingsEdgeMTLSCertificatesOK) IsRedirect() bool

IsRedirect returns true when this settings edge m Tls certificates o k response has a 3xx status code

func (*SettingsEdgeMTLSCertificatesOK) IsServerError

func (o *SettingsEdgeMTLSCertificatesOK) IsServerError() bool

IsServerError returns true when this settings edge m Tls certificates o k response has a 5xx status code

func (*SettingsEdgeMTLSCertificatesOK) IsSuccess

func (o *SettingsEdgeMTLSCertificatesOK) IsSuccess() bool

IsSuccess returns true when this settings edge m Tls certificates o k response has a 2xx status code

func (*SettingsEdgeMTLSCertificatesOK) String

type SettingsEdgeMTLSCertificatesParams

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

SettingsEdgeMTLSCertificatesParams contains all the parameters to send to the API endpoint

for the settings edge m TLS certificates operation.

Typically these are written to a http.Request.

func NewSettingsEdgeMTLSCertificatesParams

func NewSettingsEdgeMTLSCertificatesParams() *SettingsEdgeMTLSCertificatesParams

NewSettingsEdgeMTLSCertificatesParams creates a new SettingsEdgeMTLSCertificatesParams 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 NewSettingsEdgeMTLSCertificatesParamsWithContext

func NewSettingsEdgeMTLSCertificatesParamsWithContext(ctx context.Context) *SettingsEdgeMTLSCertificatesParams

NewSettingsEdgeMTLSCertificatesParamsWithContext creates a new SettingsEdgeMTLSCertificatesParams object with the ability to set a context for a request.

func NewSettingsEdgeMTLSCertificatesParamsWithHTTPClient

func NewSettingsEdgeMTLSCertificatesParamsWithHTTPClient(client *http.Client) *SettingsEdgeMTLSCertificatesParams

NewSettingsEdgeMTLSCertificatesParamsWithHTTPClient creates a new SettingsEdgeMTLSCertificatesParams object with the ability to set a custom HTTPClient for a request.

func NewSettingsEdgeMTLSCertificatesParamsWithTimeout

func NewSettingsEdgeMTLSCertificatesParamsWithTimeout(timeout time.Duration) *SettingsEdgeMTLSCertificatesParams

NewSettingsEdgeMTLSCertificatesParamsWithTimeout creates a new SettingsEdgeMTLSCertificatesParams object with the ability to set a timeout on a request.

func (*SettingsEdgeMTLSCertificatesParams) SetContext

SetContext adds the context to the settings edge m TLS certificates params

func (*SettingsEdgeMTLSCertificatesParams) SetDefaults

func (o *SettingsEdgeMTLSCertificatesParams) SetDefaults()

SetDefaults hydrates default values in the settings edge m TLS certificates params (not the query body).

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

func (*SettingsEdgeMTLSCertificatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the settings edge m TLS certificates params

func (*SettingsEdgeMTLSCertificatesParams) SetTimeout

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

SetTimeout adds the timeout to the settings edge m TLS certificates params

func (*SettingsEdgeMTLSCertificatesParams) WithContext

WithContext adds the context to the settings edge m TLS certificates params

func (*SettingsEdgeMTLSCertificatesParams) WithDefaults

WithDefaults hydrates default values in the settings edge m TLS certificates params (not the query body).

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

func (*SettingsEdgeMTLSCertificatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the settings edge m TLS certificates params

func (*SettingsEdgeMTLSCertificatesParams) WithTimeout

WithTimeout adds the timeout to the settings edge m TLS certificates params

func (*SettingsEdgeMTLSCertificatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SettingsEdgeMTLSCertificatesReader

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

SettingsEdgeMTLSCertificatesReader is a Reader for the SettingsEdgeMTLSCertificates structure.

func (*SettingsEdgeMTLSCertificatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SettingsExperimentalInspectInternalServerError

type SettingsExperimentalInspectInternalServerError struct {
}

SettingsExperimentalInspectInternalServerError describes a response with status code 500, with default header values.

Server error

func NewSettingsExperimentalInspectInternalServerError

func NewSettingsExperimentalInspectInternalServerError() *SettingsExperimentalInspectInternalServerError

NewSettingsExperimentalInspectInternalServerError creates a SettingsExperimentalInspectInternalServerError with default headers values

func (*SettingsExperimentalInspectInternalServerError) Code

Code gets the status code for the settings experimental inspect internal server error response

func (*SettingsExperimentalInspectInternalServerError) Error

func (*SettingsExperimentalInspectInternalServerError) IsClientError

IsClientError returns true when this settings experimental inspect internal server error response has a 4xx status code

func (*SettingsExperimentalInspectInternalServerError) IsCode

IsCode returns true when this settings experimental inspect internal server error response a status code equal to that given

func (*SettingsExperimentalInspectInternalServerError) IsRedirect

IsRedirect returns true when this settings experimental inspect internal server error response has a 3xx status code

func (*SettingsExperimentalInspectInternalServerError) IsServerError

IsServerError returns true when this settings experimental inspect internal server error response has a 5xx status code

func (*SettingsExperimentalInspectInternalServerError) IsSuccess

IsSuccess returns true when this settings experimental inspect internal server error response has a 2xx status code

func (*SettingsExperimentalInspectInternalServerError) String

type SettingsExperimentalInspectOK

type SettingsExperimentalInspectOK struct {
	Payload *models.SettingsSettingsExperimentalInspectResponse
}

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

Success

func NewSettingsExperimentalInspectOK

func NewSettingsExperimentalInspectOK() *SettingsExperimentalInspectOK

NewSettingsExperimentalInspectOK creates a SettingsExperimentalInspectOK with default headers values

func (*SettingsExperimentalInspectOK) Code

Code gets the status code for the settings experimental inspect o k response

func (*SettingsExperimentalInspectOK) Error

func (*SettingsExperimentalInspectOK) GetPayload

func (*SettingsExperimentalInspectOK) IsClientError

func (o *SettingsExperimentalInspectOK) IsClientError() bool

IsClientError returns true when this settings experimental inspect o k response has a 4xx status code

func (*SettingsExperimentalInspectOK) IsCode

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

IsCode returns true when this settings experimental inspect o k response a status code equal to that given

func (*SettingsExperimentalInspectOK) IsRedirect

func (o *SettingsExperimentalInspectOK) IsRedirect() bool

IsRedirect returns true when this settings experimental inspect o k response has a 3xx status code

func (*SettingsExperimentalInspectOK) IsServerError

func (o *SettingsExperimentalInspectOK) IsServerError() bool

IsServerError returns true when this settings experimental inspect o k response has a 5xx status code

func (*SettingsExperimentalInspectOK) IsSuccess

func (o *SettingsExperimentalInspectOK) IsSuccess() bool

IsSuccess returns true when this settings experimental inspect o k response has a 2xx status code

func (*SettingsExperimentalInspectOK) String

type SettingsExperimentalInspectParams

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

SettingsExperimentalInspectParams contains all the parameters to send to the API endpoint

for the settings experimental inspect operation.

Typically these are written to a http.Request.

func NewSettingsExperimentalInspectParams

func NewSettingsExperimentalInspectParams() *SettingsExperimentalInspectParams

NewSettingsExperimentalInspectParams creates a new SettingsExperimentalInspectParams 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 NewSettingsExperimentalInspectParamsWithContext

func NewSettingsExperimentalInspectParamsWithContext(ctx context.Context) *SettingsExperimentalInspectParams

NewSettingsExperimentalInspectParamsWithContext creates a new SettingsExperimentalInspectParams object with the ability to set a context for a request.

func NewSettingsExperimentalInspectParamsWithHTTPClient

func NewSettingsExperimentalInspectParamsWithHTTPClient(client *http.Client) *SettingsExperimentalInspectParams

NewSettingsExperimentalInspectParamsWithHTTPClient creates a new SettingsExperimentalInspectParams object with the ability to set a custom HTTPClient for a request.

func NewSettingsExperimentalInspectParamsWithTimeout

func NewSettingsExperimentalInspectParamsWithTimeout(timeout time.Duration) *SettingsExperimentalInspectParams

NewSettingsExperimentalInspectParamsWithTimeout creates a new SettingsExperimentalInspectParams object with the ability to set a timeout on a request.

func (*SettingsExperimentalInspectParams) SetContext

SetContext adds the context to the settings experimental inspect params

func (*SettingsExperimentalInspectParams) SetDefaults

func (o *SettingsExperimentalInspectParams) SetDefaults()

SetDefaults hydrates default values in the settings experimental inspect params (not the query body).

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

func (*SettingsExperimentalInspectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the settings experimental inspect params

func (*SettingsExperimentalInspectParams) SetTimeout

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

SetTimeout adds the timeout to the settings experimental inspect params

func (*SettingsExperimentalInspectParams) WithContext

WithContext adds the context to the settings experimental inspect params

func (*SettingsExperimentalInspectParams) WithDefaults

WithDefaults hydrates default values in the settings experimental inspect params (not the query body).

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

func (*SettingsExperimentalInspectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the settings experimental inspect params

func (*SettingsExperimentalInspectParams) WithTimeout

WithTimeout adds the timeout to the settings experimental inspect params

func (*SettingsExperimentalInspectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SettingsExperimentalInspectReader

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

SettingsExperimentalInspectReader is a Reader for the SettingsExperimentalInspect structure.

func (*SettingsExperimentalInspectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SettingsExperimentalUpdateBadRequest

type SettingsExperimentalUpdateBadRequest struct {
}

SettingsExperimentalUpdateBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewSettingsExperimentalUpdateBadRequest

func NewSettingsExperimentalUpdateBadRequest() *SettingsExperimentalUpdateBadRequest

NewSettingsExperimentalUpdateBadRequest creates a SettingsExperimentalUpdateBadRequest with default headers values

func (*SettingsExperimentalUpdateBadRequest) Code

Code gets the status code for the settings experimental update bad request response

func (*SettingsExperimentalUpdateBadRequest) Error

func (*SettingsExperimentalUpdateBadRequest) IsClientError

func (o *SettingsExperimentalUpdateBadRequest) IsClientError() bool

IsClientError returns true when this settings experimental update bad request response has a 4xx status code

func (*SettingsExperimentalUpdateBadRequest) IsCode

IsCode returns true when this settings experimental update bad request response a status code equal to that given

func (*SettingsExperimentalUpdateBadRequest) IsRedirect

IsRedirect returns true when this settings experimental update bad request response has a 3xx status code

func (*SettingsExperimentalUpdateBadRequest) IsServerError

func (o *SettingsExperimentalUpdateBadRequest) IsServerError() bool

IsServerError returns true when this settings experimental update bad request response has a 5xx status code

func (*SettingsExperimentalUpdateBadRequest) IsSuccess

IsSuccess returns true when this settings experimental update bad request response has a 2xx status code

func (*SettingsExperimentalUpdateBadRequest) String

type SettingsExperimentalUpdateInternalServerError

type SettingsExperimentalUpdateInternalServerError struct {
}

SettingsExperimentalUpdateInternalServerError describes a response with status code 500, with default header values.

Server error

func NewSettingsExperimentalUpdateInternalServerError

func NewSettingsExperimentalUpdateInternalServerError() *SettingsExperimentalUpdateInternalServerError

NewSettingsExperimentalUpdateInternalServerError creates a SettingsExperimentalUpdateInternalServerError with default headers values

func (*SettingsExperimentalUpdateInternalServerError) Code

Code gets the status code for the settings experimental update internal server error response

func (*SettingsExperimentalUpdateInternalServerError) Error

func (*SettingsExperimentalUpdateInternalServerError) IsClientError

IsClientError returns true when this settings experimental update internal server error response has a 4xx status code

func (*SettingsExperimentalUpdateInternalServerError) IsCode

IsCode returns true when this settings experimental update internal server error response a status code equal to that given

func (*SettingsExperimentalUpdateInternalServerError) IsRedirect

IsRedirect returns true when this settings experimental update internal server error response has a 3xx status code

func (*SettingsExperimentalUpdateInternalServerError) IsServerError

IsServerError returns true when this settings experimental update internal server error response has a 5xx status code

func (*SettingsExperimentalUpdateInternalServerError) IsSuccess

IsSuccess returns true when this settings experimental update internal server error response has a 2xx status code

func (*SettingsExperimentalUpdateInternalServerError) String

type SettingsExperimentalUpdateNoContent

type SettingsExperimentalUpdateNoContent struct {
}

SettingsExperimentalUpdateNoContent describes a response with status code 204, with default header values.

Success

func NewSettingsExperimentalUpdateNoContent

func NewSettingsExperimentalUpdateNoContent() *SettingsExperimentalUpdateNoContent

NewSettingsExperimentalUpdateNoContent creates a SettingsExperimentalUpdateNoContent with default headers values

func (*SettingsExperimentalUpdateNoContent) Code

Code gets the status code for the settings experimental update no content response

func (*SettingsExperimentalUpdateNoContent) Error

func (*SettingsExperimentalUpdateNoContent) IsClientError

func (o *SettingsExperimentalUpdateNoContent) IsClientError() bool

IsClientError returns true when this settings experimental update no content response has a 4xx status code

func (*SettingsExperimentalUpdateNoContent) IsCode

IsCode returns true when this settings experimental update no content response a status code equal to that given

func (*SettingsExperimentalUpdateNoContent) IsRedirect

func (o *SettingsExperimentalUpdateNoContent) IsRedirect() bool

IsRedirect returns true when this settings experimental update no content response has a 3xx status code

func (*SettingsExperimentalUpdateNoContent) IsServerError

func (o *SettingsExperimentalUpdateNoContent) IsServerError() bool

IsServerError returns true when this settings experimental update no content response has a 5xx status code

func (*SettingsExperimentalUpdateNoContent) IsSuccess

IsSuccess returns true when this settings experimental update no content response has a 2xx status code

func (*SettingsExperimentalUpdateNoContent) String

type SettingsExperimentalUpdateParams

type SettingsExperimentalUpdateParams struct {

	/* Body.

	   New settings
	*/
	Body *models.SettingsSettingsExperimentalUpdatePayload

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

SettingsExperimentalUpdateParams contains all the parameters to send to the API endpoint

for the settings experimental update operation.

Typically these are written to a http.Request.

func NewSettingsExperimentalUpdateParams

func NewSettingsExperimentalUpdateParams() *SettingsExperimentalUpdateParams

NewSettingsExperimentalUpdateParams creates a new SettingsExperimentalUpdateParams 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 NewSettingsExperimentalUpdateParamsWithContext

func NewSettingsExperimentalUpdateParamsWithContext(ctx context.Context) *SettingsExperimentalUpdateParams

NewSettingsExperimentalUpdateParamsWithContext creates a new SettingsExperimentalUpdateParams object with the ability to set a context for a request.

func NewSettingsExperimentalUpdateParamsWithHTTPClient

func NewSettingsExperimentalUpdateParamsWithHTTPClient(client *http.Client) *SettingsExperimentalUpdateParams

NewSettingsExperimentalUpdateParamsWithHTTPClient creates a new SettingsExperimentalUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewSettingsExperimentalUpdateParamsWithTimeout

func NewSettingsExperimentalUpdateParamsWithTimeout(timeout time.Duration) *SettingsExperimentalUpdateParams

NewSettingsExperimentalUpdateParamsWithTimeout creates a new SettingsExperimentalUpdateParams object with the ability to set a timeout on a request.

func (*SettingsExperimentalUpdateParams) SetBody

SetBody adds the body to the settings experimental update params

func (*SettingsExperimentalUpdateParams) SetContext

SetContext adds the context to the settings experimental update params

func (*SettingsExperimentalUpdateParams) SetDefaults

func (o *SettingsExperimentalUpdateParams) SetDefaults()

SetDefaults hydrates default values in the settings experimental update params (not the query body).

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

func (*SettingsExperimentalUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the settings experimental update params

func (*SettingsExperimentalUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the settings experimental update params

func (*SettingsExperimentalUpdateParams) WithBody

WithBody adds the body to the settings experimental update params

func (*SettingsExperimentalUpdateParams) WithContext

WithContext adds the context to the settings experimental update params

func (*SettingsExperimentalUpdateParams) WithDefaults

WithDefaults hydrates default values in the settings experimental update params (not the query body).

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

func (*SettingsExperimentalUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the settings experimental update params

func (*SettingsExperimentalUpdateParams) WithTimeout

WithTimeout adds the timeout to the settings experimental update params

func (*SettingsExperimentalUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SettingsExperimentalUpdateReader

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

SettingsExperimentalUpdateReader is a Reader for the SettingsExperimentalUpdate structure.

func (*SettingsExperimentalUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SettingsInspectInternalServerError

type SettingsInspectInternalServerError struct {
}

SettingsInspectInternalServerError describes a response with status code 500, with default header values.

Server error

func NewSettingsInspectInternalServerError

func NewSettingsInspectInternalServerError() *SettingsInspectInternalServerError

NewSettingsInspectInternalServerError creates a SettingsInspectInternalServerError with default headers values

func (*SettingsInspectInternalServerError) Code

Code gets the status code for the settings inspect internal server error response

func (*SettingsInspectInternalServerError) Error

func (*SettingsInspectInternalServerError) IsClientError

func (o *SettingsInspectInternalServerError) IsClientError() bool

IsClientError returns true when this settings inspect internal server error response has a 4xx status code

func (*SettingsInspectInternalServerError) IsCode

IsCode returns true when this settings inspect internal server error response a status code equal to that given

func (*SettingsInspectInternalServerError) IsRedirect

func (o *SettingsInspectInternalServerError) IsRedirect() bool

IsRedirect returns true when this settings inspect internal server error response has a 3xx status code

func (*SettingsInspectInternalServerError) IsServerError

func (o *SettingsInspectInternalServerError) IsServerError() bool

IsServerError returns true when this settings inspect internal server error response has a 5xx status code

func (*SettingsInspectInternalServerError) IsSuccess

IsSuccess returns true when this settings inspect internal server error response has a 2xx status code

func (*SettingsInspectInternalServerError) String

type SettingsInspectOK

type SettingsInspectOK struct {
	Payload *models.PortainereeSettings
}

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

Success

func NewSettingsInspectOK

func NewSettingsInspectOK() *SettingsInspectOK

NewSettingsInspectOK creates a SettingsInspectOK with default headers values

func (*SettingsInspectOK) Code

func (o *SettingsInspectOK) Code() int

Code gets the status code for the settings inspect o k response

func (*SettingsInspectOK) Error

func (o *SettingsInspectOK) Error() string

func (*SettingsInspectOK) GetPayload

func (o *SettingsInspectOK) GetPayload() *models.PortainereeSettings

func (*SettingsInspectOK) IsClientError

func (o *SettingsInspectOK) IsClientError() bool

IsClientError returns true when this settings inspect o k response has a 4xx status code

func (*SettingsInspectOK) IsCode

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

IsCode returns true when this settings inspect o k response a status code equal to that given

func (*SettingsInspectOK) IsRedirect

func (o *SettingsInspectOK) IsRedirect() bool

IsRedirect returns true when this settings inspect o k response has a 3xx status code

func (*SettingsInspectOK) IsServerError

func (o *SettingsInspectOK) IsServerError() bool

IsServerError returns true when this settings inspect o k response has a 5xx status code

func (*SettingsInspectOK) IsSuccess

func (o *SettingsInspectOK) IsSuccess() bool

IsSuccess returns true when this settings inspect o k response has a 2xx status code

func (*SettingsInspectOK) String

func (o *SettingsInspectOK) String() string

type SettingsInspectParams

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

SettingsInspectParams contains all the parameters to send to the API endpoint

for the settings inspect operation.

Typically these are written to a http.Request.

func NewSettingsInspectParams

func NewSettingsInspectParams() *SettingsInspectParams

NewSettingsInspectParams creates a new SettingsInspectParams 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 NewSettingsInspectParamsWithContext

func NewSettingsInspectParamsWithContext(ctx context.Context) *SettingsInspectParams

NewSettingsInspectParamsWithContext creates a new SettingsInspectParams object with the ability to set a context for a request.

func NewSettingsInspectParamsWithHTTPClient

func NewSettingsInspectParamsWithHTTPClient(client *http.Client) *SettingsInspectParams

NewSettingsInspectParamsWithHTTPClient creates a new SettingsInspectParams object with the ability to set a custom HTTPClient for a request.

func NewSettingsInspectParamsWithTimeout

func NewSettingsInspectParamsWithTimeout(timeout time.Duration) *SettingsInspectParams

NewSettingsInspectParamsWithTimeout creates a new SettingsInspectParams object with the ability to set a timeout on a request.

func (*SettingsInspectParams) SetContext

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

SetContext adds the context to the settings inspect params

func (*SettingsInspectParams) SetDefaults

func (o *SettingsInspectParams) SetDefaults()

SetDefaults hydrates default values in the settings inspect params (not the query body).

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

func (*SettingsInspectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the settings inspect params

func (*SettingsInspectParams) SetTimeout

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

SetTimeout adds the timeout to the settings inspect params

func (*SettingsInspectParams) WithContext

WithContext adds the context to the settings inspect params

func (*SettingsInspectParams) WithDefaults

func (o *SettingsInspectParams) WithDefaults() *SettingsInspectParams

WithDefaults hydrates default values in the settings inspect params (not the query body).

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

func (*SettingsInspectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the settings inspect params

func (*SettingsInspectParams) WithTimeout

func (o *SettingsInspectParams) WithTimeout(timeout time.Duration) *SettingsInspectParams

WithTimeout adds the timeout to the settings inspect params

func (*SettingsInspectParams) WriteToRequest

func (o *SettingsInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SettingsInspectReader

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

SettingsInspectReader is a Reader for the SettingsInspect structure.

func (*SettingsInspectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SettingsPublicInternalServerError

type SettingsPublicInternalServerError struct {
}

SettingsPublicInternalServerError describes a response with status code 500, with default header values.

Server error

func NewSettingsPublicInternalServerError

func NewSettingsPublicInternalServerError() *SettingsPublicInternalServerError

NewSettingsPublicInternalServerError creates a SettingsPublicInternalServerError with default headers values

func (*SettingsPublicInternalServerError) Code

Code gets the status code for the settings public internal server error response

func (*SettingsPublicInternalServerError) Error

func (*SettingsPublicInternalServerError) IsClientError

func (o *SettingsPublicInternalServerError) IsClientError() bool

IsClientError returns true when this settings public internal server error response has a 4xx status code

func (*SettingsPublicInternalServerError) IsCode

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

IsCode returns true when this settings public internal server error response a status code equal to that given

func (*SettingsPublicInternalServerError) IsRedirect

func (o *SettingsPublicInternalServerError) IsRedirect() bool

IsRedirect returns true when this settings public internal server error response has a 3xx status code

func (*SettingsPublicInternalServerError) IsServerError

func (o *SettingsPublicInternalServerError) IsServerError() bool

IsServerError returns true when this settings public internal server error response has a 5xx status code

func (*SettingsPublicInternalServerError) IsSuccess

func (o *SettingsPublicInternalServerError) IsSuccess() bool

IsSuccess returns true when this settings public internal server error response has a 2xx status code

func (*SettingsPublicInternalServerError) String

type SettingsPublicOK

type SettingsPublicOK struct {
	Payload *models.SettingsPublicSettingsResponse
}

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

Success

func NewSettingsPublicOK

func NewSettingsPublicOK() *SettingsPublicOK

NewSettingsPublicOK creates a SettingsPublicOK with default headers values

func (*SettingsPublicOK) Code

func (o *SettingsPublicOK) Code() int

Code gets the status code for the settings public o k response

func (*SettingsPublicOK) Error

func (o *SettingsPublicOK) Error() string

func (*SettingsPublicOK) GetPayload

func (*SettingsPublicOK) IsClientError

func (o *SettingsPublicOK) IsClientError() bool

IsClientError returns true when this settings public o k response has a 4xx status code

func (*SettingsPublicOK) IsCode

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

IsCode returns true when this settings public o k response a status code equal to that given

func (*SettingsPublicOK) IsRedirect

func (o *SettingsPublicOK) IsRedirect() bool

IsRedirect returns true when this settings public o k response has a 3xx status code

func (*SettingsPublicOK) IsServerError

func (o *SettingsPublicOK) IsServerError() bool

IsServerError returns true when this settings public o k response has a 5xx status code

func (*SettingsPublicOK) IsSuccess

func (o *SettingsPublicOK) IsSuccess() bool

IsSuccess returns true when this settings public o k response has a 2xx status code

func (*SettingsPublicOK) String

func (o *SettingsPublicOK) String() string

type SettingsPublicParams

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

SettingsPublicParams contains all the parameters to send to the API endpoint

for the settings public operation.

Typically these are written to a http.Request.

func NewSettingsPublicParams

func NewSettingsPublicParams() *SettingsPublicParams

NewSettingsPublicParams creates a new SettingsPublicParams 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 NewSettingsPublicParamsWithContext

func NewSettingsPublicParamsWithContext(ctx context.Context) *SettingsPublicParams

NewSettingsPublicParamsWithContext creates a new SettingsPublicParams object with the ability to set a context for a request.

func NewSettingsPublicParamsWithHTTPClient

func NewSettingsPublicParamsWithHTTPClient(client *http.Client) *SettingsPublicParams

NewSettingsPublicParamsWithHTTPClient creates a new SettingsPublicParams object with the ability to set a custom HTTPClient for a request.

func NewSettingsPublicParamsWithTimeout

func NewSettingsPublicParamsWithTimeout(timeout time.Duration) *SettingsPublicParams

NewSettingsPublicParamsWithTimeout creates a new SettingsPublicParams object with the ability to set a timeout on a request.

func (*SettingsPublicParams) SetContext

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

SetContext adds the context to the settings public params

func (*SettingsPublicParams) SetDefaults

func (o *SettingsPublicParams) SetDefaults()

SetDefaults hydrates default values in the settings public params (not the query body).

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

func (*SettingsPublicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the settings public params

func (*SettingsPublicParams) SetTimeout

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

SetTimeout adds the timeout to the settings public params

func (*SettingsPublicParams) WithContext

WithContext adds the context to the settings public params

func (*SettingsPublicParams) WithDefaults

func (o *SettingsPublicParams) WithDefaults() *SettingsPublicParams

WithDefaults hydrates default values in the settings public params (not the query body).

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

func (*SettingsPublicParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the settings public params

func (*SettingsPublicParams) WithTimeout

func (o *SettingsPublicParams) WithTimeout(timeout time.Duration) *SettingsPublicParams

WithTimeout adds the timeout to the settings public params

func (*SettingsPublicParams) WriteToRequest

func (o *SettingsPublicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SettingsPublicReader

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

SettingsPublicReader is a Reader for the SettingsPublic structure.

func (*SettingsPublicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SettingsUpdateBadRequest

type SettingsUpdateBadRequest struct {
}

SettingsUpdateBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewSettingsUpdateBadRequest

func NewSettingsUpdateBadRequest() *SettingsUpdateBadRequest

NewSettingsUpdateBadRequest creates a SettingsUpdateBadRequest with default headers values

func (*SettingsUpdateBadRequest) Code

func (o *SettingsUpdateBadRequest) Code() int

Code gets the status code for the settings update bad request response

func (*SettingsUpdateBadRequest) Error

func (o *SettingsUpdateBadRequest) Error() string

func (*SettingsUpdateBadRequest) IsClientError

func (o *SettingsUpdateBadRequest) IsClientError() bool

IsClientError returns true when this settings update bad request response has a 4xx status code

func (*SettingsUpdateBadRequest) IsCode

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

IsCode returns true when this settings update bad request response a status code equal to that given

func (*SettingsUpdateBadRequest) IsRedirect

func (o *SettingsUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this settings update bad request response has a 3xx status code

func (*SettingsUpdateBadRequest) IsServerError

func (o *SettingsUpdateBadRequest) IsServerError() bool

IsServerError returns true when this settings update bad request response has a 5xx status code

func (*SettingsUpdateBadRequest) IsSuccess

func (o *SettingsUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this settings update bad request response has a 2xx status code

func (*SettingsUpdateBadRequest) String

func (o *SettingsUpdateBadRequest) String() string

type SettingsUpdateConflict

type SettingsUpdateConflict struct {
}

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

Edge Compute features cannot be disabled while they are in use

func NewSettingsUpdateConflict

func NewSettingsUpdateConflict() *SettingsUpdateConflict

NewSettingsUpdateConflict creates a SettingsUpdateConflict with default headers values

func (*SettingsUpdateConflict) Code

func (o *SettingsUpdateConflict) Code() int

Code gets the status code for the settings update conflict response

func (*SettingsUpdateConflict) Error

func (o *SettingsUpdateConflict) Error() string

func (*SettingsUpdateConflict) IsClientError

func (o *SettingsUpdateConflict) IsClientError() bool

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

func (*SettingsUpdateConflict) IsCode

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

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

func (*SettingsUpdateConflict) IsRedirect

func (o *SettingsUpdateConflict) IsRedirect() bool

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

func (*SettingsUpdateConflict) IsServerError

func (o *SettingsUpdateConflict) IsServerError() bool

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

func (*SettingsUpdateConflict) IsSuccess

func (o *SettingsUpdateConflict) IsSuccess() bool

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

func (*SettingsUpdateConflict) String

func (o *SettingsUpdateConflict) String() string

type SettingsUpdateInternalServerError

type SettingsUpdateInternalServerError struct {
}

SettingsUpdateInternalServerError describes a response with status code 500, with default header values.

Server error

func NewSettingsUpdateInternalServerError

func NewSettingsUpdateInternalServerError() *SettingsUpdateInternalServerError

NewSettingsUpdateInternalServerError creates a SettingsUpdateInternalServerError with default headers values

func (*SettingsUpdateInternalServerError) Code

Code gets the status code for the settings update internal server error response

func (*SettingsUpdateInternalServerError) Error

func (*SettingsUpdateInternalServerError) IsClientError

func (o *SettingsUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this settings update internal server error response has a 4xx status code

func (*SettingsUpdateInternalServerError) IsCode

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

IsCode returns true when this settings update internal server error response a status code equal to that given

func (*SettingsUpdateInternalServerError) IsRedirect

func (o *SettingsUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this settings update internal server error response has a 3xx status code

func (*SettingsUpdateInternalServerError) IsServerError

func (o *SettingsUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this settings update internal server error response has a 5xx status code

func (*SettingsUpdateInternalServerError) IsSuccess

func (o *SettingsUpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this settings update internal server error response has a 2xx status code

func (*SettingsUpdateInternalServerError) String

type SettingsUpdateOK

type SettingsUpdateOK struct {
	Payload *models.PortainereeSettings
}

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

Success

func NewSettingsUpdateOK

func NewSettingsUpdateOK() *SettingsUpdateOK

NewSettingsUpdateOK creates a SettingsUpdateOK with default headers values

func (*SettingsUpdateOK) Code

func (o *SettingsUpdateOK) Code() int

Code gets the status code for the settings update o k response

func (*SettingsUpdateOK) Error

func (o *SettingsUpdateOK) Error() string

func (*SettingsUpdateOK) GetPayload

func (o *SettingsUpdateOK) GetPayload() *models.PortainereeSettings

func (*SettingsUpdateOK) IsClientError

func (o *SettingsUpdateOK) IsClientError() bool

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

func (*SettingsUpdateOK) IsCode

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

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

func (*SettingsUpdateOK) IsRedirect

func (o *SettingsUpdateOK) IsRedirect() bool

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

func (*SettingsUpdateOK) IsServerError

func (o *SettingsUpdateOK) IsServerError() bool

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

func (*SettingsUpdateOK) IsSuccess

func (o *SettingsUpdateOK) IsSuccess() bool

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

func (*SettingsUpdateOK) String

func (o *SettingsUpdateOK) String() string

type SettingsUpdateParams

type SettingsUpdateParams struct {

	/* Body.

	   New settings
	*/
	Body *models.SettingsSettingsUpdatePayload

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

SettingsUpdateParams contains all the parameters to send to the API endpoint

for the settings update operation.

Typically these are written to a http.Request.

func NewSettingsUpdateParams

func NewSettingsUpdateParams() *SettingsUpdateParams

NewSettingsUpdateParams creates a new SettingsUpdateParams 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 NewSettingsUpdateParamsWithContext

func NewSettingsUpdateParamsWithContext(ctx context.Context) *SettingsUpdateParams

NewSettingsUpdateParamsWithContext creates a new SettingsUpdateParams object with the ability to set a context for a request.

func NewSettingsUpdateParamsWithHTTPClient

func NewSettingsUpdateParamsWithHTTPClient(client *http.Client) *SettingsUpdateParams

NewSettingsUpdateParamsWithHTTPClient creates a new SettingsUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewSettingsUpdateParamsWithTimeout

func NewSettingsUpdateParamsWithTimeout(timeout time.Duration) *SettingsUpdateParams

NewSettingsUpdateParamsWithTimeout creates a new SettingsUpdateParams object with the ability to set a timeout on a request.

func (*SettingsUpdateParams) SetBody

SetBody adds the body to the settings update params

func (*SettingsUpdateParams) SetContext

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

SetContext adds the context to the settings update params

func (*SettingsUpdateParams) SetDefaults

func (o *SettingsUpdateParams) SetDefaults()

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

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

func (*SettingsUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the settings update params

func (*SettingsUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the settings update params

func (*SettingsUpdateParams) WithBody

WithBody adds the body to the settings update params

func (*SettingsUpdateParams) WithContext

WithContext adds the context to the settings update params

func (*SettingsUpdateParams) WithDefaults

func (o *SettingsUpdateParams) WithDefaults() *SettingsUpdateParams

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

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

func (*SettingsUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the settings update params

func (*SettingsUpdateParams) WithTimeout

func (o *SettingsUpdateParams) WithTimeout(timeout time.Duration) *SettingsUpdateParams

WithTimeout adds the timeout to the settings update params

func (*SettingsUpdateParams) WriteToRequest

func (o *SettingsUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SettingsUpdateReader

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

SettingsUpdateReader is a Reader for the SettingsUpdate structure.

func (*SettingsUpdateReader) ReadResponse

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