Documentation ¶
Index ¶
- type ApplyRoutegroupBadGateway
- func (o *ApplyRoutegroupBadGateway) Code() int
- func (o *ApplyRoutegroupBadGateway) Error() string
- func (o *ApplyRoutegroupBadGateway) GetPayload() *models.ErrorResponse
- func (o *ApplyRoutegroupBadGateway) IsClientError() bool
- func (o *ApplyRoutegroupBadGateway) IsCode(code int) bool
- func (o *ApplyRoutegroupBadGateway) IsRedirect() bool
- func (o *ApplyRoutegroupBadGateway) IsServerError() bool
- func (o *ApplyRoutegroupBadGateway) IsSuccess() bool
- func (o *ApplyRoutegroupBadGateway) String() string
- type ApplyRoutegroupBadRequest
- func (o *ApplyRoutegroupBadRequest) Code() int
- func (o *ApplyRoutegroupBadRequest) Error() string
- func (o *ApplyRoutegroupBadRequest) GetPayload() *models.ErrorResponse
- func (o *ApplyRoutegroupBadRequest) IsClientError() bool
- func (o *ApplyRoutegroupBadRequest) IsCode(code int) bool
- func (o *ApplyRoutegroupBadRequest) IsRedirect() bool
- func (o *ApplyRoutegroupBadRequest) IsServerError() bool
- func (o *ApplyRoutegroupBadRequest) IsSuccess() bool
- func (o *ApplyRoutegroupBadRequest) String() string
- type ApplyRoutegroupOK
- func (o *ApplyRoutegroupOK) Code() int
- func (o *ApplyRoutegroupOK) Error() string
- func (o *ApplyRoutegroupOK) GetPayload() *models.RouteGroup
- func (o *ApplyRoutegroupOK) IsClientError() bool
- func (o *ApplyRoutegroupOK) IsCode(code int) bool
- func (o *ApplyRoutegroupOK) IsRedirect() bool
- func (o *ApplyRoutegroupOK) IsServerError() bool
- func (o *ApplyRoutegroupOK) IsSuccess() bool
- func (o *ApplyRoutegroupOK) String() string
- type ApplyRoutegroupParams
- func NewApplyRoutegroupParams() *ApplyRoutegroupParams
- func NewApplyRoutegroupParamsWithContext(ctx context.Context) *ApplyRoutegroupParams
- func NewApplyRoutegroupParamsWithHTTPClient(client *http.Client) *ApplyRoutegroupParams
- func NewApplyRoutegroupParamsWithTimeout(timeout time.Duration) *ApplyRoutegroupParams
- func (o *ApplyRoutegroupParams) SetContext(ctx context.Context)
- func (o *ApplyRoutegroupParams) SetData(data *models.RouteGroup)
- func (o *ApplyRoutegroupParams) SetDefaults()
- func (o *ApplyRoutegroupParams) SetHTTPClient(client *http.Client)
- func (o *ApplyRoutegroupParams) SetOrgName(orgName string)
- func (o *ApplyRoutegroupParams) SetRoutegroupName(routegroupName string)
- func (o *ApplyRoutegroupParams) SetTimeout(timeout time.Duration)
- func (o *ApplyRoutegroupParams) WithContext(ctx context.Context) *ApplyRoutegroupParams
- func (o *ApplyRoutegroupParams) WithData(data *models.RouteGroup) *ApplyRoutegroupParams
- func (o *ApplyRoutegroupParams) WithDefaults() *ApplyRoutegroupParams
- func (o *ApplyRoutegroupParams) WithHTTPClient(client *http.Client) *ApplyRoutegroupParams
- func (o *ApplyRoutegroupParams) WithOrgName(orgName string) *ApplyRoutegroupParams
- func (o *ApplyRoutegroupParams) WithRoutegroupName(routegroupName string) *ApplyRoutegroupParams
- func (o *ApplyRoutegroupParams) WithTimeout(timeout time.Duration) *ApplyRoutegroupParams
- func (o *ApplyRoutegroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ApplyRoutegroupReader
- type ApplyRoutegroupUnauthorized
- func (o *ApplyRoutegroupUnauthorized) Code() int
- func (o *ApplyRoutegroupUnauthorized) Error() string
- func (o *ApplyRoutegroupUnauthorized) GetPayload() *models.ErrorResponse
- func (o *ApplyRoutegroupUnauthorized) IsClientError() bool
- func (o *ApplyRoutegroupUnauthorized) IsCode(code int) bool
- func (o *ApplyRoutegroupUnauthorized) IsRedirect() bool
- func (o *ApplyRoutegroupUnauthorized) IsServerError() bool
- func (o *ApplyRoutegroupUnauthorized) IsSuccess() bool
- func (o *ApplyRoutegroupUnauthorized) String() string
- type Client
- func (a *Client) ApplyRoutegroup(params *ApplyRoutegroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ApplyRoutegroupOK, error)
- func (a *Client) DeleteRoutegroup(params *DeleteRoutegroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteRoutegroupOK, error)
- func (a *Client) GetRoutegroup(params *GetRoutegroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRoutegroupOK, error)
- func (a *Client) ListRoutegroups(params *ListRoutegroupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListRoutegroupsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteRoutegroupBadGateway
- func (o *DeleteRoutegroupBadGateway) Code() int
- func (o *DeleteRoutegroupBadGateway) Error() string
- func (o *DeleteRoutegroupBadGateway) GetPayload() *models.ErrorResponse
- func (o *DeleteRoutegroupBadGateway) IsClientError() bool
- func (o *DeleteRoutegroupBadGateway) IsCode(code int) bool
- func (o *DeleteRoutegroupBadGateway) IsRedirect() bool
- func (o *DeleteRoutegroupBadGateway) IsServerError() bool
- func (o *DeleteRoutegroupBadGateway) IsSuccess() bool
- func (o *DeleteRoutegroupBadGateway) String() string
- type DeleteRoutegroupBadRequest
- func (o *DeleteRoutegroupBadRequest) Code() int
- func (o *DeleteRoutegroupBadRequest) Error() string
- func (o *DeleteRoutegroupBadRequest) GetPayload() *models.ErrorResponse
- func (o *DeleteRoutegroupBadRequest) IsClientError() bool
- func (o *DeleteRoutegroupBadRequest) IsCode(code int) bool
- func (o *DeleteRoutegroupBadRequest) IsRedirect() bool
- func (o *DeleteRoutegroupBadRequest) IsServerError() bool
- func (o *DeleteRoutegroupBadRequest) IsSuccess() bool
- func (o *DeleteRoutegroupBadRequest) String() string
- type DeleteRoutegroupOK
- func (o *DeleteRoutegroupOK) Code() int
- func (o *DeleteRoutegroupOK) Error() string
- func (o *DeleteRoutegroupOK) GetPayload() models.EmptyResponse
- func (o *DeleteRoutegroupOK) IsClientError() bool
- func (o *DeleteRoutegroupOK) IsCode(code int) bool
- func (o *DeleteRoutegroupOK) IsRedirect() bool
- func (o *DeleteRoutegroupOK) IsServerError() bool
- func (o *DeleteRoutegroupOK) IsSuccess() bool
- func (o *DeleteRoutegroupOK) String() string
- type DeleteRoutegroupParams
- func NewDeleteRoutegroupParams() *DeleteRoutegroupParams
- func NewDeleteRoutegroupParamsWithContext(ctx context.Context) *DeleteRoutegroupParams
- func NewDeleteRoutegroupParamsWithHTTPClient(client *http.Client) *DeleteRoutegroupParams
- func NewDeleteRoutegroupParamsWithTimeout(timeout time.Duration) *DeleteRoutegroupParams
- func (o *DeleteRoutegroupParams) SetContext(ctx context.Context)
- func (o *DeleteRoutegroupParams) SetDefaults()
- func (o *DeleteRoutegroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRoutegroupParams) SetOrgName(orgName string)
- func (o *DeleteRoutegroupParams) SetRoutegroupName(routegroupName string)
- func (o *DeleteRoutegroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRoutegroupParams) WithContext(ctx context.Context) *DeleteRoutegroupParams
- func (o *DeleteRoutegroupParams) WithDefaults() *DeleteRoutegroupParams
- func (o *DeleteRoutegroupParams) WithHTTPClient(client *http.Client) *DeleteRoutegroupParams
- func (o *DeleteRoutegroupParams) WithOrgName(orgName string) *DeleteRoutegroupParams
- func (o *DeleteRoutegroupParams) WithRoutegroupName(routegroupName string) *DeleteRoutegroupParams
- func (o *DeleteRoutegroupParams) WithTimeout(timeout time.Duration) *DeleteRoutegroupParams
- func (o *DeleteRoutegroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRoutegroupReader
- type DeleteRoutegroupUnauthorized
- func (o *DeleteRoutegroupUnauthorized) Code() int
- func (o *DeleteRoutegroupUnauthorized) Error() string
- func (o *DeleteRoutegroupUnauthorized) GetPayload() *models.ErrorResponse
- func (o *DeleteRoutegroupUnauthorized) IsClientError() bool
- func (o *DeleteRoutegroupUnauthorized) IsCode(code int) bool
- func (o *DeleteRoutegroupUnauthorized) IsRedirect() bool
- func (o *DeleteRoutegroupUnauthorized) IsServerError() bool
- func (o *DeleteRoutegroupUnauthorized) IsSuccess() bool
- func (o *DeleteRoutegroupUnauthorized) String() string
- type GetRoutegroupBadGateway
- func (o *GetRoutegroupBadGateway) Code() int
- func (o *GetRoutegroupBadGateway) Error() string
- func (o *GetRoutegroupBadGateway) GetPayload() *models.ErrorResponse
- func (o *GetRoutegroupBadGateway) IsClientError() bool
- func (o *GetRoutegroupBadGateway) IsCode(code int) bool
- func (o *GetRoutegroupBadGateway) IsRedirect() bool
- func (o *GetRoutegroupBadGateway) IsServerError() bool
- func (o *GetRoutegroupBadGateway) IsSuccess() bool
- func (o *GetRoutegroupBadGateway) String() string
- type GetRoutegroupBadRequest
- func (o *GetRoutegroupBadRequest) Code() int
- func (o *GetRoutegroupBadRequest) Error() string
- func (o *GetRoutegroupBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetRoutegroupBadRequest) IsClientError() bool
- func (o *GetRoutegroupBadRequest) IsCode(code int) bool
- func (o *GetRoutegroupBadRequest) IsRedirect() bool
- func (o *GetRoutegroupBadRequest) IsServerError() bool
- func (o *GetRoutegroupBadRequest) IsSuccess() bool
- func (o *GetRoutegroupBadRequest) String() string
- type GetRoutegroupOK
- func (o *GetRoutegroupOK) Code() int
- func (o *GetRoutegroupOK) Error() string
- func (o *GetRoutegroupOK) GetPayload() *models.RouteGroup
- func (o *GetRoutegroupOK) IsClientError() bool
- func (o *GetRoutegroupOK) IsCode(code int) bool
- func (o *GetRoutegroupOK) IsRedirect() bool
- func (o *GetRoutegroupOK) IsServerError() bool
- func (o *GetRoutegroupOK) IsSuccess() bool
- func (o *GetRoutegroupOK) String() string
- type GetRoutegroupParams
- func (o *GetRoutegroupParams) SetContext(ctx context.Context)
- func (o *GetRoutegroupParams) SetDefaults()
- func (o *GetRoutegroupParams) SetHTTPClient(client *http.Client)
- func (o *GetRoutegroupParams) SetOrgName(orgName string)
- func (o *GetRoutegroupParams) SetRoutegroupName(routegroupName string)
- func (o *GetRoutegroupParams) SetTimeout(timeout time.Duration)
- func (o *GetRoutegroupParams) WithContext(ctx context.Context) *GetRoutegroupParams
- func (o *GetRoutegroupParams) WithDefaults() *GetRoutegroupParams
- func (o *GetRoutegroupParams) WithHTTPClient(client *http.Client) *GetRoutegroupParams
- func (o *GetRoutegroupParams) WithOrgName(orgName string) *GetRoutegroupParams
- func (o *GetRoutegroupParams) WithRoutegroupName(routegroupName string) *GetRoutegroupParams
- func (o *GetRoutegroupParams) WithTimeout(timeout time.Duration) *GetRoutegroupParams
- func (o *GetRoutegroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRoutegroupReader
- type GetRoutegroupUnauthorized
- func (o *GetRoutegroupUnauthorized) Code() int
- func (o *GetRoutegroupUnauthorized) Error() string
- func (o *GetRoutegroupUnauthorized) GetPayload() *models.ErrorResponse
- func (o *GetRoutegroupUnauthorized) IsClientError() bool
- func (o *GetRoutegroupUnauthorized) IsCode(code int) bool
- func (o *GetRoutegroupUnauthorized) IsRedirect() bool
- func (o *GetRoutegroupUnauthorized) IsServerError() bool
- func (o *GetRoutegroupUnauthorized) IsSuccess() bool
- func (o *GetRoutegroupUnauthorized) String() string
- type ListRoutegroupsBadGateway
- func (o *ListRoutegroupsBadGateway) Code() int
- func (o *ListRoutegroupsBadGateway) Error() string
- func (o *ListRoutegroupsBadGateway) GetPayload() *models.ErrorResponse
- func (o *ListRoutegroupsBadGateway) IsClientError() bool
- func (o *ListRoutegroupsBadGateway) IsCode(code int) bool
- func (o *ListRoutegroupsBadGateway) IsRedirect() bool
- func (o *ListRoutegroupsBadGateway) IsServerError() bool
- func (o *ListRoutegroupsBadGateway) IsSuccess() bool
- func (o *ListRoutegroupsBadGateway) String() string
- type ListRoutegroupsBadRequest
- func (o *ListRoutegroupsBadRequest) Code() int
- func (o *ListRoutegroupsBadRequest) Error() string
- func (o *ListRoutegroupsBadRequest) GetPayload() *models.ErrorResponse
- func (o *ListRoutegroupsBadRequest) IsClientError() bool
- func (o *ListRoutegroupsBadRequest) IsCode(code int) bool
- func (o *ListRoutegroupsBadRequest) IsRedirect() bool
- func (o *ListRoutegroupsBadRequest) IsServerError() bool
- func (o *ListRoutegroupsBadRequest) IsSuccess() bool
- func (o *ListRoutegroupsBadRequest) String() string
- type ListRoutegroupsOK
- func (o *ListRoutegroupsOK) Code() int
- func (o *ListRoutegroupsOK) Error() string
- func (o *ListRoutegroupsOK) GetPayload() []*models.RouteGroup
- func (o *ListRoutegroupsOK) IsClientError() bool
- func (o *ListRoutegroupsOK) IsCode(code int) bool
- func (o *ListRoutegroupsOK) IsRedirect() bool
- func (o *ListRoutegroupsOK) IsServerError() bool
- func (o *ListRoutegroupsOK) IsSuccess() bool
- func (o *ListRoutegroupsOK) String() string
- type ListRoutegroupsParams
- func NewListRoutegroupsParams() *ListRoutegroupsParams
- func NewListRoutegroupsParamsWithContext(ctx context.Context) *ListRoutegroupsParams
- func NewListRoutegroupsParamsWithHTTPClient(client *http.Client) *ListRoutegroupsParams
- func NewListRoutegroupsParamsWithTimeout(timeout time.Duration) *ListRoutegroupsParams
- func (o *ListRoutegroupsParams) SetContext(ctx context.Context)
- func (o *ListRoutegroupsParams) SetDefaults()
- func (o *ListRoutegroupsParams) SetHTTPClient(client *http.Client)
- func (o *ListRoutegroupsParams) SetOrgName(orgName string)
- func (o *ListRoutegroupsParams) SetTimeout(timeout time.Duration)
- func (o *ListRoutegroupsParams) WithContext(ctx context.Context) *ListRoutegroupsParams
- func (o *ListRoutegroupsParams) WithDefaults() *ListRoutegroupsParams
- func (o *ListRoutegroupsParams) WithHTTPClient(client *http.Client) *ListRoutegroupsParams
- func (o *ListRoutegroupsParams) WithOrgName(orgName string) *ListRoutegroupsParams
- func (o *ListRoutegroupsParams) WithTimeout(timeout time.Duration) *ListRoutegroupsParams
- func (o *ListRoutegroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRoutegroupsReader
- type ListRoutegroupsUnauthorized
- func (o *ListRoutegroupsUnauthorized) Code() int
- func (o *ListRoutegroupsUnauthorized) Error() string
- func (o *ListRoutegroupsUnauthorized) GetPayload() *models.ErrorResponse
- func (o *ListRoutegroupsUnauthorized) IsClientError() bool
- func (o *ListRoutegroupsUnauthorized) IsCode(code int) bool
- func (o *ListRoutegroupsUnauthorized) IsRedirect() bool
- func (o *ListRoutegroupsUnauthorized) IsServerError() bool
- func (o *ListRoutegroupsUnauthorized) IsSuccess() bool
- func (o *ListRoutegroupsUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyRoutegroupBadGateway ¶
type ApplyRoutegroupBadGateway struct {
Payload *models.ErrorResponse
}
ApplyRoutegroupBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewApplyRoutegroupBadGateway ¶
func NewApplyRoutegroupBadGateway() *ApplyRoutegroupBadGateway
NewApplyRoutegroupBadGateway creates a ApplyRoutegroupBadGateway with default headers values
func (*ApplyRoutegroupBadGateway) Code ¶ added in v0.3.7
func (o *ApplyRoutegroupBadGateway) Code() int
Code gets the status code for the apply routegroup bad gateway response
func (*ApplyRoutegroupBadGateway) Error ¶
func (o *ApplyRoutegroupBadGateway) Error() string
func (*ApplyRoutegroupBadGateway) GetPayload ¶
func (o *ApplyRoutegroupBadGateway) GetPayload() *models.ErrorResponse
func (*ApplyRoutegroupBadGateway) IsClientError ¶
func (o *ApplyRoutegroupBadGateway) IsClientError() bool
IsClientError returns true when this apply routegroup bad gateway response has a 4xx status code
func (*ApplyRoutegroupBadGateway) IsCode ¶
func (o *ApplyRoutegroupBadGateway) IsCode(code int) bool
IsCode returns true when this apply routegroup bad gateway response a status code equal to that given
func (*ApplyRoutegroupBadGateway) IsRedirect ¶
func (o *ApplyRoutegroupBadGateway) IsRedirect() bool
IsRedirect returns true when this apply routegroup bad gateway response has a 3xx status code
func (*ApplyRoutegroupBadGateway) IsServerError ¶
func (o *ApplyRoutegroupBadGateway) IsServerError() bool
IsServerError returns true when this apply routegroup bad gateway response has a 5xx status code
func (*ApplyRoutegroupBadGateway) IsSuccess ¶
func (o *ApplyRoutegroupBadGateway) IsSuccess() bool
IsSuccess returns true when this apply routegroup bad gateway response has a 2xx status code
func (*ApplyRoutegroupBadGateway) String ¶
func (o *ApplyRoutegroupBadGateway) String() string
type ApplyRoutegroupBadRequest ¶
type ApplyRoutegroupBadRequest struct {
Payload *models.ErrorResponse
}
ApplyRoutegroupBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewApplyRoutegroupBadRequest ¶
func NewApplyRoutegroupBadRequest() *ApplyRoutegroupBadRequest
NewApplyRoutegroupBadRequest creates a ApplyRoutegroupBadRequest with default headers values
func (*ApplyRoutegroupBadRequest) Code ¶ added in v0.3.7
func (o *ApplyRoutegroupBadRequest) Code() int
Code gets the status code for the apply routegroup bad request response
func (*ApplyRoutegroupBadRequest) Error ¶
func (o *ApplyRoutegroupBadRequest) Error() string
func (*ApplyRoutegroupBadRequest) GetPayload ¶
func (o *ApplyRoutegroupBadRequest) GetPayload() *models.ErrorResponse
func (*ApplyRoutegroupBadRequest) IsClientError ¶
func (o *ApplyRoutegroupBadRequest) IsClientError() bool
IsClientError returns true when this apply routegroup bad request response has a 4xx status code
func (*ApplyRoutegroupBadRequest) IsCode ¶
func (o *ApplyRoutegroupBadRequest) IsCode(code int) bool
IsCode returns true when this apply routegroup bad request response a status code equal to that given
func (*ApplyRoutegroupBadRequest) IsRedirect ¶
func (o *ApplyRoutegroupBadRequest) IsRedirect() bool
IsRedirect returns true when this apply routegroup bad request response has a 3xx status code
func (*ApplyRoutegroupBadRequest) IsServerError ¶
func (o *ApplyRoutegroupBadRequest) IsServerError() bool
IsServerError returns true when this apply routegroup bad request response has a 5xx status code
func (*ApplyRoutegroupBadRequest) IsSuccess ¶
func (o *ApplyRoutegroupBadRequest) IsSuccess() bool
IsSuccess returns true when this apply routegroup bad request response has a 2xx status code
func (*ApplyRoutegroupBadRequest) String ¶
func (o *ApplyRoutegroupBadRequest) String() string
type ApplyRoutegroupOK ¶
type ApplyRoutegroupOK struct {
Payload *models.RouteGroup
}
ApplyRoutegroupOK describes a response with status code 200, with default header values.
OK
func NewApplyRoutegroupOK ¶
func NewApplyRoutegroupOK() *ApplyRoutegroupOK
NewApplyRoutegroupOK creates a ApplyRoutegroupOK with default headers values
func (*ApplyRoutegroupOK) Code ¶ added in v0.3.7
func (o *ApplyRoutegroupOK) Code() int
Code gets the status code for the apply routegroup o k response
func (*ApplyRoutegroupOK) Error ¶
func (o *ApplyRoutegroupOK) Error() string
func (*ApplyRoutegroupOK) GetPayload ¶
func (o *ApplyRoutegroupOK) GetPayload() *models.RouteGroup
func (*ApplyRoutegroupOK) IsClientError ¶
func (o *ApplyRoutegroupOK) IsClientError() bool
IsClientError returns true when this apply routegroup o k response has a 4xx status code
func (*ApplyRoutegroupOK) IsCode ¶
func (o *ApplyRoutegroupOK) IsCode(code int) bool
IsCode returns true when this apply routegroup o k response a status code equal to that given
func (*ApplyRoutegroupOK) IsRedirect ¶
func (o *ApplyRoutegroupOK) IsRedirect() bool
IsRedirect returns true when this apply routegroup o k response has a 3xx status code
func (*ApplyRoutegroupOK) IsServerError ¶
func (o *ApplyRoutegroupOK) IsServerError() bool
IsServerError returns true when this apply routegroup o k response has a 5xx status code
func (*ApplyRoutegroupOK) IsSuccess ¶
func (o *ApplyRoutegroupOK) IsSuccess() bool
IsSuccess returns true when this apply routegroup o k response has a 2xx status code
func (*ApplyRoutegroupOK) String ¶
func (o *ApplyRoutegroupOK) String() string
type ApplyRoutegroupParams ¶
type ApplyRoutegroupParams struct { /* Data. Request to create or update routegroup */ Data *models.RouteGroup /* OrgName. Signadot Org Name */ OrgName string /* RoutegroupName. RouteGroup Name */ RoutegroupName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ApplyRoutegroupParams contains all the parameters to send to the API endpoint
for the apply routegroup operation. Typically these are written to a http.Request.
func NewApplyRoutegroupParams ¶
func NewApplyRoutegroupParams() *ApplyRoutegroupParams
NewApplyRoutegroupParams creates a new ApplyRoutegroupParams 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 NewApplyRoutegroupParamsWithContext ¶
func NewApplyRoutegroupParamsWithContext(ctx context.Context) *ApplyRoutegroupParams
NewApplyRoutegroupParamsWithContext creates a new ApplyRoutegroupParams object with the ability to set a context for a request.
func NewApplyRoutegroupParamsWithHTTPClient ¶
func NewApplyRoutegroupParamsWithHTTPClient(client *http.Client) *ApplyRoutegroupParams
NewApplyRoutegroupParamsWithHTTPClient creates a new ApplyRoutegroupParams object with the ability to set a custom HTTPClient for a request.
func NewApplyRoutegroupParamsWithTimeout ¶
func NewApplyRoutegroupParamsWithTimeout(timeout time.Duration) *ApplyRoutegroupParams
NewApplyRoutegroupParamsWithTimeout creates a new ApplyRoutegroupParams object with the ability to set a timeout on a request.
func (*ApplyRoutegroupParams) SetContext ¶
func (o *ApplyRoutegroupParams) SetContext(ctx context.Context)
SetContext adds the context to the apply routegroup params
func (*ApplyRoutegroupParams) SetData ¶
func (o *ApplyRoutegroupParams) SetData(data *models.RouteGroup)
SetData adds the data to the apply routegroup params
func (*ApplyRoutegroupParams) SetDefaults ¶
func (o *ApplyRoutegroupParams) SetDefaults()
SetDefaults hydrates default values in the apply routegroup params (not the query body).
All values with no default are reset to their zero value.
func (*ApplyRoutegroupParams) SetHTTPClient ¶
func (o *ApplyRoutegroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the apply routegroup params
func (*ApplyRoutegroupParams) SetOrgName ¶
func (o *ApplyRoutegroupParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the apply routegroup params
func (*ApplyRoutegroupParams) SetRoutegroupName ¶
func (o *ApplyRoutegroupParams) SetRoutegroupName(routegroupName string)
SetRoutegroupName adds the routegroupName to the apply routegroup params
func (*ApplyRoutegroupParams) SetTimeout ¶
func (o *ApplyRoutegroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the apply routegroup params
func (*ApplyRoutegroupParams) WithContext ¶
func (o *ApplyRoutegroupParams) WithContext(ctx context.Context) *ApplyRoutegroupParams
WithContext adds the context to the apply routegroup params
func (*ApplyRoutegroupParams) WithData ¶
func (o *ApplyRoutegroupParams) WithData(data *models.RouteGroup) *ApplyRoutegroupParams
WithData adds the data to the apply routegroup params
func (*ApplyRoutegroupParams) WithDefaults ¶
func (o *ApplyRoutegroupParams) WithDefaults() *ApplyRoutegroupParams
WithDefaults hydrates default values in the apply routegroup params (not the query body).
All values with no default are reset to their zero value.
func (*ApplyRoutegroupParams) WithHTTPClient ¶
func (o *ApplyRoutegroupParams) WithHTTPClient(client *http.Client) *ApplyRoutegroupParams
WithHTTPClient adds the HTTPClient to the apply routegroup params
func (*ApplyRoutegroupParams) WithOrgName ¶
func (o *ApplyRoutegroupParams) WithOrgName(orgName string) *ApplyRoutegroupParams
WithOrgName adds the orgName to the apply routegroup params
func (*ApplyRoutegroupParams) WithRoutegroupName ¶
func (o *ApplyRoutegroupParams) WithRoutegroupName(routegroupName string) *ApplyRoutegroupParams
WithRoutegroupName adds the routegroupName to the apply routegroup params
func (*ApplyRoutegroupParams) WithTimeout ¶
func (o *ApplyRoutegroupParams) WithTimeout(timeout time.Duration) *ApplyRoutegroupParams
WithTimeout adds the timeout to the apply routegroup params
func (*ApplyRoutegroupParams) WriteToRequest ¶
func (o *ApplyRoutegroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ApplyRoutegroupReader ¶
type ApplyRoutegroupReader struct {
// contains filtered or unexported fields
}
ApplyRoutegroupReader is a Reader for the ApplyRoutegroup structure.
func (*ApplyRoutegroupReader) ReadResponse ¶
func (o *ApplyRoutegroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ApplyRoutegroupUnauthorized ¶
type ApplyRoutegroupUnauthorized struct {
}ApplyRoutegroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewApplyRoutegroupUnauthorized ¶
func NewApplyRoutegroupUnauthorized() *ApplyRoutegroupUnauthorized
NewApplyRoutegroupUnauthorized creates a ApplyRoutegroupUnauthorized with default headers values
func (*ApplyRoutegroupUnauthorized) Code ¶ added in v0.3.7
func (o *ApplyRoutegroupUnauthorized) Code() int
Code gets the status code for the apply routegroup unauthorized response
func (*ApplyRoutegroupUnauthorized) Error ¶
func (o *ApplyRoutegroupUnauthorized) Error() string
func (*ApplyRoutegroupUnauthorized) GetPayload ¶
func (o *ApplyRoutegroupUnauthorized) GetPayload() *models.ErrorResponse
func (*ApplyRoutegroupUnauthorized) IsClientError ¶
func (o *ApplyRoutegroupUnauthorized) IsClientError() bool
IsClientError returns true when this apply routegroup unauthorized response has a 4xx status code
func (*ApplyRoutegroupUnauthorized) IsCode ¶
func (o *ApplyRoutegroupUnauthorized) IsCode(code int) bool
IsCode returns true when this apply routegroup unauthorized response a status code equal to that given
func (*ApplyRoutegroupUnauthorized) IsRedirect ¶
func (o *ApplyRoutegroupUnauthorized) IsRedirect() bool
IsRedirect returns true when this apply routegroup unauthorized response has a 3xx status code
func (*ApplyRoutegroupUnauthorized) IsServerError ¶
func (o *ApplyRoutegroupUnauthorized) IsServerError() bool
IsServerError returns true when this apply routegroup unauthorized response has a 5xx status code
func (*ApplyRoutegroupUnauthorized) IsSuccess ¶
func (o *ApplyRoutegroupUnauthorized) IsSuccess() bool
IsSuccess returns true when this apply routegroup unauthorized response has a 2xx status code
func (*ApplyRoutegroupUnauthorized) String ¶
func (o *ApplyRoutegroupUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for route groups API
func (*Client) ApplyRoutegroup ¶
func (a *Client) ApplyRoutegroup(params *ApplyRoutegroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ApplyRoutegroupOK, error)
ApplyRoutegroup creates or update a routegroup
Creates or updates a routegroup with the provided parameters.
func (*Client) DeleteRoutegroup ¶
func (a *Client) DeleteRoutegroup(params *DeleteRoutegroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRoutegroupOK, error)
DeleteRoutegroup deletes a routegroup
Delete a given routegroup.
func (*Client) GetRoutegroup ¶
func (a *Client) GetRoutegroup(params *GetRoutegroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRoutegroupOK, error)
GetRoutegroup gets a routegroup
Fetch the details about a given routegroup.
func (*Client) ListRoutegroups ¶
func (a *Client) ListRoutegroups(params *ListRoutegroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRoutegroupsOK, error)
ListRoutegroups lists routegroups
List all routegroups under the specified Signadot org.
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 { ApplyRoutegroup(params *ApplyRoutegroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ApplyRoutegroupOK, error) DeleteRoutegroup(params *DeleteRoutegroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRoutegroupOK, error) GetRoutegroup(params *GetRoutegroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRoutegroupOK, error) ListRoutegroups(params *ListRoutegroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRoutegroupsOK, 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 route groups API client.
type DeleteRoutegroupBadGateway ¶
type DeleteRoutegroupBadGateway struct {
Payload *models.ErrorResponse
}
DeleteRoutegroupBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewDeleteRoutegroupBadGateway ¶
func NewDeleteRoutegroupBadGateway() *DeleteRoutegroupBadGateway
NewDeleteRoutegroupBadGateway creates a DeleteRoutegroupBadGateway with default headers values
func (*DeleteRoutegroupBadGateway) Code ¶ added in v0.3.7
func (o *DeleteRoutegroupBadGateway) Code() int
Code gets the status code for the delete routegroup bad gateway response
func (*DeleteRoutegroupBadGateway) Error ¶
func (o *DeleteRoutegroupBadGateway) Error() string
func (*DeleteRoutegroupBadGateway) GetPayload ¶
func (o *DeleteRoutegroupBadGateway) GetPayload() *models.ErrorResponse
func (*DeleteRoutegroupBadGateway) IsClientError ¶
func (o *DeleteRoutegroupBadGateway) IsClientError() bool
IsClientError returns true when this delete routegroup bad gateway response has a 4xx status code
func (*DeleteRoutegroupBadGateway) IsCode ¶
func (o *DeleteRoutegroupBadGateway) IsCode(code int) bool
IsCode returns true when this delete routegroup bad gateway response a status code equal to that given
func (*DeleteRoutegroupBadGateway) IsRedirect ¶
func (o *DeleteRoutegroupBadGateway) IsRedirect() bool
IsRedirect returns true when this delete routegroup bad gateway response has a 3xx status code
func (*DeleteRoutegroupBadGateway) IsServerError ¶
func (o *DeleteRoutegroupBadGateway) IsServerError() bool
IsServerError returns true when this delete routegroup bad gateway response has a 5xx status code
func (*DeleteRoutegroupBadGateway) IsSuccess ¶
func (o *DeleteRoutegroupBadGateway) IsSuccess() bool
IsSuccess returns true when this delete routegroup bad gateway response has a 2xx status code
func (*DeleteRoutegroupBadGateway) String ¶
func (o *DeleteRoutegroupBadGateway) String() string
type DeleteRoutegroupBadRequest ¶
type DeleteRoutegroupBadRequest struct {
Payload *models.ErrorResponse
}
DeleteRoutegroupBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteRoutegroupBadRequest ¶
func NewDeleteRoutegroupBadRequest() *DeleteRoutegroupBadRequest
NewDeleteRoutegroupBadRequest creates a DeleteRoutegroupBadRequest with default headers values
func (*DeleteRoutegroupBadRequest) Code ¶ added in v0.3.7
func (o *DeleteRoutegroupBadRequest) Code() int
Code gets the status code for the delete routegroup bad request response
func (*DeleteRoutegroupBadRequest) Error ¶
func (o *DeleteRoutegroupBadRequest) Error() string
func (*DeleteRoutegroupBadRequest) GetPayload ¶
func (o *DeleteRoutegroupBadRequest) GetPayload() *models.ErrorResponse
func (*DeleteRoutegroupBadRequest) IsClientError ¶
func (o *DeleteRoutegroupBadRequest) IsClientError() bool
IsClientError returns true when this delete routegroup bad request response has a 4xx status code
func (*DeleteRoutegroupBadRequest) IsCode ¶
func (o *DeleteRoutegroupBadRequest) IsCode(code int) bool
IsCode returns true when this delete routegroup bad request response a status code equal to that given
func (*DeleteRoutegroupBadRequest) IsRedirect ¶
func (o *DeleteRoutegroupBadRequest) IsRedirect() bool
IsRedirect returns true when this delete routegroup bad request response has a 3xx status code
func (*DeleteRoutegroupBadRequest) IsServerError ¶
func (o *DeleteRoutegroupBadRequest) IsServerError() bool
IsServerError returns true when this delete routegroup bad request response has a 5xx status code
func (*DeleteRoutegroupBadRequest) IsSuccess ¶
func (o *DeleteRoutegroupBadRequest) IsSuccess() bool
IsSuccess returns true when this delete routegroup bad request response has a 2xx status code
func (*DeleteRoutegroupBadRequest) String ¶
func (o *DeleteRoutegroupBadRequest) String() string
type DeleteRoutegroupOK ¶
type DeleteRoutegroupOK struct {
Payload models.EmptyResponse
}
DeleteRoutegroupOK describes a response with status code 200, with default header values.
OK
func NewDeleteRoutegroupOK ¶
func NewDeleteRoutegroupOK() *DeleteRoutegroupOK
NewDeleteRoutegroupOK creates a DeleteRoutegroupOK with default headers values
func (*DeleteRoutegroupOK) Code ¶ added in v0.3.7
func (o *DeleteRoutegroupOK) Code() int
Code gets the status code for the delete routegroup o k response
func (*DeleteRoutegroupOK) Error ¶
func (o *DeleteRoutegroupOK) Error() string
func (*DeleteRoutegroupOK) GetPayload ¶
func (o *DeleteRoutegroupOK) GetPayload() models.EmptyResponse
func (*DeleteRoutegroupOK) IsClientError ¶
func (o *DeleteRoutegroupOK) IsClientError() bool
IsClientError returns true when this delete routegroup o k response has a 4xx status code
func (*DeleteRoutegroupOK) IsCode ¶
func (o *DeleteRoutegroupOK) IsCode(code int) bool
IsCode returns true when this delete routegroup o k response a status code equal to that given
func (*DeleteRoutegroupOK) IsRedirect ¶
func (o *DeleteRoutegroupOK) IsRedirect() bool
IsRedirect returns true when this delete routegroup o k response has a 3xx status code
func (*DeleteRoutegroupOK) IsServerError ¶
func (o *DeleteRoutegroupOK) IsServerError() bool
IsServerError returns true when this delete routegroup o k response has a 5xx status code
func (*DeleteRoutegroupOK) IsSuccess ¶
func (o *DeleteRoutegroupOK) IsSuccess() bool
IsSuccess returns true when this delete routegroup o k response has a 2xx status code
func (*DeleteRoutegroupOK) String ¶
func (o *DeleteRoutegroupOK) String() string
type DeleteRoutegroupParams ¶
type DeleteRoutegroupParams struct { /* OrgName. Signadot Org Name */ OrgName string /* RoutegroupName. RouteGroup Name */ RoutegroupName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRoutegroupParams contains all the parameters to send to the API endpoint
for the delete routegroup operation. Typically these are written to a http.Request.
func NewDeleteRoutegroupParams ¶
func NewDeleteRoutegroupParams() *DeleteRoutegroupParams
NewDeleteRoutegroupParams creates a new DeleteRoutegroupParams 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 NewDeleteRoutegroupParamsWithContext ¶
func NewDeleteRoutegroupParamsWithContext(ctx context.Context) *DeleteRoutegroupParams
NewDeleteRoutegroupParamsWithContext creates a new DeleteRoutegroupParams object with the ability to set a context for a request.
func NewDeleteRoutegroupParamsWithHTTPClient ¶
func NewDeleteRoutegroupParamsWithHTTPClient(client *http.Client) *DeleteRoutegroupParams
NewDeleteRoutegroupParamsWithHTTPClient creates a new DeleteRoutegroupParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRoutegroupParamsWithTimeout ¶
func NewDeleteRoutegroupParamsWithTimeout(timeout time.Duration) *DeleteRoutegroupParams
NewDeleteRoutegroupParamsWithTimeout creates a new DeleteRoutegroupParams object with the ability to set a timeout on a request.
func (*DeleteRoutegroupParams) SetContext ¶
func (o *DeleteRoutegroupParams) SetContext(ctx context.Context)
SetContext adds the context to the delete routegroup params
func (*DeleteRoutegroupParams) SetDefaults ¶
func (o *DeleteRoutegroupParams) SetDefaults()
SetDefaults hydrates default values in the delete routegroup params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRoutegroupParams) SetHTTPClient ¶
func (o *DeleteRoutegroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete routegroup params
func (*DeleteRoutegroupParams) SetOrgName ¶
func (o *DeleteRoutegroupParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the delete routegroup params
func (*DeleteRoutegroupParams) SetRoutegroupName ¶
func (o *DeleteRoutegroupParams) SetRoutegroupName(routegroupName string)
SetRoutegroupName adds the routegroupName to the delete routegroup params
func (*DeleteRoutegroupParams) SetTimeout ¶
func (o *DeleteRoutegroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete routegroup params
func (*DeleteRoutegroupParams) WithContext ¶
func (o *DeleteRoutegroupParams) WithContext(ctx context.Context) *DeleteRoutegroupParams
WithContext adds the context to the delete routegroup params
func (*DeleteRoutegroupParams) WithDefaults ¶
func (o *DeleteRoutegroupParams) WithDefaults() *DeleteRoutegroupParams
WithDefaults hydrates default values in the delete routegroup params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRoutegroupParams) WithHTTPClient ¶
func (o *DeleteRoutegroupParams) WithHTTPClient(client *http.Client) *DeleteRoutegroupParams
WithHTTPClient adds the HTTPClient to the delete routegroup params
func (*DeleteRoutegroupParams) WithOrgName ¶
func (o *DeleteRoutegroupParams) WithOrgName(orgName string) *DeleteRoutegroupParams
WithOrgName adds the orgName to the delete routegroup params
func (*DeleteRoutegroupParams) WithRoutegroupName ¶
func (o *DeleteRoutegroupParams) WithRoutegroupName(routegroupName string) *DeleteRoutegroupParams
WithRoutegroupName adds the routegroupName to the delete routegroup params
func (*DeleteRoutegroupParams) WithTimeout ¶
func (o *DeleteRoutegroupParams) WithTimeout(timeout time.Duration) *DeleteRoutegroupParams
WithTimeout adds the timeout to the delete routegroup params
func (*DeleteRoutegroupParams) WriteToRequest ¶
func (o *DeleteRoutegroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRoutegroupReader ¶
type DeleteRoutegroupReader struct {
// contains filtered or unexported fields
}
DeleteRoutegroupReader is a Reader for the DeleteRoutegroup structure.
func (*DeleteRoutegroupReader) ReadResponse ¶
func (o *DeleteRoutegroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRoutegroupUnauthorized ¶
type DeleteRoutegroupUnauthorized struct {
}DeleteRoutegroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteRoutegroupUnauthorized ¶
func NewDeleteRoutegroupUnauthorized() *DeleteRoutegroupUnauthorized
NewDeleteRoutegroupUnauthorized creates a DeleteRoutegroupUnauthorized with default headers values
func (*DeleteRoutegroupUnauthorized) Code ¶ added in v0.3.7
func (o *DeleteRoutegroupUnauthorized) Code() int
Code gets the status code for the delete routegroup unauthorized response
func (*DeleteRoutegroupUnauthorized) Error ¶
func (o *DeleteRoutegroupUnauthorized) Error() string
func (*DeleteRoutegroupUnauthorized) GetPayload ¶
func (o *DeleteRoutegroupUnauthorized) GetPayload() *models.ErrorResponse
func (*DeleteRoutegroupUnauthorized) IsClientError ¶
func (o *DeleteRoutegroupUnauthorized) IsClientError() bool
IsClientError returns true when this delete routegroup unauthorized response has a 4xx status code
func (*DeleteRoutegroupUnauthorized) IsCode ¶
func (o *DeleteRoutegroupUnauthorized) IsCode(code int) bool
IsCode returns true when this delete routegroup unauthorized response a status code equal to that given
func (*DeleteRoutegroupUnauthorized) IsRedirect ¶
func (o *DeleteRoutegroupUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete routegroup unauthorized response has a 3xx status code
func (*DeleteRoutegroupUnauthorized) IsServerError ¶
func (o *DeleteRoutegroupUnauthorized) IsServerError() bool
IsServerError returns true when this delete routegroup unauthorized response has a 5xx status code
func (*DeleteRoutegroupUnauthorized) IsSuccess ¶
func (o *DeleteRoutegroupUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete routegroup unauthorized response has a 2xx status code
func (*DeleteRoutegroupUnauthorized) String ¶
func (o *DeleteRoutegroupUnauthorized) String() string
type GetRoutegroupBadGateway ¶
type GetRoutegroupBadGateway struct {
Payload *models.ErrorResponse
}
GetRoutegroupBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewGetRoutegroupBadGateway ¶
func NewGetRoutegroupBadGateway() *GetRoutegroupBadGateway
NewGetRoutegroupBadGateway creates a GetRoutegroupBadGateway with default headers values
func (*GetRoutegroupBadGateway) Code ¶ added in v0.3.7
func (o *GetRoutegroupBadGateway) Code() int
Code gets the status code for the get routegroup bad gateway response
func (*GetRoutegroupBadGateway) Error ¶
func (o *GetRoutegroupBadGateway) Error() string
func (*GetRoutegroupBadGateway) GetPayload ¶
func (o *GetRoutegroupBadGateway) GetPayload() *models.ErrorResponse
func (*GetRoutegroupBadGateway) IsClientError ¶
func (o *GetRoutegroupBadGateway) IsClientError() bool
IsClientError returns true when this get routegroup bad gateway response has a 4xx status code
func (*GetRoutegroupBadGateway) IsCode ¶
func (o *GetRoutegroupBadGateway) IsCode(code int) bool
IsCode returns true when this get routegroup bad gateway response a status code equal to that given
func (*GetRoutegroupBadGateway) IsRedirect ¶
func (o *GetRoutegroupBadGateway) IsRedirect() bool
IsRedirect returns true when this get routegroup bad gateway response has a 3xx status code
func (*GetRoutegroupBadGateway) IsServerError ¶
func (o *GetRoutegroupBadGateway) IsServerError() bool
IsServerError returns true when this get routegroup bad gateway response has a 5xx status code
func (*GetRoutegroupBadGateway) IsSuccess ¶
func (o *GetRoutegroupBadGateway) IsSuccess() bool
IsSuccess returns true when this get routegroup bad gateway response has a 2xx status code
func (*GetRoutegroupBadGateway) String ¶
func (o *GetRoutegroupBadGateway) String() string
type GetRoutegroupBadRequest ¶
type GetRoutegroupBadRequest struct {
Payload *models.ErrorResponse
}
GetRoutegroupBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetRoutegroupBadRequest ¶
func NewGetRoutegroupBadRequest() *GetRoutegroupBadRequest
NewGetRoutegroupBadRequest creates a GetRoutegroupBadRequest with default headers values
func (*GetRoutegroupBadRequest) Code ¶ added in v0.3.7
func (o *GetRoutegroupBadRequest) Code() int
Code gets the status code for the get routegroup bad request response
func (*GetRoutegroupBadRequest) Error ¶
func (o *GetRoutegroupBadRequest) Error() string
func (*GetRoutegroupBadRequest) GetPayload ¶
func (o *GetRoutegroupBadRequest) GetPayload() *models.ErrorResponse
func (*GetRoutegroupBadRequest) IsClientError ¶
func (o *GetRoutegroupBadRequest) IsClientError() bool
IsClientError returns true when this get routegroup bad request response has a 4xx status code
func (*GetRoutegroupBadRequest) IsCode ¶
func (o *GetRoutegroupBadRequest) IsCode(code int) bool
IsCode returns true when this get routegroup bad request response a status code equal to that given
func (*GetRoutegroupBadRequest) IsRedirect ¶
func (o *GetRoutegroupBadRequest) IsRedirect() bool
IsRedirect returns true when this get routegroup bad request response has a 3xx status code
func (*GetRoutegroupBadRequest) IsServerError ¶
func (o *GetRoutegroupBadRequest) IsServerError() bool
IsServerError returns true when this get routegroup bad request response has a 5xx status code
func (*GetRoutegroupBadRequest) IsSuccess ¶
func (o *GetRoutegroupBadRequest) IsSuccess() bool
IsSuccess returns true when this get routegroup bad request response has a 2xx status code
func (*GetRoutegroupBadRequest) String ¶
func (o *GetRoutegroupBadRequest) String() string
type GetRoutegroupOK ¶
type GetRoutegroupOK struct {
Payload *models.RouteGroup
}
GetRoutegroupOK describes a response with status code 200, with default header values.
OK
func NewGetRoutegroupOK ¶
func NewGetRoutegroupOK() *GetRoutegroupOK
NewGetRoutegroupOK creates a GetRoutegroupOK with default headers values
func (*GetRoutegroupOK) Code ¶ added in v0.3.7
func (o *GetRoutegroupOK) Code() int
Code gets the status code for the get routegroup o k response
func (*GetRoutegroupOK) Error ¶
func (o *GetRoutegroupOK) Error() string
func (*GetRoutegroupOK) GetPayload ¶
func (o *GetRoutegroupOK) GetPayload() *models.RouteGroup
func (*GetRoutegroupOK) IsClientError ¶
func (o *GetRoutegroupOK) IsClientError() bool
IsClientError returns true when this get routegroup o k response has a 4xx status code
func (*GetRoutegroupOK) IsCode ¶
func (o *GetRoutegroupOK) IsCode(code int) bool
IsCode returns true when this get routegroup o k response a status code equal to that given
func (*GetRoutegroupOK) IsRedirect ¶
func (o *GetRoutegroupOK) IsRedirect() bool
IsRedirect returns true when this get routegroup o k response has a 3xx status code
func (*GetRoutegroupOK) IsServerError ¶
func (o *GetRoutegroupOK) IsServerError() bool
IsServerError returns true when this get routegroup o k response has a 5xx status code
func (*GetRoutegroupOK) IsSuccess ¶
func (o *GetRoutegroupOK) IsSuccess() bool
IsSuccess returns true when this get routegroup o k response has a 2xx status code
func (*GetRoutegroupOK) String ¶
func (o *GetRoutegroupOK) String() string
type GetRoutegroupParams ¶
type GetRoutegroupParams struct { /* OrgName. Signadot Org Name */ OrgName string /* RoutegroupName. RouteGroup Name */ RoutegroupName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRoutegroupParams contains all the parameters to send to the API endpoint
for the get routegroup operation. Typically these are written to a http.Request.
func NewGetRoutegroupParams ¶
func NewGetRoutegroupParams() *GetRoutegroupParams
NewGetRoutegroupParams creates a new GetRoutegroupParams 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 NewGetRoutegroupParamsWithContext ¶
func NewGetRoutegroupParamsWithContext(ctx context.Context) *GetRoutegroupParams
NewGetRoutegroupParamsWithContext creates a new GetRoutegroupParams object with the ability to set a context for a request.
func NewGetRoutegroupParamsWithHTTPClient ¶
func NewGetRoutegroupParamsWithHTTPClient(client *http.Client) *GetRoutegroupParams
NewGetRoutegroupParamsWithHTTPClient creates a new GetRoutegroupParams object with the ability to set a custom HTTPClient for a request.
func NewGetRoutegroupParamsWithTimeout ¶
func NewGetRoutegroupParamsWithTimeout(timeout time.Duration) *GetRoutegroupParams
NewGetRoutegroupParamsWithTimeout creates a new GetRoutegroupParams object with the ability to set a timeout on a request.
func (*GetRoutegroupParams) SetContext ¶
func (o *GetRoutegroupParams) SetContext(ctx context.Context)
SetContext adds the context to the get routegroup params
func (*GetRoutegroupParams) SetDefaults ¶
func (o *GetRoutegroupParams) SetDefaults()
SetDefaults hydrates default values in the get routegroup params (not the query body).
All values with no default are reset to their zero value.
func (*GetRoutegroupParams) SetHTTPClient ¶
func (o *GetRoutegroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get routegroup params
func (*GetRoutegroupParams) SetOrgName ¶
func (o *GetRoutegroupParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the get routegroup params
func (*GetRoutegroupParams) SetRoutegroupName ¶
func (o *GetRoutegroupParams) SetRoutegroupName(routegroupName string)
SetRoutegroupName adds the routegroupName to the get routegroup params
func (*GetRoutegroupParams) SetTimeout ¶
func (o *GetRoutegroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get routegroup params
func (*GetRoutegroupParams) WithContext ¶
func (o *GetRoutegroupParams) WithContext(ctx context.Context) *GetRoutegroupParams
WithContext adds the context to the get routegroup params
func (*GetRoutegroupParams) WithDefaults ¶
func (o *GetRoutegroupParams) WithDefaults() *GetRoutegroupParams
WithDefaults hydrates default values in the get routegroup params (not the query body).
All values with no default are reset to their zero value.
func (*GetRoutegroupParams) WithHTTPClient ¶
func (o *GetRoutegroupParams) WithHTTPClient(client *http.Client) *GetRoutegroupParams
WithHTTPClient adds the HTTPClient to the get routegroup params
func (*GetRoutegroupParams) WithOrgName ¶
func (o *GetRoutegroupParams) WithOrgName(orgName string) *GetRoutegroupParams
WithOrgName adds the orgName to the get routegroup params
func (*GetRoutegroupParams) WithRoutegroupName ¶
func (o *GetRoutegroupParams) WithRoutegroupName(routegroupName string) *GetRoutegroupParams
WithRoutegroupName adds the routegroupName to the get routegroup params
func (*GetRoutegroupParams) WithTimeout ¶
func (o *GetRoutegroupParams) WithTimeout(timeout time.Duration) *GetRoutegroupParams
WithTimeout adds the timeout to the get routegroup params
func (*GetRoutegroupParams) WriteToRequest ¶
func (o *GetRoutegroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRoutegroupReader ¶
type GetRoutegroupReader struct {
// contains filtered or unexported fields
}
GetRoutegroupReader is a Reader for the GetRoutegroup structure.
func (*GetRoutegroupReader) ReadResponse ¶
func (o *GetRoutegroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRoutegroupUnauthorized ¶
type GetRoutegroupUnauthorized struct {
}GetRoutegroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetRoutegroupUnauthorized ¶
func NewGetRoutegroupUnauthorized() *GetRoutegroupUnauthorized
NewGetRoutegroupUnauthorized creates a GetRoutegroupUnauthorized with default headers values
func (*GetRoutegroupUnauthorized) Code ¶ added in v0.3.7
func (o *GetRoutegroupUnauthorized) Code() int
Code gets the status code for the get routegroup unauthorized response
func (*GetRoutegroupUnauthorized) Error ¶
func (o *GetRoutegroupUnauthorized) Error() string
func (*GetRoutegroupUnauthorized) GetPayload ¶
func (o *GetRoutegroupUnauthorized) GetPayload() *models.ErrorResponse
func (*GetRoutegroupUnauthorized) IsClientError ¶
func (o *GetRoutegroupUnauthorized) IsClientError() bool
IsClientError returns true when this get routegroup unauthorized response has a 4xx status code
func (*GetRoutegroupUnauthorized) IsCode ¶
func (o *GetRoutegroupUnauthorized) IsCode(code int) bool
IsCode returns true when this get routegroup unauthorized response a status code equal to that given
func (*GetRoutegroupUnauthorized) IsRedirect ¶
func (o *GetRoutegroupUnauthorized) IsRedirect() bool
IsRedirect returns true when this get routegroup unauthorized response has a 3xx status code
func (*GetRoutegroupUnauthorized) IsServerError ¶
func (o *GetRoutegroupUnauthorized) IsServerError() bool
IsServerError returns true when this get routegroup unauthorized response has a 5xx status code
func (*GetRoutegroupUnauthorized) IsSuccess ¶
func (o *GetRoutegroupUnauthorized) IsSuccess() bool
IsSuccess returns true when this get routegroup unauthorized response has a 2xx status code
func (*GetRoutegroupUnauthorized) String ¶
func (o *GetRoutegroupUnauthorized) String() string
type ListRoutegroupsBadGateway ¶
type ListRoutegroupsBadGateway struct {
Payload *models.ErrorResponse
}
ListRoutegroupsBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewListRoutegroupsBadGateway ¶
func NewListRoutegroupsBadGateway() *ListRoutegroupsBadGateway
NewListRoutegroupsBadGateway creates a ListRoutegroupsBadGateway with default headers values
func (*ListRoutegroupsBadGateway) Code ¶ added in v0.3.7
func (o *ListRoutegroupsBadGateway) Code() int
Code gets the status code for the list routegroups bad gateway response
func (*ListRoutegroupsBadGateway) Error ¶
func (o *ListRoutegroupsBadGateway) Error() string
func (*ListRoutegroupsBadGateway) GetPayload ¶
func (o *ListRoutegroupsBadGateway) GetPayload() *models.ErrorResponse
func (*ListRoutegroupsBadGateway) IsClientError ¶
func (o *ListRoutegroupsBadGateway) IsClientError() bool
IsClientError returns true when this list routegroups bad gateway response has a 4xx status code
func (*ListRoutegroupsBadGateway) IsCode ¶
func (o *ListRoutegroupsBadGateway) IsCode(code int) bool
IsCode returns true when this list routegroups bad gateway response a status code equal to that given
func (*ListRoutegroupsBadGateway) IsRedirect ¶
func (o *ListRoutegroupsBadGateway) IsRedirect() bool
IsRedirect returns true when this list routegroups bad gateway response has a 3xx status code
func (*ListRoutegroupsBadGateway) IsServerError ¶
func (o *ListRoutegroupsBadGateway) IsServerError() bool
IsServerError returns true when this list routegroups bad gateway response has a 5xx status code
func (*ListRoutegroupsBadGateway) IsSuccess ¶
func (o *ListRoutegroupsBadGateway) IsSuccess() bool
IsSuccess returns true when this list routegroups bad gateway response has a 2xx status code
func (*ListRoutegroupsBadGateway) String ¶
func (o *ListRoutegroupsBadGateway) String() string
type ListRoutegroupsBadRequest ¶
type ListRoutegroupsBadRequest struct {
Payload *models.ErrorResponse
}
ListRoutegroupsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewListRoutegroupsBadRequest ¶
func NewListRoutegroupsBadRequest() *ListRoutegroupsBadRequest
NewListRoutegroupsBadRequest creates a ListRoutegroupsBadRequest with default headers values
func (*ListRoutegroupsBadRequest) Code ¶ added in v0.3.7
func (o *ListRoutegroupsBadRequest) Code() int
Code gets the status code for the list routegroups bad request response
func (*ListRoutegroupsBadRequest) Error ¶
func (o *ListRoutegroupsBadRequest) Error() string
func (*ListRoutegroupsBadRequest) GetPayload ¶
func (o *ListRoutegroupsBadRequest) GetPayload() *models.ErrorResponse
func (*ListRoutegroupsBadRequest) IsClientError ¶
func (o *ListRoutegroupsBadRequest) IsClientError() bool
IsClientError returns true when this list routegroups bad request response has a 4xx status code
func (*ListRoutegroupsBadRequest) IsCode ¶
func (o *ListRoutegroupsBadRequest) IsCode(code int) bool
IsCode returns true when this list routegroups bad request response a status code equal to that given
func (*ListRoutegroupsBadRequest) IsRedirect ¶
func (o *ListRoutegroupsBadRequest) IsRedirect() bool
IsRedirect returns true when this list routegroups bad request response has a 3xx status code
func (*ListRoutegroupsBadRequest) IsServerError ¶
func (o *ListRoutegroupsBadRequest) IsServerError() bool
IsServerError returns true when this list routegroups bad request response has a 5xx status code
func (*ListRoutegroupsBadRequest) IsSuccess ¶
func (o *ListRoutegroupsBadRequest) IsSuccess() bool
IsSuccess returns true when this list routegroups bad request response has a 2xx status code
func (*ListRoutegroupsBadRequest) String ¶
func (o *ListRoutegroupsBadRequest) String() string
type ListRoutegroupsOK ¶
type ListRoutegroupsOK struct {
Payload []*models.RouteGroup
}
ListRoutegroupsOK describes a response with status code 200, with default header values.
OK
func NewListRoutegroupsOK ¶
func NewListRoutegroupsOK() *ListRoutegroupsOK
NewListRoutegroupsOK creates a ListRoutegroupsOK with default headers values
func (*ListRoutegroupsOK) Code ¶ added in v0.3.7
func (o *ListRoutegroupsOK) Code() int
Code gets the status code for the list routegroups o k response
func (*ListRoutegroupsOK) Error ¶
func (o *ListRoutegroupsOK) Error() string
func (*ListRoutegroupsOK) GetPayload ¶
func (o *ListRoutegroupsOK) GetPayload() []*models.RouteGroup
func (*ListRoutegroupsOK) IsClientError ¶
func (o *ListRoutegroupsOK) IsClientError() bool
IsClientError returns true when this list routegroups o k response has a 4xx status code
func (*ListRoutegroupsOK) IsCode ¶
func (o *ListRoutegroupsOK) IsCode(code int) bool
IsCode returns true when this list routegroups o k response a status code equal to that given
func (*ListRoutegroupsOK) IsRedirect ¶
func (o *ListRoutegroupsOK) IsRedirect() bool
IsRedirect returns true when this list routegroups o k response has a 3xx status code
func (*ListRoutegroupsOK) IsServerError ¶
func (o *ListRoutegroupsOK) IsServerError() bool
IsServerError returns true when this list routegroups o k response has a 5xx status code
func (*ListRoutegroupsOK) IsSuccess ¶
func (o *ListRoutegroupsOK) IsSuccess() bool
IsSuccess returns true when this list routegroups o k response has a 2xx status code
func (*ListRoutegroupsOK) String ¶
func (o *ListRoutegroupsOK) String() string
type ListRoutegroupsParams ¶
type ListRoutegroupsParams struct { /* OrgName. Signadot Org Name */ OrgName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRoutegroupsParams contains all the parameters to send to the API endpoint
for the list routegroups operation. Typically these are written to a http.Request.
func NewListRoutegroupsParams ¶
func NewListRoutegroupsParams() *ListRoutegroupsParams
NewListRoutegroupsParams creates a new ListRoutegroupsParams 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 NewListRoutegroupsParamsWithContext ¶
func NewListRoutegroupsParamsWithContext(ctx context.Context) *ListRoutegroupsParams
NewListRoutegroupsParamsWithContext creates a new ListRoutegroupsParams object with the ability to set a context for a request.
func NewListRoutegroupsParamsWithHTTPClient ¶
func NewListRoutegroupsParamsWithHTTPClient(client *http.Client) *ListRoutegroupsParams
NewListRoutegroupsParamsWithHTTPClient creates a new ListRoutegroupsParams object with the ability to set a custom HTTPClient for a request.
func NewListRoutegroupsParamsWithTimeout ¶
func NewListRoutegroupsParamsWithTimeout(timeout time.Duration) *ListRoutegroupsParams
NewListRoutegroupsParamsWithTimeout creates a new ListRoutegroupsParams object with the ability to set a timeout on a request.
func (*ListRoutegroupsParams) SetContext ¶
func (o *ListRoutegroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the list routegroups params
func (*ListRoutegroupsParams) SetDefaults ¶
func (o *ListRoutegroupsParams) SetDefaults()
SetDefaults hydrates default values in the list routegroups params (not the query body).
All values with no default are reset to their zero value.
func (*ListRoutegroupsParams) SetHTTPClient ¶
func (o *ListRoutegroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list routegroups params
func (*ListRoutegroupsParams) SetOrgName ¶
func (o *ListRoutegroupsParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the list routegroups params
func (*ListRoutegroupsParams) SetTimeout ¶
func (o *ListRoutegroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list routegroups params
func (*ListRoutegroupsParams) WithContext ¶
func (o *ListRoutegroupsParams) WithContext(ctx context.Context) *ListRoutegroupsParams
WithContext adds the context to the list routegroups params
func (*ListRoutegroupsParams) WithDefaults ¶
func (o *ListRoutegroupsParams) WithDefaults() *ListRoutegroupsParams
WithDefaults hydrates default values in the list routegroups params (not the query body).
All values with no default are reset to their zero value.
func (*ListRoutegroupsParams) WithHTTPClient ¶
func (o *ListRoutegroupsParams) WithHTTPClient(client *http.Client) *ListRoutegroupsParams
WithHTTPClient adds the HTTPClient to the list routegroups params
func (*ListRoutegroupsParams) WithOrgName ¶
func (o *ListRoutegroupsParams) WithOrgName(orgName string) *ListRoutegroupsParams
WithOrgName adds the orgName to the list routegroups params
func (*ListRoutegroupsParams) WithTimeout ¶
func (o *ListRoutegroupsParams) WithTimeout(timeout time.Duration) *ListRoutegroupsParams
WithTimeout adds the timeout to the list routegroups params
func (*ListRoutegroupsParams) WriteToRequest ¶
func (o *ListRoutegroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRoutegroupsReader ¶
type ListRoutegroupsReader struct {
// contains filtered or unexported fields
}
ListRoutegroupsReader is a Reader for the ListRoutegroups structure.
func (*ListRoutegroupsReader) ReadResponse ¶
func (o *ListRoutegroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRoutegroupsUnauthorized ¶
type ListRoutegroupsUnauthorized struct {
}ListRoutegroupsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListRoutegroupsUnauthorized ¶
func NewListRoutegroupsUnauthorized() *ListRoutegroupsUnauthorized
NewListRoutegroupsUnauthorized creates a ListRoutegroupsUnauthorized with default headers values
func (*ListRoutegroupsUnauthorized) Code ¶ added in v0.3.7
func (o *ListRoutegroupsUnauthorized) Code() int
Code gets the status code for the list routegroups unauthorized response
func (*ListRoutegroupsUnauthorized) Error ¶
func (o *ListRoutegroupsUnauthorized) Error() string
func (*ListRoutegroupsUnauthorized) GetPayload ¶
func (o *ListRoutegroupsUnauthorized) GetPayload() *models.ErrorResponse
func (*ListRoutegroupsUnauthorized) IsClientError ¶
func (o *ListRoutegroupsUnauthorized) IsClientError() bool
IsClientError returns true when this list routegroups unauthorized response has a 4xx status code
func (*ListRoutegroupsUnauthorized) IsCode ¶
func (o *ListRoutegroupsUnauthorized) IsCode(code int) bool
IsCode returns true when this list routegroups unauthorized response a status code equal to that given
func (*ListRoutegroupsUnauthorized) IsRedirect ¶
func (o *ListRoutegroupsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list routegroups unauthorized response has a 3xx status code
func (*ListRoutegroupsUnauthorized) IsServerError ¶
func (o *ListRoutegroupsUnauthorized) IsServerError() bool
IsServerError returns true when this list routegroups unauthorized response has a 5xx status code
func (*ListRoutegroupsUnauthorized) IsSuccess ¶
func (o *ListRoutegroupsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list routegroups unauthorized response has a 2xx status code
func (*ListRoutegroupsUnauthorized) String ¶
func (o *ListRoutegroupsUnauthorized) String() string