discovery

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 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 discovery API

func (*Client) GetAPIEndpoints

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

GetAPIEndpoints returns list of root endpoints

Returns a list of root endpoints.

func (*Client) GetCluster

func (a *Client) GetCluster(params *GetClusterParams, authInfo runtime.ClientAuthInfoWriter) (*GetClusterOK, error)

GetCluster returns cluster data

Returns cluster data

func (*Client) GetConfigurationEndpoints

func (a *Client) GetConfigurationEndpoints(params *GetConfigurationEndpointsParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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) (*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) (*GetServicesEndpointsOK, error)

GetServicesEndpoints returns list of service endpoints

Returns a list of API managed services endpoints.

func (*Client) GetStatsEndpoints

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

GetStatsEndpoints returns list of h a proxy stats endpoints

Returns a list of HAProxy stats endpoints.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService added in v0.2.0

type ClientService interface {
	GetAPIEndpoints(params *GetAPIEndpointsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAPIEndpointsOK, error)

	GetCluster(params *GetClusterParams, authInfo runtime.ClientAuthInfoWriter) (*GetClusterOK, error)

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

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

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

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

	GetStatsEndpoints(params *GetStatsEndpointsParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatsEndpointsOK, 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 int64

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

GetAPIEndpointsDefault handles this case 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 added in v0.2.0

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

type GetAPIEndpointsOK

type GetAPIEndpointsOK struct {
	Payload models.Endpoints
}

GetAPIEndpointsOK handles this case 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 added in v0.2.0

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

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 values initialized.

func NewGetAPIEndpointsParamsWithContext

func NewGetAPIEndpointsParamsWithContext(ctx context.Context) *GetAPIEndpointsParams

NewGetAPIEndpointsParamsWithContext creates a new GetAPIEndpointsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetClusterDefault

type GetClusterDefault struct {

	/*Configuration file version
	 */
	ConfigurationVersion int64

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

GetClusterDefault handles this case with default header values.

General Error

func NewGetClusterDefault

func NewGetClusterDefault(code int) *GetClusterDefault

NewGetClusterDefault creates a GetClusterDefault with default headers values

func (*GetClusterDefault) Code

func (o *GetClusterDefault) Code() int

Code gets the status code for the get cluster default response

func (*GetClusterDefault) Error

func (o *GetClusterDefault) Error() string

func (*GetClusterDefault) GetPayload added in v0.2.0

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

type GetClusterOK

type GetClusterOK struct {
	Payload *models.ClusterSettings
}

GetClusterOK handles this case with default header values.

Success

func NewGetClusterOK

func NewGetClusterOK() *GetClusterOK

NewGetClusterOK creates a GetClusterOK with default headers values

func (*GetClusterOK) Error

func (o *GetClusterOK) Error() string

func (*GetClusterOK) GetPayload added in v0.2.0

func (o *GetClusterOK) GetPayload() *models.ClusterSettings

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 values initialized.

func NewGetClusterParamsWithContext

func NewGetClusterParamsWithContext(ctx context.Context) *GetClusterParams

NewGetClusterParamsWithContext creates a new GetClusterParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetClusterReader

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

GetClusterReader is a Reader for the GetCluster structure.

func (*GetClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetConfigurationEndpointsDefault

type GetConfigurationEndpointsDefault struct {

	/*Configuration file version
	 */
	ConfigurationVersion int64

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

GetConfigurationEndpointsDefault handles this case 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 added in v0.2.0

type GetConfigurationEndpointsOK

type GetConfigurationEndpointsOK struct {
	Payload models.Endpoints
}

GetConfigurationEndpointsOK handles this case with default header values.

Success

func NewGetConfigurationEndpointsOK

func NewGetConfigurationEndpointsOK() *GetConfigurationEndpointsOK

NewGetConfigurationEndpointsOK creates a GetConfigurationEndpointsOK with default headers values

func (*GetConfigurationEndpointsOK) Error

func (*GetConfigurationEndpointsOK) GetPayload added in v0.2.0

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 values initialized.

func NewGetConfigurationEndpointsParamsWithContext

func NewGetConfigurationEndpointsParamsWithContext(ctx context.Context) *GetConfigurationEndpointsParams

NewGetConfigurationEndpointsParamsWithContext creates a new GetConfigurationEndpointsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 int64

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

GetHaproxyEndpointsDefault handles this case 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 added in v0.2.0

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

type GetHaproxyEndpointsOK

type GetHaproxyEndpointsOK struct {
	Payload models.Endpoints
}

GetHaproxyEndpointsOK handles this case 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 added in v0.2.0

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

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 values initialized.

func NewGetHaproxyEndpointsParamsWithContext

func NewGetHaproxyEndpointsParamsWithContext(ctx context.Context) *GetHaproxyEndpointsParams

NewGetHaproxyEndpointsParamsWithContext creates a new GetHaproxyEndpointsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 int64

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

GetRuntimeEndpointsDefault handles this case 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 added in v0.2.0

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

type GetRuntimeEndpointsOK

type GetRuntimeEndpointsOK struct {
	Payload models.Endpoints
}

GetRuntimeEndpointsOK handles this case 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 added in v0.2.0

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

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 values initialized.

func NewGetRuntimeEndpointsParamsWithContext

func NewGetRuntimeEndpointsParamsWithContext(ctx context.Context) *GetRuntimeEndpointsParams

NewGetRuntimeEndpointsParamsWithContext creates a new GetRuntimeEndpointsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 int64

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

GetServicesEndpointsDefault handles this case 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 added in v0.2.0

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

type GetServicesEndpointsOK

type GetServicesEndpointsOK struct {
	Payload models.Endpoints
}

GetServicesEndpointsOK handles this case 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 added in v0.2.0

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

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 values initialized.

func NewGetServicesEndpointsParamsWithContext

func NewGetServicesEndpointsParamsWithContext(ctx context.Context) *GetServicesEndpointsParams

NewGetServicesEndpointsParamsWithContext creates a new GetServicesEndpointsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetStatsEndpointsDefault

type GetStatsEndpointsDefault struct {

	/*Configuration file version
	 */
	ConfigurationVersion int64

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

GetStatsEndpointsDefault handles this case 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 added in v0.2.0

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

type GetStatsEndpointsOK

type GetStatsEndpointsOK struct {
	Payload models.Endpoints
}

GetStatsEndpointsOK handles this case 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 added in v0.2.0

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

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 values initialized.

func NewGetStatsEndpointsParamsWithContext

func NewGetStatsEndpointsParamsWithContext(ctx context.Context) *GetStatsEndpointsParams

NewGetStatsEndpointsParamsWithContext creates a new GetStatsEndpointsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL