Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAPIEndpoints(params *GetAPIEndpointsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAPIEndpointsOK, error)
- func (a *Client) GetCluster(params *GetClusterParams, authInfo runtime.ClientAuthInfoWriter) (*GetClusterOK, error)
- func (a *Client) GetConfigurationEndpoints(params *GetConfigurationEndpointsParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigurationEndpointsOK, error)
- func (a *Client) GetHaproxyEndpoints(params *GetHaproxyEndpointsParams, authInfo runtime.ClientAuthInfoWriter) (*GetHaproxyEndpointsOK, error)
- func (a *Client) GetRuntimeEndpoints(params *GetRuntimeEndpointsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRuntimeEndpointsOK, error)
- func (a *Client) GetServicesEndpoints(params *GetServicesEndpointsParams, authInfo runtime.ClientAuthInfoWriter) (*GetServicesEndpointsOK, error)
- func (a *Client) GetStatsEndpoints(params *GetStatsEndpointsParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatsEndpointsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetAPIEndpointsDefault
- type GetAPIEndpointsOK
- type GetAPIEndpointsParams
- func NewGetAPIEndpointsParams() *GetAPIEndpointsParams
- func NewGetAPIEndpointsParamsWithContext(ctx context.Context) *GetAPIEndpointsParams
- func NewGetAPIEndpointsParamsWithHTTPClient(client *http.Client) *GetAPIEndpointsParams
- func NewGetAPIEndpointsParamsWithTimeout(timeout time.Duration) *GetAPIEndpointsParams
- func (o *GetAPIEndpointsParams) SetContext(ctx context.Context)
- func (o *GetAPIEndpointsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIEndpointsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIEndpointsParams) WithContext(ctx context.Context) *GetAPIEndpointsParams
- func (o *GetAPIEndpointsParams) WithHTTPClient(client *http.Client) *GetAPIEndpointsParams
- func (o *GetAPIEndpointsParams) WithTimeout(timeout time.Duration) *GetAPIEndpointsParams
- func (o *GetAPIEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIEndpointsReader
- type GetClusterDefault
- type GetClusterOK
- type GetClusterParams
- func (o *GetClusterParams) SetContext(ctx context.Context)
- func (o *GetClusterParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterParams) WithContext(ctx context.Context) *GetClusterParams
- func (o *GetClusterParams) WithHTTPClient(client *http.Client) *GetClusterParams
- func (o *GetClusterParams) WithTimeout(timeout time.Duration) *GetClusterParams
- func (o *GetClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterReader
- type GetConfigurationEndpointsDefault
- type GetConfigurationEndpointsOK
- type GetConfigurationEndpointsParams
- func NewGetConfigurationEndpointsParams() *GetConfigurationEndpointsParams
- func NewGetConfigurationEndpointsParamsWithContext(ctx context.Context) *GetConfigurationEndpointsParams
- func NewGetConfigurationEndpointsParamsWithHTTPClient(client *http.Client) *GetConfigurationEndpointsParams
- func NewGetConfigurationEndpointsParamsWithTimeout(timeout time.Duration) *GetConfigurationEndpointsParams
- func (o *GetConfigurationEndpointsParams) SetContext(ctx context.Context)
- func (o *GetConfigurationEndpointsParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigurationEndpointsParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigurationEndpointsParams) WithContext(ctx context.Context) *GetConfigurationEndpointsParams
- func (o *GetConfigurationEndpointsParams) WithHTTPClient(client *http.Client) *GetConfigurationEndpointsParams
- func (o *GetConfigurationEndpointsParams) WithTimeout(timeout time.Duration) *GetConfigurationEndpointsParams
- func (o *GetConfigurationEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigurationEndpointsReader
- type GetHaproxyEndpointsDefault
- type GetHaproxyEndpointsOK
- type GetHaproxyEndpointsParams
- func NewGetHaproxyEndpointsParams() *GetHaproxyEndpointsParams
- func NewGetHaproxyEndpointsParamsWithContext(ctx context.Context) *GetHaproxyEndpointsParams
- func NewGetHaproxyEndpointsParamsWithHTTPClient(client *http.Client) *GetHaproxyEndpointsParams
- func NewGetHaproxyEndpointsParamsWithTimeout(timeout time.Duration) *GetHaproxyEndpointsParams
- func (o *GetHaproxyEndpointsParams) SetContext(ctx context.Context)
- func (o *GetHaproxyEndpointsParams) SetHTTPClient(client *http.Client)
- func (o *GetHaproxyEndpointsParams) SetTimeout(timeout time.Duration)
- func (o *GetHaproxyEndpointsParams) WithContext(ctx context.Context) *GetHaproxyEndpointsParams
- func (o *GetHaproxyEndpointsParams) WithHTTPClient(client *http.Client) *GetHaproxyEndpointsParams
- func (o *GetHaproxyEndpointsParams) WithTimeout(timeout time.Duration) *GetHaproxyEndpointsParams
- func (o *GetHaproxyEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHaproxyEndpointsReader
- type GetRuntimeEndpointsDefault
- type GetRuntimeEndpointsOK
- type GetRuntimeEndpointsParams
- func NewGetRuntimeEndpointsParams() *GetRuntimeEndpointsParams
- func NewGetRuntimeEndpointsParamsWithContext(ctx context.Context) *GetRuntimeEndpointsParams
- func NewGetRuntimeEndpointsParamsWithHTTPClient(client *http.Client) *GetRuntimeEndpointsParams
- func NewGetRuntimeEndpointsParamsWithTimeout(timeout time.Duration) *GetRuntimeEndpointsParams
- func (o *GetRuntimeEndpointsParams) SetContext(ctx context.Context)
- func (o *GetRuntimeEndpointsParams) SetHTTPClient(client *http.Client)
- func (o *GetRuntimeEndpointsParams) SetTimeout(timeout time.Duration)
- func (o *GetRuntimeEndpointsParams) WithContext(ctx context.Context) *GetRuntimeEndpointsParams
- func (o *GetRuntimeEndpointsParams) WithHTTPClient(client *http.Client) *GetRuntimeEndpointsParams
- func (o *GetRuntimeEndpointsParams) WithTimeout(timeout time.Duration) *GetRuntimeEndpointsParams
- func (o *GetRuntimeEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRuntimeEndpointsReader
- type GetServicesEndpointsDefault
- type GetServicesEndpointsOK
- type GetServicesEndpointsParams
- func NewGetServicesEndpointsParams() *GetServicesEndpointsParams
- func NewGetServicesEndpointsParamsWithContext(ctx context.Context) *GetServicesEndpointsParams
- func NewGetServicesEndpointsParamsWithHTTPClient(client *http.Client) *GetServicesEndpointsParams
- func NewGetServicesEndpointsParamsWithTimeout(timeout time.Duration) *GetServicesEndpointsParams
- func (o *GetServicesEndpointsParams) SetContext(ctx context.Context)
- func (o *GetServicesEndpointsParams) SetHTTPClient(client *http.Client)
- func (o *GetServicesEndpointsParams) SetTimeout(timeout time.Duration)
- func (o *GetServicesEndpointsParams) WithContext(ctx context.Context) *GetServicesEndpointsParams
- func (o *GetServicesEndpointsParams) WithHTTPClient(client *http.Client) *GetServicesEndpointsParams
- func (o *GetServicesEndpointsParams) WithTimeout(timeout time.Duration) *GetServicesEndpointsParams
- func (o *GetServicesEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServicesEndpointsReader
- type GetStatsEndpointsDefault
- type GetStatsEndpointsOK
- type GetStatsEndpointsParams
- func NewGetStatsEndpointsParams() *GetStatsEndpointsParams
- func NewGetStatsEndpointsParamsWithContext(ctx context.Context) *GetStatsEndpointsParams
- func NewGetStatsEndpointsParamsWithHTTPClient(client *http.Client) *GetStatsEndpointsParams
- func NewGetStatsEndpointsParamsWithTimeout(timeout time.Duration) *GetStatsEndpointsParams
- func (o *GetStatsEndpointsParams) SetContext(ctx context.Context)
- func (o *GetStatsEndpointsParams) SetHTTPClient(client *http.Client)
- func (o *GetStatsEndpointsParams) SetTimeout(timeout time.Duration)
- func (o *GetStatsEndpointsParams) WithContext(ctx context.Context) *GetStatsEndpointsParams
- func (o *GetStatsEndpointsParams) WithHTTPClient(client *http.Client) *GetStatsEndpointsParams
- func (o *GetStatsEndpointsParams) WithTimeout(timeout time.Duration) *GetStatsEndpointsParams
- func (o *GetStatsEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStatsEndpointsReader
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 ¶
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 ¶
func (o *GetAPIEndpointsParams) WithContext(ctx context.Context) *GetAPIEndpointsParams
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 ¶
func (o *GetConfigurationEndpointsDefault) Code() int
Code gets the status code for the get configuration endpoints default response
func (*GetConfigurationEndpointsDefault) Error ¶
func (o *GetConfigurationEndpointsDefault) Error() string
func (*GetConfigurationEndpointsDefault) GetPayload ¶ added in v0.2.0
func (o *GetConfigurationEndpointsDefault) GetPayload() *models.Error
type GetConfigurationEndpointsOK ¶
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 (o *GetConfigurationEndpointsOK) Error() string
func (*GetConfigurationEndpointsOK) GetPayload ¶ added in v0.2.0
func (o *GetConfigurationEndpointsOK) GetPayload() models.Endpoints
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 ¶
func (o *GetConfigurationEndpointsParams) WithContext(ctx context.Context) *GetConfigurationEndpointsParams
WithContext adds the context to the get configuration endpoints params
func (*GetConfigurationEndpointsParams) WithHTTPClient ¶
func (o *GetConfigurationEndpointsParams) WithHTTPClient(client *http.Client) *GetConfigurationEndpointsParams
WithHTTPClient adds the HTTPClient to the get configuration endpoints params
func (*GetConfigurationEndpointsParams) WithTimeout ¶
func (o *GetConfigurationEndpointsParams) WithTimeout(timeout time.Duration) *GetConfigurationEndpointsParams
WithTimeout adds the timeout to the get configuration endpoints params
func (*GetConfigurationEndpointsParams) WriteToRequest ¶
func (o *GetConfigurationEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetHaproxyEndpointsDefault) Error() string
func (*GetHaproxyEndpointsDefault) GetPayload ¶ added in v0.2.0
func (o *GetHaproxyEndpointsDefault) GetPayload() *models.Error
type GetHaproxyEndpointsOK ¶
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 ¶
func (o *GetHaproxyEndpointsParams) WithContext(ctx context.Context) *GetHaproxyEndpointsParams
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 ¶
func (o *GetHaproxyEndpointsParams) WithTimeout(timeout time.Duration) *GetHaproxyEndpointsParams
WithTimeout adds the timeout to the get haproxy endpoints params
func (*GetHaproxyEndpointsParams) WriteToRequest ¶
func (o *GetHaproxyEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetRuntimeEndpointsDefault) Error() string
func (*GetRuntimeEndpointsDefault) GetPayload ¶ added in v0.2.0
func (o *GetRuntimeEndpointsDefault) GetPayload() *models.Error
type GetRuntimeEndpointsOK ¶
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 ¶
func (o *GetRuntimeEndpointsParams) WithContext(ctx context.Context) *GetRuntimeEndpointsParams
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 ¶
func (o *GetRuntimeEndpointsParams) WithTimeout(timeout time.Duration) *GetRuntimeEndpointsParams
WithTimeout adds the timeout to the get runtime endpoints params
func (*GetRuntimeEndpointsParams) WriteToRequest ¶
func (o *GetRuntimeEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetServicesEndpointsDefault) Error() string
func (*GetServicesEndpointsDefault) GetPayload ¶ added in v0.2.0
func (o *GetServicesEndpointsDefault) GetPayload() *models.Error
type GetServicesEndpointsOK ¶
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 ¶
func (o *GetServicesEndpointsParams) WithContext(ctx context.Context) *GetServicesEndpointsParams
WithContext adds the context to the get services endpoints params
func (*GetServicesEndpointsParams) WithHTTPClient ¶
func (o *GetServicesEndpointsParams) WithHTTPClient(client *http.Client) *GetServicesEndpointsParams
WithHTTPClient adds the HTTPClient to the get services endpoints params
func (*GetServicesEndpointsParams) WithTimeout ¶
func (o *GetServicesEndpointsParams) WithTimeout(timeout time.Duration) *GetServicesEndpointsParams
WithTimeout adds the timeout to the get services endpoints params
func (*GetServicesEndpointsParams) WriteToRequest ¶
func (o *GetServicesEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetStatsEndpointsParams) WithContext(ctx context.Context) *GetStatsEndpointsParams
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 ¶
func (o *GetStatsEndpointsParams) WithTimeout(timeout time.Duration) *GetStatsEndpointsParams
WithTimeout adds the timeout to the get stats endpoints params
func (*GetStatsEndpointsParams) WriteToRequest ¶
func (o *GetStatsEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- discovery_client.go
- get_api_endpoints_parameters.go
- get_api_endpoints_responses.go
- get_cluster_parameters.go
- get_cluster_responses.go
- get_configuration_endpoints_parameters.go
- get_configuration_endpoints_responses.go
- get_haproxy_endpoints_parameters.go
- get_haproxy_endpoints_responses.go
- get_runtime_endpoints_parameters.go
- get_runtime_endpoints_responses.go
- get_services_endpoints_parameters.go
- get_services_endpoints_responses.go
- get_stats_endpoints_parameters.go
- get_stats_endpoints_responses.go