Documentation ¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by gitlab.com/ginfra/ginfra version (devel) DO NOT EDIT.
Index ¶
- func GetSwagger() (swagger *openapi3.T, err error)
- func NewGiConfigDeregisterServiceRequest(server string, deployment string, name string, ...) (*http.Request, error)
- func NewGiConfigPortalRequest(server string, operation GiConfigPortalParamsOperation, deployment string, ...) (*http.Request, error)
- func NewGiConfigPortalRequestWithBody(server string, operation GiConfigPortalParamsOperation, deployment string, ...) (*http.Request, error)
- func NewGiConfigQueryConfigRequest(server string, params *GiConfigQueryConfigParams) (*http.Request, error)
- func NewGiConfigRegisterInstanceRequest(server string, params *GiConfigRegisterInstanceParams, ...) (*http.Request, error)
- func NewGiConfigRegisterInstanceRequestWithBody(server string, params *GiConfigRegisterInstanceParams, contentType string, ...) (*http.Request, error)
- func NewGiConfigRegisterServiceRequest(server string, params *GiConfigRegisterServiceParams, ...) (*http.Request, error)
- func NewGiConfigRegisterServiceRequestWithBody(server string, params *GiConfigRegisterServiceParams, contentType string, ...) (*http.Request, error)
- func NewGiConfigSetConfigRequest(server string, params *GiConfigSetConfigParams, ...) (*http.Request, error)
- func NewGiConfigSetConfigRequestWithBody(server string, params *GiConfigSetConfigParams, contentType string, ...) (*http.Request, error)
- func NewGiDiscoverPortalRequest(server string, deployment string, serviceclass string, ...) (*http.Request, error)
- func NewGiDiscoverServiceRequest(server string, deployment string, serviceclass string, ...) (*http.Request, error)
- func NewGiGetSpecificsRequest(server string) (*http.Request, error)
- func NewGiRemoveConfigRequest(server string, params *GiRemoveConfigParams) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type Client
- func (c *Client) GiConfigDeregisterService(ctx context.Context, deployment string, name string, ...) (*http.Response, error)
- func (c *Client) GiConfigPortal(ctx context.Context, operation GiConfigPortalParamsOperation, ...) (*http.Response, error)
- func (c *Client) GiConfigPortalWithBody(ctx context.Context, operation GiConfigPortalParamsOperation, ...) (*http.Response, error)
- func (c *Client) GiConfigQueryConfig(ctx context.Context, params *GiConfigQueryConfigParams, ...) (*http.Response, error)
- func (c *Client) GiConfigRegisterInstance(ctx context.Context, params *GiConfigRegisterInstanceParams, ...) (*http.Response, error)
- func (c *Client) GiConfigRegisterInstanceWithBody(ctx context.Context, params *GiConfigRegisterInstanceParams, ...) (*http.Response, error)
- func (c *Client) GiConfigRegisterService(ctx context.Context, params *GiConfigRegisterServiceParams, ...) (*http.Response, error)
- func (c *Client) GiConfigRegisterServiceWithBody(ctx context.Context, params *GiConfigRegisterServiceParams, contentType string, ...) (*http.Response, error)
- func (c *Client) GiConfigSetConfig(ctx context.Context, params *GiConfigSetConfigParams, ...) (*http.Response, error)
- func (c *Client) GiConfigSetConfigWithBody(ctx context.Context, params *GiConfigSetConfigParams, contentType string, ...) (*http.Response, error)
- func (c *Client) GiDiscoverPortal(ctx context.Context, deployment string, serviceclass string, ...) (*http.Response, error)
- func (c *Client) GiDiscoverService(ctx context.Context, deployment string, serviceclass string, ...) (*http.Response, error)
- func (c *Client) GiGetSpecifics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GiRemoveConfig(ctx context.Context, params *GiRemoveConfigParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) GiConfigDeregisterServiceWithResponse(ctx context.Context, deployment string, name string, ...) (*GiConfigDeregisterServiceResponse, error)
- func (c *ClientWithResponses) GiConfigPortalWithBodyWithResponse(ctx context.Context, operation GiConfigPortalParamsOperation, ...) (*GiConfigPortalResponse, error)
- func (c *ClientWithResponses) GiConfigPortalWithResponse(ctx context.Context, operation GiConfigPortalParamsOperation, ...) (*GiConfigPortalResponse, error)
- func (c *ClientWithResponses) GiConfigQueryConfigWithResponse(ctx context.Context, params *GiConfigQueryConfigParams, ...) (*GiConfigQueryConfigResponse, error)
- func (c *ClientWithResponses) GiConfigRegisterInstanceWithBodyWithResponse(ctx context.Context, params *GiConfigRegisterInstanceParams, ...) (*GiConfigRegisterInstanceResponse, error)
- func (c *ClientWithResponses) GiConfigRegisterInstanceWithResponse(ctx context.Context, params *GiConfigRegisterInstanceParams, ...) (*GiConfigRegisterInstanceResponse, error)
- func (c *ClientWithResponses) GiConfigRegisterServiceWithBodyWithResponse(ctx context.Context, params *GiConfigRegisterServiceParams, contentType string, ...) (*GiConfigRegisterServiceResponse, error)
- func (c *ClientWithResponses) GiConfigRegisterServiceWithResponse(ctx context.Context, params *GiConfigRegisterServiceParams, ...) (*GiConfigRegisterServiceResponse, error)
- func (c *ClientWithResponses) GiConfigSetConfigWithBodyWithResponse(ctx context.Context, params *GiConfigSetConfigParams, contentType string, ...) (*GiConfigSetConfigResponse, error)
- func (c *ClientWithResponses) GiConfigSetConfigWithResponse(ctx context.Context, params *GiConfigSetConfigParams, ...) (*GiConfigSetConfigResponse, error)
- func (c *ClientWithResponses) GiDiscoverPortalWithResponse(ctx context.Context, deployment string, serviceclass string, ...) (*GiDiscoverPortalResponse, error)
- func (c *ClientWithResponses) GiDiscoverServiceWithResponse(ctx context.Context, deployment string, serviceclass string, ...) (*GiDiscoverServiceResponse, error)
- func (c *ClientWithResponses) GiGetSpecificsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GiGetSpecificsResponse, error)
- func (c *ClientWithResponses) GiRemoveConfigWithResponse(ctx context.Context, params *GiRemoveConfigParams, ...) (*GiRemoveConfigResponse, error)
- type ClientWithResponsesInterface
- type GiConfigDeregisterServiceResponse
- type GiConfigPortalResponse
- type GiConfigQueryConfigResponse
- type GiConfigRegisterInstanceResponse
- type GiConfigRegisterServiceResponse
- type GiConfigSetConfigResponse
- type GiDiscoverPortalResponse
- type GiDiscoverServiceResponse
- type GiGetSpecificsResponse
- type GiRemoveConfigResponse
- type HttpRequestDoer
- type RequestEditorFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func NewGiConfigDeregisterServiceRequest ¶
func NewGiConfigDeregisterServiceRequest(server string, deployment string, name string, params *GiConfigDeregisterServiceParams) (*http.Request, error)
NewGiConfigDeregisterServiceRequest generates requests for GiConfigDeregisterService
func NewGiConfigPortalRequest ¶
func NewGiConfigPortalRequest(server string, operation GiConfigPortalParamsOperation, deployment string, params *GiConfigPortalParams, body GiConfigPortalJSONRequestBody) (*http.Request, error)
NewGiConfigPortalRequest calls the generic GiConfigPortal builder with application/json body
func NewGiConfigPortalRequestWithBody ¶
func NewGiConfigPortalRequestWithBody(server string, operation GiConfigPortalParamsOperation, deployment string, params *GiConfigPortalParams, contentType string, body io.Reader) (*http.Request, error)
NewGiConfigPortalRequestWithBody generates requests for GiConfigPortal with any type of body
func NewGiConfigQueryConfigRequest ¶
func NewGiConfigQueryConfigRequest(server string, params *GiConfigQueryConfigParams) (*http.Request, error)
NewGiConfigQueryConfigRequest generates requests for GiConfigQueryConfig
func NewGiConfigRegisterInstanceRequest ¶
func NewGiConfigRegisterInstanceRequest(server string, params *GiConfigRegisterInstanceParams, body GiConfigRegisterInstanceJSONRequestBody) (*http.Request, error)
NewGiConfigRegisterInstanceRequest calls the generic GiConfigRegisterInstance builder with application/json body
func NewGiConfigRegisterInstanceRequestWithBody ¶
func NewGiConfigRegisterInstanceRequestWithBody(server string, params *GiConfigRegisterInstanceParams, contentType string, body io.Reader) (*http.Request, error)
NewGiConfigRegisterInstanceRequestWithBody generates requests for GiConfigRegisterInstance with any type of body
func NewGiConfigRegisterServiceRequest ¶
func NewGiConfigRegisterServiceRequest(server string, params *GiConfigRegisterServiceParams, body GiConfigRegisterServiceJSONRequestBody) (*http.Request, error)
NewGiConfigRegisterServiceRequest calls the generic GiConfigRegisterService builder with application/json body
func NewGiConfigRegisterServiceRequestWithBody ¶
func NewGiConfigRegisterServiceRequestWithBody(server string, params *GiConfigRegisterServiceParams, contentType string, body io.Reader) (*http.Request, error)
NewGiConfigRegisterServiceRequestWithBody generates requests for GiConfigRegisterService with any type of body
func NewGiConfigSetConfigRequest ¶
func NewGiConfigSetConfigRequest(server string, params *GiConfigSetConfigParams, body GiConfigSetConfigJSONRequestBody) (*http.Request, error)
NewGiConfigSetConfigRequest calls the generic GiConfigSetConfig builder with application/json body
func NewGiConfigSetConfigRequestWithBody ¶
func NewGiConfigSetConfigRequestWithBody(server string, params *GiConfigSetConfigParams, contentType string, body io.Reader) (*http.Request, error)
NewGiConfigSetConfigRequestWithBody generates requests for GiConfigSetConfig with any type of body
func NewGiDiscoverPortalRequest ¶
func NewGiDiscoverPortalRequest(server string, deployment string, serviceclass string, params *GiDiscoverPortalParams) (*http.Request, error)
NewGiDiscoverPortalRequest generates requests for GiDiscoverPortal
func NewGiDiscoverServiceRequest ¶
func NewGiDiscoverServiceRequest(server string, deployment string, serviceclass string, params *GiDiscoverServiceParams) (*http.Request, error)
NewGiDiscoverServiceRequest generates requests for GiDiscoverService
func NewGiGetSpecificsRequest ¶
NewGiGetSpecificsRequest generates requests for GiGetSpecifics
func NewGiRemoveConfigRequest ¶
NewGiRemoveConfigRequest generates requests for GiRemoveConfig
Types ¶
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) GiConfigDeregisterService ¶
func (*Client) GiConfigPortal ¶
func (*Client) GiConfigPortalWithBody ¶
func (*Client) GiConfigQueryConfig ¶
func (*Client) GiConfigRegisterInstance ¶
func (*Client) GiConfigRegisterInstanceWithBody ¶
func (*Client) GiConfigRegisterService ¶
func (*Client) GiConfigRegisterServiceWithBody ¶
func (*Client) GiConfigSetConfig ¶
func (*Client) GiConfigSetConfigWithBody ¶
func (*Client) GiDiscoverPortal ¶
func (*Client) GiDiscoverService ¶
func (*Client) GiGetSpecifics ¶
func (*Client) GiRemoveConfig ¶
type ClientInterface ¶
type ClientInterface interface { // GiConfigDeregisterService request GiConfigDeregisterService(ctx context.Context, deployment string, name string, params *GiConfigDeregisterServiceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GiDiscoverPortal request GiDiscoverPortal(ctx context.Context, deployment string, serviceclass string, params *GiDiscoverPortalParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GiDiscoverService request GiDiscoverService(ctx context.Context, deployment string, serviceclass string, params *GiDiscoverServiceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GiConfigRegisterInstanceWithBody request with any body GiConfigRegisterInstanceWithBody(ctx context.Context, params *GiConfigRegisterInstanceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) GiConfigRegisterInstance(ctx context.Context, params *GiConfigRegisterInstanceParams, body GiConfigRegisterInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GiConfigPortalWithBody request with any body GiConfigPortalWithBody(ctx context.Context, operation GiConfigPortalParamsOperation, deployment string, params *GiConfigPortalParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) GiConfigPortal(ctx context.Context, operation GiConfigPortalParamsOperation, deployment string, params *GiConfigPortalParams, body GiConfigPortalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GiConfigQueryConfig request GiConfigQueryConfig(ctx context.Context, params *GiConfigQueryConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GiConfigRegisterServiceWithBody request with any body GiConfigRegisterServiceWithBody(ctx context.Context, params *GiConfigRegisterServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) GiConfigRegisterService(ctx context.Context, params *GiConfigRegisterServiceParams, body GiConfigRegisterServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GiRemoveConfig request GiRemoveConfig(ctx context.Context, params *GiRemoveConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GiConfigSetConfigWithBody request with any body GiConfigSetConfigWithBody(ctx context.Context, params *GiConfigSetConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) GiConfigSetConfig(ctx context.Context, params *GiConfigSetConfigParams, body GiConfigSetConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GiGetSpecifics request GiGetSpecifics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) GiConfigDeregisterServiceWithResponse ¶
func (c *ClientWithResponses) GiConfigDeregisterServiceWithResponse(ctx context.Context, deployment string, name string, params *GiConfigDeregisterServiceParams, reqEditors ...RequestEditorFn) (*GiConfigDeregisterServiceResponse, error)
GiConfigDeregisterServiceWithResponse request returning *GiConfigDeregisterServiceResponse
func (*ClientWithResponses) GiConfigPortalWithBodyWithResponse ¶
func (c *ClientWithResponses) GiConfigPortalWithBodyWithResponse(ctx context.Context, operation GiConfigPortalParamsOperation, deployment string, params *GiConfigPortalParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GiConfigPortalResponse, error)
GiConfigPortalWithBodyWithResponse request with arbitrary body returning *GiConfigPortalResponse
func (*ClientWithResponses) GiConfigPortalWithResponse ¶
func (c *ClientWithResponses) GiConfigPortalWithResponse(ctx context.Context, operation GiConfigPortalParamsOperation, deployment string, params *GiConfigPortalParams, body GiConfigPortalJSONRequestBody, reqEditors ...RequestEditorFn) (*GiConfigPortalResponse, error)
func (*ClientWithResponses) GiConfigQueryConfigWithResponse ¶
func (c *ClientWithResponses) GiConfigQueryConfigWithResponse(ctx context.Context, params *GiConfigQueryConfigParams, reqEditors ...RequestEditorFn) (*GiConfigQueryConfigResponse, error)
GiConfigQueryConfigWithResponse request returning *GiConfigQueryConfigResponse
func (*ClientWithResponses) GiConfigRegisterInstanceWithBodyWithResponse ¶
func (c *ClientWithResponses) GiConfigRegisterInstanceWithBodyWithResponse(ctx context.Context, params *GiConfigRegisterInstanceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GiConfigRegisterInstanceResponse, error)
GiConfigRegisterInstanceWithBodyWithResponse request with arbitrary body returning *GiConfigRegisterInstanceResponse
func (*ClientWithResponses) GiConfigRegisterInstanceWithResponse ¶
func (c *ClientWithResponses) GiConfigRegisterInstanceWithResponse(ctx context.Context, params *GiConfigRegisterInstanceParams, body GiConfigRegisterInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*GiConfigRegisterInstanceResponse, error)
func (*ClientWithResponses) GiConfigRegisterServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) GiConfigRegisterServiceWithBodyWithResponse(ctx context.Context, params *GiConfigRegisterServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GiConfigRegisterServiceResponse, error)
GiConfigRegisterServiceWithBodyWithResponse request with arbitrary body returning *GiConfigRegisterServiceResponse
func (*ClientWithResponses) GiConfigRegisterServiceWithResponse ¶
func (c *ClientWithResponses) GiConfigRegisterServiceWithResponse(ctx context.Context, params *GiConfigRegisterServiceParams, body GiConfigRegisterServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*GiConfigRegisterServiceResponse, error)
func (*ClientWithResponses) GiConfigSetConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) GiConfigSetConfigWithBodyWithResponse(ctx context.Context, params *GiConfigSetConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GiConfigSetConfigResponse, error)
GiConfigSetConfigWithBodyWithResponse request with arbitrary body returning *GiConfigSetConfigResponse
func (*ClientWithResponses) GiConfigSetConfigWithResponse ¶
func (c *ClientWithResponses) GiConfigSetConfigWithResponse(ctx context.Context, params *GiConfigSetConfigParams, body GiConfigSetConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*GiConfigSetConfigResponse, error)
func (*ClientWithResponses) GiDiscoverPortalWithResponse ¶
func (c *ClientWithResponses) GiDiscoverPortalWithResponse(ctx context.Context, deployment string, serviceclass string, params *GiDiscoverPortalParams, reqEditors ...RequestEditorFn) (*GiDiscoverPortalResponse, error)
GiDiscoverPortalWithResponse request returning *GiDiscoverPortalResponse
func (*ClientWithResponses) GiDiscoverServiceWithResponse ¶
func (c *ClientWithResponses) GiDiscoverServiceWithResponse(ctx context.Context, deployment string, serviceclass string, params *GiDiscoverServiceParams, reqEditors ...RequestEditorFn) (*GiDiscoverServiceResponse, error)
GiDiscoverServiceWithResponse request returning *GiDiscoverServiceResponse
func (*ClientWithResponses) GiGetSpecificsWithResponse ¶
func (c *ClientWithResponses) GiGetSpecificsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GiGetSpecificsResponse, error)
GiGetSpecificsWithResponse request returning *GiGetSpecificsResponse
func (*ClientWithResponses) GiRemoveConfigWithResponse ¶
func (c *ClientWithResponses) GiRemoveConfigWithResponse(ctx context.Context, params *GiRemoveConfigParams, reqEditors ...RequestEditorFn) (*GiRemoveConfigResponse, error)
GiRemoveConfigWithResponse request returning *GiRemoveConfigResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GiConfigDeregisterServiceWithResponse request GiConfigDeregisterServiceWithResponse(ctx context.Context, deployment string, name string, params *GiConfigDeregisterServiceParams, reqEditors ...RequestEditorFn) (*GiConfigDeregisterServiceResponse, error) // GiDiscoverPortalWithResponse request GiDiscoverPortalWithResponse(ctx context.Context, deployment string, serviceclass string, params *GiDiscoverPortalParams, reqEditors ...RequestEditorFn) (*GiDiscoverPortalResponse, error) // GiDiscoverServiceWithResponse request GiDiscoverServiceWithResponse(ctx context.Context, deployment string, serviceclass string, params *GiDiscoverServiceParams, reqEditors ...RequestEditorFn) (*GiDiscoverServiceResponse, error) // GiConfigRegisterInstanceWithBodyWithResponse request with any body GiConfigRegisterInstanceWithBodyWithResponse(ctx context.Context, params *GiConfigRegisterInstanceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GiConfigRegisterInstanceResponse, error) GiConfigRegisterInstanceWithResponse(ctx context.Context, params *GiConfigRegisterInstanceParams, body GiConfigRegisterInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*GiConfigRegisterInstanceResponse, error) // GiConfigPortalWithBodyWithResponse request with any body GiConfigPortalWithBodyWithResponse(ctx context.Context, operation GiConfigPortalParamsOperation, deployment string, params *GiConfigPortalParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GiConfigPortalResponse, error) GiConfigPortalWithResponse(ctx context.Context, operation GiConfigPortalParamsOperation, deployment string, params *GiConfigPortalParams, body GiConfigPortalJSONRequestBody, reqEditors ...RequestEditorFn) (*GiConfigPortalResponse, error) // GiConfigQueryConfigWithResponse request GiConfigQueryConfigWithResponse(ctx context.Context, params *GiConfigQueryConfigParams, reqEditors ...RequestEditorFn) (*GiConfigQueryConfigResponse, error) // GiConfigRegisterServiceWithBodyWithResponse request with any body GiConfigRegisterServiceWithBodyWithResponse(ctx context.Context, params *GiConfigRegisterServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GiConfigRegisterServiceResponse, error) GiConfigRegisterServiceWithResponse(ctx context.Context, params *GiConfigRegisterServiceParams, body GiConfigRegisterServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*GiConfigRegisterServiceResponse, error) // GiRemoveConfigWithResponse request GiRemoveConfigWithResponse(ctx context.Context, params *GiRemoveConfigParams, reqEditors ...RequestEditorFn) (*GiRemoveConfigResponse, error) // GiConfigSetConfigWithBodyWithResponse request with any body GiConfigSetConfigWithBodyWithResponse(ctx context.Context, params *GiConfigSetConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GiConfigSetConfigResponse, error) GiConfigSetConfigWithResponse(ctx context.Context, params *GiConfigSetConfigParams, body GiConfigSetConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*GiConfigSetConfigResponse, error) // GiGetSpecificsWithResponse request GiGetSpecificsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GiGetSpecificsResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type GiConfigDeregisterServiceResponse ¶
type GiConfigDeregisterServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ConfigServiceRegistrationResponse JSON400 *ErrorResponse JSON500 *ErrorResponse }
func ParseGiConfigDeregisterServiceResponse ¶
func ParseGiConfigDeregisterServiceResponse(rsp *http.Response) (*GiConfigDeregisterServiceResponse, error)
ParseGiConfigDeregisterServiceResponse parses an HTTP response from a GiConfigDeregisterServiceWithResponse call
func (GiConfigDeregisterServiceResponse) Status ¶
func (r GiConfigDeregisterServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GiConfigDeregisterServiceResponse) StatusCode ¶
func (r GiConfigDeregisterServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GiConfigPortalResponse ¶
type GiConfigPortalResponse struct { Body []byte HTTPResponse *http.Response JSON400 *ErrorResponse JSON500 *ErrorResponse }
func ParseGiConfigPortalResponse ¶
func ParseGiConfigPortalResponse(rsp *http.Response) (*GiConfigPortalResponse, error)
ParseGiConfigPortalResponse parses an HTTP response from a GiConfigPortalWithResponse call
func (GiConfigPortalResponse) Status ¶
func (r GiConfigPortalResponse) Status() string
Status returns HTTPResponse.Status
func (GiConfigPortalResponse) StatusCode ¶
func (r GiConfigPortalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GiConfigQueryConfigResponse ¶
type GiConfigQueryConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ConfigQueryResponse JSON400 *ErrorResponse JSON500 *ErrorResponse }
func ParseGiConfigQueryConfigResponse ¶
func ParseGiConfigQueryConfigResponse(rsp *http.Response) (*GiConfigQueryConfigResponse, error)
ParseGiConfigQueryConfigResponse parses an HTTP response from a GiConfigQueryConfigWithResponse call
func (GiConfigQueryConfigResponse) Status ¶
func (r GiConfigQueryConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GiConfigQueryConfigResponse) StatusCode ¶
func (r GiConfigQueryConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GiConfigRegisterInstanceResponse ¶
type GiConfigRegisterInstanceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ConfigServiceRegistrationResponse JSON400 *ErrorResponse JSON500 *ErrorResponse }
func ParseGiConfigRegisterInstanceResponse ¶
func ParseGiConfigRegisterInstanceResponse(rsp *http.Response) (*GiConfigRegisterInstanceResponse, error)
ParseGiConfigRegisterInstanceResponse parses an HTTP response from a GiConfigRegisterInstanceWithResponse call
func (GiConfigRegisterInstanceResponse) Status ¶
func (r GiConfigRegisterInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (GiConfigRegisterInstanceResponse) StatusCode ¶
func (r GiConfigRegisterInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GiConfigRegisterServiceResponse ¶
type GiConfigRegisterServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ConfigServiceRegistrationResponse JSON400 *ErrorResponse JSON500 *ErrorResponse }
func ParseGiConfigRegisterServiceResponse ¶
func ParseGiConfigRegisterServiceResponse(rsp *http.Response) (*GiConfigRegisterServiceResponse, error)
ParseGiConfigRegisterServiceResponse parses an HTTP response from a GiConfigRegisterServiceWithResponse call
func (GiConfigRegisterServiceResponse) Status ¶
func (r GiConfigRegisterServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GiConfigRegisterServiceResponse) StatusCode ¶
func (r GiConfigRegisterServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GiConfigSetConfigResponse ¶
type GiConfigSetConfigResponse struct { Body []byte HTTPResponse *http.Response JSON400 *ErrorResponse JSON500 *ErrorResponse }
func ParseGiConfigSetConfigResponse ¶
func ParseGiConfigSetConfigResponse(rsp *http.Response) (*GiConfigSetConfigResponse, error)
ParseGiConfigSetConfigResponse parses an HTTP response from a GiConfigSetConfigWithResponse call
func (GiConfigSetConfigResponse) Status ¶
func (r GiConfigSetConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GiConfigSetConfigResponse) StatusCode ¶
func (r GiConfigSetConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GiDiscoverPortalResponse ¶
type GiDiscoverPortalResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DiscoverPortalResponse JSON400 *ErrorResponse JSON500 *ErrorResponse }
func ParseGiDiscoverPortalResponse ¶
func ParseGiDiscoverPortalResponse(rsp *http.Response) (*GiDiscoverPortalResponse, error)
ParseGiDiscoverPortalResponse parses an HTTP response from a GiDiscoverPortalWithResponse call
func (GiDiscoverPortalResponse) Status ¶
func (r GiDiscoverPortalResponse) Status() string
Status returns HTTPResponse.Status
func (GiDiscoverPortalResponse) StatusCode ¶
func (r GiDiscoverPortalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GiDiscoverServiceResponse ¶
type GiDiscoverServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DiscoverServiceResponse JSON400 *ErrorResponse JSON500 *ErrorResponse }
func ParseGiDiscoverServiceResponse ¶
func ParseGiDiscoverServiceResponse(rsp *http.Response) (*GiDiscoverServiceResponse, error)
ParseGiDiscoverServiceResponse parses an HTTP response from a GiDiscoverServiceWithResponse call
func (GiDiscoverServiceResponse) Status ¶
func (r GiDiscoverServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GiDiscoverServiceResponse) StatusCode ¶
func (r GiDiscoverServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GiGetSpecificsResponse ¶
type GiGetSpecificsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Specifics JSON500 *ErrorResponse }
func ParseGiGetSpecificsResponse ¶
func ParseGiGetSpecificsResponse(rsp *http.Response) (*GiGetSpecificsResponse, error)
ParseGiGetSpecificsResponse parses an HTTP response from a GiGetSpecificsWithResponse call
func (GiGetSpecificsResponse) Status ¶
func (r GiGetSpecificsResponse) Status() string
Status returns HTTPResponse.Status
func (GiGetSpecificsResponse) StatusCode ¶
func (r GiGetSpecificsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GiRemoveConfigResponse ¶
type GiRemoveConfigResponse struct { Body []byte HTTPResponse *http.Response JSON400 *ErrorResponse JSON500 *ErrorResponse }
func ParseGiRemoveConfigResponse ¶
func ParseGiRemoveConfigResponse(rsp *http.Response) (*GiRemoveConfigResponse, error)
ParseGiRemoveConfigResponse parses an HTTP response from a GiRemoveConfigWithResponse call
func (GiRemoveConfigResponse) Status ¶
func (r GiRemoveConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GiRemoveConfigResponse) StatusCode ¶
func (r GiRemoveConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.