Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetBgpPeersDisabled
- func (o *GetBgpPeersDisabled) Error() string
- func (o *GetBgpPeersDisabled) GetPayload() models.Error
- func (o *GetBgpPeersDisabled) IsClientError() bool
- func (o *GetBgpPeersDisabled) IsCode(code int) bool
- func (o *GetBgpPeersDisabled) IsRedirect() bool
- func (o *GetBgpPeersDisabled) IsServerError() bool
- func (o *GetBgpPeersDisabled) IsSuccess() bool
- func (o *GetBgpPeersDisabled) String() string
- type GetBgpPeersInternalServerError
- func (o *GetBgpPeersInternalServerError) Error() string
- func (o *GetBgpPeersInternalServerError) GetPayload() models.Error
- func (o *GetBgpPeersInternalServerError) IsClientError() bool
- func (o *GetBgpPeersInternalServerError) IsCode(code int) bool
- func (o *GetBgpPeersInternalServerError) IsRedirect() bool
- func (o *GetBgpPeersInternalServerError) IsServerError() bool
- func (o *GetBgpPeersInternalServerError) IsSuccess() bool
- func (o *GetBgpPeersInternalServerError) String() string
- type GetBgpPeersOK
- func (o *GetBgpPeersOK) Error() string
- func (o *GetBgpPeersOK) GetPayload() []*models.BgpPeer
- func (o *GetBgpPeersOK) IsClientError() bool
- func (o *GetBgpPeersOK) IsCode(code int) bool
- func (o *GetBgpPeersOK) IsRedirect() bool
- func (o *GetBgpPeersOK) IsServerError() bool
- func (o *GetBgpPeersOK) IsSuccess() bool
- func (o *GetBgpPeersOK) String() string
- type GetBgpPeersParams
- func (o *GetBgpPeersParams) SetContext(ctx context.Context)
- func (o *GetBgpPeersParams) SetDefaults()
- func (o *GetBgpPeersParams) SetHTTPClient(client *http.Client)
- func (o *GetBgpPeersParams) SetTimeout(timeout time.Duration)
- func (o *GetBgpPeersParams) WithContext(ctx context.Context) *GetBgpPeersParams
- func (o *GetBgpPeersParams) WithDefaults() *GetBgpPeersParams
- func (o *GetBgpPeersParams) WithHTTPClient(client *http.Client) *GetBgpPeersParams
- func (o *GetBgpPeersParams) WithTimeout(timeout time.Duration) *GetBgpPeersParams
- func (o *GetBgpPeersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBgpPeersReader
- type GetBgpRoutesDisabled
- func (o *GetBgpRoutesDisabled) Error() string
- func (o *GetBgpRoutesDisabled) GetPayload() models.Error
- func (o *GetBgpRoutesDisabled) IsClientError() bool
- func (o *GetBgpRoutesDisabled) IsCode(code int) bool
- func (o *GetBgpRoutesDisabled) IsRedirect() bool
- func (o *GetBgpRoutesDisabled) IsServerError() bool
- func (o *GetBgpRoutesDisabled) IsSuccess() bool
- func (o *GetBgpRoutesDisabled) String() string
- type GetBgpRoutesInternalServerError
- func (o *GetBgpRoutesInternalServerError) Error() string
- func (o *GetBgpRoutesInternalServerError) GetPayload() models.Error
- func (o *GetBgpRoutesInternalServerError) IsClientError() bool
- func (o *GetBgpRoutesInternalServerError) IsCode(code int) bool
- func (o *GetBgpRoutesInternalServerError) IsRedirect() bool
- func (o *GetBgpRoutesInternalServerError) IsServerError() bool
- func (o *GetBgpRoutesInternalServerError) IsSuccess() bool
- func (o *GetBgpRoutesInternalServerError) String() string
- type GetBgpRoutesOK
- func (o *GetBgpRoutesOK) Error() string
- func (o *GetBgpRoutesOK) GetPayload() []*models.BgpRoute
- func (o *GetBgpRoutesOK) IsClientError() bool
- func (o *GetBgpRoutesOK) IsCode(code int) bool
- func (o *GetBgpRoutesOK) IsRedirect() bool
- func (o *GetBgpRoutesOK) IsServerError() bool
- func (o *GetBgpRoutesOK) IsSuccess() bool
- func (o *GetBgpRoutesOK) String() string
- type GetBgpRoutesParams
- func (o *GetBgpRoutesParams) SetAfi(afi string)
- func (o *GetBgpRoutesParams) SetContext(ctx context.Context)
- func (o *GetBgpRoutesParams) SetDefaults()
- func (o *GetBgpRoutesParams) SetHTTPClient(client *http.Client)
- func (o *GetBgpRoutesParams) SetNeighbor(neighbor *string)
- func (o *GetBgpRoutesParams) SetRouterAsn(routerAsn *int64)
- func (o *GetBgpRoutesParams) SetSafi(safi string)
- func (o *GetBgpRoutesParams) SetTableType(tableType string)
- func (o *GetBgpRoutesParams) SetTimeout(timeout time.Duration)
- func (o *GetBgpRoutesParams) WithAfi(afi string) *GetBgpRoutesParams
- func (o *GetBgpRoutesParams) WithContext(ctx context.Context) *GetBgpRoutesParams
- func (o *GetBgpRoutesParams) WithDefaults() *GetBgpRoutesParams
- func (o *GetBgpRoutesParams) WithHTTPClient(client *http.Client) *GetBgpRoutesParams
- func (o *GetBgpRoutesParams) WithNeighbor(neighbor *string) *GetBgpRoutesParams
- func (o *GetBgpRoutesParams) WithRouterAsn(routerAsn *int64) *GetBgpRoutesParams
- func (o *GetBgpRoutesParams) WithSafi(safi string) *GetBgpRoutesParams
- func (o *GetBgpRoutesParams) WithTableType(tableType string) *GetBgpRoutesParams
- func (o *GetBgpRoutesParams) WithTimeout(timeout time.Duration) *GetBgpRoutesParams
- func (o *GetBgpRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBgpRoutesReader
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 bgp API
func (*Client) GetBgpPeers ¶
func (a *Client) GetBgpPeers(params *GetBgpPeersParams, opts ...ClientOption) (*GetBgpPeersOK, error)
GetBgpPeers lists operational state of b g p peers Retrieves current operational state of BGP peers created by
Cilium BGP virtual router. This includes session state, uptime, information per address family, etc.
func (*Client) GetBgpRoutes ¶
func (a *Client) GetBgpRoutes(params *GetBgpRoutesParams, opts ...ClientOption) (*GetBgpRoutesOK, error)
GetBgpRoutes lists b g p routes from b g p control plane r i b
Retrieves routes from BGP Control Plane RIB filtered by parameters you specify
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetBgpPeers(params *GetBgpPeersParams, opts ...ClientOption) (*GetBgpPeersOK, error) GetBgpRoutes(params *GetBgpRoutesParams, opts ...ClientOption) (*GetBgpRoutesOK, 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 bgp API client.
type GetBgpPeersDisabled ¶
GetBgpPeersDisabled describes a response with status code 501, with default header values.
BGP Control Plane disabled
func NewGetBgpPeersDisabled ¶
func NewGetBgpPeersDisabled() *GetBgpPeersDisabled
NewGetBgpPeersDisabled creates a GetBgpPeersDisabled with default headers values
func (*GetBgpPeersDisabled) Error ¶
func (o *GetBgpPeersDisabled) Error() string
func (*GetBgpPeersDisabled) GetPayload ¶
func (o *GetBgpPeersDisabled) GetPayload() models.Error
func (*GetBgpPeersDisabled) IsClientError ¶
func (o *GetBgpPeersDisabled) IsClientError() bool
IsClientError returns true when this get bgp peers disabled response has a 4xx status code
func (*GetBgpPeersDisabled) IsCode ¶
func (o *GetBgpPeersDisabled) IsCode(code int) bool
IsCode returns true when this get bgp peers disabled response a status code equal to that given
func (*GetBgpPeersDisabled) IsRedirect ¶
func (o *GetBgpPeersDisabled) IsRedirect() bool
IsRedirect returns true when this get bgp peers disabled response has a 3xx status code
func (*GetBgpPeersDisabled) IsServerError ¶
func (o *GetBgpPeersDisabled) IsServerError() bool
IsServerError returns true when this get bgp peers disabled response has a 5xx status code
func (*GetBgpPeersDisabled) IsSuccess ¶
func (o *GetBgpPeersDisabled) IsSuccess() bool
IsSuccess returns true when this get bgp peers disabled response has a 2xx status code
func (*GetBgpPeersDisabled) String ¶
func (o *GetBgpPeersDisabled) String() string
type GetBgpPeersInternalServerError ¶
GetBgpPeersInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetBgpPeersInternalServerError ¶
func NewGetBgpPeersInternalServerError() *GetBgpPeersInternalServerError
NewGetBgpPeersInternalServerError creates a GetBgpPeersInternalServerError with default headers values
func (*GetBgpPeersInternalServerError) Error ¶
func (o *GetBgpPeersInternalServerError) Error() string
func (*GetBgpPeersInternalServerError) GetPayload ¶
func (o *GetBgpPeersInternalServerError) GetPayload() models.Error
func (*GetBgpPeersInternalServerError) IsClientError ¶
func (o *GetBgpPeersInternalServerError) IsClientError() bool
IsClientError returns true when this get bgp peers internal server error response has a 4xx status code
func (*GetBgpPeersInternalServerError) IsCode ¶
func (o *GetBgpPeersInternalServerError) IsCode(code int) bool
IsCode returns true when this get bgp peers internal server error response a status code equal to that given
func (*GetBgpPeersInternalServerError) IsRedirect ¶
func (o *GetBgpPeersInternalServerError) IsRedirect() bool
IsRedirect returns true when this get bgp peers internal server error response has a 3xx status code
func (*GetBgpPeersInternalServerError) IsServerError ¶
func (o *GetBgpPeersInternalServerError) IsServerError() bool
IsServerError returns true when this get bgp peers internal server error response has a 5xx status code
func (*GetBgpPeersInternalServerError) IsSuccess ¶
func (o *GetBgpPeersInternalServerError) IsSuccess() bool
IsSuccess returns true when this get bgp peers internal server error response has a 2xx status code
func (*GetBgpPeersInternalServerError) String ¶
func (o *GetBgpPeersInternalServerError) String() string
type GetBgpPeersOK ¶
GetBgpPeersOK describes a response with status code 200, with default header values.
Success
func NewGetBgpPeersOK ¶
func NewGetBgpPeersOK() *GetBgpPeersOK
NewGetBgpPeersOK creates a GetBgpPeersOK with default headers values
func (*GetBgpPeersOK) Error ¶
func (o *GetBgpPeersOK) Error() string
func (*GetBgpPeersOK) GetPayload ¶
func (o *GetBgpPeersOK) GetPayload() []*models.BgpPeer
func (*GetBgpPeersOK) IsClientError ¶
func (o *GetBgpPeersOK) IsClientError() bool
IsClientError returns true when this get bgp peers o k response has a 4xx status code
func (*GetBgpPeersOK) IsCode ¶
func (o *GetBgpPeersOK) IsCode(code int) bool
IsCode returns true when this get bgp peers o k response a status code equal to that given
func (*GetBgpPeersOK) IsRedirect ¶
func (o *GetBgpPeersOK) IsRedirect() bool
IsRedirect returns true when this get bgp peers o k response has a 3xx status code
func (*GetBgpPeersOK) IsServerError ¶
func (o *GetBgpPeersOK) IsServerError() bool
IsServerError returns true when this get bgp peers o k response has a 5xx status code
func (*GetBgpPeersOK) IsSuccess ¶
func (o *GetBgpPeersOK) IsSuccess() bool
IsSuccess returns true when this get bgp peers o k response has a 2xx status code
func (*GetBgpPeersOK) String ¶
func (o *GetBgpPeersOK) String() string
type GetBgpPeersParams ¶
type GetBgpPeersParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBgpPeersParams contains all the parameters to send to the API endpoint
for the get bgp peers operation. Typically these are written to a http.Request.
func NewGetBgpPeersParams ¶
func NewGetBgpPeersParams() *GetBgpPeersParams
NewGetBgpPeersParams creates a new GetBgpPeersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetBgpPeersParamsWithContext ¶
func NewGetBgpPeersParamsWithContext(ctx context.Context) *GetBgpPeersParams
NewGetBgpPeersParamsWithContext creates a new GetBgpPeersParams object with the ability to set a context for a request.
func NewGetBgpPeersParamsWithHTTPClient ¶
func NewGetBgpPeersParamsWithHTTPClient(client *http.Client) *GetBgpPeersParams
NewGetBgpPeersParamsWithHTTPClient creates a new GetBgpPeersParams object with the ability to set a custom HTTPClient for a request.
func NewGetBgpPeersParamsWithTimeout ¶
func NewGetBgpPeersParamsWithTimeout(timeout time.Duration) *GetBgpPeersParams
NewGetBgpPeersParamsWithTimeout creates a new GetBgpPeersParams object with the ability to set a timeout on a request.
func (*GetBgpPeersParams) SetContext ¶
func (o *GetBgpPeersParams) SetContext(ctx context.Context)
SetContext adds the context to the get bgp peers params
func (*GetBgpPeersParams) SetDefaults ¶
func (o *GetBgpPeersParams) SetDefaults()
SetDefaults hydrates default values in the get bgp peers params (not the query body).
All values with no default are reset to their zero value.
func (*GetBgpPeersParams) SetHTTPClient ¶
func (o *GetBgpPeersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get bgp peers params
func (*GetBgpPeersParams) SetTimeout ¶
func (o *GetBgpPeersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get bgp peers params
func (*GetBgpPeersParams) WithContext ¶
func (o *GetBgpPeersParams) WithContext(ctx context.Context) *GetBgpPeersParams
WithContext adds the context to the get bgp peers params
func (*GetBgpPeersParams) WithDefaults ¶
func (o *GetBgpPeersParams) WithDefaults() *GetBgpPeersParams
WithDefaults hydrates default values in the get bgp peers params (not the query body).
All values with no default are reset to their zero value.
func (*GetBgpPeersParams) WithHTTPClient ¶
func (o *GetBgpPeersParams) WithHTTPClient(client *http.Client) *GetBgpPeersParams
WithHTTPClient adds the HTTPClient to the get bgp peers params
func (*GetBgpPeersParams) WithTimeout ¶
func (o *GetBgpPeersParams) WithTimeout(timeout time.Duration) *GetBgpPeersParams
WithTimeout adds the timeout to the get bgp peers params
func (*GetBgpPeersParams) WriteToRequest ¶
func (o *GetBgpPeersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBgpPeersReader ¶
type GetBgpPeersReader struct {
// contains filtered or unexported fields
}
GetBgpPeersReader is a Reader for the GetBgpPeers structure.
func (*GetBgpPeersReader) ReadResponse ¶
func (o *GetBgpPeersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBgpRoutesDisabled ¶
GetBgpRoutesDisabled describes a response with status code 501, with default header values.
BGP Control Plane disabled
func NewGetBgpRoutesDisabled ¶
func NewGetBgpRoutesDisabled() *GetBgpRoutesDisabled
NewGetBgpRoutesDisabled creates a GetBgpRoutesDisabled with default headers values
func (*GetBgpRoutesDisabled) Error ¶
func (o *GetBgpRoutesDisabled) Error() string
func (*GetBgpRoutesDisabled) GetPayload ¶
func (o *GetBgpRoutesDisabled) GetPayload() models.Error
func (*GetBgpRoutesDisabled) IsClientError ¶
func (o *GetBgpRoutesDisabled) IsClientError() bool
IsClientError returns true when this get bgp routes disabled response has a 4xx status code
func (*GetBgpRoutesDisabled) IsCode ¶
func (o *GetBgpRoutesDisabled) IsCode(code int) bool
IsCode returns true when this get bgp routes disabled response a status code equal to that given
func (*GetBgpRoutesDisabled) IsRedirect ¶
func (o *GetBgpRoutesDisabled) IsRedirect() bool
IsRedirect returns true when this get bgp routes disabled response has a 3xx status code
func (*GetBgpRoutesDisabled) IsServerError ¶
func (o *GetBgpRoutesDisabled) IsServerError() bool
IsServerError returns true when this get bgp routes disabled response has a 5xx status code
func (*GetBgpRoutesDisabled) IsSuccess ¶
func (o *GetBgpRoutesDisabled) IsSuccess() bool
IsSuccess returns true when this get bgp routes disabled response has a 2xx status code
func (*GetBgpRoutesDisabled) String ¶
func (o *GetBgpRoutesDisabled) String() string
type GetBgpRoutesInternalServerError ¶
GetBgpRoutesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetBgpRoutesInternalServerError ¶
func NewGetBgpRoutesInternalServerError() *GetBgpRoutesInternalServerError
NewGetBgpRoutesInternalServerError creates a GetBgpRoutesInternalServerError with default headers values
func (*GetBgpRoutesInternalServerError) Error ¶
func (o *GetBgpRoutesInternalServerError) Error() string
func (*GetBgpRoutesInternalServerError) GetPayload ¶
func (o *GetBgpRoutesInternalServerError) GetPayload() models.Error
func (*GetBgpRoutesInternalServerError) IsClientError ¶
func (o *GetBgpRoutesInternalServerError) IsClientError() bool
IsClientError returns true when this get bgp routes internal server error response has a 4xx status code
func (*GetBgpRoutesInternalServerError) IsCode ¶
func (o *GetBgpRoutesInternalServerError) IsCode(code int) bool
IsCode returns true when this get bgp routes internal server error response a status code equal to that given
func (*GetBgpRoutesInternalServerError) IsRedirect ¶
func (o *GetBgpRoutesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get bgp routes internal server error response has a 3xx status code
func (*GetBgpRoutesInternalServerError) IsServerError ¶
func (o *GetBgpRoutesInternalServerError) IsServerError() bool
IsServerError returns true when this get bgp routes internal server error response has a 5xx status code
func (*GetBgpRoutesInternalServerError) IsSuccess ¶
func (o *GetBgpRoutesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get bgp routes internal server error response has a 2xx status code
func (*GetBgpRoutesInternalServerError) String ¶
func (o *GetBgpRoutesInternalServerError) String() string
type GetBgpRoutesOK ¶
GetBgpRoutesOK describes a response with status code 200, with default header values.
Success
func NewGetBgpRoutesOK ¶
func NewGetBgpRoutesOK() *GetBgpRoutesOK
NewGetBgpRoutesOK creates a GetBgpRoutesOK with default headers values
func (*GetBgpRoutesOK) Error ¶
func (o *GetBgpRoutesOK) Error() string
func (*GetBgpRoutesOK) GetPayload ¶
func (o *GetBgpRoutesOK) GetPayload() []*models.BgpRoute
func (*GetBgpRoutesOK) IsClientError ¶
func (o *GetBgpRoutesOK) IsClientError() bool
IsClientError returns true when this get bgp routes o k response has a 4xx status code
func (*GetBgpRoutesOK) IsCode ¶
func (o *GetBgpRoutesOK) IsCode(code int) bool
IsCode returns true when this get bgp routes o k response a status code equal to that given
func (*GetBgpRoutesOK) IsRedirect ¶
func (o *GetBgpRoutesOK) IsRedirect() bool
IsRedirect returns true when this get bgp routes o k response has a 3xx status code
func (*GetBgpRoutesOK) IsServerError ¶
func (o *GetBgpRoutesOK) IsServerError() bool
IsServerError returns true when this get bgp routes o k response has a 5xx status code
func (*GetBgpRoutesOK) IsSuccess ¶
func (o *GetBgpRoutesOK) IsSuccess() bool
IsSuccess returns true when this get bgp routes o k response has a 2xx status code
func (*GetBgpRoutesOK) String ¶
func (o *GetBgpRoutesOK) String() string
type GetBgpRoutesParams ¶
type GetBgpRoutesParams struct { /* Afi. Address Family Indicator (AFI) of a BGP route */ Afi string /* Neighbor. IP address specifying a BGP neighbor. Has to be specified only when table type is adj-rib-in or adj-rib-out. */ Neighbor *string /* RouterAsn. Autonomous System Number (ASN) identifying a BGP virtual router instance. If not specified, all virtual router instances are selected. */ RouterAsn *int64 /* Safi. Subsequent Address Family Indicator (SAFI) of a BGP route */ Safi string /* TableType. BGP Routing Information Base (RIB) table type */ TableType string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBgpRoutesParams contains all the parameters to send to the API endpoint
for the get bgp routes operation. Typically these are written to a http.Request.
func NewGetBgpRoutesParams ¶
func NewGetBgpRoutesParams() *GetBgpRoutesParams
NewGetBgpRoutesParams creates a new GetBgpRoutesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetBgpRoutesParamsWithContext ¶
func NewGetBgpRoutesParamsWithContext(ctx context.Context) *GetBgpRoutesParams
NewGetBgpRoutesParamsWithContext creates a new GetBgpRoutesParams object with the ability to set a context for a request.
func NewGetBgpRoutesParamsWithHTTPClient ¶
func NewGetBgpRoutesParamsWithHTTPClient(client *http.Client) *GetBgpRoutesParams
NewGetBgpRoutesParamsWithHTTPClient creates a new GetBgpRoutesParams object with the ability to set a custom HTTPClient for a request.
func NewGetBgpRoutesParamsWithTimeout ¶
func NewGetBgpRoutesParamsWithTimeout(timeout time.Duration) *GetBgpRoutesParams
NewGetBgpRoutesParamsWithTimeout creates a new GetBgpRoutesParams object with the ability to set a timeout on a request.
func (*GetBgpRoutesParams) SetAfi ¶
func (o *GetBgpRoutesParams) SetAfi(afi string)
SetAfi adds the afi to the get bgp routes params
func (*GetBgpRoutesParams) SetContext ¶
func (o *GetBgpRoutesParams) SetContext(ctx context.Context)
SetContext adds the context to the get bgp routes params
func (*GetBgpRoutesParams) SetDefaults ¶
func (o *GetBgpRoutesParams) SetDefaults()
SetDefaults hydrates default values in the get bgp routes params (not the query body).
All values with no default are reset to their zero value.
func (*GetBgpRoutesParams) SetHTTPClient ¶
func (o *GetBgpRoutesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get bgp routes params
func (*GetBgpRoutesParams) SetNeighbor ¶
func (o *GetBgpRoutesParams) SetNeighbor(neighbor *string)
SetNeighbor adds the neighbor to the get bgp routes params
func (*GetBgpRoutesParams) SetRouterAsn ¶
func (o *GetBgpRoutesParams) SetRouterAsn(routerAsn *int64)
SetRouterAsn adds the routerAsn to the get bgp routes params
func (*GetBgpRoutesParams) SetSafi ¶
func (o *GetBgpRoutesParams) SetSafi(safi string)
SetSafi adds the safi to the get bgp routes params
func (*GetBgpRoutesParams) SetTableType ¶
func (o *GetBgpRoutesParams) SetTableType(tableType string)
SetTableType adds the tableType to the get bgp routes params
func (*GetBgpRoutesParams) SetTimeout ¶
func (o *GetBgpRoutesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get bgp routes params
func (*GetBgpRoutesParams) WithAfi ¶
func (o *GetBgpRoutesParams) WithAfi(afi string) *GetBgpRoutesParams
WithAfi adds the afi to the get bgp routes params
func (*GetBgpRoutesParams) WithContext ¶
func (o *GetBgpRoutesParams) WithContext(ctx context.Context) *GetBgpRoutesParams
WithContext adds the context to the get bgp routes params
func (*GetBgpRoutesParams) WithDefaults ¶
func (o *GetBgpRoutesParams) WithDefaults() *GetBgpRoutesParams
WithDefaults hydrates default values in the get bgp routes params (not the query body).
All values with no default are reset to their zero value.
func (*GetBgpRoutesParams) WithHTTPClient ¶
func (o *GetBgpRoutesParams) WithHTTPClient(client *http.Client) *GetBgpRoutesParams
WithHTTPClient adds the HTTPClient to the get bgp routes params
func (*GetBgpRoutesParams) WithNeighbor ¶
func (o *GetBgpRoutesParams) WithNeighbor(neighbor *string) *GetBgpRoutesParams
WithNeighbor adds the neighbor to the get bgp routes params
func (*GetBgpRoutesParams) WithRouterAsn ¶
func (o *GetBgpRoutesParams) WithRouterAsn(routerAsn *int64) *GetBgpRoutesParams
WithRouterAsn adds the routerAsn to the get bgp routes params
func (*GetBgpRoutesParams) WithSafi ¶
func (o *GetBgpRoutesParams) WithSafi(safi string) *GetBgpRoutesParams
WithSafi adds the safi to the get bgp routes params
func (*GetBgpRoutesParams) WithTableType ¶
func (o *GetBgpRoutesParams) WithTableType(tableType string) *GetBgpRoutesParams
WithTableType adds the tableType to the get bgp routes params
func (*GetBgpRoutesParams) WithTimeout ¶
func (o *GetBgpRoutesParams) WithTimeout(timeout time.Duration) *GetBgpRoutesParams
WithTimeout adds the timeout to the get bgp routes params
func (*GetBgpRoutesParams) WriteToRequest ¶
func (o *GetBgpRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBgpRoutesReader ¶
type GetBgpRoutesReader struct {
// contains filtered or unexported fields
}
GetBgpRoutesReader is a Reader for the GetBgpRoutes structure.
func (*GetBgpRoutesReader) ReadResponse ¶
func (o *GetBgpRoutesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.