Documentation ¶
Index ¶
- Constants
- type GetAPIEndpoints
- type GetAPIEndpointsDefault
- func (o *GetAPIEndpointsDefault) SetConfigurationVersion(configurationVersion int64)
- func (o *GetAPIEndpointsDefault) SetPayload(payload *models.Error)
- func (o *GetAPIEndpointsDefault) SetStatusCode(code int)
- func (o *GetAPIEndpointsDefault) WithConfigurationVersion(configurationVersion int64) *GetAPIEndpointsDefault
- func (o *GetAPIEndpointsDefault) WithPayload(payload *models.Error) *GetAPIEndpointsDefault
- func (o *GetAPIEndpointsDefault) WithStatusCode(code int) *GetAPIEndpointsDefault
- func (o *GetAPIEndpointsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAPIEndpointsHandler
- type GetAPIEndpointsHandlerFunc
- type GetAPIEndpointsOK
- type GetAPIEndpointsParams
- type GetAPIEndpointsURL
- func (o *GetAPIEndpointsURL) Build() (*url.URL, error)
- func (o *GetAPIEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAPIEndpointsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAPIEndpointsURL) SetBasePath(bp string)
- func (o *GetAPIEndpointsURL) String() string
- func (o *GetAPIEndpointsURL) StringFull(scheme, host string) string
- func (o *GetAPIEndpointsURL) WithBasePath(bp string) *GetAPIEndpointsURL
- type GetConfigurationEndpoints
- type GetConfigurationEndpointsDefault
- func (o *GetConfigurationEndpointsDefault) SetConfigurationVersion(configurationVersion int64)
- func (o *GetConfigurationEndpointsDefault) SetPayload(payload *models.Error)
- func (o *GetConfigurationEndpointsDefault) SetStatusCode(code int)
- func (o *GetConfigurationEndpointsDefault) WithConfigurationVersion(configurationVersion int64) *GetConfigurationEndpointsDefault
- func (o *GetConfigurationEndpointsDefault) WithPayload(payload *models.Error) *GetConfigurationEndpointsDefault
- func (o *GetConfigurationEndpointsDefault) WithStatusCode(code int) *GetConfigurationEndpointsDefault
- func (o *GetConfigurationEndpointsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetConfigurationEndpointsHandler
- type GetConfigurationEndpointsHandlerFunc
- type GetConfigurationEndpointsOK
- type GetConfigurationEndpointsParams
- type GetConfigurationEndpointsURL
- func (o *GetConfigurationEndpointsURL) Build() (*url.URL, error)
- func (o *GetConfigurationEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetConfigurationEndpointsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetConfigurationEndpointsURL) SetBasePath(bp string)
- func (o *GetConfigurationEndpointsURL) String() string
- func (o *GetConfigurationEndpointsURL) StringFull(scheme, host string) string
- func (o *GetConfigurationEndpointsURL) WithBasePath(bp string) *GetConfigurationEndpointsURL
- type GetHaproxyEndpoints
- type GetHaproxyEndpointsDefault
- func (o *GetHaproxyEndpointsDefault) SetConfigurationVersion(configurationVersion int64)
- func (o *GetHaproxyEndpointsDefault) SetPayload(payload *models.Error)
- func (o *GetHaproxyEndpointsDefault) SetStatusCode(code int)
- func (o *GetHaproxyEndpointsDefault) WithConfigurationVersion(configurationVersion int64) *GetHaproxyEndpointsDefault
- func (o *GetHaproxyEndpointsDefault) WithPayload(payload *models.Error) *GetHaproxyEndpointsDefault
- func (o *GetHaproxyEndpointsDefault) WithStatusCode(code int) *GetHaproxyEndpointsDefault
- func (o *GetHaproxyEndpointsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetHaproxyEndpointsHandler
- type GetHaproxyEndpointsHandlerFunc
- type GetHaproxyEndpointsOK
- type GetHaproxyEndpointsParams
- type GetHaproxyEndpointsURL
- func (o *GetHaproxyEndpointsURL) Build() (*url.URL, error)
- func (o *GetHaproxyEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetHaproxyEndpointsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetHaproxyEndpointsURL) SetBasePath(bp string)
- func (o *GetHaproxyEndpointsURL) String() string
- func (o *GetHaproxyEndpointsURL) StringFull(scheme, host string) string
- func (o *GetHaproxyEndpointsURL) WithBasePath(bp string) *GetHaproxyEndpointsURL
- type GetServicesEndpoints
- type GetServicesEndpointsDefault
- func (o *GetServicesEndpointsDefault) SetConfigurationVersion(configurationVersion int64)
- func (o *GetServicesEndpointsDefault) SetPayload(payload *models.Error)
- func (o *GetServicesEndpointsDefault) SetStatusCode(code int)
- func (o *GetServicesEndpointsDefault) WithConfigurationVersion(configurationVersion int64) *GetServicesEndpointsDefault
- func (o *GetServicesEndpointsDefault) WithPayload(payload *models.Error) *GetServicesEndpointsDefault
- func (o *GetServicesEndpointsDefault) WithStatusCode(code int) *GetServicesEndpointsDefault
- func (o *GetServicesEndpointsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServicesEndpointsHandler
- type GetServicesEndpointsHandlerFunc
- type GetServicesEndpointsOK
- type GetServicesEndpointsParams
- type GetServicesEndpointsURL
- func (o *GetServicesEndpointsURL) Build() (*url.URL, error)
- func (o *GetServicesEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServicesEndpointsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServicesEndpointsURL) SetBasePath(bp string)
- func (o *GetServicesEndpointsURL) String() string
- func (o *GetServicesEndpointsURL) StringFull(scheme, host string) string
- func (o *GetServicesEndpointsURL) WithBasePath(bp string) *GetServicesEndpointsURL
- type GetStatsEndpoints
- type GetStatsEndpointsDefault
- func (o *GetStatsEndpointsDefault) SetConfigurationVersion(configurationVersion int64)
- func (o *GetStatsEndpointsDefault) SetPayload(payload *models.Error)
- func (o *GetStatsEndpointsDefault) SetStatusCode(code int)
- func (o *GetStatsEndpointsDefault) WithConfigurationVersion(configurationVersion int64) *GetStatsEndpointsDefault
- func (o *GetStatsEndpointsDefault) WithPayload(payload *models.Error) *GetStatsEndpointsDefault
- func (o *GetStatsEndpointsDefault) WithStatusCode(code int) *GetStatsEndpointsDefault
- func (o *GetStatsEndpointsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetStatsEndpointsHandler
- type GetStatsEndpointsHandlerFunc
- type GetStatsEndpointsOK
- type GetStatsEndpointsParams
- type GetStatsEndpointsURL
- func (o *GetStatsEndpointsURL) Build() (*url.URL, error)
- func (o *GetStatsEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetStatsEndpointsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetStatsEndpointsURL) SetBasePath(bp string)
- func (o *GetStatsEndpointsURL) String() string
- func (o *GetStatsEndpointsURL) StringFull(scheme, host string) string
- func (o *GetStatsEndpointsURL) WithBasePath(bp string) *GetStatsEndpointsURL
Constants ¶
const GetAPIEndpointsOKCode int = 200
GetAPIEndpointsOKCode is the HTTP code returned for type GetAPIEndpointsOK
const GetConfigurationEndpointsOKCode int = 200
GetConfigurationEndpointsOKCode is the HTTP code returned for type GetConfigurationEndpointsOK
const GetHaproxyEndpointsOKCode int = 200
GetHaproxyEndpointsOKCode is the HTTP code returned for type GetHaproxyEndpointsOK
const GetServicesEndpointsOKCode int = 200
GetServicesEndpointsOKCode is the HTTP code returned for type GetServicesEndpointsOK
const GetStatsEndpointsOKCode int = 200
GetStatsEndpointsOKCode is the HTTP code returned for type GetStatsEndpointsOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetAPIEndpoints ¶
type GetAPIEndpoints struct { Context *middleware.Context Handler GetAPIEndpointsHandler }
GetAPIEndpoints swagger:route GET / Discovery getApiEndpoints
Return list of root endpoints ¶
Returns a list of root endpoints.
func NewGetAPIEndpoints ¶
func NewGetAPIEndpoints(ctx *middleware.Context, handler GetAPIEndpointsHandler) *GetAPIEndpoints
NewGetAPIEndpoints creates a new http.Handler for the get API endpoints operation
func (*GetAPIEndpoints) ServeHTTP ¶
func (o *GetAPIEndpoints) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAPIEndpointsDefault ¶
type GetAPIEndpointsDefault struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetAPIEndpointsDefault General Error
swagger:response getApiEndpointsDefault
func NewGetAPIEndpointsDefault ¶
func NewGetAPIEndpointsDefault(code int) *GetAPIEndpointsDefault
NewGetAPIEndpointsDefault creates GetAPIEndpointsDefault with default headers values
func (*GetAPIEndpointsDefault) SetConfigurationVersion ¶ added in v1.2.2
func (o *GetAPIEndpointsDefault) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the get API endpoints default response
func (*GetAPIEndpointsDefault) SetPayload ¶
func (o *GetAPIEndpointsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get API endpoints default response
func (*GetAPIEndpointsDefault) SetStatusCode ¶
func (o *GetAPIEndpointsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get API endpoints default response
func (*GetAPIEndpointsDefault) WithConfigurationVersion ¶ added in v1.2.2
func (o *GetAPIEndpointsDefault) WithConfigurationVersion(configurationVersion int64) *GetAPIEndpointsDefault
WithConfigurationVersion adds the configurationVersion to the get API endpoints default response
func (*GetAPIEndpointsDefault) WithPayload ¶
func (o *GetAPIEndpointsDefault) WithPayload(payload *models.Error) *GetAPIEndpointsDefault
WithPayload adds the payload to the get API endpoints default response
func (*GetAPIEndpointsDefault) WithStatusCode ¶
func (o *GetAPIEndpointsDefault) WithStatusCode(code int) *GetAPIEndpointsDefault
WithStatusCode adds the status to the get API endpoints default response
func (*GetAPIEndpointsDefault) WriteResponse ¶
func (o *GetAPIEndpointsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAPIEndpointsHandler ¶
type GetAPIEndpointsHandler interface {
Handle(GetAPIEndpointsParams, interface{}) middleware.Responder
}
GetAPIEndpointsHandler interface for that can handle valid get API endpoints params
type GetAPIEndpointsHandlerFunc ¶
type GetAPIEndpointsHandlerFunc func(GetAPIEndpointsParams, interface{}) middleware.Responder
GetAPIEndpointsHandlerFunc turns a function with the right signature into a get API endpoints handler
func (GetAPIEndpointsHandlerFunc) Handle ¶
func (fn GetAPIEndpointsHandlerFunc) Handle(params GetAPIEndpointsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetAPIEndpointsOK ¶
GetAPIEndpointsOK Success
swagger:response getApiEndpointsOK
func NewGetAPIEndpointsOK ¶
func NewGetAPIEndpointsOK() *GetAPIEndpointsOK
NewGetAPIEndpointsOK creates GetAPIEndpointsOK with default headers values
func (*GetAPIEndpointsOK) SetPayload ¶
func (o *GetAPIEndpointsOK) SetPayload(payload models.Endpoints)
SetPayload sets the payload to the get Api endpoints o k response
func (*GetAPIEndpointsOK) WithPayload ¶
func (o *GetAPIEndpointsOK) WithPayload(payload models.Endpoints) *GetAPIEndpointsOK
WithPayload adds the payload to the get Api endpoints o k response
func (*GetAPIEndpointsOK) WriteResponse ¶
func (o *GetAPIEndpointsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAPIEndpointsParams ¶
GetAPIEndpointsParams contains all the bound params for the get API endpoints operation typically these are obtained from a http.Request
swagger:parameters getAPIEndpoints
func NewGetAPIEndpointsParams ¶
func NewGetAPIEndpointsParams() GetAPIEndpointsParams
NewGetAPIEndpointsParams creates a new GetAPIEndpointsParams object no default values defined in spec.
func (*GetAPIEndpointsParams) BindRequest ¶
func (o *GetAPIEndpointsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetAPIEndpointsParams() beforehand.
type GetAPIEndpointsURL ¶
type GetAPIEndpointsURL struct {
// contains filtered or unexported fields
}
GetAPIEndpointsURL generates an URL for the get API endpoints operation
func (*GetAPIEndpointsURL) Build ¶
func (o *GetAPIEndpointsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAPIEndpointsURL) BuildFull ¶
func (o *GetAPIEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAPIEndpointsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAPIEndpointsURL) SetBasePath ¶
func (o *GetAPIEndpointsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetAPIEndpointsURL) String ¶
func (o *GetAPIEndpointsURL) String() string
String returns the string representation of the path with query string
func (*GetAPIEndpointsURL) StringFull ¶
func (o *GetAPIEndpointsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAPIEndpointsURL) WithBasePath ¶
func (o *GetAPIEndpointsURL) WithBasePath(bp string) *GetAPIEndpointsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetConfigurationEndpoints ¶
type GetConfigurationEndpoints struct { Context *middleware.Context Handler GetConfigurationEndpointsHandler }
GetConfigurationEndpoints swagger:route GET /services/haproxy/configuration Discovery getConfigurationEndpoints
Return list of HAProxy advanced configuration endpoints ¶
Returns a list of endpoints to be used for advanced configuration of HAProxy objects.
func NewGetConfigurationEndpoints ¶
func NewGetConfigurationEndpoints(ctx *middleware.Context, handler GetConfigurationEndpointsHandler) *GetConfigurationEndpoints
NewGetConfigurationEndpoints creates a new http.Handler for the get configuration endpoints operation
func (*GetConfigurationEndpoints) ServeHTTP ¶
func (o *GetConfigurationEndpoints) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetConfigurationEndpointsDefault ¶
type GetConfigurationEndpointsDefault struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetConfigurationEndpointsDefault General Error
swagger:response getConfigurationEndpointsDefault
func NewGetConfigurationEndpointsDefault ¶
func NewGetConfigurationEndpointsDefault(code int) *GetConfigurationEndpointsDefault
NewGetConfigurationEndpointsDefault creates GetConfigurationEndpointsDefault with default headers values
func (*GetConfigurationEndpointsDefault) SetConfigurationVersion ¶ added in v1.2.2
func (o *GetConfigurationEndpointsDefault) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the get configuration endpoints default response
func (*GetConfigurationEndpointsDefault) SetPayload ¶
func (o *GetConfigurationEndpointsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get configuration endpoints default response
func (*GetConfigurationEndpointsDefault) SetStatusCode ¶
func (o *GetConfigurationEndpointsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get configuration endpoints default response
func (*GetConfigurationEndpointsDefault) WithConfigurationVersion ¶ added in v1.2.2
func (o *GetConfigurationEndpointsDefault) WithConfigurationVersion(configurationVersion int64) *GetConfigurationEndpointsDefault
WithConfigurationVersion adds the configurationVersion to the get configuration endpoints default response
func (*GetConfigurationEndpointsDefault) WithPayload ¶
func (o *GetConfigurationEndpointsDefault) WithPayload(payload *models.Error) *GetConfigurationEndpointsDefault
WithPayload adds the payload to the get configuration endpoints default response
func (*GetConfigurationEndpointsDefault) WithStatusCode ¶
func (o *GetConfigurationEndpointsDefault) WithStatusCode(code int) *GetConfigurationEndpointsDefault
WithStatusCode adds the status to the get configuration endpoints default response
func (*GetConfigurationEndpointsDefault) WriteResponse ¶
func (o *GetConfigurationEndpointsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetConfigurationEndpointsHandler ¶
type GetConfigurationEndpointsHandler interface {
Handle(GetConfigurationEndpointsParams, interface{}) middleware.Responder
}
GetConfigurationEndpointsHandler interface for that can handle valid get configuration endpoints params
type GetConfigurationEndpointsHandlerFunc ¶
type GetConfigurationEndpointsHandlerFunc func(GetConfigurationEndpointsParams, interface{}) middleware.Responder
GetConfigurationEndpointsHandlerFunc turns a function with the right signature into a get configuration endpoints handler
func (GetConfigurationEndpointsHandlerFunc) Handle ¶
func (fn GetConfigurationEndpointsHandlerFunc) Handle(params GetConfigurationEndpointsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetConfigurationEndpointsOK ¶
type GetConfigurationEndpointsOK struct { /* In: Body */ Payload models.Endpoints `json:"body,omitempty"` }
GetConfigurationEndpointsOK Success
swagger:response getConfigurationEndpointsOK
func NewGetConfigurationEndpointsOK ¶
func NewGetConfigurationEndpointsOK() *GetConfigurationEndpointsOK
NewGetConfigurationEndpointsOK creates GetConfigurationEndpointsOK with default headers values
func (*GetConfigurationEndpointsOK) SetPayload ¶
func (o *GetConfigurationEndpointsOK) SetPayload(payload models.Endpoints)
SetPayload sets the payload to the get configuration endpoints o k response
func (*GetConfigurationEndpointsOK) WithPayload ¶
func (o *GetConfigurationEndpointsOK) WithPayload(payload models.Endpoints) *GetConfigurationEndpointsOK
WithPayload adds the payload to the get configuration endpoints o k response
func (*GetConfigurationEndpointsOK) WriteResponse ¶
func (o *GetConfigurationEndpointsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetConfigurationEndpointsParams ¶
type GetConfigurationEndpointsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetConfigurationEndpointsParams contains all the bound params for the get configuration endpoints operation typically these are obtained from a http.Request
swagger:parameters getConfigurationEndpoints
func NewGetConfigurationEndpointsParams ¶
func NewGetConfigurationEndpointsParams() GetConfigurationEndpointsParams
NewGetConfigurationEndpointsParams creates a new GetConfigurationEndpointsParams object no default values defined in spec.
func (*GetConfigurationEndpointsParams) BindRequest ¶
func (o *GetConfigurationEndpointsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetConfigurationEndpointsParams() beforehand.
type GetConfigurationEndpointsURL ¶
type GetConfigurationEndpointsURL struct {
// contains filtered or unexported fields
}
GetConfigurationEndpointsURL generates an URL for the get configuration endpoints operation
func (*GetConfigurationEndpointsURL) Build ¶
func (o *GetConfigurationEndpointsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetConfigurationEndpointsURL) BuildFull ¶
func (o *GetConfigurationEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetConfigurationEndpointsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetConfigurationEndpointsURL) SetBasePath ¶
func (o *GetConfigurationEndpointsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetConfigurationEndpointsURL) String ¶
func (o *GetConfigurationEndpointsURL) String() string
String returns the string representation of the path with query string
func (*GetConfigurationEndpointsURL) StringFull ¶
func (o *GetConfigurationEndpointsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetConfigurationEndpointsURL) WithBasePath ¶
func (o *GetConfigurationEndpointsURL) WithBasePath(bp string) *GetConfigurationEndpointsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetHaproxyEndpoints ¶
type GetHaproxyEndpoints struct { Context *middleware.Context Handler GetHaproxyEndpointsHandler }
GetHaproxyEndpoints swagger:route GET /services/haproxy Discovery getHaproxyEndpoints
Return list of HAProxy related endpoints ¶
Returns a list of HAProxy related endpoints.
func NewGetHaproxyEndpoints ¶
func NewGetHaproxyEndpoints(ctx *middleware.Context, handler GetHaproxyEndpointsHandler) *GetHaproxyEndpoints
NewGetHaproxyEndpoints creates a new http.Handler for the get haproxy endpoints operation
func (*GetHaproxyEndpoints) ServeHTTP ¶
func (o *GetHaproxyEndpoints) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetHaproxyEndpointsDefault ¶
type GetHaproxyEndpointsDefault struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetHaproxyEndpointsDefault General Error
swagger:response getHaproxyEndpointsDefault
func NewGetHaproxyEndpointsDefault ¶
func NewGetHaproxyEndpointsDefault(code int) *GetHaproxyEndpointsDefault
NewGetHaproxyEndpointsDefault creates GetHaproxyEndpointsDefault with default headers values
func (*GetHaproxyEndpointsDefault) SetConfigurationVersion ¶ added in v1.2.2
func (o *GetHaproxyEndpointsDefault) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the get haproxy endpoints default response
func (*GetHaproxyEndpointsDefault) SetPayload ¶
func (o *GetHaproxyEndpointsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get haproxy endpoints default response
func (*GetHaproxyEndpointsDefault) SetStatusCode ¶
func (o *GetHaproxyEndpointsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get haproxy endpoints default response
func (*GetHaproxyEndpointsDefault) WithConfigurationVersion ¶ added in v1.2.2
func (o *GetHaproxyEndpointsDefault) WithConfigurationVersion(configurationVersion int64) *GetHaproxyEndpointsDefault
WithConfigurationVersion adds the configurationVersion to the get haproxy endpoints default response
func (*GetHaproxyEndpointsDefault) WithPayload ¶
func (o *GetHaproxyEndpointsDefault) WithPayload(payload *models.Error) *GetHaproxyEndpointsDefault
WithPayload adds the payload to the get haproxy endpoints default response
func (*GetHaproxyEndpointsDefault) WithStatusCode ¶
func (o *GetHaproxyEndpointsDefault) WithStatusCode(code int) *GetHaproxyEndpointsDefault
WithStatusCode adds the status to the get haproxy endpoints default response
func (*GetHaproxyEndpointsDefault) WriteResponse ¶
func (o *GetHaproxyEndpointsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHaproxyEndpointsHandler ¶
type GetHaproxyEndpointsHandler interface {
Handle(GetHaproxyEndpointsParams, interface{}) middleware.Responder
}
GetHaproxyEndpointsHandler interface for that can handle valid get haproxy endpoints params
type GetHaproxyEndpointsHandlerFunc ¶
type GetHaproxyEndpointsHandlerFunc func(GetHaproxyEndpointsParams, interface{}) middleware.Responder
GetHaproxyEndpointsHandlerFunc turns a function with the right signature into a get haproxy endpoints handler
func (GetHaproxyEndpointsHandlerFunc) Handle ¶
func (fn GetHaproxyEndpointsHandlerFunc) Handle(params GetHaproxyEndpointsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetHaproxyEndpointsOK ¶
type GetHaproxyEndpointsOK struct { /* In: Body */ Payload models.Endpoints `json:"body,omitempty"` }
GetHaproxyEndpointsOK Success
swagger:response getHaproxyEndpointsOK
func NewGetHaproxyEndpointsOK ¶
func NewGetHaproxyEndpointsOK() *GetHaproxyEndpointsOK
NewGetHaproxyEndpointsOK creates GetHaproxyEndpointsOK with default headers values
func (*GetHaproxyEndpointsOK) SetPayload ¶
func (o *GetHaproxyEndpointsOK) SetPayload(payload models.Endpoints)
SetPayload sets the payload to the get haproxy endpoints o k response
func (*GetHaproxyEndpointsOK) WithPayload ¶
func (o *GetHaproxyEndpointsOK) WithPayload(payload models.Endpoints) *GetHaproxyEndpointsOK
WithPayload adds the payload to the get haproxy endpoints o k response
func (*GetHaproxyEndpointsOK) WriteResponse ¶
func (o *GetHaproxyEndpointsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHaproxyEndpointsParams ¶
type GetHaproxyEndpointsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetHaproxyEndpointsParams contains all the bound params for the get haproxy endpoints operation typically these are obtained from a http.Request
swagger:parameters getHaproxyEndpoints
func NewGetHaproxyEndpointsParams ¶
func NewGetHaproxyEndpointsParams() GetHaproxyEndpointsParams
NewGetHaproxyEndpointsParams creates a new GetHaproxyEndpointsParams object no default values defined in spec.
func (*GetHaproxyEndpointsParams) BindRequest ¶
func (o *GetHaproxyEndpointsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetHaproxyEndpointsParams() beforehand.
type GetHaproxyEndpointsURL ¶
type GetHaproxyEndpointsURL struct {
// contains filtered or unexported fields
}
GetHaproxyEndpointsURL generates an URL for the get haproxy endpoints operation
func (*GetHaproxyEndpointsURL) Build ¶
func (o *GetHaproxyEndpointsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetHaproxyEndpointsURL) BuildFull ¶
func (o *GetHaproxyEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetHaproxyEndpointsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetHaproxyEndpointsURL) SetBasePath ¶
func (o *GetHaproxyEndpointsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetHaproxyEndpointsURL) String ¶
func (o *GetHaproxyEndpointsURL) String() string
String returns the string representation of the path with query string
func (*GetHaproxyEndpointsURL) StringFull ¶
func (o *GetHaproxyEndpointsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetHaproxyEndpointsURL) WithBasePath ¶
func (o *GetHaproxyEndpointsURL) WithBasePath(bp string) *GetHaproxyEndpointsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetServicesEndpoints ¶
type GetServicesEndpoints struct { Context *middleware.Context Handler GetServicesEndpointsHandler }
GetServicesEndpoints swagger:route GET /services Discovery getServicesEndpoints
Return list of service endpoints ¶
Returns a list of API managed services endpoints.
func NewGetServicesEndpoints ¶
func NewGetServicesEndpoints(ctx *middleware.Context, handler GetServicesEndpointsHandler) *GetServicesEndpoints
NewGetServicesEndpoints creates a new http.Handler for the get services endpoints operation
func (*GetServicesEndpoints) ServeHTTP ¶
func (o *GetServicesEndpoints) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServicesEndpointsDefault ¶
type GetServicesEndpointsDefault struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetServicesEndpointsDefault General Error
swagger:response getServicesEndpointsDefault
func NewGetServicesEndpointsDefault ¶
func NewGetServicesEndpointsDefault(code int) *GetServicesEndpointsDefault
NewGetServicesEndpointsDefault creates GetServicesEndpointsDefault with default headers values
func (*GetServicesEndpointsDefault) SetConfigurationVersion ¶ added in v1.2.2
func (o *GetServicesEndpointsDefault) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the get services endpoints default response
func (*GetServicesEndpointsDefault) SetPayload ¶
func (o *GetServicesEndpointsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get services endpoints default response
func (*GetServicesEndpointsDefault) SetStatusCode ¶
func (o *GetServicesEndpointsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get services endpoints default response
func (*GetServicesEndpointsDefault) WithConfigurationVersion ¶ added in v1.2.2
func (o *GetServicesEndpointsDefault) WithConfigurationVersion(configurationVersion int64) *GetServicesEndpointsDefault
WithConfigurationVersion adds the configurationVersion to the get services endpoints default response
func (*GetServicesEndpointsDefault) WithPayload ¶
func (o *GetServicesEndpointsDefault) WithPayload(payload *models.Error) *GetServicesEndpointsDefault
WithPayload adds the payload to the get services endpoints default response
func (*GetServicesEndpointsDefault) WithStatusCode ¶
func (o *GetServicesEndpointsDefault) WithStatusCode(code int) *GetServicesEndpointsDefault
WithStatusCode adds the status to the get services endpoints default response
func (*GetServicesEndpointsDefault) WriteResponse ¶
func (o *GetServicesEndpointsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServicesEndpointsHandler ¶
type GetServicesEndpointsHandler interface {
Handle(GetServicesEndpointsParams, interface{}) middleware.Responder
}
GetServicesEndpointsHandler interface for that can handle valid get services endpoints params
type GetServicesEndpointsHandlerFunc ¶
type GetServicesEndpointsHandlerFunc func(GetServicesEndpointsParams, interface{}) middleware.Responder
GetServicesEndpointsHandlerFunc turns a function with the right signature into a get services endpoints handler
func (GetServicesEndpointsHandlerFunc) Handle ¶
func (fn GetServicesEndpointsHandlerFunc) Handle(params GetServicesEndpointsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetServicesEndpointsOK ¶
type GetServicesEndpointsOK struct { /* In: Body */ Payload models.Endpoints `json:"body,omitempty"` }
GetServicesEndpointsOK Success
swagger:response getServicesEndpointsOK
func NewGetServicesEndpointsOK ¶
func NewGetServicesEndpointsOK() *GetServicesEndpointsOK
NewGetServicesEndpointsOK creates GetServicesEndpointsOK with default headers values
func (*GetServicesEndpointsOK) SetPayload ¶
func (o *GetServicesEndpointsOK) SetPayload(payload models.Endpoints)
SetPayload sets the payload to the get services endpoints o k response
func (*GetServicesEndpointsOK) WithPayload ¶
func (o *GetServicesEndpointsOK) WithPayload(payload models.Endpoints) *GetServicesEndpointsOK
WithPayload adds the payload to the get services endpoints o k response
func (*GetServicesEndpointsOK) WriteResponse ¶
func (o *GetServicesEndpointsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServicesEndpointsParams ¶
type GetServicesEndpointsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetServicesEndpointsParams contains all the bound params for the get services endpoints operation typically these are obtained from a http.Request
swagger:parameters getServicesEndpoints
func NewGetServicesEndpointsParams ¶
func NewGetServicesEndpointsParams() GetServicesEndpointsParams
NewGetServicesEndpointsParams creates a new GetServicesEndpointsParams object no default values defined in spec.
func (*GetServicesEndpointsParams) BindRequest ¶
func (o *GetServicesEndpointsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetServicesEndpointsParams() beforehand.
type GetServicesEndpointsURL ¶
type GetServicesEndpointsURL struct {
// contains filtered or unexported fields
}
GetServicesEndpointsURL generates an URL for the get services endpoints operation
func (*GetServicesEndpointsURL) Build ¶
func (o *GetServicesEndpointsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServicesEndpointsURL) BuildFull ¶
func (o *GetServicesEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServicesEndpointsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServicesEndpointsURL) SetBasePath ¶
func (o *GetServicesEndpointsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetServicesEndpointsURL) String ¶
func (o *GetServicesEndpointsURL) String() string
String returns the string representation of the path with query string
func (*GetServicesEndpointsURL) StringFull ¶
func (o *GetServicesEndpointsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServicesEndpointsURL) WithBasePath ¶
func (o *GetServicesEndpointsURL) WithBasePath(bp string) *GetServicesEndpointsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetStatsEndpoints ¶
type GetStatsEndpoints struct { Context *middleware.Context Handler GetStatsEndpointsHandler }
GetStatsEndpoints swagger:route GET /services/haproxy/stats Discovery getStatsEndpoints
Return list of HAProxy stats endpoints ¶
Returns a list of HAProxy stats endpoints.
func NewGetStatsEndpoints ¶
func NewGetStatsEndpoints(ctx *middleware.Context, handler GetStatsEndpointsHandler) *GetStatsEndpoints
NewGetStatsEndpoints creates a new http.Handler for the get stats endpoints operation
func (*GetStatsEndpoints) ServeHTTP ¶
func (o *GetStatsEndpoints) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetStatsEndpointsDefault ¶
type GetStatsEndpointsDefault struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetStatsEndpointsDefault General Error
swagger:response getStatsEndpointsDefault
func NewGetStatsEndpointsDefault ¶
func NewGetStatsEndpointsDefault(code int) *GetStatsEndpointsDefault
NewGetStatsEndpointsDefault creates GetStatsEndpointsDefault with default headers values
func (*GetStatsEndpointsDefault) SetConfigurationVersion ¶ added in v1.2.2
func (o *GetStatsEndpointsDefault) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the get stats endpoints default response
func (*GetStatsEndpointsDefault) SetPayload ¶
func (o *GetStatsEndpointsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get stats endpoints default response
func (*GetStatsEndpointsDefault) SetStatusCode ¶
func (o *GetStatsEndpointsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get stats endpoints default response
func (*GetStatsEndpointsDefault) WithConfigurationVersion ¶ added in v1.2.2
func (o *GetStatsEndpointsDefault) WithConfigurationVersion(configurationVersion int64) *GetStatsEndpointsDefault
WithConfigurationVersion adds the configurationVersion to the get stats endpoints default response
func (*GetStatsEndpointsDefault) WithPayload ¶
func (o *GetStatsEndpointsDefault) WithPayload(payload *models.Error) *GetStatsEndpointsDefault
WithPayload adds the payload to the get stats endpoints default response
func (*GetStatsEndpointsDefault) WithStatusCode ¶
func (o *GetStatsEndpointsDefault) WithStatusCode(code int) *GetStatsEndpointsDefault
WithStatusCode adds the status to the get stats endpoints default response
func (*GetStatsEndpointsDefault) WriteResponse ¶
func (o *GetStatsEndpointsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetStatsEndpointsHandler ¶
type GetStatsEndpointsHandler interface {
Handle(GetStatsEndpointsParams, interface{}) middleware.Responder
}
GetStatsEndpointsHandler interface for that can handle valid get stats endpoints params
type GetStatsEndpointsHandlerFunc ¶
type GetStatsEndpointsHandlerFunc func(GetStatsEndpointsParams, interface{}) middleware.Responder
GetStatsEndpointsHandlerFunc turns a function with the right signature into a get stats endpoints handler
func (GetStatsEndpointsHandlerFunc) Handle ¶
func (fn GetStatsEndpointsHandlerFunc) Handle(params GetStatsEndpointsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetStatsEndpointsOK ¶
GetStatsEndpointsOK Success
swagger:response getStatsEndpointsOK
func NewGetStatsEndpointsOK ¶
func NewGetStatsEndpointsOK() *GetStatsEndpointsOK
NewGetStatsEndpointsOK creates GetStatsEndpointsOK with default headers values
func (*GetStatsEndpointsOK) SetPayload ¶
func (o *GetStatsEndpointsOK) SetPayload(payload models.Endpoints)
SetPayload sets the payload to the get stats endpoints o k response
func (*GetStatsEndpointsOK) WithPayload ¶
func (o *GetStatsEndpointsOK) WithPayload(payload models.Endpoints) *GetStatsEndpointsOK
WithPayload adds the payload to the get stats endpoints o k response
func (*GetStatsEndpointsOK) WriteResponse ¶
func (o *GetStatsEndpointsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetStatsEndpointsParams ¶
GetStatsEndpointsParams contains all the bound params for the get stats endpoints operation typically these are obtained from a http.Request
swagger:parameters getStatsEndpoints
func NewGetStatsEndpointsParams ¶
func NewGetStatsEndpointsParams() GetStatsEndpointsParams
NewGetStatsEndpointsParams creates a new GetStatsEndpointsParams object no default values defined in spec.
func (*GetStatsEndpointsParams) BindRequest ¶
func (o *GetStatsEndpointsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetStatsEndpointsParams() beforehand.
type GetStatsEndpointsURL ¶
type GetStatsEndpointsURL struct {
// contains filtered or unexported fields
}
GetStatsEndpointsURL generates an URL for the get stats endpoints operation
func (*GetStatsEndpointsURL) Build ¶
func (o *GetStatsEndpointsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetStatsEndpointsURL) BuildFull ¶
func (o *GetStatsEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetStatsEndpointsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetStatsEndpointsURL) SetBasePath ¶
func (o *GetStatsEndpointsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetStatsEndpointsURL) String ¶
func (o *GetStatsEndpointsURL) String() string
String returns the string representation of the path with query string
func (*GetStatsEndpointsURL) StringFull ¶
func (o *GetStatsEndpointsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetStatsEndpointsURL) WithBasePath ¶
func (o *GetStatsEndpointsURL) WithBasePath(bp string) *GetStatsEndpointsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- get_api_endpoints.go
- get_api_endpoints_parameters.go
- get_api_endpoints_responses.go
- get_api_endpoints_urlbuilder.go
- get_configuration_endpoints.go
- get_configuration_endpoints_parameters.go
- get_configuration_endpoints_responses.go
- get_configuration_endpoints_urlbuilder.go
- get_haproxy_endpoints.go
- get_haproxy_endpoints_parameters.go
- get_haproxy_endpoints_responses.go
- get_haproxy_endpoints_urlbuilder.go
- get_services_endpoints.go
- get_services_endpoints_parameters.go
- get_services_endpoints_responses.go
- get_services_endpoints_urlbuilder.go
- get_stats_endpoints.go
- get_stats_endpoints_parameters.go
- get_stats_endpoints_responses.go
- get_stats_endpoints_urlbuilder.go