versions_v1

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 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 versions v1 API

func (*Client) GetCompatibility

GetCompatibility gets compatibility versions

func (*Client) GetInstallation

GetInstallation gets installation versions

func (*Client) GetLogHandler

GetLogHandler gets log handler versions

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 {
	GetCompatibility(params *GetCompatibilityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCompatibilityOK, *GetCompatibilityNoContent, error)

	GetInstallation(params *GetInstallationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstallationOK, *GetInstallationNoContent, error)

	GetLogHandler(params *GetLogHandlerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLogHandlerOK, *GetLogHandlerNoContent, 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 versions v1 API client.

type GetCompatibilityDefault

type GetCompatibilityDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
GetCompatibilityDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetCompatibilityDefault

func NewGetCompatibilityDefault(code int) *GetCompatibilityDefault

NewGetCompatibilityDefault creates a GetCompatibilityDefault with default headers values

func (*GetCompatibilityDefault) Code

func (o *GetCompatibilityDefault) Code() int

Code gets the status code for the get compatibility default response

func (*GetCompatibilityDefault) Error

func (o *GetCompatibilityDefault) Error() string

func (*GetCompatibilityDefault) GetPayload

func (*GetCompatibilityDefault) IsClientError added in v1.21.0

func (o *GetCompatibilityDefault) IsClientError() bool

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

func (*GetCompatibilityDefault) IsCode added in v1.21.0

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

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

func (*GetCompatibilityDefault) IsRedirect added in v1.21.0

func (o *GetCompatibilityDefault) IsRedirect() bool

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

func (*GetCompatibilityDefault) IsServerError added in v1.21.0

func (o *GetCompatibilityDefault) IsServerError() bool

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

func (*GetCompatibilityDefault) IsSuccess added in v1.21.0

func (o *GetCompatibilityDefault) IsSuccess() bool

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

func (*GetCompatibilityDefault) String added in v1.21.0

func (o *GetCompatibilityDefault) String() string

type GetCompatibilityForbidden

type GetCompatibilityForbidden struct {
	Payload interface{}
}
GetCompatibilityForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewGetCompatibilityForbidden

func NewGetCompatibilityForbidden() *GetCompatibilityForbidden

NewGetCompatibilityForbidden creates a GetCompatibilityForbidden with default headers values

func (*GetCompatibilityForbidden) Code added in v1.22.0

func (o *GetCompatibilityForbidden) Code() int

Code gets the status code for the get compatibility forbidden response

func (*GetCompatibilityForbidden) Error

func (o *GetCompatibilityForbidden) Error() string

func (*GetCompatibilityForbidden) GetPayload

func (o *GetCompatibilityForbidden) GetPayload() interface{}

func (*GetCompatibilityForbidden) IsClientError added in v1.21.0

func (o *GetCompatibilityForbidden) IsClientError() bool

IsClientError returns true when this get compatibility forbidden response has a 4xx status code

func (*GetCompatibilityForbidden) IsCode added in v1.21.0

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

IsCode returns true when this get compatibility forbidden response a status code equal to that given

func (*GetCompatibilityForbidden) IsRedirect added in v1.21.0

func (o *GetCompatibilityForbidden) IsRedirect() bool

IsRedirect returns true when this get compatibility forbidden response has a 3xx status code

func (*GetCompatibilityForbidden) IsServerError added in v1.21.0

func (o *GetCompatibilityForbidden) IsServerError() bool

IsServerError returns true when this get compatibility forbidden response has a 5xx status code

func (*GetCompatibilityForbidden) IsSuccess added in v1.21.0

func (o *GetCompatibilityForbidden) IsSuccess() bool

IsSuccess returns true when this get compatibility forbidden response has a 2xx status code

func (*GetCompatibilityForbidden) String added in v1.21.0

func (o *GetCompatibilityForbidden) String() string

type GetCompatibilityNoContent

type GetCompatibilityNoContent struct {
	Payload interface{}
}
GetCompatibilityNoContent describes a response with status code 204, with default header values.

No content.

func NewGetCompatibilityNoContent

func NewGetCompatibilityNoContent() *GetCompatibilityNoContent

NewGetCompatibilityNoContent creates a GetCompatibilityNoContent with default headers values

func (*GetCompatibilityNoContent) Code added in v1.22.0

func (o *GetCompatibilityNoContent) Code() int

Code gets the status code for the get compatibility no content response

func (*GetCompatibilityNoContent) Error

func (o *GetCompatibilityNoContent) Error() string

func (*GetCompatibilityNoContent) GetPayload

func (o *GetCompatibilityNoContent) GetPayload() interface{}

func (*GetCompatibilityNoContent) IsClientError added in v1.21.0

func (o *GetCompatibilityNoContent) IsClientError() bool

IsClientError returns true when this get compatibility no content response has a 4xx status code

func (*GetCompatibilityNoContent) IsCode added in v1.21.0

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

IsCode returns true when this get compatibility no content response a status code equal to that given

func (*GetCompatibilityNoContent) IsRedirect added in v1.21.0

func (o *GetCompatibilityNoContent) IsRedirect() bool

IsRedirect returns true when this get compatibility no content response has a 3xx status code

func (*GetCompatibilityNoContent) IsServerError added in v1.21.0

func (o *GetCompatibilityNoContent) IsServerError() bool

IsServerError returns true when this get compatibility no content response has a 5xx status code

func (*GetCompatibilityNoContent) IsSuccess added in v1.21.0

func (o *GetCompatibilityNoContent) IsSuccess() bool

IsSuccess returns true when this get compatibility no content response has a 2xx status code

func (*GetCompatibilityNoContent) String added in v1.21.0

func (o *GetCompatibilityNoContent) String() string

type GetCompatibilityNotFound

type GetCompatibilityNotFound struct {
	Payload interface{}
}
GetCompatibilityNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewGetCompatibilityNotFound

func NewGetCompatibilityNotFound() *GetCompatibilityNotFound

NewGetCompatibilityNotFound creates a GetCompatibilityNotFound with default headers values

func (*GetCompatibilityNotFound) Code added in v1.22.0

func (o *GetCompatibilityNotFound) Code() int

Code gets the status code for the get compatibility not found response

func (*GetCompatibilityNotFound) Error

func (o *GetCompatibilityNotFound) Error() string

func (*GetCompatibilityNotFound) GetPayload

func (o *GetCompatibilityNotFound) GetPayload() interface{}

func (*GetCompatibilityNotFound) IsClientError added in v1.21.0

func (o *GetCompatibilityNotFound) IsClientError() bool

IsClientError returns true when this get compatibility not found response has a 4xx status code

func (*GetCompatibilityNotFound) IsCode added in v1.21.0

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

IsCode returns true when this get compatibility not found response a status code equal to that given

func (*GetCompatibilityNotFound) IsRedirect added in v1.21.0

func (o *GetCompatibilityNotFound) IsRedirect() bool

IsRedirect returns true when this get compatibility not found response has a 3xx status code

func (*GetCompatibilityNotFound) IsServerError added in v1.21.0

func (o *GetCompatibilityNotFound) IsServerError() bool

IsServerError returns true when this get compatibility not found response has a 5xx status code

func (*GetCompatibilityNotFound) IsSuccess added in v1.21.0

func (o *GetCompatibilityNotFound) IsSuccess() bool

IsSuccess returns true when this get compatibility not found response has a 2xx status code

func (*GetCompatibilityNotFound) String added in v1.21.0

func (o *GetCompatibilityNotFound) String() string

type GetCompatibilityOK

type GetCompatibilityOK struct {
	Payload *service_model.V1Compatibility
}
GetCompatibilityOK describes a response with status code 200, with default header values.

A successful response.

func NewGetCompatibilityOK

func NewGetCompatibilityOK() *GetCompatibilityOK

NewGetCompatibilityOK creates a GetCompatibilityOK with default headers values

func (*GetCompatibilityOK) Code added in v1.22.0

func (o *GetCompatibilityOK) Code() int

Code gets the status code for the get compatibility o k response

func (*GetCompatibilityOK) Error

func (o *GetCompatibilityOK) Error() string

func (*GetCompatibilityOK) GetPayload

func (*GetCompatibilityOK) IsClientError added in v1.21.0

func (o *GetCompatibilityOK) IsClientError() bool

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

func (*GetCompatibilityOK) IsCode added in v1.21.0

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

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

func (*GetCompatibilityOK) IsRedirect added in v1.21.0

func (o *GetCompatibilityOK) IsRedirect() bool

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

func (*GetCompatibilityOK) IsServerError added in v1.21.0

func (o *GetCompatibilityOK) IsServerError() bool

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

func (*GetCompatibilityOK) IsSuccess added in v1.21.0

func (o *GetCompatibilityOK) IsSuccess() bool

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

func (*GetCompatibilityOK) String added in v1.21.0

func (o *GetCompatibilityOK) String() string

type GetCompatibilityParams

type GetCompatibilityParams struct {

	/* Service.

	   Service
	*/
	Service string

	/* UUID.

	   UUid
	*/
	UUID string

	/* Version.

	   Version
	*/
	Version string

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

GetCompatibilityParams contains all the parameters to send to the API endpoint

for the get compatibility operation.

Typically these are written to a http.Request.

func NewGetCompatibilityParams

func NewGetCompatibilityParams() *GetCompatibilityParams

NewGetCompatibilityParams creates a new GetCompatibilityParams 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 NewGetCompatibilityParamsWithContext

func NewGetCompatibilityParamsWithContext(ctx context.Context) *GetCompatibilityParams

NewGetCompatibilityParamsWithContext creates a new GetCompatibilityParams object with the ability to set a context for a request.

func NewGetCompatibilityParamsWithHTTPClient

func NewGetCompatibilityParamsWithHTTPClient(client *http.Client) *GetCompatibilityParams

NewGetCompatibilityParamsWithHTTPClient creates a new GetCompatibilityParams object with the ability to set a custom HTTPClient for a request.

func NewGetCompatibilityParamsWithTimeout

func NewGetCompatibilityParamsWithTimeout(timeout time.Duration) *GetCompatibilityParams

NewGetCompatibilityParamsWithTimeout creates a new GetCompatibilityParams object with the ability to set a timeout on a request.

func (*GetCompatibilityParams) SetContext

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

SetContext adds the context to the get compatibility params

func (*GetCompatibilityParams) SetDefaults

func (o *GetCompatibilityParams) SetDefaults()

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

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

func (*GetCompatibilityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get compatibility params

func (*GetCompatibilityParams) SetService

func (o *GetCompatibilityParams) SetService(service string)

SetService adds the service to the get compatibility params

func (*GetCompatibilityParams) SetTimeout

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

SetTimeout adds the timeout to the get compatibility params

func (*GetCompatibilityParams) SetUUID

func (o *GetCompatibilityParams) SetUUID(uuid string)

SetUUID adds the uuid to the get compatibility params

func (*GetCompatibilityParams) SetVersion

func (o *GetCompatibilityParams) SetVersion(version string)

SetVersion adds the version to the get compatibility params

func (*GetCompatibilityParams) WithContext

WithContext adds the context to the get compatibility params

func (*GetCompatibilityParams) WithDefaults

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

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

func (*GetCompatibilityParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get compatibility params

func (*GetCompatibilityParams) WithService

func (o *GetCompatibilityParams) WithService(service string) *GetCompatibilityParams

WithService adds the service to the get compatibility params

func (*GetCompatibilityParams) WithTimeout

WithTimeout adds the timeout to the get compatibility params

func (*GetCompatibilityParams) WithUUID

WithUUID adds the uuid to the get compatibility params

func (*GetCompatibilityParams) WithVersion

func (o *GetCompatibilityParams) WithVersion(version string) *GetCompatibilityParams

WithVersion adds the version to the get compatibility params

func (*GetCompatibilityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCompatibilityReader

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

GetCompatibilityReader is a Reader for the GetCompatibility structure.

func (*GetCompatibilityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInstallationDefault

type GetInstallationDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
GetInstallationDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetInstallationDefault

func NewGetInstallationDefault(code int) *GetInstallationDefault

NewGetInstallationDefault creates a GetInstallationDefault with default headers values

func (*GetInstallationDefault) Code

func (o *GetInstallationDefault) Code() int

Code gets the status code for the get installation default response

func (*GetInstallationDefault) Error

func (o *GetInstallationDefault) Error() string

func (*GetInstallationDefault) GetPayload

func (*GetInstallationDefault) IsClientError added in v1.21.0

func (o *GetInstallationDefault) IsClientError() bool

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

func (*GetInstallationDefault) IsCode added in v1.21.0

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

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

func (*GetInstallationDefault) IsRedirect added in v1.21.0

func (o *GetInstallationDefault) IsRedirect() bool

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

func (*GetInstallationDefault) IsServerError added in v1.21.0

func (o *GetInstallationDefault) IsServerError() bool

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

func (*GetInstallationDefault) IsSuccess added in v1.21.0

func (o *GetInstallationDefault) IsSuccess() bool

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

func (*GetInstallationDefault) String added in v1.21.0

func (o *GetInstallationDefault) String() string

type GetInstallationForbidden

type GetInstallationForbidden struct {
	Payload interface{}
}
GetInstallationForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewGetInstallationForbidden

func NewGetInstallationForbidden() *GetInstallationForbidden

NewGetInstallationForbidden creates a GetInstallationForbidden with default headers values

func (*GetInstallationForbidden) Code added in v1.22.0

func (o *GetInstallationForbidden) Code() int

Code gets the status code for the get installation forbidden response

func (*GetInstallationForbidden) Error

func (o *GetInstallationForbidden) Error() string

func (*GetInstallationForbidden) GetPayload

func (o *GetInstallationForbidden) GetPayload() interface{}

func (*GetInstallationForbidden) IsClientError added in v1.21.0

func (o *GetInstallationForbidden) IsClientError() bool

IsClientError returns true when this get installation forbidden response has a 4xx status code

func (*GetInstallationForbidden) IsCode added in v1.21.0

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

IsCode returns true when this get installation forbidden response a status code equal to that given

func (*GetInstallationForbidden) IsRedirect added in v1.21.0

func (o *GetInstallationForbidden) IsRedirect() bool

IsRedirect returns true when this get installation forbidden response has a 3xx status code

func (*GetInstallationForbidden) IsServerError added in v1.21.0

func (o *GetInstallationForbidden) IsServerError() bool

IsServerError returns true when this get installation forbidden response has a 5xx status code

func (*GetInstallationForbidden) IsSuccess added in v1.21.0

func (o *GetInstallationForbidden) IsSuccess() bool

IsSuccess returns true when this get installation forbidden response has a 2xx status code

func (*GetInstallationForbidden) String added in v1.21.0

func (o *GetInstallationForbidden) String() string

type GetInstallationNoContent

type GetInstallationNoContent struct {
	Payload interface{}
}
GetInstallationNoContent describes a response with status code 204, with default header values.

No content.

func NewGetInstallationNoContent

func NewGetInstallationNoContent() *GetInstallationNoContent

NewGetInstallationNoContent creates a GetInstallationNoContent with default headers values

func (*GetInstallationNoContent) Code added in v1.22.0

func (o *GetInstallationNoContent) Code() int

Code gets the status code for the get installation no content response

func (*GetInstallationNoContent) Error

func (o *GetInstallationNoContent) Error() string

func (*GetInstallationNoContent) GetPayload

func (o *GetInstallationNoContent) GetPayload() interface{}

func (*GetInstallationNoContent) IsClientError added in v1.21.0

func (o *GetInstallationNoContent) IsClientError() bool

IsClientError returns true when this get installation no content response has a 4xx status code

func (*GetInstallationNoContent) IsCode added in v1.21.0

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

IsCode returns true when this get installation no content response a status code equal to that given

func (*GetInstallationNoContent) IsRedirect added in v1.21.0

func (o *GetInstallationNoContent) IsRedirect() bool

IsRedirect returns true when this get installation no content response has a 3xx status code

func (*GetInstallationNoContent) IsServerError added in v1.21.0

func (o *GetInstallationNoContent) IsServerError() bool

IsServerError returns true when this get installation no content response has a 5xx status code

func (*GetInstallationNoContent) IsSuccess added in v1.21.0

func (o *GetInstallationNoContent) IsSuccess() bool

IsSuccess returns true when this get installation no content response has a 2xx status code

func (*GetInstallationNoContent) String added in v1.21.0

func (o *GetInstallationNoContent) String() string

type GetInstallationNotFound

type GetInstallationNotFound struct {
	Payload interface{}
}
GetInstallationNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewGetInstallationNotFound

func NewGetInstallationNotFound() *GetInstallationNotFound

NewGetInstallationNotFound creates a GetInstallationNotFound with default headers values

func (*GetInstallationNotFound) Code added in v1.22.0

func (o *GetInstallationNotFound) Code() int

Code gets the status code for the get installation not found response

func (*GetInstallationNotFound) Error

func (o *GetInstallationNotFound) Error() string

func (*GetInstallationNotFound) GetPayload

func (o *GetInstallationNotFound) GetPayload() interface{}

func (*GetInstallationNotFound) IsClientError added in v1.21.0

func (o *GetInstallationNotFound) IsClientError() bool

IsClientError returns true when this get installation not found response has a 4xx status code

func (*GetInstallationNotFound) IsCode added in v1.21.0

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

IsCode returns true when this get installation not found response a status code equal to that given

func (*GetInstallationNotFound) IsRedirect added in v1.21.0

func (o *GetInstallationNotFound) IsRedirect() bool

IsRedirect returns true when this get installation not found response has a 3xx status code

func (*GetInstallationNotFound) IsServerError added in v1.21.0

func (o *GetInstallationNotFound) IsServerError() bool

IsServerError returns true when this get installation not found response has a 5xx status code

func (*GetInstallationNotFound) IsSuccess added in v1.21.0

func (o *GetInstallationNotFound) IsSuccess() bool

IsSuccess returns true when this get installation not found response has a 2xx status code

func (*GetInstallationNotFound) String added in v1.21.0

func (o *GetInstallationNotFound) String() string

type GetInstallationOK

type GetInstallationOK struct {
	Payload *service_model.V1Installation
}
GetInstallationOK describes a response with status code 200, with default header values.

A successful response.

func NewGetInstallationOK

func NewGetInstallationOK() *GetInstallationOK

NewGetInstallationOK creates a GetInstallationOK with default headers values

func (*GetInstallationOK) Code added in v1.22.0

func (o *GetInstallationOK) Code() int

Code gets the status code for the get installation o k response

func (*GetInstallationOK) Error

func (o *GetInstallationOK) Error() string

func (*GetInstallationOK) GetPayload

func (*GetInstallationOK) IsClientError added in v1.21.0

func (o *GetInstallationOK) IsClientError() bool

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

func (*GetInstallationOK) IsCode added in v1.21.0

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

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

func (*GetInstallationOK) IsRedirect added in v1.21.0

func (o *GetInstallationOK) IsRedirect() bool

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

func (*GetInstallationOK) IsServerError added in v1.21.0

func (o *GetInstallationOK) IsServerError() bool

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

func (*GetInstallationOK) IsSuccess added in v1.21.0

func (o *GetInstallationOK) IsSuccess() bool

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

func (*GetInstallationOK) String added in v1.21.0

func (o *GetInstallationOK) String() string

type GetInstallationParams

type GetInstallationParams struct {

	/* Auth.

	   auth.
	*/
	Auth *bool

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

GetInstallationParams contains all the parameters to send to the API endpoint

for the get installation operation.

Typically these are written to a http.Request.

func NewGetInstallationParams

func NewGetInstallationParams() *GetInstallationParams

NewGetInstallationParams creates a new GetInstallationParams 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 NewGetInstallationParamsWithContext

func NewGetInstallationParamsWithContext(ctx context.Context) *GetInstallationParams

NewGetInstallationParamsWithContext creates a new GetInstallationParams object with the ability to set a context for a request.

func NewGetInstallationParamsWithHTTPClient

func NewGetInstallationParamsWithHTTPClient(client *http.Client) *GetInstallationParams

NewGetInstallationParamsWithHTTPClient creates a new GetInstallationParams object with the ability to set a custom HTTPClient for a request.

func NewGetInstallationParamsWithTimeout

func NewGetInstallationParamsWithTimeout(timeout time.Duration) *GetInstallationParams

NewGetInstallationParamsWithTimeout creates a new GetInstallationParams object with the ability to set a timeout on a request.

func (*GetInstallationParams) SetAuth

func (o *GetInstallationParams) SetAuth(auth *bool)

SetAuth adds the auth to the get installation params

func (*GetInstallationParams) SetContext

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

SetContext adds the context to the get installation params

func (*GetInstallationParams) SetDefaults

func (o *GetInstallationParams) SetDefaults()

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

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

func (*GetInstallationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get installation params

func (*GetInstallationParams) SetTimeout

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

SetTimeout adds the timeout to the get installation params

func (*GetInstallationParams) WithAuth

func (o *GetInstallationParams) WithAuth(auth *bool) *GetInstallationParams

WithAuth adds the auth to the get installation params

func (*GetInstallationParams) WithContext

WithContext adds the context to the get installation params

func (*GetInstallationParams) WithDefaults

func (o *GetInstallationParams) WithDefaults() *GetInstallationParams

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

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

func (*GetInstallationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get installation params

func (*GetInstallationParams) WithTimeout

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

WithTimeout adds the timeout to the get installation params

func (*GetInstallationParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetInstallationReader

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

GetInstallationReader is a Reader for the GetInstallation structure.

func (*GetInstallationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLogHandlerDefault

type GetLogHandlerDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
GetLogHandlerDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetLogHandlerDefault

func NewGetLogHandlerDefault(code int) *GetLogHandlerDefault

NewGetLogHandlerDefault creates a GetLogHandlerDefault with default headers values

func (*GetLogHandlerDefault) Code

func (o *GetLogHandlerDefault) Code() int

Code gets the status code for the get log handler default response

func (*GetLogHandlerDefault) Error

func (o *GetLogHandlerDefault) Error() string

func (*GetLogHandlerDefault) GetPayload

func (*GetLogHandlerDefault) IsClientError added in v1.21.0

func (o *GetLogHandlerDefault) IsClientError() bool

IsClientError returns true when this get log handler default response has a 4xx status code

func (*GetLogHandlerDefault) IsCode added in v1.21.0

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

IsCode returns true when this get log handler default response a status code equal to that given

func (*GetLogHandlerDefault) IsRedirect added in v1.21.0

func (o *GetLogHandlerDefault) IsRedirect() bool

IsRedirect returns true when this get log handler default response has a 3xx status code

func (*GetLogHandlerDefault) IsServerError added in v1.21.0

func (o *GetLogHandlerDefault) IsServerError() bool

IsServerError returns true when this get log handler default response has a 5xx status code

func (*GetLogHandlerDefault) IsSuccess added in v1.21.0

func (o *GetLogHandlerDefault) IsSuccess() bool

IsSuccess returns true when this get log handler default response has a 2xx status code

func (*GetLogHandlerDefault) String added in v1.21.0

func (o *GetLogHandlerDefault) String() string

type GetLogHandlerForbidden

type GetLogHandlerForbidden struct {
	Payload interface{}
}
GetLogHandlerForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewGetLogHandlerForbidden

func NewGetLogHandlerForbidden() *GetLogHandlerForbidden

NewGetLogHandlerForbidden creates a GetLogHandlerForbidden with default headers values

func (*GetLogHandlerForbidden) Code added in v1.22.0

func (o *GetLogHandlerForbidden) Code() int

Code gets the status code for the get log handler forbidden response

func (*GetLogHandlerForbidden) Error

func (o *GetLogHandlerForbidden) Error() string

func (*GetLogHandlerForbidden) GetPayload

func (o *GetLogHandlerForbidden) GetPayload() interface{}

func (*GetLogHandlerForbidden) IsClientError added in v1.21.0

func (o *GetLogHandlerForbidden) IsClientError() bool

IsClientError returns true when this get log handler forbidden response has a 4xx status code

func (*GetLogHandlerForbidden) IsCode added in v1.21.0

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

IsCode returns true when this get log handler forbidden response a status code equal to that given

func (*GetLogHandlerForbidden) IsRedirect added in v1.21.0

func (o *GetLogHandlerForbidden) IsRedirect() bool

IsRedirect returns true when this get log handler forbidden response has a 3xx status code

func (*GetLogHandlerForbidden) IsServerError added in v1.21.0

func (o *GetLogHandlerForbidden) IsServerError() bool

IsServerError returns true when this get log handler forbidden response has a 5xx status code

func (*GetLogHandlerForbidden) IsSuccess added in v1.21.0

func (o *GetLogHandlerForbidden) IsSuccess() bool

IsSuccess returns true when this get log handler forbidden response has a 2xx status code

func (*GetLogHandlerForbidden) String added in v1.21.0

func (o *GetLogHandlerForbidden) String() string

type GetLogHandlerNoContent

type GetLogHandlerNoContent struct {
	Payload interface{}
}
GetLogHandlerNoContent describes a response with status code 204, with default header values.

No content.

func NewGetLogHandlerNoContent

func NewGetLogHandlerNoContent() *GetLogHandlerNoContent

NewGetLogHandlerNoContent creates a GetLogHandlerNoContent with default headers values

func (*GetLogHandlerNoContent) Code added in v1.22.0

func (o *GetLogHandlerNoContent) Code() int

Code gets the status code for the get log handler no content response

func (*GetLogHandlerNoContent) Error

func (o *GetLogHandlerNoContent) Error() string

func (*GetLogHandlerNoContent) GetPayload

func (o *GetLogHandlerNoContent) GetPayload() interface{}

func (*GetLogHandlerNoContent) IsClientError added in v1.21.0

func (o *GetLogHandlerNoContent) IsClientError() bool

IsClientError returns true when this get log handler no content response has a 4xx status code

func (*GetLogHandlerNoContent) IsCode added in v1.21.0

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

IsCode returns true when this get log handler no content response a status code equal to that given

func (*GetLogHandlerNoContent) IsRedirect added in v1.21.0

func (o *GetLogHandlerNoContent) IsRedirect() bool

IsRedirect returns true when this get log handler no content response has a 3xx status code

func (*GetLogHandlerNoContent) IsServerError added in v1.21.0

func (o *GetLogHandlerNoContent) IsServerError() bool

IsServerError returns true when this get log handler no content response has a 5xx status code

func (*GetLogHandlerNoContent) IsSuccess added in v1.21.0

func (o *GetLogHandlerNoContent) IsSuccess() bool

IsSuccess returns true when this get log handler no content response has a 2xx status code

func (*GetLogHandlerNoContent) String added in v1.21.0

func (o *GetLogHandlerNoContent) String() string

type GetLogHandlerNotFound

type GetLogHandlerNotFound struct {
	Payload interface{}
}
GetLogHandlerNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewGetLogHandlerNotFound

func NewGetLogHandlerNotFound() *GetLogHandlerNotFound

NewGetLogHandlerNotFound creates a GetLogHandlerNotFound with default headers values

func (*GetLogHandlerNotFound) Code added in v1.22.0

func (o *GetLogHandlerNotFound) Code() int

Code gets the status code for the get log handler not found response

func (*GetLogHandlerNotFound) Error

func (o *GetLogHandlerNotFound) Error() string

func (*GetLogHandlerNotFound) GetPayload

func (o *GetLogHandlerNotFound) GetPayload() interface{}

func (*GetLogHandlerNotFound) IsClientError added in v1.21.0

func (o *GetLogHandlerNotFound) IsClientError() bool

IsClientError returns true when this get log handler not found response has a 4xx status code

func (*GetLogHandlerNotFound) IsCode added in v1.21.0

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

IsCode returns true when this get log handler not found response a status code equal to that given

func (*GetLogHandlerNotFound) IsRedirect added in v1.21.0

func (o *GetLogHandlerNotFound) IsRedirect() bool

IsRedirect returns true when this get log handler not found response has a 3xx status code

func (*GetLogHandlerNotFound) IsServerError added in v1.21.0

func (o *GetLogHandlerNotFound) IsServerError() bool

IsServerError returns true when this get log handler not found response has a 5xx status code

func (*GetLogHandlerNotFound) IsSuccess added in v1.21.0

func (o *GetLogHandlerNotFound) IsSuccess() bool

IsSuccess returns true when this get log handler not found response has a 2xx status code

func (*GetLogHandlerNotFound) String added in v1.21.0

func (o *GetLogHandlerNotFound) String() string

type GetLogHandlerOK

type GetLogHandlerOK struct {
	Payload *service_model.V1LogHandler
}
GetLogHandlerOK describes a response with status code 200, with default header values.

A successful response.

func NewGetLogHandlerOK

func NewGetLogHandlerOK() *GetLogHandlerOK

NewGetLogHandlerOK creates a GetLogHandlerOK with default headers values

func (*GetLogHandlerOK) Code added in v1.22.0

func (o *GetLogHandlerOK) Code() int

Code gets the status code for the get log handler o k response

func (*GetLogHandlerOK) Error

func (o *GetLogHandlerOK) Error() string

func (*GetLogHandlerOK) GetPayload

func (o *GetLogHandlerOK) GetPayload() *service_model.V1LogHandler

func (*GetLogHandlerOK) IsClientError added in v1.21.0

func (o *GetLogHandlerOK) IsClientError() bool

IsClientError returns true when this get log handler o k response has a 4xx status code

func (*GetLogHandlerOK) IsCode added in v1.21.0

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

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

func (*GetLogHandlerOK) IsRedirect added in v1.21.0

func (o *GetLogHandlerOK) IsRedirect() bool

IsRedirect returns true when this get log handler o k response has a 3xx status code

func (*GetLogHandlerOK) IsServerError added in v1.21.0

func (o *GetLogHandlerOK) IsServerError() bool

IsServerError returns true when this get log handler o k response has a 5xx status code

func (*GetLogHandlerOK) IsSuccess added in v1.21.0

func (o *GetLogHandlerOK) IsSuccess() bool

IsSuccess returns true when this get log handler o k response has a 2xx status code

func (*GetLogHandlerOK) String added in v1.21.0

func (o *GetLogHandlerOK) String() string

type GetLogHandlerParams

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

GetLogHandlerParams contains all the parameters to send to the API endpoint

for the get log handler operation.

Typically these are written to a http.Request.

func NewGetLogHandlerParams

func NewGetLogHandlerParams() *GetLogHandlerParams

NewGetLogHandlerParams creates a new GetLogHandlerParams 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 NewGetLogHandlerParamsWithContext

func NewGetLogHandlerParamsWithContext(ctx context.Context) *GetLogHandlerParams

NewGetLogHandlerParamsWithContext creates a new GetLogHandlerParams object with the ability to set a context for a request.

func NewGetLogHandlerParamsWithHTTPClient

func NewGetLogHandlerParamsWithHTTPClient(client *http.Client) *GetLogHandlerParams

NewGetLogHandlerParamsWithHTTPClient creates a new GetLogHandlerParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogHandlerParamsWithTimeout

func NewGetLogHandlerParamsWithTimeout(timeout time.Duration) *GetLogHandlerParams

NewGetLogHandlerParamsWithTimeout creates a new GetLogHandlerParams object with the ability to set a timeout on a request.

func (*GetLogHandlerParams) SetContext

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

SetContext adds the context to the get log handler params

func (*GetLogHandlerParams) SetDefaults

func (o *GetLogHandlerParams) SetDefaults()

SetDefaults hydrates default values in the get log handler params (not the query body).

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

func (*GetLogHandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get log handler params

func (*GetLogHandlerParams) SetTimeout

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

SetTimeout adds the timeout to the get log handler params

func (*GetLogHandlerParams) WithContext

WithContext adds the context to the get log handler params

func (*GetLogHandlerParams) WithDefaults

func (o *GetLogHandlerParams) WithDefaults() *GetLogHandlerParams

WithDefaults hydrates default values in the get log handler params (not the query body).

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

func (*GetLogHandlerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get log handler params

func (*GetLogHandlerParams) WithTimeout

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

WithTimeout adds the timeout to the get log handler params

func (*GetLogHandlerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLogHandlerReader

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

GetLogHandlerReader is a Reader for the GetLogHandler structure.

func (*GetLogHandlerReader) ReadResponse

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