Versions in this module Expand all Collapse all v0 v0.3.0 Jan 22, 2021 v0.2.0 Nov 5, 2020 Changes in this version + type Client struct + func (a *Client) CreateConsul(params *CreateConsulParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConsulCreated, error) + func (a *Client) DeleteConsul(params *DeleteConsulParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConsulNoContent, error) + func (a *Client) GetConsul(params *GetConsulParams, authInfo runtime.ClientAuthInfoWriter) (*GetConsulOK, error) + func (a *Client) GetConsuls(params *GetConsulsParams, authInfo runtime.ClientAuthInfoWriter) (*GetConsulsOK, error) + func (a *Client) ReplaceConsul(params *ReplaceConsulParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceConsulOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + type ClientService interface + CreateConsul func(params *CreateConsulParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConsulCreated, error) + DeleteConsul func(params *DeleteConsulParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConsulNoContent, error) + GetConsul func(params *GetConsulParams, authInfo runtime.ClientAuthInfoWriter) (*GetConsulOK, error) + GetConsuls func(params *GetConsulsParams, authInfo runtime.ClientAuthInfoWriter) (*GetConsulsOK, error) + ReplaceConsul func(params *ReplaceConsulParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceConsulOK, error) + SetTransport func(transport runtime.ClientTransport) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + type CreateConsulBadRequest struct + ConfigurationVersion int64 + Payload *models.Error + func NewCreateConsulBadRequest() *CreateConsulBadRequest + func (o *CreateConsulBadRequest) Error() string + func (o *CreateConsulBadRequest) GetPayload() *models.Error + type CreateConsulConflict struct + ConfigurationVersion int64 + Payload *models.Error + func NewCreateConsulConflict() *CreateConsulConflict + func (o *CreateConsulConflict) Error() string + func (o *CreateConsulConflict) GetPayload() *models.Error + type CreateConsulCreated struct + Payload *models.Consul + func NewCreateConsulCreated() *CreateConsulCreated + func (o *CreateConsulCreated) Error() string + func (o *CreateConsulCreated) GetPayload() *models.Consul + type CreateConsulDefault struct + ConfigurationVersion int64 + Payload *models.Error + func NewCreateConsulDefault(code int) *CreateConsulDefault + func (o *CreateConsulDefault) Code() int + func (o *CreateConsulDefault) Error() string + func (o *CreateConsulDefault) GetPayload() *models.Error + type CreateConsulParams struct + Context context.Context + Data *models.Consul + HTTPClient *http.Client + func NewCreateConsulParams() *CreateConsulParams + func NewCreateConsulParamsWithContext(ctx context.Context) *CreateConsulParams + func NewCreateConsulParamsWithHTTPClient(client *http.Client) *CreateConsulParams + func NewCreateConsulParamsWithTimeout(timeout time.Duration) *CreateConsulParams + func (o *CreateConsulParams) SetContext(ctx context.Context) + func (o *CreateConsulParams) SetData(data *models.Consul) + func (o *CreateConsulParams) SetHTTPClient(client *http.Client) + func (o *CreateConsulParams) SetTimeout(timeout time.Duration) + func (o *CreateConsulParams) WithContext(ctx context.Context) *CreateConsulParams + func (o *CreateConsulParams) WithData(data *models.Consul) *CreateConsulParams + func (o *CreateConsulParams) WithHTTPClient(client *http.Client) *CreateConsulParams + func (o *CreateConsulParams) WithTimeout(timeout time.Duration) *CreateConsulParams + func (o *CreateConsulParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type CreateConsulReader struct + func (o *CreateConsulReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeleteConsulDefault struct + ConfigurationVersion int64 + Payload *models.Error + func NewDeleteConsulDefault(code int) *DeleteConsulDefault + func (o *DeleteConsulDefault) Code() int + func (o *DeleteConsulDefault) Error() string + func (o *DeleteConsulDefault) GetPayload() *models.Error + type DeleteConsulNoContent struct + func NewDeleteConsulNoContent() *DeleteConsulNoContent + func (o *DeleteConsulNoContent) Error() string + type DeleteConsulNotFound struct + ConfigurationVersion int64 + Payload *models.Error + func NewDeleteConsulNotFound() *DeleteConsulNotFound + func (o *DeleteConsulNotFound) Error() string + func (o *DeleteConsulNotFound) GetPayload() *models.Error + type DeleteConsulParams struct + Context context.Context + HTTPClient *http.Client + ID string + func NewDeleteConsulParams() *DeleteConsulParams + func NewDeleteConsulParamsWithContext(ctx context.Context) *DeleteConsulParams + func NewDeleteConsulParamsWithHTTPClient(client *http.Client) *DeleteConsulParams + func NewDeleteConsulParamsWithTimeout(timeout time.Duration) *DeleteConsulParams + func (o *DeleteConsulParams) SetContext(ctx context.Context) + func (o *DeleteConsulParams) SetHTTPClient(client *http.Client) + func (o *DeleteConsulParams) SetID(id string) + func (o *DeleteConsulParams) SetTimeout(timeout time.Duration) + func (o *DeleteConsulParams) WithContext(ctx context.Context) *DeleteConsulParams + func (o *DeleteConsulParams) WithHTTPClient(client *http.Client) *DeleteConsulParams + func (o *DeleteConsulParams) WithID(id string) *DeleteConsulParams + func (o *DeleteConsulParams) WithTimeout(timeout time.Duration) *DeleteConsulParams + func (o *DeleteConsulParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DeleteConsulReader struct + func (o *DeleteConsulReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetConsulDefault struct + ConfigurationVersion int64 + Payload *models.Error + func NewGetConsulDefault(code int) *GetConsulDefault + func (o *GetConsulDefault) Code() int + func (o *GetConsulDefault) Error() string + func (o *GetConsulDefault) GetPayload() *models.Error + type GetConsulNotFound struct + ConfigurationVersion int64 + Payload *models.Error + func NewGetConsulNotFound() *GetConsulNotFound + func (o *GetConsulNotFound) Error() string + func (o *GetConsulNotFound) GetPayload() *models.Error + type GetConsulOK struct + Payload *GetConsulOKBody + func NewGetConsulOK() *GetConsulOK + func (o *GetConsulOK) Error() string + func (o *GetConsulOK) GetPayload() *GetConsulOKBody + type GetConsulOKBody struct + Data *models.Consul + func (o *GetConsulOKBody) MarshalBinary() ([]byte, error) + func (o *GetConsulOKBody) UnmarshalBinary(b []byte) error + func (o *GetConsulOKBody) Validate(formats strfmt.Registry) error + type GetConsulParams struct + Context context.Context + HTTPClient *http.Client + ID string + func NewGetConsulParams() *GetConsulParams + func NewGetConsulParamsWithContext(ctx context.Context) *GetConsulParams + func NewGetConsulParamsWithHTTPClient(client *http.Client) *GetConsulParams + func NewGetConsulParamsWithTimeout(timeout time.Duration) *GetConsulParams + func (o *GetConsulParams) SetContext(ctx context.Context) + func (o *GetConsulParams) SetHTTPClient(client *http.Client) + func (o *GetConsulParams) SetID(id string) + func (o *GetConsulParams) SetTimeout(timeout time.Duration) + func (o *GetConsulParams) WithContext(ctx context.Context) *GetConsulParams + func (o *GetConsulParams) WithHTTPClient(client *http.Client) *GetConsulParams + func (o *GetConsulParams) WithID(id string) *GetConsulParams + func (o *GetConsulParams) WithTimeout(timeout time.Duration) *GetConsulParams + func (o *GetConsulParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetConsulReader struct + func (o *GetConsulReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetConsulsDefault struct + ConfigurationVersion int64 + Payload *models.Error + func NewGetConsulsDefault(code int) *GetConsulsDefault + func (o *GetConsulsDefault) Code() int + func (o *GetConsulsDefault) Error() string + func (o *GetConsulsDefault) GetPayload() *models.Error + type GetConsulsOK struct + Payload *GetConsulsOKBody + func NewGetConsulsOK() *GetConsulsOK + func (o *GetConsulsOK) Error() string + func (o *GetConsulsOK) GetPayload() *GetConsulsOKBody + type GetConsulsOKBody struct + Data models.Consuls + func (o *GetConsulsOKBody) MarshalBinary() ([]byte, error) + func (o *GetConsulsOKBody) UnmarshalBinary(b []byte) error + func (o *GetConsulsOKBody) Validate(formats strfmt.Registry) error + type GetConsulsParams struct + Context context.Context + HTTPClient *http.Client + func NewGetConsulsParams() *GetConsulsParams + func NewGetConsulsParamsWithContext(ctx context.Context) *GetConsulsParams + func NewGetConsulsParamsWithHTTPClient(client *http.Client) *GetConsulsParams + func NewGetConsulsParamsWithTimeout(timeout time.Duration) *GetConsulsParams + func (o *GetConsulsParams) SetContext(ctx context.Context) + func (o *GetConsulsParams) SetHTTPClient(client *http.Client) + func (o *GetConsulsParams) SetTimeout(timeout time.Duration) + func (o *GetConsulsParams) WithContext(ctx context.Context) *GetConsulsParams + func (o *GetConsulsParams) WithHTTPClient(client *http.Client) *GetConsulsParams + func (o *GetConsulsParams) WithTimeout(timeout time.Duration) *GetConsulsParams + func (o *GetConsulsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetConsulsReader struct + func (o *GetConsulsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type ReplaceConsulBadRequest struct + ConfigurationVersion int64 + Payload *models.Error + func NewReplaceConsulBadRequest() *ReplaceConsulBadRequest + func (o *ReplaceConsulBadRequest) Error() string + func (o *ReplaceConsulBadRequest) GetPayload() *models.Error + type ReplaceConsulDefault struct + ConfigurationVersion int64 + Payload *models.Error + func NewReplaceConsulDefault(code int) *ReplaceConsulDefault + func (o *ReplaceConsulDefault) Code() int + func (o *ReplaceConsulDefault) Error() string + func (o *ReplaceConsulDefault) GetPayload() *models.Error + type ReplaceConsulNotFound struct + ConfigurationVersion int64 + Payload *models.Error + func NewReplaceConsulNotFound() *ReplaceConsulNotFound + func (o *ReplaceConsulNotFound) Error() string + func (o *ReplaceConsulNotFound) GetPayload() *models.Error + type ReplaceConsulOK struct + Payload *models.Consul + func NewReplaceConsulOK() *ReplaceConsulOK + func (o *ReplaceConsulOK) Error() string + func (o *ReplaceConsulOK) GetPayload() *models.Consul + type ReplaceConsulParams struct + Context context.Context + Data *models.Consul + HTTPClient *http.Client + ID string + func NewReplaceConsulParams() *ReplaceConsulParams + func NewReplaceConsulParamsWithContext(ctx context.Context) *ReplaceConsulParams + func NewReplaceConsulParamsWithHTTPClient(client *http.Client) *ReplaceConsulParams + func NewReplaceConsulParamsWithTimeout(timeout time.Duration) *ReplaceConsulParams + func (o *ReplaceConsulParams) SetContext(ctx context.Context) + func (o *ReplaceConsulParams) SetData(data *models.Consul) + func (o *ReplaceConsulParams) SetHTTPClient(client *http.Client) + func (o *ReplaceConsulParams) SetID(id string) + func (o *ReplaceConsulParams) SetTimeout(timeout time.Duration) + func (o *ReplaceConsulParams) WithContext(ctx context.Context) *ReplaceConsulParams + func (o *ReplaceConsulParams) WithData(data *models.Consul) *ReplaceConsulParams + func (o *ReplaceConsulParams) WithHTTPClient(client *http.Client) *ReplaceConsulParams + func (o *ReplaceConsulParams) WithID(id string) *ReplaceConsulParams + func (o *ReplaceConsulParams) WithTimeout(timeout time.Duration) *ReplaceConsulParams + func (o *ReplaceConsulParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ReplaceConsulReader struct + func (o *ReplaceConsulReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)