Documentation ¶
Index ¶
- type Client
- func (a *Client) GetPeers(params *GetPeersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPeersOK, error)
- func (a *Client) GetSiteToSiteDetails(params *GetSiteToSiteDetailsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSiteToSiteDetailsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetPeersBadRequest
- func (o *GetPeersBadRequest) Error() string
- func (o *GetPeersBadRequest) IsClientError() bool
- func (o *GetPeersBadRequest) IsCode(code int) bool
- func (o *GetPeersBadRequest) IsRedirect() bool
- func (o *GetPeersBadRequest) IsServerError() bool
- func (o *GetPeersBadRequest) IsSuccess() bool
- func (o *GetPeersBadRequest) String() string
- type GetPeersConflict
- func (o *GetPeersConflict) Error() string
- func (o *GetPeersConflict) IsClientError() bool
- func (o *GetPeersConflict) IsCode(code int) bool
- func (o *GetPeersConflict) IsRedirect() bool
- func (o *GetPeersConflict) IsServerError() bool
- func (o *GetPeersConflict) IsSuccess() bool
- func (o *GetPeersConflict) String() string
- type GetPeersForbidden
- func (o *GetPeersForbidden) Error() string
- func (o *GetPeersForbidden) IsClientError() bool
- func (o *GetPeersForbidden) IsCode(code int) bool
- func (o *GetPeersForbidden) IsRedirect() bool
- func (o *GetPeersForbidden) IsServerError() bool
- func (o *GetPeersForbidden) IsSuccess() bool
- func (o *GetPeersForbidden) String() string
- type GetPeersOK
- func (o *GetPeersOK) Error() string
- func (o *GetPeersOK) GetPayload() *models.PeersEntity
- func (o *GetPeersOK) IsClientError() bool
- func (o *GetPeersOK) IsCode(code int) bool
- func (o *GetPeersOK) IsRedirect() bool
- func (o *GetPeersOK) IsServerError() bool
- func (o *GetPeersOK) IsSuccess() bool
- func (o *GetPeersOK) String() string
- type GetPeersParams
- func (o *GetPeersParams) SetContext(ctx context.Context)
- func (o *GetPeersParams) SetDefaults()
- func (o *GetPeersParams) SetHTTPClient(client *http.Client)
- func (o *GetPeersParams) SetTimeout(timeout time.Duration)
- func (o *GetPeersParams) WithContext(ctx context.Context) *GetPeersParams
- func (o *GetPeersParams) WithDefaults() *GetPeersParams
- func (o *GetPeersParams) WithHTTPClient(client *http.Client) *GetPeersParams
- func (o *GetPeersParams) WithTimeout(timeout time.Duration) *GetPeersParams
- func (o *GetPeersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPeersReader
- type GetPeersUnauthorized
- func (o *GetPeersUnauthorized) Error() string
- func (o *GetPeersUnauthorized) IsClientError() bool
- func (o *GetPeersUnauthorized) IsCode(code int) bool
- func (o *GetPeersUnauthorized) IsRedirect() bool
- func (o *GetPeersUnauthorized) IsServerError() bool
- func (o *GetPeersUnauthorized) IsSuccess() bool
- func (o *GetPeersUnauthorized) String() string
- type GetSiteToSiteDetailsBadRequest
- func (o *GetSiteToSiteDetailsBadRequest) Error() string
- func (o *GetSiteToSiteDetailsBadRequest) IsClientError() bool
- func (o *GetSiteToSiteDetailsBadRequest) IsCode(code int) bool
- func (o *GetSiteToSiteDetailsBadRequest) IsRedirect() bool
- func (o *GetSiteToSiteDetailsBadRequest) IsServerError() bool
- func (o *GetSiteToSiteDetailsBadRequest) IsSuccess() bool
- func (o *GetSiteToSiteDetailsBadRequest) String() string
- type GetSiteToSiteDetailsConflict
- func (o *GetSiteToSiteDetailsConflict) Error() string
- func (o *GetSiteToSiteDetailsConflict) IsClientError() bool
- func (o *GetSiteToSiteDetailsConflict) IsCode(code int) bool
- func (o *GetSiteToSiteDetailsConflict) IsRedirect() bool
- func (o *GetSiteToSiteDetailsConflict) IsServerError() bool
- func (o *GetSiteToSiteDetailsConflict) IsSuccess() bool
- func (o *GetSiteToSiteDetailsConflict) String() string
- type GetSiteToSiteDetailsForbidden
- func (o *GetSiteToSiteDetailsForbidden) Error() string
- func (o *GetSiteToSiteDetailsForbidden) IsClientError() bool
- func (o *GetSiteToSiteDetailsForbidden) IsCode(code int) bool
- func (o *GetSiteToSiteDetailsForbidden) IsRedirect() bool
- func (o *GetSiteToSiteDetailsForbidden) IsServerError() bool
- func (o *GetSiteToSiteDetailsForbidden) IsSuccess() bool
- func (o *GetSiteToSiteDetailsForbidden) String() string
- type GetSiteToSiteDetailsOK
- func (o *GetSiteToSiteDetailsOK) Error() string
- func (o *GetSiteToSiteDetailsOK) GetPayload() *models.ControllerEntity
- func (o *GetSiteToSiteDetailsOK) IsClientError() bool
- func (o *GetSiteToSiteDetailsOK) IsCode(code int) bool
- func (o *GetSiteToSiteDetailsOK) IsRedirect() bool
- func (o *GetSiteToSiteDetailsOK) IsServerError() bool
- func (o *GetSiteToSiteDetailsOK) IsSuccess() bool
- func (o *GetSiteToSiteDetailsOK) String() string
- type GetSiteToSiteDetailsParams
- func NewGetSiteToSiteDetailsParams() *GetSiteToSiteDetailsParams
- func NewGetSiteToSiteDetailsParamsWithContext(ctx context.Context) *GetSiteToSiteDetailsParams
- func NewGetSiteToSiteDetailsParamsWithHTTPClient(client *http.Client) *GetSiteToSiteDetailsParams
- func NewGetSiteToSiteDetailsParamsWithTimeout(timeout time.Duration) *GetSiteToSiteDetailsParams
- func (o *GetSiteToSiteDetailsParams) SetContext(ctx context.Context)
- func (o *GetSiteToSiteDetailsParams) SetDefaults()
- func (o *GetSiteToSiteDetailsParams) SetHTTPClient(client *http.Client)
- func (o *GetSiteToSiteDetailsParams) SetTimeout(timeout time.Duration)
- func (o *GetSiteToSiteDetailsParams) WithContext(ctx context.Context) *GetSiteToSiteDetailsParams
- func (o *GetSiteToSiteDetailsParams) WithDefaults() *GetSiteToSiteDetailsParams
- func (o *GetSiteToSiteDetailsParams) WithHTTPClient(client *http.Client) *GetSiteToSiteDetailsParams
- func (o *GetSiteToSiteDetailsParams) WithTimeout(timeout time.Duration) *GetSiteToSiteDetailsParams
- func (o *GetSiteToSiteDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSiteToSiteDetailsReader
- type GetSiteToSiteDetailsUnauthorized
- func (o *GetSiteToSiteDetailsUnauthorized) Error() string
- func (o *GetSiteToSiteDetailsUnauthorized) IsClientError() bool
- func (o *GetSiteToSiteDetailsUnauthorized) IsCode(code int) bool
- func (o *GetSiteToSiteDetailsUnauthorized) IsRedirect() bool
- func (o *GetSiteToSiteDetailsUnauthorized) IsServerError() bool
- func (o *GetSiteToSiteDetailsUnauthorized) IsSuccess() bool
- func (o *GetSiteToSiteDetailsUnauthorized) String() string
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 site to site API
func (*Client) GetPeers ¶
func (a *Client) GetPeers(params *GetPeersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPeersOK, error)
GetPeers returns the available peers and its status of this ni fi
func (*Client) GetSiteToSiteDetails ¶
func (a *Client) GetSiteToSiteDetails(params *GetSiteToSiteDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSiteToSiteDetailsOK, error)
GetSiteToSiteDetails returns the details about this ni fi necessary to communicate via site to site
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 { GetPeers(params *GetPeersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPeersOK, error) GetSiteToSiteDetails(params *GetSiteToSiteDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSiteToSiteDetailsOK, 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 site to site API client.
type GetPeersBadRequest ¶
type GetPeersBadRequest struct { }
GetPeersBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewGetPeersBadRequest ¶
func NewGetPeersBadRequest() *GetPeersBadRequest
NewGetPeersBadRequest creates a GetPeersBadRequest with default headers values
func (*GetPeersBadRequest) Error ¶
func (o *GetPeersBadRequest) Error() string
func (*GetPeersBadRequest) IsClientError ¶ added in v1.19.1
func (o *GetPeersBadRequest) IsClientError() bool
IsClientError returns true when this get peers bad request response has a 4xx status code
func (*GetPeersBadRequest) IsCode ¶ added in v1.19.1
func (o *GetPeersBadRequest) IsCode(code int) bool
IsCode returns true when this get peers bad request response a status code equal to that given
func (*GetPeersBadRequest) IsRedirect ¶ added in v1.19.1
func (o *GetPeersBadRequest) IsRedirect() bool
IsRedirect returns true when this get peers bad request response has a 3xx status code
func (*GetPeersBadRequest) IsServerError ¶ added in v1.19.1
func (o *GetPeersBadRequest) IsServerError() bool
IsServerError returns true when this get peers bad request response has a 5xx status code
func (*GetPeersBadRequest) IsSuccess ¶ added in v1.19.1
func (o *GetPeersBadRequest) IsSuccess() bool
IsSuccess returns true when this get peers bad request response has a 2xx status code
func (*GetPeersBadRequest) String ¶ added in v1.19.1
func (o *GetPeersBadRequest) String() string
type GetPeersConflict ¶
type GetPeersConflict struct { }
GetPeersConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewGetPeersConflict ¶
func NewGetPeersConflict() *GetPeersConflict
NewGetPeersConflict creates a GetPeersConflict with default headers values
func (*GetPeersConflict) Error ¶
func (o *GetPeersConflict) Error() string
func (*GetPeersConflict) IsClientError ¶ added in v1.19.1
func (o *GetPeersConflict) IsClientError() bool
IsClientError returns true when this get peers conflict response has a 4xx status code
func (*GetPeersConflict) IsCode ¶ added in v1.19.1
func (o *GetPeersConflict) IsCode(code int) bool
IsCode returns true when this get peers conflict response a status code equal to that given
func (*GetPeersConflict) IsRedirect ¶ added in v1.19.1
func (o *GetPeersConflict) IsRedirect() bool
IsRedirect returns true when this get peers conflict response has a 3xx status code
func (*GetPeersConflict) IsServerError ¶ added in v1.19.1
func (o *GetPeersConflict) IsServerError() bool
IsServerError returns true when this get peers conflict response has a 5xx status code
func (*GetPeersConflict) IsSuccess ¶ added in v1.19.1
func (o *GetPeersConflict) IsSuccess() bool
IsSuccess returns true when this get peers conflict response has a 2xx status code
func (*GetPeersConflict) String ¶ added in v1.19.1
func (o *GetPeersConflict) String() string
type GetPeersForbidden ¶
type GetPeersForbidden struct { }
GetPeersForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewGetPeersForbidden ¶
func NewGetPeersForbidden() *GetPeersForbidden
NewGetPeersForbidden creates a GetPeersForbidden with default headers values
func (*GetPeersForbidden) Error ¶
func (o *GetPeersForbidden) Error() string
func (*GetPeersForbidden) IsClientError ¶ added in v1.19.1
func (o *GetPeersForbidden) IsClientError() bool
IsClientError returns true when this get peers forbidden response has a 4xx status code
func (*GetPeersForbidden) IsCode ¶ added in v1.19.1
func (o *GetPeersForbidden) IsCode(code int) bool
IsCode returns true when this get peers forbidden response a status code equal to that given
func (*GetPeersForbidden) IsRedirect ¶ added in v1.19.1
func (o *GetPeersForbidden) IsRedirect() bool
IsRedirect returns true when this get peers forbidden response has a 3xx status code
func (*GetPeersForbidden) IsServerError ¶ added in v1.19.1
func (o *GetPeersForbidden) IsServerError() bool
IsServerError returns true when this get peers forbidden response has a 5xx status code
func (*GetPeersForbidden) IsSuccess ¶ added in v1.19.1
func (o *GetPeersForbidden) IsSuccess() bool
IsSuccess returns true when this get peers forbidden response has a 2xx status code
func (*GetPeersForbidden) String ¶ added in v1.19.1
func (o *GetPeersForbidden) String() string
type GetPeersOK ¶
type GetPeersOK struct {
Payload *models.PeersEntity
}
GetPeersOK describes a response with status code 200, with default header values.
successful operation
func NewGetPeersOK ¶
func NewGetPeersOK() *GetPeersOK
NewGetPeersOK creates a GetPeersOK with default headers values
func (*GetPeersOK) Error ¶
func (o *GetPeersOK) Error() string
func (*GetPeersOK) GetPayload ¶
func (o *GetPeersOK) GetPayload() *models.PeersEntity
func (*GetPeersOK) IsClientError ¶ added in v1.19.1
func (o *GetPeersOK) IsClientError() bool
IsClientError returns true when this get peers o k response has a 4xx status code
func (*GetPeersOK) IsCode ¶ added in v1.19.1
func (o *GetPeersOK) IsCode(code int) bool
IsCode returns true when this get peers o k response a status code equal to that given
func (*GetPeersOK) IsRedirect ¶ added in v1.19.1
func (o *GetPeersOK) IsRedirect() bool
IsRedirect returns true when this get peers o k response has a 3xx status code
func (*GetPeersOK) IsServerError ¶ added in v1.19.1
func (o *GetPeersOK) IsServerError() bool
IsServerError returns true when this get peers o k response has a 5xx status code
func (*GetPeersOK) IsSuccess ¶ added in v1.19.1
func (o *GetPeersOK) IsSuccess() bool
IsSuccess returns true when this get peers o k response has a 2xx status code
func (*GetPeersOK) String ¶ added in v1.19.1
func (o *GetPeersOK) String() string
type GetPeersParams ¶
type GetPeersParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPeersParams contains all the parameters to send to the API endpoint
for the get peers operation. Typically these are written to a http.Request.
func NewGetPeersParams ¶
func NewGetPeersParams() *GetPeersParams
NewGetPeersParams creates a new GetPeersParams 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 NewGetPeersParamsWithContext ¶
func NewGetPeersParamsWithContext(ctx context.Context) *GetPeersParams
NewGetPeersParamsWithContext creates a new GetPeersParams object with the ability to set a context for a request.
func NewGetPeersParamsWithHTTPClient ¶
func NewGetPeersParamsWithHTTPClient(client *http.Client) *GetPeersParams
NewGetPeersParamsWithHTTPClient creates a new GetPeersParams object with the ability to set a custom HTTPClient for a request.
func NewGetPeersParamsWithTimeout ¶
func NewGetPeersParamsWithTimeout(timeout time.Duration) *GetPeersParams
NewGetPeersParamsWithTimeout creates a new GetPeersParams object with the ability to set a timeout on a request.
func (*GetPeersParams) SetContext ¶
func (o *GetPeersParams) SetContext(ctx context.Context)
SetContext adds the context to the get peers params
func (*GetPeersParams) SetDefaults ¶
func (o *GetPeersParams) SetDefaults()
SetDefaults hydrates default values in the get peers params (not the query body).
All values with no default are reset to their zero value.
func (*GetPeersParams) SetHTTPClient ¶
func (o *GetPeersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get peers params
func (*GetPeersParams) SetTimeout ¶
func (o *GetPeersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get peers params
func (*GetPeersParams) WithContext ¶
func (o *GetPeersParams) WithContext(ctx context.Context) *GetPeersParams
WithContext adds the context to the get peers params
func (*GetPeersParams) WithDefaults ¶
func (o *GetPeersParams) WithDefaults() *GetPeersParams
WithDefaults hydrates default values in the get peers params (not the query body).
All values with no default are reset to their zero value.
func (*GetPeersParams) WithHTTPClient ¶
func (o *GetPeersParams) WithHTTPClient(client *http.Client) *GetPeersParams
WithHTTPClient adds the HTTPClient to the get peers params
func (*GetPeersParams) WithTimeout ¶
func (o *GetPeersParams) WithTimeout(timeout time.Duration) *GetPeersParams
WithTimeout adds the timeout to the get peers params
func (*GetPeersParams) WriteToRequest ¶
func (o *GetPeersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPeersReader ¶
type GetPeersReader struct {
// contains filtered or unexported fields
}
GetPeersReader is a Reader for the GetPeers structure.
func (*GetPeersReader) ReadResponse ¶
func (o *GetPeersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPeersUnauthorized ¶
type GetPeersUnauthorized struct { }
GetPeersUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetPeersUnauthorized ¶
func NewGetPeersUnauthorized() *GetPeersUnauthorized
NewGetPeersUnauthorized creates a GetPeersUnauthorized with default headers values
func (*GetPeersUnauthorized) Error ¶
func (o *GetPeersUnauthorized) Error() string
func (*GetPeersUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetPeersUnauthorized) IsClientError() bool
IsClientError returns true when this get peers unauthorized response has a 4xx status code
func (*GetPeersUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetPeersUnauthorized) IsCode(code int) bool
IsCode returns true when this get peers unauthorized response a status code equal to that given
func (*GetPeersUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetPeersUnauthorized) IsRedirect() bool
IsRedirect returns true when this get peers unauthorized response has a 3xx status code
func (*GetPeersUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetPeersUnauthorized) IsServerError() bool
IsServerError returns true when this get peers unauthorized response has a 5xx status code
func (*GetPeersUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetPeersUnauthorized) IsSuccess() bool
IsSuccess returns true when this get peers unauthorized response has a 2xx status code
func (*GetPeersUnauthorized) String ¶ added in v1.19.1
func (o *GetPeersUnauthorized) String() string
type GetSiteToSiteDetailsBadRequest ¶
type GetSiteToSiteDetailsBadRequest struct { }
GetSiteToSiteDetailsBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewGetSiteToSiteDetailsBadRequest ¶
func NewGetSiteToSiteDetailsBadRequest() *GetSiteToSiteDetailsBadRequest
NewGetSiteToSiteDetailsBadRequest creates a GetSiteToSiteDetailsBadRequest with default headers values
func (*GetSiteToSiteDetailsBadRequest) Error ¶
func (o *GetSiteToSiteDetailsBadRequest) Error() string
func (*GetSiteToSiteDetailsBadRequest) IsClientError ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsBadRequest) IsClientError() bool
IsClientError returns true when this get site to site details bad request response has a 4xx status code
func (*GetSiteToSiteDetailsBadRequest) IsCode ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsBadRequest) IsCode(code int) bool
IsCode returns true when this get site to site details bad request response a status code equal to that given
func (*GetSiteToSiteDetailsBadRequest) IsRedirect ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsBadRequest) IsRedirect() bool
IsRedirect returns true when this get site to site details bad request response has a 3xx status code
func (*GetSiteToSiteDetailsBadRequest) IsServerError ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsBadRequest) IsServerError() bool
IsServerError returns true when this get site to site details bad request response has a 5xx status code
func (*GetSiteToSiteDetailsBadRequest) IsSuccess ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsBadRequest) IsSuccess() bool
IsSuccess returns true when this get site to site details bad request response has a 2xx status code
func (*GetSiteToSiteDetailsBadRequest) String ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsBadRequest) String() string
type GetSiteToSiteDetailsConflict ¶
type GetSiteToSiteDetailsConflict struct { }
GetSiteToSiteDetailsConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewGetSiteToSiteDetailsConflict ¶
func NewGetSiteToSiteDetailsConflict() *GetSiteToSiteDetailsConflict
NewGetSiteToSiteDetailsConflict creates a GetSiteToSiteDetailsConflict with default headers values
func (*GetSiteToSiteDetailsConflict) Error ¶
func (o *GetSiteToSiteDetailsConflict) Error() string
func (*GetSiteToSiteDetailsConflict) IsClientError ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsConflict) IsClientError() bool
IsClientError returns true when this get site to site details conflict response has a 4xx status code
func (*GetSiteToSiteDetailsConflict) IsCode ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsConflict) IsCode(code int) bool
IsCode returns true when this get site to site details conflict response a status code equal to that given
func (*GetSiteToSiteDetailsConflict) IsRedirect ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsConflict) IsRedirect() bool
IsRedirect returns true when this get site to site details conflict response has a 3xx status code
func (*GetSiteToSiteDetailsConflict) IsServerError ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsConflict) IsServerError() bool
IsServerError returns true when this get site to site details conflict response has a 5xx status code
func (*GetSiteToSiteDetailsConflict) IsSuccess ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsConflict) IsSuccess() bool
IsSuccess returns true when this get site to site details conflict response has a 2xx status code
func (*GetSiteToSiteDetailsConflict) String ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsConflict) String() string
type GetSiteToSiteDetailsForbidden ¶
type GetSiteToSiteDetailsForbidden struct { }
GetSiteToSiteDetailsForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewGetSiteToSiteDetailsForbidden ¶
func NewGetSiteToSiteDetailsForbidden() *GetSiteToSiteDetailsForbidden
NewGetSiteToSiteDetailsForbidden creates a GetSiteToSiteDetailsForbidden with default headers values
func (*GetSiteToSiteDetailsForbidden) Error ¶
func (o *GetSiteToSiteDetailsForbidden) Error() string
func (*GetSiteToSiteDetailsForbidden) IsClientError ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsForbidden) IsClientError() bool
IsClientError returns true when this get site to site details forbidden response has a 4xx status code
func (*GetSiteToSiteDetailsForbidden) IsCode ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsForbidden) IsCode(code int) bool
IsCode returns true when this get site to site details forbidden response a status code equal to that given
func (*GetSiteToSiteDetailsForbidden) IsRedirect ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsForbidden) IsRedirect() bool
IsRedirect returns true when this get site to site details forbidden response has a 3xx status code
func (*GetSiteToSiteDetailsForbidden) IsServerError ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsForbidden) IsServerError() bool
IsServerError returns true when this get site to site details forbidden response has a 5xx status code
func (*GetSiteToSiteDetailsForbidden) IsSuccess ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsForbidden) IsSuccess() bool
IsSuccess returns true when this get site to site details forbidden response has a 2xx status code
func (*GetSiteToSiteDetailsForbidden) String ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsForbidden) String() string
type GetSiteToSiteDetailsOK ¶
type GetSiteToSiteDetailsOK struct {
Payload *models.ControllerEntity
}
GetSiteToSiteDetailsOK describes a response with status code 200, with default header values.
successful operation
func NewGetSiteToSiteDetailsOK ¶
func NewGetSiteToSiteDetailsOK() *GetSiteToSiteDetailsOK
NewGetSiteToSiteDetailsOK creates a GetSiteToSiteDetailsOK with default headers values
func (*GetSiteToSiteDetailsOK) Error ¶
func (o *GetSiteToSiteDetailsOK) Error() string
func (*GetSiteToSiteDetailsOK) GetPayload ¶
func (o *GetSiteToSiteDetailsOK) GetPayload() *models.ControllerEntity
func (*GetSiteToSiteDetailsOK) IsClientError ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsOK) IsClientError() bool
IsClientError returns true when this get site to site details o k response has a 4xx status code
func (*GetSiteToSiteDetailsOK) IsCode ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsOK) IsCode(code int) bool
IsCode returns true when this get site to site details o k response a status code equal to that given
func (*GetSiteToSiteDetailsOK) IsRedirect ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsOK) IsRedirect() bool
IsRedirect returns true when this get site to site details o k response has a 3xx status code
func (*GetSiteToSiteDetailsOK) IsServerError ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsOK) IsServerError() bool
IsServerError returns true when this get site to site details o k response has a 5xx status code
func (*GetSiteToSiteDetailsOK) IsSuccess ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsOK) IsSuccess() bool
IsSuccess returns true when this get site to site details o k response has a 2xx status code
func (*GetSiteToSiteDetailsOK) String ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsOK) String() string
type GetSiteToSiteDetailsParams ¶
type GetSiteToSiteDetailsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSiteToSiteDetailsParams contains all the parameters to send to the API endpoint
for the get site to site details operation. Typically these are written to a http.Request.
func NewGetSiteToSiteDetailsParams ¶
func NewGetSiteToSiteDetailsParams() *GetSiteToSiteDetailsParams
NewGetSiteToSiteDetailsParams creates a new GetSiteToSiteDetailsParams 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 NewGetSiteToSiteDetailsParamsWithContext ¶
func NewGetSiteToSiteDetailsParamsWithContext(ctx context.Context) *GetSiteToSiteDetailsParams
NewGetSiteToSiteDetailsParamsWithContext creates a new GetSiteToSiteDetailsParams object with the ability to set a context for a request.
func NewGetSiteToSiteDetailsParamsWithHTTPClient ¶
func NewGetSiteToSiteDetailsParamsWithHTTPClient(client *http.Client) *GetSiteToSiteDetailsParams
NewGetSiteToSiteDetailsParamsWithHTTPClient creates a new GetSiteToSiteDetailsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSiteToSiteDetailsParamsWithTimeout ¶
func NewGetSiteToSiteDetailsParamsWithTimeout(timeout time.Duration) *GetSiteToSiteDetailsParams
NewGetSiteToSiteDetailsParamsWithTimeout creates a new GetSiteToSiteDetailsParams object with the ability to set a timeout on a request.
func (*GetSiteToSiteDetailsParams) SetContext ¶
func (o *GetSiteToSiteDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the get site to site details params
func (*GetSiteToSiteDetailsParams) SetDefaults ¶
func (o *GetSiteToSiteDetailsParams) SetDefaults()
SetDefaults hydrates default values in the get site to site details params (not the query body).
All values with no default are reset to their zero value.
func (*GetSiteToSiteDetailsParams) SetHTTPClient ¶
func (o *GetSiteToSiteDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get site to site details params
func (*GetSiteToSiteDetailsParams) SetTimeout ¶
func (o *GetSiteToSiteDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get site to site details params
func (*GetSiteToSiteDetailsParams) WithContext ¶
func (o *GetSiteToSiteDetailsParams) WithContext(ctx context.Context) *GetSiteToSiteDetailsParams
WithContext adds the context to the get site to site details params
func (*GetSiteToSiteDetailsParams) WithDefaults ¶
func (o *GetSiteToSiteDetailsParams) WithDefaults() *GetSiteToSiteDetailsParams
WithDefaults hydrates default values in the get site to site details params (not the query body).
All values with no default are reset to their zero value.
func (*GetSiteToSiteDetailsParams) WithHTTPClient ¶
func (o *GetSiteToSiteDetailsParams) WithHTTPClient(client *http.Client) *GetSiteToSiteDetailsParams
WithHTTPClient adds the HTTPClient to the get site to site details params
func (*GetSiteToSiteDetailsParams) WithTimeout ¶
func (o *GetSiteToSiteDetailsParams) WithTimeout(timeout time.Duration) *GetSiteToSiteDetailsParams
WithTimeout adds the timeout to the get site to site details params
func (*GetSiteToSiteDetailsParams) WriteToRequest ¶
func (o *GetSiteToSiteDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSiteToSiteDetailsReader ¶
type GetSiteToSiteDetailsReader struct {
// contains filtered or unexported fields
}
GetSiteToSiteDetailsReader is a Reader for the GetSiteToSiteDetails structure.
func (*GetSiteToSiteDetailsReader) ReadResponse ¶
func (o *GetSiteToSiteDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSiteToSiteDetailsUnauthorized ¶
type GetSiteToSiteDetailsUnauthorized struct { }
GetSiteToSiteDetailsUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetSiteToSiteDetailsUnauthorized ¶
func NewGetSiteToSiteDetailsUnauthorized() *GetSiteToSiteDetailsUnauthorized
NewGetSiteToSiteDetailsUnauthorized creates a GetSiteToSiteDetailsUnauthorized with default headers values
func (*GetSiteToSiteDetailsUnauthorized) Error ¶
func (o *GetSiteToSiteDetailsUnauthorized) Error() string
func (*GetSiteToSiteDetailsUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsUnauthorized) IsClientError() bool
IsClientError returns true when this get site to site details unauthorized response has a 4xx status code
func (*GetSiteToSiteDetailsUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsUnauthorized) IsCode(code int) bool
IsCode returns true when this get site to site details unauthorized response a status code equal to that given
func (*GetSiteToSiteDetailsUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get site to site details unauthorized response has a 3xx status code
func (*GetSiteToSiteDetailsUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsUnauthorized) IsServerError() bool
IsServerError returns true when this get site to site details unauthorized response has a 5xx status code
func (*GetSiteToSiteDetailsUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get site to site details unauthorized response has a 2xx status code
func (*GetSiteToSiteDetailsUnauthorized) String ¶ added in v1.19.1
func (o *GetSiteToSiteDetailsUnauthorized) String() string