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) CreatePeerEntry(params *CreatePeerEntryParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePeerEntryCreated, *CreatePeerEntryAccepted, error) + func (a *Client) DeletePeerEntry(params *DeletePeerEntryParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePeerEntryAccepted, *DeletePeerEntryNoContent, error) + func (a *Client) GetPeerEntries(params *GetPeerEntriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetPeerEntriesOK, error) + func (a *Client) GetPeerEntry(params *GetPeerEntryParams, authInfo runtime.ClientAuthInfoWriter) (*GetPeerEntryOK, error) + func (a *Client) ReplacePeerEntry(params *ReplacePeerEntryParams, authInfo runtime.ClientAuthInfoWriter) (*ReplacePeerEntryOK, *ReplacePeerEntryAccepted, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + type ClientService interface + CreatePeerEntry func(params *CreatePeerEntryParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePeerEntryCreated, *CreatePeerEntryAccepted, error) + DeletePeerEntry func(params *DeletePeerEntryParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePeerEntryAccepted, *DeletePeerEntryNoContent, error) + GetPeerEntries func(params *GetPeerEntriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetPeerEntriesOK, error) + GetPeerEntry func(params *GetPeerEntryParams, authInfo runtime.ClientAuthInfoWriter) (*GetPeerEntryOK, error) + ReplacePeerEntry func(params *ReplacePeerEntryParams, authInfo runtime.ClientAuthInfoWriter) (*ReplacePeerEntryOK, *ReplacePeerEntryAccepted, error) + SetTransport func(transport runtime.ClientTransport) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + type CreatePeerEntryAccepted struct + Payload *models.PeerEntry + ReloadID string + func NewCreatePeerEntryAccepted() *CreatePeerEntryAccepted + func (o *CreatePeerEntryAccepted) Error() string + func (o *CreatePeerEntryAccepted) GetPayload() *models.PeerEntry + type CreatePeerEntryBadRequest struct + ConfigurationVersion int64 + Payload *models.Error + func NewCreatePeerEntryBadRequest() *CreatePeerEntryBadRequest + func (o *CreatePeerEntryBadRequest) Error() string + func (o *CreatePeerEntryBadRequest) GetPayload() *models.Error + type CreatePeerEntryConflict struct + ConfigurationVersion int64 + Payload *models.Error + func NewCreatePeerEntryConflict() *CreatePeerEntryConflict + func (o *CreatePeerEntryConflict) Error() string + func (o *CreatePeerEntryConflict) GetPayload() *models.Error + type CreatePeerEntryCreated struct + Payload *models.PeerEntry + func NewCreatePeerEntryCreated() *CreatePeerEntryCreated + func (o *CreatePeerEntryCreated) Error() string + func (o *CreatePeerEntryCreated) GetPayload() *models.PeerEntry + type CreatePeerEntryDefault struct + ConfigurationVersion int64 + Payload *models.Error + func NewCreatePeerEntryDefault(code int) *CreatePeerEntryDefault + func (o *CreatePeerEntryDefault) Code() int + func (o *CreatePeerEntryDefault) Error() string + func (o *CreatePeerEntryDefault) GetPayload() *models.Error + type CreatePeerEntryParams struct + Context context.Context + Data *models.PeerEntry + ForceReload *bool + HTTPClient *http.Client + PeerSection string + TransactionID *string + Version *int64 + func NewCreatePeerEntryParams() *CreatePeerEntryParams + func NewCreatePeerEntryParamsWithContext(ctx context.Context) *CreatePeerEntryParams + func NewCreatePeerEntryParamsWithHTTPClient(client *http.Client) *CreatePeerEntryParams + func NewCreatePeerEntryParamsWithTimeout(timeout time.Duration) *CreatePeerEntryParams + func (o *CreatePeerEntryParams) SetContext(ctx context.Context) + func (o *CreatePeerEntryParams) SetData(data *models.PeerEntry) + func (o *CreatePeerEntryParams) SetForceReload(forceReload *bool) + func (o *CreatePeerEntryParams) SetHTTPClient(client *http.Client) + func (o *CreatePeerEntryParams) SetPeerSection(peerSection string) + func (o *CreatePeerEntryParams) SetTimeout(timeout time.Duration) + func (o *CreatePeerEntryParams) SetTransactionID(transactionID *string) + func (o *CreatePeerEntryParams) SetVersion(version *int64) + func (o *CreatePeerEntryParams) WithContext(ctx context.Context) *CreatePeerEntryParams + func (o *CreatePeerEntryParams) WithData(data *models.PeerEntry) *CreatePeerEntryParams + func (o *CreatePeerEntryParams) WithForceReload(forceReload *bool) *CreatePeerEntryParams + func (o *CreatePeerEntryParams) WithHTTPClient(client *http.Client) *CreatePeerEntryParams + func (o *CreatePeerEntryParams) WithPeerSection(peerSection string) *CreatePeerEntryParams + func (o *CreatePeerEntryParams) WithTimeout(timeout time.Duration) *CreatePeerEntryParams + func (o *CreatePeerEntryParams) WithTransactionID(transactionID *string) *CreatePeerEntryParams + func (o *CreatePeerEntryParams) WithVersion(version *int64) *CreatePeerEntryParams + func (o *CreatePeerEntryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type CreatePeerEntryReader struct + func (o *CreatePeerEntryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeletePeerEntryAccepted struct + ReloadID string + func NewDeletePeerEntryAccepted() *DeletePeerEntryAccepted + func (o *DeletePeerEntryAccepted) Error() string + type DeletePeerEntryDefault struct + ConfigurationVersion int64 + Payload *models.Error + func NewDeletePeerEntryDefault(code int) *DeletePeerEntryDefault + func (o *DeletePeerEntryDefault) Code() int + func (o *DeletePeerEntryDefault) Error() string + func (o *DeletePeerEntryDefault) GetPayload() *models.Error + type DeletePeerEntryNoContent struct + func NewDeletePeerEntryNoContent() *DeletePeerEntryNoContent + func (o *DeletePeerEntryNoContent) Error() string + type DeletePeerEntryNotFound struct + ConfigurationVersion int64 + Payload *models.Error + func NewDeletePeerEntryNotFound() *DeletePeerEntryNotFound + func (o *DeletePeerEntryNotFound) Error() string + func (o *DeletePeerEntryNotFound) GetPayload() *models.Error + type DeletePeerEntryParams struct + Context context.Context + ForceReload *bool + HTTPClient *http.Client + Name string + PeerSection string + TransactionID *string + Version *int64 + func NewDeletePeerEntryParams() *DeletePeerEntryParams + func NewDeletePeerEntryParamsWithContext(ctx context.Context) *DeletePeerEntryParams + func NewDeletePeerEntryParamsWithHTTPClient(client *http.Client) *DeletePeerEntryParams + func NewDeletePeerEntryParamsWithTimeout(timeout time.Duration) *DeletePeerEntryParams + func (o *DeletePeerEntryParams) SetContext(ctx context.Context) + func (o *DeletePeerEntryParams) SetForceReload(forceReload *bool) + func (o *DeletePeerEntryParams) SetHTTPClient(client *http.Client) + func (o *DeletePeerEntryParams) SetName(name string) + func (o *DeletePeerEntryParams) SetPeerSection(peerSection string) + func (o *DeletePeerEntryParams) SetTimeout(timeout time.Duration) + func (o *DeletePeerEntryParams) SetTransactionID(transactionID *string) + func (o *DeletePeerEntryParams) SetVersion(version *int64) + func (o *DeletePeerEntryParams) WithContext(ctx context.Context) *DeletePeerEntryParams + func (o *DeletePeerEntryParams) WithForceReload(forceReload *bool) *DeletePeerEntryParams + func (o *DeletePeerEntryParams) WithHTTPClient(client *http.Client) *DeletePeerEntryParams + func (o *DeletePeerEntryParams) WithName(name string) *DeletePeerEntryParams + func (o *DeletePeerEntryParams) WithPeerSection(peerSection string) *DeletePeerEntryParams + func (o *DeletePeerEntryParams) WithTimeout(timeout time.Duration) *DeletePeerEntryParams + func (o *DeletePeerEntryParams) WithTransactionID(transactionID *string) *DeletePeerEntryParams + func (o *DeletePeerEntryParams) WithVersion(version *int64) *DeletePeerEntryParams + func (o *DeletePeerEntryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DeletePeerEntryReader struct + func (o *DeletePeerEntryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetPeerEntriesDefault struct + ConfigurationVersion int64 + Payload *models.Error + func NewGetPeerEntriesDefault(code int) *GetPeerEntriesDefault + func (o *GetPeerEntriesDefault) Code() int + func (o *GetPeerEntriesDefault) Error() string + func (o *GetPeerEntriesDefault) GetPayload() *models.Error + type GetPeerEntriesOK struct + ConfigurationVersion int64 + Payload *GetPeerEntriesOKBody + func NewGetPeerEntriesOK() *GetPeerEntriesOK + func (o *GetPeerEntriesOK) Error() string + func (o *GetPeerEntriesOK) GetPayload() *GetPeerEntriesOKBody + type GetPeerEntriesOKBody struct + Data models.PeerEntries + Version int64 + func (o *GetPeerEntriesOKBody) MarshalBinary() ([]byte, error) + func (o *GetPeerEntriesOKBody) UnmarshalBinary(b []byte) error + func (o *GetPeerEntriesOKBody) Validate(formats strfmt.Registry) error + type GetPeerEntriesParams struct + Context context.Context + HTTPClient *http.Client + PeerSection string + TransactionID *string + func NewGetPeerEntriesParams() *GetPeerEntriesParams + func NewGetPeerEntriesParamsWithContext(ctx context.Context) *GetPeerEntriesParams + func NewGetPeerEntriesParamsWithHTTPClient(client *http.Client) *GetPeerEntriesParams + func NewGetPeerEntriesParamsWithTimeout(timeout time.Duration) *GetPeerEntriesParams + func (o *GetPeerEntriesParams) SetContext(ctx context.Context) + func (o *GetPeerEntriesParams) SetHTTPClient(client *http.Client) + func (o *GetPeerEntriesParams) SetPeerSection(peerSection string) + func (o *GetPeerEntriesParams) SetTimeout(timeout time.Duration) + func (o *GetPeerEntriesParams) SetTransactionID(transactionID *string) + func (o *GetPeerEntriesParams) WithContext(ctx context.Context) *GetPeerEntriesParams + func (o *GetPeerEntriesParams) WithHTTPClient(client *http.Client) *GetPeerEntriesParams + func (o *GetPeerEntriesParams) WithPeerSection(peerSection string) *GetPeerEntriesParams + func (o *GetPeerEntriesParams) WithTimeout(timeout time.Duration) *GetPeerEntriesParams + func (o *GetPeerEntriesParams) WithTransactionID(transactionID *string) *GetPeerEntriesParams + func (o *GetPeerEntriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetPeerEntriesReader struct + func (o *GetPeerEntriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetPeerEntryDefault struct + ConfigurationVersion int64 + Payload *models.Error + func NewGetPeerEntryDefault(code int) *GetPeerEntryDefault + func (o *GetPeerEntryDefault) Code() int + func (o *GetPeerEntryDefault) Error() string + func (o *GetPeerEntryDefault) GetPayload() *models.Error + type GetPeerEntryNotFound struct + ConfigurationVersion int64 + Payload *models.Error + func NewGetPeerEntryNotFound() *GetPeerEntryNotFound + func (o *GetPeerEntryNotFound) Error() string + func (o *GetPeerEntryNotFound) GetPayload() *models.Error + type GetPeerEntryOK struct + ConfigurationVersion int64 + Payload *GetPeerEntryOKBody + func NewGetPeerEntryOK() *GetPeerEntryOK + func (o *GetPeerEntryOK) Error() string + func (o *GetPeerEntryOK) GetPayload() *GetPeerEntryOKBody + type GetPeerEntryOKBody struct + Data *models.PeerEntry + Version int64 + func (o *GetPeerEntryOKBody) MarshalBinary() ([]byte, error) + func (o *GetPeerEntryOKBody) UnmarshalBinary(b []byte) error + func (o *GetPeerEntryOKBody) Validate(formats strfmt.Registry) error + type GetPeerEntryParams struct + Context context.Context + HTTPClient *http.Client + Name string + PeerSection string + TransactionID *string + func NewGetPeerEntryParams() *GetPeerEntryParams + func NewGetPeerEntryParamsWithContext(ctx context.Context) *GetPeerEntryParams + func NewGetPeerEntryParamsWithHTTPClient(client *http.Client) *GetPeerEntryParams + func NewGetPeerEntryParamsWithTimeout(timeout time.Duration) *GetPeerEntryParams + func (o *GetPeerEntryParams) SetContext(ctx context.Context) + func (o *GetPeerEntryParams) SetHTTPClient(client *http.Client) + func (o *GetPeerEntryParams) SetName(name string) + func (o *GetPeerEntryParams) SetPeerSection(peerSection string) + func (o *GetPeerEntryParams) SetTimeout(timeout time.Duration) + func (o *GetPeerEntryParams) SetTransactionID(transactionID *string) + func (o *GetPeerEntryParams) WithContext(ctx context.Context) *GetPeerEntryParams + func (o *GetPeerEntryParams) WithHTTPClient(client *http.Client) *GetPeerEntryParams + func (o *GetPeerEntryParams) WithName(name string) *GetPeerEntryParams + func (o *GetPeerEntryParams) WithPeerSection(peerSection string) *GetPeerEntryParams + func (o *GetPeerEntryParams) WithTimeout(timeout time.Duration) *GetPeerEntryParams + func (o *GetPeerEntryParams) WithTransactionID(transactionID *string) *GetPeerEntryParams + func (o *GetPeerEntryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetPeerEntryReader struct + func (o *GetPeerEntryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type ReplacePeerEntryAccepted struct + Payload *models.PeerEntry + ReloadID string + func NewReplacePeerEntryAccepted() *ReplacePeerEntryAccepted + func (o *ReplacePeerEntryAccepted) Error() string + func (o *ReplacePeerEntryAccepted) GetPayload() *models.PeerEntry + type ReplacePeerEntryBadRequest struct + ConfigurationVersion int64 + Payload *models.Error + func NewReplacePeerEntryBadRequest() *ReplacePeerEntryBadRequest + func (o *ReplacePeerEntryBadRequest) Error() string + func (o *ReplacePeerEntryBadRequest) GetPayload() *models.Error + type ReplacePeerEntryDefault struct + ConfigurationVersion int64 + Payload *models.Error + func NewReplacePeerEntryDefault(code int) *ReplacePeerEntryDefault + func (o *ReplacePeerEntryDefault) Code() int + func (o *ReplacePeerEntryDefault) Error() string + func (o *ReplacePeerEntryDefault) GetPayload() *models.Error + type ReplacePeerEntryNotFound struct + ConfigurationVersion int64 + Payload *models.Error + func NewReplacePeerEntryNotFound() *ReplacePeerEntryNotFound + func (o *ReplacePeerEntryNotFound) Error() string + func (o *ReplacePeerEntryNotFound) GetPayload() *models.Error + type ReplacePeerEntryOK struct + Payload *models.PeerEntry + func NewReplacePeerEntryOK() *ReplacePeerEntryOK + func (o *ReplacePeerEntryOK) Error() string + func (o *ReplacePeerEntryOK) GetPayload() *models.PeerEntry + type ReplacePeerEntryParams struct + Context context.Context + Data *models.PeerEntry + ForceReload *bool + HTTPClient *http.Client + Name string + PeerSection string + TransactionID *string + Version *int64 + func NewReplacePeerEntryParams() *ReplacePeerEntryParams + func NewReplacePeerEntryParamsWithContext(ctx context.Context) *ReplacePeerEntryParams + func NewReplacePeerEntryParamsWithHTTPClient(client *http.Client) *ReplacePeerEntryParams + func NewReplacePeerEntryParamsWithTimeout(timeout time.Duration) *ReplacePeerEntryParams + func (o *ReplacePeerEntryParams) SetContext(ctx context.Context) + func (o *ReplacePeerEntryParams) SetData(data *models.PeerEntry) + func (o *ReplacePeerEntryParams) SetForceReload(forceReload *bool) + func (o *ReplacePeerEntryParams) SetHTTPClient(client *http.Client) + func (o *ReplacePeerEntryParams) SetName(name string) + func (o *ReplacePeerEntryParams) SetPeerSection(peerSection string) + func (o *ReplacePeerEntryParams) SetTimeout(timeout time.Duration) + func (o *ReplacePeerEntryParams) SetTransactionID(transactionID *string) + func (o *ReplacePeerEntryParams) SetVersion(version *int64) + func (o *ReplacePeerEntryParams) WithContext(ctx context.Context) *ReplacePeerEntryParams + func (o *ReplacePeerEntryParams) WithData(data *models.PeerEntry) *ReplacePeerEntryParams + func (o *ReplacePeerEntryParams) WithForceReload(forceReload *bool) *ReplacePeerEntryParams + func (o *ReplacePeerEntryParams) WithHTTPClient(client *http.Client) *ReplacePeerEntryParams + func (o *ReplacePeerEntryParams) WithName(name string) *ReplacePeerEntryParams + func (o *ReplacePeerEntryParams) WithPeerSection(peerSection string) *ReplacePeerEntryParams + func (o *ReplacePeerEntryParams) WithTimeout(timeout time.Duration) *ReplacePeerEntryParams + func (o *ReplacePeerEntryParams) WithTransactionID(transactionID *string) *ReplacePeerEntryParams + func (o *ReplacePeerEntryParams) WithVersion(version *int64) *ReplacePeerEntryParams + func (o *ReplacePeerEntryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ReplacePeerEntryReader struct + func (o *ReplacePeerEntryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)