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) CreatePeer(params *CreatePeerParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePeerCreated, *CreatePeerAccepted, error) + func (a *Client) DeletePeer(params *DeletePeerParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePeerAccepted, *DeletePeerNoContent, error) + func (a *Client) GetPeerSection(params *GetPeerSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetPeerSectionOK, error) + func (a *Client) GetPeerSections(params *GetPeerSectionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetPeerSectionsOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + type ClientService interface + CreatePeer func(params *CreatePeerParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePeerCreated, *CreatePeerAccepted, error) + DeletePeer func(params *DeletePeerParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePeerAccepted, *DeletePeerNoContent, error) + GetPeerSection func(params *GetPeerSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetPeerSectionOK, error) + GetPeerSections func(params *GetPeerSectionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetPeerSectionsOK, error) + SetTransport func(transport runtime.ClientTransport) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + type CreatePeerAccepted struct + Payload *models.PeerSection + ReloadID string + func NewCreatePeerAccepted() *CreatePeerAccepted + func (o *CreatePeerAccepted) Error() string + func (o *CreatePeerAccepted) GetPayload() *models.PeerSection + type CreatePeerBadRequest struct + ConfigurationVersion int64 + Payload *models.Error + func NewCreatePeerBadRequest() *CreatePeerBadRequest + func (o *CreatePeerBadRequest) Error() string + func (o *CreatePeerBadRequest) GetPayload() *models.Error + type CreatePeerConflict struct + ConfigurationVersion int64 + Payload *models.Error + func NewCreatePeerConflict() *CreatePeerConflict + func (o *CreatePeerConflict) Error() string + func (o *CreatePeerConflict) GetPayload() *models.Error + type CreatePeerCreated struct + Payload *models.PeerSection + func NewCreatePeerCreated() *CreatePeerCreated + func (o *CreatePeerCreated) Error() string + func (o *CreatePeerCreated) GetPayload() *models.PeerSection + type CreatePeerDefault struct + ConfigurationVersion int64 + Payload *models.Error + func NewCreatePeerDefault(code int) *CreatePeerDefault + func (o *CreatePeerDefault) Code() int + func (o *CreatePeerDefault) Error() string + func (o *CreatePeerDefault) GetPayload() *models.Error + type CreatePeerParams struct + Context context.Context + Data *models.PeerSection + ForceReload *bool + HTTPClient *http.Client + TransactionID *string + Version *int64 + func NewCreatePeerParams() *CreatePeerParams + func NewCreatePeerParamsWithContext(ctx context.Context) *CreatePeerParams + func NewCreatePeerParamsWithHTTPClient(client *http.Client) *CreatePeerParams + func NewCreatePeerParamsWithTimeout(timeout time.Duration) *CreatePeerParams + func (o *CreatePeerParams) SetContext(ctx context.Context) + func (o *CreatePeerParams) SetData(data *models.PeerSection) + func (o *CreatePeerParams) SetForceReload(forceReload *bool) + func (o *CreatePeerParams) SetHTTPClient(client *http.Client) + func (o *CreatePeerParams) SetTimeout(timeout time.Duration) + func (o *CreatePeerParams) SetTransactionID(transactionID *string) + func (o *CreatePeerParams) SetVersion(version *int64) + func (o *CreatePeerParams) WithContext(ctx context.Context) *CreatePeerParams + func (o *CreatePeerParams) WithData(data *models.PeerSection) *CreatePeerParams + func (o *CreatePeerParams) WithForceReload(forceReload *bool) *CreatePeerParams + func (o *CreatePeerParams) WithHTTPClient(client *http.Client) *CreatePeerParams + func (o *CreatePeerParams) WithTimeout(timeout time.Duration) *CreatePeerParams + func (o *CreatePeerParams) WithTransactionID(transactionID *string) *CreatePeerParams + func (o *CreatePeerParams) WithVersion(version *int64) *CreatePeerParams + func (o *CreatePeerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type CreatePeerReader struct + func (o *CreatePeerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeletePeerAccepted struct + ReloadID string + func NewDeletePeerAccepted() *DeletePeerAccepted + func (o *DeletePeerAccepted) Error() string + type DeletePeerDefault struct + ConfigurationVersion int64 + Payload *models.Error + func NewDeletePeerDefault(code int) *DeletePeerDefault + func (o *DeletePeerDefault) Code() int + func (o *DeletePeerDefault) Error() string + func (o *DeletePeerDefault) GetPayload() *models.Error + type DeletePeerNoContent struct + func NewDeletePeerNoContent() *DeletePeerNoContent + func (o *DeletePeerNoContent) Error() string + type DeletePeerNotFound struct + ConfigurationVersion int64 + Payload *models.Error + func NewDeletePeerNotFound() *DeletePeerNotFound + func (o *DeletePeerNotFound) Error() string + func (o *DeletePeerNotFound) GetPayload() *models.Error + type DeletePeerParams struct + Context context.Context + ForceReload *bool + HTTPClient *http.Client + Name string + TransactionID *string + Version *int64 + func NewDeletePeerParams() *DeletePeerParams + func NewDeletePeerParamsWithContext(ctx context.Context) *DeletePeerParams + func NewDeletePeerParamsWithHTTPClient(client *http.Client) *DeletePeerParams + func NewDeletePeerParamsWithTimeout(timeout time.Duration) *DeletePeerParams + func (o *DeletePeerParams) SetContext(ctx context.Context) + func (o *DeletePeerParams) SetForceReload(forceReload *bool) + func (o *DeletePeerParams) SetHTTPClient(client *http.Client) + func (o *DeletePeerParams) SetName(name string) + func (o *DeletePeerParams) SetTimeout(timeout time.Duration) + func (o *DeletePeerParams) SetTransactionID(transactionID *string) + func (o *DeletePeerParams) SetVersion(version *int64) + func (o *DeletePeerParams) WithContext(ctx context.Context) *DeletePeerParams + func (o *DeletePeerParams) WithForceReload(forceReload *bool) *DeletePeerParams + func (o *DeletePeerParams) WithHTTPClient(client *http.Client) *DeletePeerParams + func (o *DeletePeerParams) WithName(name string) *DeletePeerParams + func (o *DeletePeerParams) WithTimeout(timeout time.Duration) *DeletePeerParams + func (o *DeletePeerParams) WithTransactionID(transactionID *string) *DeletePeerParams + func (o *DeletePeerParams) WithVersion(version *int64) *DeletePeerParams + func (o *DeletePeerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DeletePeerReader struct + func (o *DeletePeerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetPeerSectionDefault struct + ConfigurationVersion int64 + Payload *models.Error + func NewGetPeerSectionDefault(code int) *GetPeerSectionDefault + func (o *GetPeerSectionDefault) Code() int + func (o *GetPeerSectionDefault) Error() string + func (o *GetPeerSectionDefault) GetPayload() *models.Error + type GetPeerSectionNotFound struct + ConfigurationVersion int64 + Payload *models.Error + func NewGetPeerSectionNotFound() *GetPeerSectionNotFound + func (o *GetPeerSectionNotFound) Error() string + func (o *GetPeerSectionNotFound) GetPayload() *models.Error + type GetPeerSectionOK struct + ConfigurationVersion int64 + Payload *GetPeerSectionOKBody + func NewGetPeerSectionOK() *GetPeerSectionOK + func (o *GetPeerSectionOK) Error() string + func (o *GetPeerSectionOK) GetPayload() *GetPeerSectionOKBody + type GetPeerSectionOKBody struct + Data *models.PeerSection + Version int64 + func (o *GetPeerSectionOKBody) MarshalBinary() ([]byte, error) + func (o *GetPeerSectionOKBody) UnmarshalBinary(b []byte) error + func (o *GetPeerSectionOKBody) Validate(formats strfmt.Registry) error + type GetPeerSectionParams struct + Context context.Context + HTTPClient *http.Client + Name string + TransactionID *string + func NewGetPeerSectionParams() *GetPeerSectionParams + func NewGetPeerSectionParamsWithContext(ctx context.Context) *GetPeerSectionParams + func NewGetPeerSectionParamsWithHTTPClient(client *http.Client) *GetPeerSectionParams + func NewGetPeerSectionParamsWithTimeout(timeout time.Duration) *GetPeerSectionParams + func (o *GetPeerSectionParams) SetContext(ctx context.Context) + func (o *GetPeerSectionParams) SetHTTPClient(client *http.Client) + func (o *GetPeerSectionParams) SetName(name string) + func (o *GetPeerSectionParams) SetTimeout(timeout time.Duration) + func (o *GetPeerSectionParams) SetTransactionID(transactionID *string) + func (o *GetPeerSectionParams) WithContext(ctx context.Context) *GetPeerSectionParams + func (o *GetPeerSectionParams) WithHTTPClient(client *http.Client) *GetPeerSectionParams + func (o *GetPeerSectionParams) WithName(name string) *GetPeerSectionParams + func (o *GetPeerSectionParams) WithTimeout(timeout time.Duration) *GetPeerSectionParams + func (o *GetPeerSectionParams) WithTransactionID(transactionID *string) *GetPeerSectionParams + func (o *GetPeerSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetPeerSectionReader struct + func (o *GetPeerSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetPeerSectionsDefault struct + ConfigurationVersion int64 + Payload *models.Error + func NewGetPeerSectionsDefault(code int) *GetPeerSectionsDefault + func (o *GetPeerSectionsDefault) Code() int + func (o *GetPeerSectionsDefault) Error() string + func (o *GetPeerSectionsDefault) GetPayload() *models.Error + type GetPeerSectionsOK struct + ConfigurationVersion int64 + Payload *GetPeerSectionsOKBody + func NewGetPeerSectionsOK() *GetPeerSectionsOK + func (o *GetPeerSectionsOK) Error() string + func (o *GetPeerSectionsOK) GetPayload() *GetPeerSectionsOKBody + type GetPeerSectionsOKBody struct + Data models.PeerSections + Version int64 + func (o *GetPeerSectionsOKBody) MarshalBinary() ([]byte, error) + func (o *GetPeerSectionsOKBody) UnmarshalBinary(b []byte) error + func (o *GetPeerSectionsOKBody) Validate(formats strfmt.Registry) error + type GetPeerSectionsParams struct + Context context.Context + HTTPClient *http.Client + TransactionID *string + func NewGetPeerSectionsParams() *GetPeerSectionsParams + func NewGetPeerSectionsParamsWithContext(ctx context.Context) *GetPeerSectionsParams + func NewGetPeerSectionsParamsWithHTTPClient(client *http.Client) *GetPeerSectionsParams + func NewGetPeerSectionsParamsWithTimeout(timeout time.Duration) *GetPeerSectionsParams + func (o *GetPeerSectionsParams) SetContext(ctx context.Context) + func (o *GetPeerSectionsParams) SetHTTPClient(client *http.Client) + func (o *GetPeerSectionsParams) SetTimeout(timeout time.Duration) + func (o *GetPeerSectionsParams) SetTransactionID(transactionID *string) + func (o *GetPeerSectionsParams) WithContext(ctx context.Context) *GetPeerSectionsParams + func (o *GetPeerSectionsParams) WithHTTPClient(client *http.Client) *GetPeerSectionsParams + func (o *GetPeerSectionsParams) WithTimeout(timeout time.Duration) *GetPeerSectionsParams + func (o *GetPeerSectionsParams) WithTransactionID(transactionID *string) *GetPeerSectionsParams + func (o *GetPeerSectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetPeerSectionsReader struct + func (o *GetPeerSectionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)