discovery

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for discovery API

func (*Client) GetAPIEndpoints

func (a *Client) GetAPIEndpoints(params *GetAPIEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIEndpointsOK, error)

GetAPIEndpoints returns list of root endpoints

Returns a list of root endpoints.

func (*Client) GetConfigurationEndpoints

func (a *Client) GetConfigurationEndpoints(params *GetConfigurationEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConfigurationEndpointsOK, error)

GetConfigurationEndpoints returns list of h a proxy advanced configuration endpoints

Returns a list of endpoints to be used for advanced configuration of HAProxy objects.

func (*Client) GetHaproxyEndpoints

func (a *Client) GetHaproxyEndpoints(params *GetHaproxyEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHaproxyEndpointsOK, error)

GetHaproxyEndpoints returns list of h a proxy related endpoints

Returns a list of HAProxy related endpoints.

func (*Client) GetRuntimeEndpoints

func (a *Client) GetRuntimeEndpoints(params *GetRuntimeEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRuntimeEndpointsOK, error)

GetRuntimeEndpoints returns list of h a proxy advanced runtime endpoints

Returns a list of endpoints to be used for advanced runtime settings of HAProxy objects.

func (*Client) GetServicesEndpoints

func (a *Client) GetServicesEndpoints(params *GetServicesEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServicesEndpointsOK, error)

GetServicesEndpoints returns list of service endpoints

Returns a list of API managed services endpoints.

func (*Client) GetSpoeEndpoints added in v0.0.2

func (a *Client) GetSpoeEndpoints(params *GetSpoeEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSpoeEndpointsOK, error)

GetSpoeEndpoints returns list of h a proxy s p o e endpoints

Returns a list of endpoints to be used for SPOE settings of HAProxy.

func (*Client) GetStatsEndpoints

func (a *Client) GetStatsEndpoints(params *GetStatsEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStatsEndpointsOK, error)

GetStatsEndpoints returns list of h a proxy stats endpoints

Returns a list of HAProxy stats endpoints.

func (*Client) GetStorageEndpoints added in v0.0.2

func (a *Client) GetStorageEndpoints(params *GetStorageEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStorageEndpointsOK, error)

GetStorageEndpoints returns list of h a proxy storage endpoints

Returns a list of endpoints that use HAProxy storage for persistency, e.g. maps, ssl certificates...

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 {
	GetAPIEndpoints(params *GetAPIEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIEndpointsOK, error)

	GetConfigurationEndpoints(params *GetConfigurationEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConfigurationEndpointsOK, error)

	GetHaproxyEndpoints(params *GetHaproxyEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHaproxyEndpointsOK, error)

	GetRuntimeEndpoints(params *GetRuntimeEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRuntimeEndpointsOK, error)

	GetServicesEndpoints(params *GetServicesEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServicesEndpointsOK, error)

	GetSpoeEndpoints(params *GetSpoeEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSpoeEndpointsOK, error)

	GetStatsEndpoints(params *GetStatsEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStatsEndpointsOK, error)

	GetStorageEndpoints(params *GetStorageEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStorageEndpointsOK, 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 discovery API client.

type GetAPIEndpointsDefault

type GetAPIEndpointsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

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

General Error

func NewGetAPIEndpointsDefault

func NewGetAPIEndpointsDefault(code int) *GetAPIEndpointsDefault

NewGetAPIEndpointsDefault creates a GetAPIEndpointsDefault with default headers values

func (*GetAPIEndpointsDefault) Code

func (o *GetAPIEndpointsDefault) Code() int

Code gets the status code for the get API endpoints default response

func (*GetAPIEndpointsDefault) Error

func (o *GetAPIEndpointsDefault) Error() string

func (*GetAPIEndpointsDefault) GetPayload

func (o *GetAPIEndpointsDefault) GetPayload() *models.Error

func (*GetAPIEndpointsDefault) IsClientError added in v1.1.0

func (o *GetAPIEndpointsDefault) IsClientError() bool

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

func (*GetAPIEndpointsDefault) IsCode added in v1.1.0

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

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

func (*GetAPIEndpointsDefault) IsRedirect added in v1.1.0

func (o *GetAPIEndpointsDefault) IsRedirect() bool

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

func (*GetAPIEndpointsDefault) IsServerError added in v1.1.0

func (o *GetAPIEndpointsDefault) IsServerError() bool

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

func (*GetAPIEndpointsDefault) IsSuccess added in v1.1.0

func (o *GetAPIEndpointsDefault) IsSuccess() bool

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

func (*GetAPIEndpointsDefault) String added in v1.1.0

func (o *GetAPIEndpointsDefault) String() string

type GetAPIEndpointsOK

type GetAPIEndpointsOK struct {
	Payload models.Endpoints
}

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

Success

func NewGetAPIEndpointsOK

func NewGetAPIEndpointsOK() *GetAPIEndpointsOK

NewGetAPIEndpointsOK creates a GetAPIEndpointsOK with default headers values

func (*GetAPIEndpointsOK) Error

func (o *GetAPIEndpointsOK) Error() string

func (*GetAPIEndpointsOK) GetPayload

func (o *GetAPIEndpointsOK) GetPayload() models.Endpoints

func (*GetAPIEndpointsOK) IsClientError added in v1.1.0

func (o *GetAPIEndpointsOK) IsClientError() bool

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

func (*GetAPIEndpointsOK) IsCode added in v1.1.0

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

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

func (*GetAPIEndpointsOK) IsRedirect added in v1.1.0

func (o *GetAPIEndpointsOK) IsRedirect() bool

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

func (*GetAPIEndpointsOK) IsServerError added in v1.1.0

func (o *GetAPIEndpointsOK) IsServerError() bool

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

func (*GetAPIEndpointsOK) IsSuccess added in v1.1.0

func (o *GetAPIEndpointsOK) IsSuccess() bool

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

func (*GetAPIEndpointsOK) String added in v1.1.0

func (o *GetAPIEndpointsOK) String() string

type GetAPIEndpointsParams

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

GetAPIEndpointsParams contains all the parameters to send to the API endpoint

for the get API endpoints operation.

Typically these are written to a http.Request.

func NewGetAPIEndpointsParams

func NewGetAPIEndpointsParams() *GetAPIEndpointsParams

NewGetAPIEndpointsParams creates a new GetAPIEndpointsParams 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 NewGetAPIEndpointsParamsWithContext

func NewGetAPIEndpointsParamsWithContext(ctx context.Context) *GetAPIEndpointsParams

NewGetAPIEndpointsParamsWithContext creates a new GetAPIEndpointsParams object with the ability to set a context for a request.

func NewGetAPIEndpointsParamsWithHTTPClient

func NewGetAPIEndpointsParamsWithHTTPClient(client *http.Client) *GetAPIEndpointsParams

NewGetAPIEndpointsParamsWithHTTPClient creates a new GetAPIEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIEndpointsParamsWithTimeout

func NewGetAPIEndpointsParamsWithTimeout(timeout time.Duration) *GetAPIEndpointsParams

NewGetAPIEndpointsParamsWithTimeout creates a new GetAPIEndpointsParams object with the ability to set a timeout on a request.

func (*GetAPIEndpointsParams) SetContext

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

SetContext adds the context to the get API endpoints params

func (*GetAPIEndpointsParams) SetDefaults

func (o *GetAPIEndpointsParams) SetDefaults()

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

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

func (*GetAPIEndpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API endpoints params

func (*GetAPIEndpointsParams) SetTimeout

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

SetTimeout adds the timeout to the get API endpoints params

func (*GetAPIEndpointsParams) WithContext

WithContext adds the context to the get API endpoints params

func (*GetAPIEndpointsParams) WithDefaults

func (o *GetAPIEndpointsParams) WithDefaults() *GetAPIEndpointsParams

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

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

func (*GetAPIEndpointsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API endpoints params

func (*GetAPIEndpointsParams) WithTimeout

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

WithTimeout adds the timeout to the get API endpoints params

func (*GetAPIEndpointsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAPIEndpointsReader

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

GetAPIEndpointsReader is a Reader for the GetAPIEndpoints structure.

func (*GetAPIEndpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClusterParams

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

GetClusterParams contains all the parameters to send to the API endpoint

for the get cluster operation.

Typically these are written to a http.Request.

func NewGetClusterParams

func NewGetClusterParams() *GetClusterParams

NewGetClusterParams creates a new GetClusterParams 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 NewGetClusterParamsWithContext

func NewGetClusterParamsWithContext(ctx context.Context) *GetClusterParams

NewGetClusterParamsWithContext creates a new GetClusterParams object with the ability to set a context for a request.

func NewGetClusterParamsWithHTTPClient

func NewGetClusterParamsWithHTTPClient(client *http.Client) *GetClusterParams

NewGetClusterParamsWithHTTPClient creates a new GetClusterParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterParamsWithTimeout

func NewGetClusterParamsWithTimeout(timeout time.Duration) *GetClusterParams

NewGetClusterParamsWithTimeout creates a new GetClusterParams object with the ability to set a timeout on a request.

func (*GetClusterParams) SetContext

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

SetContext adds the context to the get cluster params

func (*GetClusterParams) SetDefaults

func (o *GetClusterParams) SetDefaults()

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

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

func (*GetClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get cluster params

func (*GetClusterParams) SetTimeout

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

SetTimeout adds the timeout to the get cluster params

func (*GetClusterParams) WithContext

func (o *GetClusterParams) WithContext(ctx context.Context) *GetClusterParams

WithContext adds the context to the get cluster params

func (*GetClusterParams) WithDefaults

func (o *GetClusterParams) WithDefaults() *GetClusterParams

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

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

func (*GetClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get cluster params

func (*GetClusterParams) WithTimeout

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

WithTimeout adds the timeout to the get cluster params

func (*GetClusterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetConfigurationEndpointsDefault

type GetConfigurationEndpointsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

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

General Error

func NewGetConfigurationEndpointsDefault

func NewGetConfigurationEndpointsDefault(code int) *GetConfigurationEndpointsDefault

NewGetConfigurationEndpointsDefault creates a GetConfigurationEndpointsDefault with default headers values

func (*GetConfigurationEndpointsDefault) Code

Code gets the status code for the get configuration endpoints default response

func (*GetConfigurationEndpointsDefault) Error

func (*GetConfigurationEndpointsDefault) GetPayload

func (*GetConfigurationEndpointsDefault) IsClientError added in v1.1.0

func (o *GetConfigurationEndpointsDefault) IsClientError() bool

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

func (*GetConfigurationEndpointsDefault) IsCode added in v1.1.0

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

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

func (*GetConfigurationEndpointsDefault) IsRedirect added in v1.1.0

func (o *GetConfigurationEndpointsDefault) IsRedirect() bool

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

func (*GetConfigurationEndpointsDefault) IsServerError added in v1.1.0

func (o *GetConfigurationEndpointsDefault) IsServerError() bool

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

func (*GetConfigurationEndpointsDefault) IsSuccess added in v1.1.0

func (o *GetConfigurationEndpointsDefault) IsSuccess() bool

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

func (*GetConfigurationEndpointsDefault) String added in v1.1.0

type GetConfigurationEndpointsOK

type GetConfigurationEndpointsOK struct {
	Payload models.Endpoints
}

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

Success

func NewGetConfigurationEndpointsOK

func NewGetConfigurationEndpointsOK() *GetConfigurationEndpointsOK

NewGetConfigurationEndpointsOK creates a GetConfigurationEndpointsOK with default headers values

func (*GetConfigurationEndpointsOK) Error

func (*GetConfigurationEndpointsOK) GetPayload

func (*GetConfigurationEndpointsOK) IsClientError added in v1.1.0

func (o *GetConfigurationEndpointsOK) IsClientError() bool

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

func (*GetConfigurationEndpointsOK) IsCode added in v1.1.0

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

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

func (*GetConfigurationEndpointsOK) IsRedirect added in v1.1.0

func (o *GetConfigurationEndpointsOK) IsRedirect() bool

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

func (*GetConfigurationEndpointsOK) IsServerError added in v1.1.0

func (o *GetConfigurationEndpointsOK) IsServerError() bool

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

func (*GetConfigurationEndpointsOK) IsSuccess added in v1.1.0

func (o *GetConfigurationEndpointsOK) IsSuccess() bool

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

func (*GetConfigurationEndpointsOK) String added in v1.1.0

func (o *GetConfigurationEndpointsOK) String() string

type GetConfigurationEndpointsParams

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

GetConfigurationEndpointsParams contains all the parameters to send to the API endpoint

for the get configuration endpoints operation.

Typically these are written to a http.Request.

func NewGetConfigurationEndpointsParams

func NewGetConfigurationEndpointsParams() *GetConfigurationEndpointsParams

NewGetConfigurationEndpointsParams creates a new GetConfigurationEndpointsParams 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 NewGetConfigurationEndpointsParamsWithContext

func NewGetConfigurationEndpointsParamsWithContext(ctx context.Context) *GetConfigurationEndpointsParams

NewGetConfigurationEndpointsParamsWithContext creates a new GetConfigurationEndpointsParams object with the ability to set a context for a request.

func NewGetConfigurationEndpointsParamsWithHTTPClient

func NewGetConfigurationEndpointsParamsWithHTTPClient(client *http.Client) *GetConfigurationEndpointsParams

NewGetConfigurationEndpointsParamsWithHTTPClient creates a new GetConfigurationEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetConfigurationEndpointsParamsWithTimeout

func NewGetConfigurationEndpointsParamsWithTimeout(timeout time.Duration) *GetConfigurationEndpointsParams

NewGetConfigurationEndpointsParamsWithTimeout creates a new GetConfigurationEndpointsParams object with the ability to set a timeout on a request.

func (*GetConfigurationEndpointsParams) SetContext

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

SetContext adds the context to the get configuration endpoints params

func (*GetConfigurationEndpointsParams) SetDefaults

func (o *GetConfigurationEndpointsParams) SetDefaults()

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

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

func (*GetConfigurationEndpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get configuration endpoints params

func (*GetConfigurationEndpointsParams) SetTimeout

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

SetTimeout adds the timeout to the get configuration endpoints params

func (*GetConfigurationEndpointsParams) WithContext

WithContext adds the context to the get configuration endpoints params

func (*GetConfigurationEndpointsParams) WithDefaults

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

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

func (*GetConfigurationEndpointsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get configuration endpoints params

func (*GetConfigurationEndpointsParams) WithTimeout

WithTimeout adds the timeout to the get configuration endpoints params

func (*GetConfigurationEndpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetConfigurationEndpointsReader

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

GetConfigurationEndpointsReader is a Reader for the GetConfigurationEndpoints structure.

func (*GetConfigurationEndpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHaproxyEndpointsDefault

type GetHaproxyEndpointsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

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

General Error

func NewGetHaproxyEndpointsDefault

func NewGetHaproxyEndpointsDefault(code int) *GetHaproxyEndpointsDefault

NewGetHaproxyEndpointsDefault creates a GetHaproxyEndpointsDefault with default headers values

func (*GetHaproxyEndpointsDefault) Code

func (o *GetHaproxyEndpointsDefault) Code() int

Code gets the status code for the get haproxy endpoints default response

func (*GetHaproxyEndpointsDefault) Error

func (*GetHaproxyEndpointsDefault) GetPayload

func (o *GetHaproxyEndpointsDefault) GetPayload() *models.Error

func (*GetHaproxyEndpointsDefault) IsClientError added in v1.1.0

func (o *GetHaproxyEndpointsDefault) IsClientError() bool

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

func (*GetHaproxyEndpointsDefault) IsCode added in v1.1.0

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

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

func (*GetHaproxyEndpointsDefault) IsRedirect added in v1.1.0

func (o *GetHaproxyEndpointsDefault) IsRedirect() bool

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

func (*GetHaproxyEndpointsDefault) IsServerError added in v1.1.0

func (o *GetHaproxyEndpointsDefault) IsServerError() bool

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

func (*GetHaproxyEndpointsDefault) IsSuccess added in v1.1.0

func (o *GetHaproxyEndpointsDefault) IsSuccess() bool

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

func (*GetHaproxyEndpointsDefault) String added in v1.1.0

func (o *GetHaproxyEndpointsDefault) String() string

type GetHaproxyEndpointsOK

type GetHaproxyEndpointsOK struct {
	Payload models.Endpoints
}

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

Success

func NewGetHaproxyEndpointsOK

func NewGetHaproxyEndpointsOK() *GetHaproxyEndpointsOK

NewGetHaproxyEndpointsOK creates a GetHaproxyEndpointsOK with default headers values

func (*GetHaproxyEndpointsOK) Error

func (o *GetHaproxyEndpointsOK) Error() string

func (*GetHaproxyEndpointsOK) GetPayload

func (o *GetHaproxyEndpointsOK) GetPayload() models.Endpoints

func (*GetHaproxyEndpointsOK) IsClientError added in v1.1.0

func (o *GetHaproxyEndpointsOK) IsClientError() bool

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

func (*GetHaproxyEndpointsOK) IsCode added in v1.1.0

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

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

func (*GetHaproxyEndpointsOK) IsRedirect added in v1.1.0

func (o *GetHaproxyEndpointsOK) IsRedirect() bool

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

func (*GetHaproxyEndpointsOK) IsServerError added in v1.1.0

func (o *GetHaproxyEndpointsOK) IsServerError() bool

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

func (*GetHaproxyEndpointsOK) IsSuccess added in v1.1.0

func (o *GetHaproxyEndpointsOK) IsSuccess() bool

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

func (*GetHaproxyEndpointsOK) String added in v1.1.0

func (o *GetHaproxyEndpointsOK) String() string

type GetHaproxyEndpointsParams

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

GetHaproxyEndpointsParams contains all the parameters to send to the API endpoint

for the get haproxy endpoints operation.

Typically these are written to a http.Request.

func NewGetHaproxyEndpointsParams

func NewGetHaproxyEndpointsParams() *GetHaproxyEndpointsParams

NewGetHaproxyEndpointsParams creates a new GetHaproxyEndpointsParams 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 NewGetHaproxyEndpointsParamsWithContext

func NewGetHaproxyEndpointsParamsWithContext(ctx context.Context) *GetHaproxyEndpointsParams

NewGetHaproxyEndpointsParamsWithContext creates a new GetHaproxyEndpointsParams object with the ability to set a context for a request.

func NewGetHaproxyEndpointsParamsWithHTTPClient

func NewGetHaproxyEndpointsParamsWithHTTPClient(client *http.Client) *GetHaproxyEndpointsParams

NewGetHaproxyEndpointsParamsWithHTTPClient creates a new GetHaproxyEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetHaproxyEndpointsParamsWithTimeout

func NewGetHaproxyEndpointsParamsWithTimeout(timeout time.Duration) *GetHaproxyEndpointsParams

NewGetHaproxyEndpointsParamsWithTimeout creates a new GetHaproxyEndpointsParams object with the ability to set a timeout on a request.

func (*GetHaproxyEndpointsParams) SetContext

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

SetContext adds the context to the get haproxy endpoints params

func (*GetHaproxyEndpointsParams) SetDefaults

func (o *GetHaproxyEndpointsParams) SetDefaults()

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

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

func (*GetHaproxyEndpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get haproxy endpoints params

func (*GetHaproxyEndpointsParams) SetTimeout

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

SetTimeout adds the timeout to the get haproxy endpoints params

func (*GetHaproxyEndpointsParams) WithContext

WithContext adds the context to the get haproxy endpoints params

func (*GetHaproxyEndpointsParams) WithDefaults

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

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

func (*GetHaproxyEndpointsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get haproxy endpoints params

func (*GetHaproxyEndpointsParams) WithTimeout

WithTimeout adds the timeout to the get haproxy endpoints params

func (*GetHaproxyEndpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHaproxyEndpointsReader

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

GetHaproxyEndpointsReader is a Reader for the GetHaproxyEndpoints structure.

func (*GetHaproxyEndpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRuntimeEndpointsDefault

type GetRuntimeEndpointsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

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

General Error

func NewGetRuntimeEndpointsDefault

func NewGetRuntimeEndpointsDefault(code int) *GetRuntimeEndpointsDefault

NewGetRuntimeEndpointsDefault creates a GetRuntimeEndpointsDefault with default headers values

func (*GetRuntimeEndpointsDefault) Code

func (o *GetRuntimeEndpointsDefault) Code() int

Code gets the status code for the get runtime endpoints default response

func (*GetRuntimeEndpointsDefault) Error

func (*GetRuntimeEndpointsDefault) GetPayload

func (o *GetRuntimeEndpointsDefault) GetPayload() *models.Error

func (*GetRuntimeEndpointsDefault) IsClientError added in v1.1.0

func (o *GetRuntimeEndpointsDefault) IsClientError() bool

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

func (*GetRuntimeEndpointsDefault) IsCode added in v1.1.0

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

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

func (*GetRuntimeEndpointsDefault) IsRedirect added in v1.1.0

func (o *GetRuntimeEndpointsDefault) IsRedirect() bool

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

func (*GetRuntimeEndpointsDefault) IsServerError added in v1.1.0

func (o *GetRuntimeEndpointsDefault) IsServerError() bool

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

func (*GetRuntimeEndpointsDefault) IsSuccess added in v1.1.0

func (o *GetRuntimeEndpointsDefault) IsSuccess() bool

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

func (*GetRuntimeEndpointsDefault) String added in v1.1.0

func (o *GetRuntimeEndpointsDefault) String() string

type GetRuntimeEndpointsOK

type GetRuntimeEndpointsOK struct {
	Payload models.Endpoints
}

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

Success

func NewGetRuntimeEndpointsOK

func NewGetRuntimeEndpointsOK() *GetRuntimeEndpointsOK

NewGetRuntimeEndpointsOK creates a GetRuntimeEndpointsOK with default headers values

func (*GetRuntimeEndpointsOK) Error

func (o *GetRuntimeEndpointsOK) Error() string

func (*GetRuntimeEndpointsOK) GetPayload

func (o *GetRuntimeEndpointsOK) GetPayload() models.Endpoints

func (*GetRuntimeEndpointsOK) IsClientError added in v1.1.0

func (o *GetRuntimeEndpointsOK) IsClientError() bool

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

func (*GetRuntimeEndpointsOK) IsCode added in v1.1.0

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

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

func (*GetRuntimeEndpointsOK) IsRedirect added in v1.1.0

func (o *GetRuntimeEndpointsOK) IsRedirect() bool

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

func (*GetRuntimeEndpointsOK) IsServerError added in v1.1.0

func (o *GetRuntimeEndpointsOK) IsServerError() bool

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

func (*GetRuntimeEndpointsOK) IsSuccess added in v1.1.0

func (o *GetRuntimeEndpointsOK) IsSuccess() bool

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

func (*GetRuntimeEndpointsOK) String added in v1.1.0

func (o *GetRuntimeEndpointsOK) String() string

type GetRuntimeEndpointsParams

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

GetRuntimeEndpointsParams contains all the parameters to send to the API endpoint

for the get runtime endpoints operation.

Typically these are written to a http.Request.

func NewGetRuntimeEndpointsParams

func NewGetRuntimeEndpointsParams() *GetRuntimeEndpointsParams

NewGetRuntimeEndpointsParams creates a new GetRuntimeEndpointsParams 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 NewGetRuntimeEndpointsParamsWithContext

func NewGetRuntimeEndpointsParamsWithContext(ctx context.Context) *GetRuntimeEndpointsParams

NewGetRuntimeEndpointsParamsWithContext creates a new GetRuntimeEndpointsParams object with the ability to set a context for a request.

func NewGetRuntimeEndpointsParamsWithHTTPClient

func NewGetRuntimeEndpointsParamsWithHTTPClient(client *http.Client) *GetRuntimeEndpointsParams

NewGetRuntimeEndpointsParamsWithHTTPClient creates a new GetRuntimeEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetRuntimeEndpointsParamsWithTimeout

func NewGetRuntimeEndpointsParamsWithTimeout(timeout time.Duration) *GetRuntimeEndpointsParams

NewGetRuntimeEndpointsParamsWithTimeout creates a new GetRuntimeEndpointsParams object with the ability to set a timeout on a request.

func (*GetRuntimeEndpointsParams) SetContext

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

SetContext adds the context to the get runtime endpoints params

func (*GetRuntimeEndpointsParams) SetDefaults

func (o *GetRuntimeEndpointsParams) SetDefaults()

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

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

func (*GetRuntimeEndpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get runtime endpoints params

func (*GetRuntimeEndpointsParams) SetTimeout

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

SetTimeout adds the timeout to the get runtime endpoints params

func (*GetRuntimeEndpointsParams) WithContext

WithContext adds the context to the get runtime endpoints params

func (*GetRuntimeEndpointsParams) WithDefaults

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

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

func (*GetRuntimeEndpointsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get runtime endpoints params

func (*GetRuntimeEndpointsParams) WithTimeout

WithTimeout adds the timeout to the get runtime endpoints params

func (*GetRuntimeEndpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRuntimeEndpointsReader

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

GetRuntimeEndpointsReader is a Reader for the GetRuntimeEndpoints structure.

func (*GetRuntimeEndpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServicesEndpointsDefault

type GetServicesEndpointsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

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

General Error

func NewGetServicesEndpointsDefault

func NewGetServicesEndpointsDefault(code int) *GetServicesEndpointsDefault

NewGetServicesEndpointsDefault creates a GetServicesEndpointsDefault with default headers values

func (*GetServicesEndpointsDefault) Code

func (o *GetServicesEndpointsDefault) Code() int

Code gets the status code for the get services endpoints default response

func (*GetServicesEndpointsDefault) Error

func (*GetServicesEndpointsDefault) GetPayload

func (o *GetServicesEndpointsDefault) GetPayload() *models.Error

func (*GetServicesEndpointsDefault) IsClientError added in v1.1.0

func (o *GetServicesEndpointsDefault) IsClientError() bool

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

func (*GetServicesEndpointsDefault) IsCode added in v1.1.0

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

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

func (*GetServicesEndpointsDefault) IsRedirect added in v1.1.0

func (o *GetServicesEndpointsDefault) IsRedirect() bool

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

func (*GetServicesEndpointsDefault) IsServerError added in v1.1.0

func (o *GetServicesEndpointsDefault) IsServerError() bool

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

func (*GetServicesEndpointsDefault) IsSuccess added in v1.1.0

func (o *GetServicesEndpointsDefault) IsSuccess() bool

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

func (*GetServicesEndpointsDefault) String added in v1.1.0

func (o *GetServicesEndpointsDefault) String() string

type GetServicesEndpointsOK

type GetServicesEndpointsOK struct {
	Payload models.Endpoints
}

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

Success

func NewGetServicesEndpointsOK

func NewGetServicesEndpointsOK() *GetServicesEndpointsOK

NewGetServicesEndpointsOK creates a GetServicesEndpointsOK with default headers values

func (*GetServicesEndpointsOK) Error

func (o *GetServicesEndpointsOK) Error() string

func (*GetServicesEndpointsOK) GetPayload

func (o *GetServicesEndpointsOK) GetPayload() models.Endpoints

func (*GetServicesEndpointsOK) IsClientError added in v1.1.0

func (o *GetServicesEndpointsOK) IsClientError() bool

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

func (*GetServicesEndpointsOK) IsCode added in v1.1.0

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

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

func (*GetServicesEndpointsOK) IsRedirect added in v1.1.0

func (o *GetServicesEndpointsOK) IsRedirect() bool

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

func (*GetServicesEndpointsOK) IsServerError added in v1.1.0

func (o *GetServicesEndpointsOK) IsServerError() bool

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

func (*GetServicesEndpointsOK) IsSuccess added in v1.1.0

func (o *GetServicesEndpointsOK) IsSuccess() bool

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

func (*GetServicesEndpointsOK) String added in v1.1.0

func (o *GetServicesEndpointsOK) String() string

type GetServicesEndpointsParams

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

GetServicesEndpointsParams contains all the parameters to send to the API endpoint

for the get services endpoints operation.

Typically these are written to a http.Request.

func NewGetServicesEndpointsParams

func NewGetServicesEndpointsParams() *GetServicesEndpointsParams

NewGetServicesEndpointsParams creates a new GetServicesEndpointsParams 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 NewGetServicesEndpointsParamsWithContext

func NewGetServicesEndpointsParamsWithContext(ctx context.Context) *GetServicesEndpointsParams

NewGetServicesEndpointsParamsWithContext creates a new GetServicesEndpointsParams object with the ability to set a context for a request.

func NewGetServicesEndpointsParamsWithHTTPClient

func NewGetServicesEndpointsParamsWithHTTPClient(client *http.Client) *GetServicesEndpointsParams

NewGetServicesEndpointsParamsWithHTTPClient creates a new GetServicesEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetServicesEndpointsParamsWithTimeout

func NewGetServicesEndpointsParamsWithTimeout(timeout time.Duration) *GetServicesEndpointsParams

NewGetServicesEndpointsParamsWithTimeout creates a new GetServicesEndpointsParams object with the ability to set a timeout on a request.

func (*GetServicesEndpointsParams) SetContext

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

SetContext adds the context to the get services endpoints params

func (*GetServicesEndpointsParams) SetDefaults

func (o *GetServicesEndpointsParams) SetDefaults()

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

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

func (*GetServicesEndpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get services endpoints params

func (*GetServicesEndpointsParams) SetTimeout

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

SetTimeout adds the timeout to the get services endpoints params

func (*GetServicesEndpointsParams) WithContext

WithContext adds the context to the get services endpoints params

func (*GetServicesEndpointsParams) WithDefaults

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

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

func (*GetServicesEndpointsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get services endpoints params

func (*GetServicesEndpointsParams) WithTimeout

WithTimeout adds the timeout to the get services endpoints params

func (*GetServicesEndpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetServicesEndpointsReader

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

GetServicesEndpointsReader is a Reader for the GetServicesEndpoints structure.

func (*GetServicesEndpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSpoeEndpointsDefault added in v0.0.2

type GetSpoeEndpointsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

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

General Error

func NewGetSpoeEndpointsDefault added in v0.0.2

func NewGetSpoeEndpointsDefault(code int) *GetSpoeEndpointsDefault

NewGetSpoeEndpointsDefault creates a GetSpoeEndpointsDefault with default headers values

func (*GetSpoeEndpointsDefault) Code added in v0.0.2

func (o *GetSpoeEndpointsDefault) Code() int

Code gets the status code for the get spoe endpoints default response

func (*GetSpoeEndpointsDefault) Error added in v0.0.2

func (o *GetSpoeEndpointsDefault) Error() string

func (*GetSpoeEndpointsDefault) GetPayload added in v0.0.2

func (o *GetSpoeEndpointsDefault) GetPayload() *models.Error

func (*GetSpoeEndpointsDefault) IsClientError added in v1.1.0

func (o *GetSpoeEndpointsDefault) IsClientError() bool

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

func (*GetSpoeEndpointsDefault) IsCode added in v1.1.0

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

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

func (*GetSpoeEndpointsDefault) IsRedirect added in v1.1.0

func (o *GetSpoeEndpointsDefault) IsRedirect() bool

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

func (*GetSpoeEndpointsDefault) IsServerError added in v1.1.0

func (o *GetSpoeEndpointsDefault) IsServerError() bool

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

func (*GetSpoeEndpointsDefault) IsSuccess added in v1.1.0

func (o *GetSpoeEndpointsDefault) IsSuccess() bool

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

func (*GetSpoeEndpointsDefault) String added in v1.1.0

func (o *GetSpoeEndpointsDefault) String() string

type GetSpoeEndpointsOK added in v0.0.2

type GetSpoeEndpointsOK struct {
	Payload models.Endpoints
}

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

Success

func NewGetSpoeEndpointsOK added in v0.0.2

func NewGetSpoeEndpointsOK() *GetSpoeEndpointsOK

NewGetSpoeEndpointsOK creates a GetSpoeEndpointsOK with default headers values

func (*GetSpoeEndpointsOK) Error added in v0.0.2

func (o *GetSpoeEndpointsOK) Error() string

func (*GetSpoeEndpointsOK) GetPayload added in v0.0.2

func (o *GetSpoeEndpointsOK) GetPayload() models.Endpoints

func (*GetSpoeEndpointsOK) IsClientError added in v1.1.0

func (o *GetSpoeEndpointsOK) IsClientError() bool

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

func (*GetSpoeEndpointsOK) IsCode added in v1.1.0

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

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

func (*GetSpoeEndpointsOK) IsRedirect added in v1.1.0

func (o *GetSpoeEndpointsOK) IsRedirect() bool

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

func (*GetSpoeEndpointsOK) IsServerError added in v1.1.0

func (o *GetSpoeEndpointsOK) IsServerError() bool

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

func (*GetSpoeEndpointsOK) IsSuccess added in v1.1.0

func (o *GetSpoeEndpointsOK) IsSuccess() bool

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

func (*GetSpoeEndpointsOK) String added in v1.1.0

func (o *GetSpoeEndpointsOK) String() string

type GetSpoeEndpointsParams added in v0.0.2

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

GetSpoeEndpointsParams contains all the parameters to send to the API endpoint

for the get spoe endpoints operation.

Typically these are written to a http.Request.

func NewGetSpoeEndpointsParams added in v0.0.2

func NewGetSpoeEndpointsParams() *GetSpoeEndpointsParams

NewGetSpoeEndpointsParams creates a new GetSpoeEndpointsParams 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 NewGetSpoeEndpointsParamsWithContext added in v0.0.2

func NewGetSpoeEndpointsParamsWithContext(ctx context.Context) *GetSpoeEndpointsParams

NewGetSpoeEndpointsParamsWithContext creates a new GetSpoeEndpointsParams object with the ability to set a context for a request.

func NewGetSpoeEndpointsParamsWithHTTPClient added in v0.0.2

func NewGetSpoeEndpointsParamsWithHTTPClient(client *http.Client) *GetSpoeEndpointsParams

NewGetSpoeEndpointsParamsWithHTTPClient creates a new GetSpoeEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetSpoeEndpointsParamsWithTimeout added in v0.0.2

func NewGetSpoeEndpointsParamsWithTimeout(timeout time.Duration) *GetSpoeEndpointsParams

NewGetSpoeEndpointsParamsWithTimeout creates a new GetSpoeEndpointsParams object with the ability to set a timeout on a request.

func (*GetSpoeEndpointsParams) SetContext added in v0.0.2

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

SetContext adds the context to the get spoe endpoints params

func (*GetSpoeEndpointsParams) SetDefaults added in v0.0.2

func (o *GetSpoeEndpointsParams) SetDefaults()

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

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

func (*GetSpoeEndpointsParams) SetHTTPClient added in v0.0.2

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

SetHTTPClient adds the HTTPClient to the get spoe endpoints params

func (*GetSpoeEndpointsParams) SetTimeout added in v0.0.2

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

SetTimeout adds the timeout to the get spoe endpoints params

func (*GetSpoeEndpointsParams) WithContext added in v0.0.2

WithContext adds the context to the get spoe endpoints params

func (*GetSpoeEndpointsParams) WithDefaults added in v0.0.2

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

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

func (*GetSpoeEndpointsParams) WithHTTPClient added in v0.0.2

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

WithHTTPClient adds the HTTPClient to the get spoe endpoints params

func (*GetSpoeEndpointsParams) WithTimeout added in v0.0.2

WithTimeout adds the timeout to the get spoe endpoints params

func (*GetSpoeEndpointsParams) WriteToRequest added in v0.0.2

WriteToRequest writes these params to a swagger request

type GetSpoeEndpointsReader added in v0.0.2

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

GetSpoeEndpointsReader is a Reader for the GetSpoeEndpoints structure.

func (*GetSpoeEndpointsReader) ReadResponse added in v0.0.2

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

ReadResponse reads a server response into the received o.

type GetStatsEndpointsDefault

type GetStatsEndpointsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

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

General Error

func NewGetStatsEndpointsDefault

func NewGetStatsEndpointsDefault(code int) *GetStatsEndpointsDefault

NewGetStatsEndpointsDefault creates a GetStatsEndpointsDefault with default headers values

func (*GetStatsEndpointsDefault) Code

func (o *GetStatsEndpointsDefault) Code() int

Code gets the status code for the get stats endpoints default response

func (*GetStatsEndpointsDefault) Error

func (o *GetStatsEndpointsDefault) Error() string

func (*GetStatsEndpointsDefault) GetPayload

func (o *GetStatsEndpointsDefault) GetPayload() *models.Error

func (*GetStatsEndpointsDefault) IsClientError added in v1.1.0

func (o *GetStatsEndpointsDefault) IsClientError() bool

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

func (*GetStatsEndpointsDefault) IsCode added in v1.1.0

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

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

func (*GetStatsEndpointsDefault) IsRedirect added in v1.1.0

func (o *GetStatsEndpointsDefault) IsRedirect() bool

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

func (*GetStatsEndpointsDefault) IsServerError added in v1.1.0

func (o *GetStatsEndpointsDefault) IsServerError() bool

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

func (*GetStatsEndpointsDefault) IsSuccess added in v1.1.0

func (o *GetStatsEndpointsDefault) IsSuccess() bool

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

func (*GetStatsEndpointsDefault) String added in v1.1.0

func (o *GetStatsEndpointsDefault) String() string

type GetStatsEndpointsOK

type GetStatsEndpointsOK struct {
	Payload models.Endpoints
}

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

Success

func NewGetStatsEndpointsOK

func NewGetStatsEndpointsOK() *GetStatsEndpointsOK

NewGetStatsEndpointsOK creates a GetStatsEndpointsOK with default headers values

func (*GetStatsEndpointsOK) Error

func (o *GetStatsEndpointsOK) Error() string

func (*GetStatsEndpointsOK) GetPayload

func (o *GetStatsEndpointsOK) GetPayload() models.Endpoints

func (*GetStatsEndpointsOK) IsClientError added in v1.1.0

func (o *GetStatsEndpointsOK) IsClientError() bool

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

func (*GetStatsEndpointsOK) IsCode added in v1.1.0

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

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

func (*GetStatsEndpointsOK) IsRedirect added in v1.1.0

func (o *GetStatsEndpointsOK) IsRedirect() bool

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

func (*GetStatsEndpointsOK) IsServerError added in v1.1.0

func (o *GetStatsEndpointsOK) IsServerError() bool

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

func (*GetStatsEndpointsOK) IsSuccess added in v1.1.0

func (o *GetStatsEndpointsOK) IsSuccess() bool

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

func (*GetStatsEndpointsOK) String added in v1.1.0

func (o *GetStatsEndpointsOK) String() string

type GetStatsEndpointsParams

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

GetStatsEndpointsParams contains all the parameters to send to the API endpoint

for the get stats endpoints operation.

Typically these are written to a http.Request.

func NewGetStatsEndpointsParams

func NewGetStatsEndpointsParams() *GetStatsEndpointsParams

NewGetStatsEndpointsParams creates a new GetStatsEndpointsParams 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 NewGetStatsEndpointsParamsWithContext

func NewGetStatsEndpointsParamsWithContext(ctx context.Context) *GetStatsEndpointsParams

NewGetStatsEndpointsParamsWithContext creates a new GetStatsEndpointsParams object with the ability to set a context for a request.

func NewGetStatsEndpointsParamsWithHTTPClient

func NewGetStatsEndpointsParamsWithHTTPClient(client *http.Client) *GetStatsEndpointsParams

NewGetStatsEndpointsParamsWithHTTPClient creates a new GetStatsEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetStatsEndpointsParamsWithTimeout

func NewGetStatsEndpointsParamsWithTimeout(timeout time.Duration) *GetStatsEndpointsParams

NewGetStatsEndpointsParamsWithTimeout creates a new GetStatsEndpointsParams object with the ability to set a timeout on a request.

func (*GetStatsEndpointsParams) SetContext

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

SetContext adds the context to the get stats endpoints params

func (*GetStatsEndpointsParams) SetDefaults

func (o *GetStatsEndpointsParams) SetDefaults()

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

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

func (*GetStatsEndpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get stats endpoints params

func (*GetStatsEndpointsParams) SetTimeout

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

SetTimeout adds the timeout to the get stats endpoints params

func (*GetStatsEndpointsParams) WithContext

WithContext adds the context to the get stats endpoints params

func (*GetStatsEndpointsParams) WithDefaults

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

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

func (*GetStatsEndpointsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get stats endpoints params

func (*GetStatsEndpointsParams) WithTimeout

WithTimeout adds the timeout to the get stats endpoints params

func (*GetStatsEndpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetStatsEndpointsReader

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

GetStatsEndpointsReader is a Reader for the GetStatsEndpoints structure.

func (*GetStatsEndpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStorageEndpointsDefault added in v0.0.2

type GetStorageEndpointsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

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

General Error

func NewGetStorageEndpointsDefault added in v0.0.2

func NewGetStorageEndpointsDefault(code int) *GetStorageEndpointsDefault

NewGetStorageEndpointsDefault creates a GetStorageEndpointsDefault with default headers values

func (*GetStorageEndpointsDefault) Code added in v0.0.2

func (o *GetStorageEndpointsDefault) Code() int

Code gets the status code for the get storage endpoints default response

func (*GetStorageEndpointsDefault) Error added in v0.0.2

func (*GetStorageEndpointsDefault) GetPayload added in v0.0.2

func (o *GetStorageEndpointsDefault) GetPayload() *models.Error

func (*GetStorageEndpointsDefault) IsClientError added in v1.1.0

func (o *GetStorageEndpointsDefault) IsClientError() bool

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

func (*GetStorageEndpointsDefault) IsCode added in v1.1.0

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

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

func (*GetStorageEndpointsDefault) IsRedirect added in v1.1.0

func (o *GetStorageEndpointsDefault) IsRedirect() bool

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

func (*GetStorageEndpointsDefault) IsServerError added in v1.1.0

func (o *GetStorageEndpointsDefault) IsServerError() bool

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

func (*GetStorageEndpointsDefault) IsSuccess added in v1.1.0

func (o *GetStorageEndpointsDefault) IsSuccess() bool

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

func (*GetStorageEndpointsDefault) String added in v1.1.0

func (o *GetStorageEndpointsDefault) String() string

type GetStorageEndpointsOK added in v0.0.2

type GetStorageEndpointsOK struct {
	Payload models.Endpoints
}

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

Success

func NewGetStorageEndpointsOK added in v0.0.2

func NewGetStorageEndpointsOK() *GetStorageEndpointsOK

NewGetStorageEndpointsOK creates a GetStorageEndpointsOK with default headers values

func (*GetStorageEndpointsOK) Error added in v0.0.2

func (o *GetStorageEndpointsOK) Error() string

func (*GetStorageEndpointsOK) GetPayload added in v0.0.2

func (o *GetStorageEndpointsOK) GetPayload() models.Endpoints

func (*GetStorageEndpointsOK) IsClientError added in v1.1.0

func (o *GetStorageEndpointsOK) IsClientError() bool

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

func (*GetStorageEndpointsOK) IsCode added in v1.1.0

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

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

func (*GetStorageEndpointsOK) IsRedirect added in v1.1.0

func (o *GetStorageEndpointsOK) IsRedirect() bool

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

func (*GetStorageEndpointsOK) IsServerError added in v1.1.0

func (o *GetStorageEndpointsOK) IsServerError() bool

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

func (*GetStorageEndpointsOK) IsSuccess added in v1.1.0

func (o *GetStorageEndpointsOK) IsSuccess() bool

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

func (*GetStorageEndpointsOK) String added in v1.1.0

func (o *GetStorageEndpointsOK) String() string

type GetStorageEndpointsParams added in v0.0.2

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

GetStorageEndpointsParams contains all the parameters to send to the API endpoint

for the get storage endpoints operation.

Typically these are written to a http.Request.

func NewGetStorageEndpointsParams added in v0.0.2

func NewGetStorageEndpointsParams() *GetStorageEndpointsParams

NewGetStorageEndpointsParams creates a new GetStorageEndpointsParams 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 NewGetStorageEndpointsParamsWithContext added in v0.0.2

func NewGetStorageEndpointsParamsWithContext(ctx context.Context) *GetStorageEndpointsParams

NewGetStorageEndpointsParamsWithContext creates a new GetStorageEndpointsParams object with the ability to set a context for a request.

func NewGetStorageEndpointsParamsWithHTTPClient added in v0.0.2

func NewGetStorageEndpointsParamsWithHTTPClient(client *http.Client) *GetStorageEndpointsParams

NewGetStorageEndpointsParamsWithHTTPClient creates a new GetStorageEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetStorageEndpointsParamsWithTimeout added in v0.0.2

func NewGetStorageEndpointsParamsWithTimeout(timeout time.Duration) *GetStorageEndpointsParams

NewGetStorageEndpointsParamsWithTimeout creates a new GetStorageEndpointsParams object with the ability to set a timeout on a request.

func (*GetStorageEndpointsParams) SetContext added in v0.0.2

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

SetContext adds the context to the get storage endpoints params

func (*GetStorageEndpointsParams) SetDefaults added in v0.0.2

func (o *GetStorageEndpointsParams) SetDefaults()

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

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

func (*GetStorageEndpointsParams) SetHTTPClient added in v0.0.2

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

SetHTTPClient adds the HTTPClient to the get storage endpoints params

func (*GetStorageEndpointsParams) SetTimeout added in v0.0.2

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

SetTimeout adds the timeout to the get storage endpoints params

func (*GetStorageEndpointsParams) WithContext added in v0.0.2

WithContext adds the context to the get storage endpoints params

func (*GetStorageEndpointsParams) WithDefaults added in v0.0.2

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

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

func (*GetStorageEndpointsParams) WithHTTPClient added in v0.0.2

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

WithHTTPClient adds the HTTPClient to the get storage endpoints params

func (*GetStorageEndpointsParams) WithTimeout added in v0.0.2

WithTimeout adds the timeout to the get storage endpoints params

func (*GetStorageEndpointsParams) WriteToRequest added in v0.0.2

WriteToRequest writes these params to a swagger request

type GetStorageEndpointsReader added in v0.0.2

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

GetStorageEndpointsReader is a Reader for the GetStorageEndpoints structure.

func (*GetStorageEndpointsReader) ReadResponse added in v0.0.2

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