Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetOpenapiv3SpecificationDefault
- func (o *GetOpenapiv3SpecificationDefault) Code() int
- func (o *GetOpenapiv3SpecificationDefault) Error() string
- func (o *GetOpenapiv3SpecificationDefault) GetPayload() *models.Error
- func (o *GetOpenapiv3SpecificationDefault) IsClientError() bool
- func (o *GetOpenapiv3SpecificationDefault) IsCode(code int) bool
- func (o *GetOpenapiv3SpecificationDefault) IsRedirect() bool
- func (o *GetOpenapiv3SpecificationDefault) IsServerError() bool
- func (o *GetOpenapiv3SpecificationDefault) IsSuccess() bool
- func (o *GetOpenapiv3SpecificationDefault) String() string
- type GetOpenapiv3SpecificationOK
- func (o *GetOpenapiv3SpecificationOK) Code() int
- func (o *GetOpenapiv3SpecificationOK) Error() string
- func (o *GetOpenapiv3SpecificationOK) GetPayload() interface{}
- func (o *GetOpenapiv3SpecificationOK) IsClientError() bool
- func (o *GetOpenapiv3SpecificationOK) IsCode(code int) bool
- func (o *GetOpenapiv3SpecificationOK) IsRedirect() bool
- func (o *GetOpenapiv3SpecificationOK) IsServerError() bool
- func (o *GetOpenapiv3SpecificationOK) IsSuccess() bool
- func (o *GetOpenapiv3SpecificationOK) String() string
- type GetOpenapiv3SpecificationParams
- func NewGetOpenapiv3SpecificationParams() *GetOpenapiv3SpecificationParams
- func NewGetOpenapiv3SpecificationParamsWithContext(ctx context.Context) *GetOpenapiv3SpecificationParams
- func NewGetOpenapiv3SpecificationParamsWithHTTPClient(client *http.Client) *GetOpenapiv3SpecificationParams
- func NewGetOpenapiv3SpecificationParamsWithTimeout(timeout time.Duration) *GetOpenapiv3SpecificationParams
- func (o *GetOpenapiv3SpecificationParams) SetContext(ctx context.Context)
- func (o *GetOpenapiv3SpecificationParams) SetDefaults()
- func (o *GetOpenapiv3SpecificationParams) SetHTTPClient(client *http.Client)
- func (o *GetOpenapiv3SpecificationParams) SetTimeout(timeout time.Duration)
- func (o *GetOpenapiv3SpecificationParams) WithContext(ctx context.Context) *GetOpenapiv3SpecificationParams
- func (o *GetOpenapiv3SpecificationParams) WithDefaults() *GetOpenapiv3SpecificationParams
- func (o *GetOpenapiv3SpecificationParams) WithHTTPClient(client *http.Client) *GetOpenapiv3SpecificationParams
- func (o *GetOpenapiv3SpecificationParams) WithTimeout(timeout time.Duration) *GetOpenapiv3SpecificationParams
- func (o *GetOpenapiv3SpecificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOpenapiv3SpecificationReader
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 specification openapiv3 API
func (*Client) GetOpenapiv3Specification ¶
func (a *Client) GetOpenapiv3Specification(params *GetOpenapiv3SpecificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOpenapiv3SpecificationOK, error)
GetOpenapiv3Specification data plane API v3 specification
Return Data Plane API OpenAPI v3 specification
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 { GetOpenapiv3Specification(params *GetOpenapiv3SpecificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOpenapiv3SpecificationOK, 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 specification openapiv3 API client.
type GetOpenapiv3SpecificationDefault ¶
type GetOpenapiv3SpecificationDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetOpenapiv3SpecificationDefault describes a response with status code -1, with default header values.
General Error
func NewGetOpenapiv3SpecificationDefault ¶
func NewGetOpenapiv3SpecificationDefault(code int) *GetOpenapiv3SpecificationDefault
NewGetOpenapiv3SpecificationDefault creates a GetOpenapiv3SpecificationDefault with default headers values
func (*GetOpenapiv3SpecificationDefault) Code ¶
func (o *GetOpenapiv3SpecificationDefault) Code() int
Code gets the status code for the get openapiv3 specification default response
func (*GetOpenapiv3SpecificationDefault) Error ¶
func (o *GetOpenapiv3SpecificationDefault) Error() string
func (*GetOpenapiv3SpecificationDefault) GetPayload ¶
func (o *GetOpenapiv3SpecificationDefault) GetPayload() *models.Error
func (*GetOpenapiv3SpecificationDefault) IsClientError ¶ added in v1.1.0
func (o *GetOpenapiv3SpecificationDefault) IsClientError() bool
IsClientError returns true when this get openapiv3 specification default response has a 4xx status code
func (*GetOpenapiv3SpecificationDefault) IsCode ¶ added in v1.1.0
func (o *GetOpenapiv3SpecificationDefault) IsCode(code int) bool
IsCode returns true when this get openapiv3 specification default response a status code equal to that given
func (*GetOpenapiv3SpecificationDefault) IsRedirect ¶ added in v1.1.0
func (o *GetOpenapiv3SpecificationDefault) IsRedirect() bool
IsRedirect returns true when this get openapiv3 specification default response has a 3xx status code
func (*GetOpenapiv3SpecificationDefault) IsServerError ¶ added in v1.1.0
func (o *GetOpenapiv3SpecificationDefault) IsServerError() bool
IsServerError returns true when this get openapiv3 specification default response has a 5xx status code
func (*GetOpenapiv3SpecificationDefault) IsSuccess ¶ added in v1.1.0
func (o *GetOpenapiv3SpecificationDefault) IsSuccess() bool
IsSuccess returns true when this get openapiv3 specification default response has a 2xx status code
func (*GetOpenapiv3SpecificationDefault) String ¶ added in v1.1.0
func (o *GetOpenapiv3SpecificationDefault) String() string
type GetOpenapiv3SpecificationOK ¶
type GetOpenapiv3SpecificationOK struct {
Payload interface{}
}
GetOpenapiv3SpecificationOK describes a response with status code 200, with default header values.
Success
func NewGetOpenapiv3SpecificationOK ¶
func NewGetOpenapiv3SpecificationOK() *GetOpenapiv3SpecificationOK
NewGetOpenapiv3SpecificationOK creates a GetOpenapiv3SpecificationOK with default headers values
func (*GetOpenapiv3SpecificationOK) Code ¶ added in v1.1.5
func (o *GetOpenapiv3SpecificationOK) Code() int
Code gets the status code for the get openapiv3 specification o k response
func (*GetOpenapiv3SpecificationOK) Error ¶
func (o *GetOpenapiv3SpecificationOK) Error() string
func (*GetOpenapiv3SpecificationOK) GetPayload ¶
func (o *GetOpenapiv3SpecificationOK) GetPayload() interface{}
func (*GetOpenapiv3SpecificationOK) IsClientError ¶ added in v1.1.0
func (o *GetOpenapiv3SpecificationOK) IsClientError() bool
IsClientError returns true when this get openapiv3 specification o k response has a 4xx status code
func (*GetOpenapiv3SpecificationOK) IsCode ¶ added in v1.1.0
func (o *GetOpenapiv3SpecificationOK) IsCode(code int) bool
IsCode returns true when this get openapiv3 specification o k response a status code equal to that given
func (*GetOpenapiv3SpecificationOK) IsRedirect ¶ added in v1.1.0
func (o *GetOpenapiv3SpecificationOK) IsRedirect() bool
IsRedirect returns true when this get openapiv3 specification o k response has a 3xx status code
func (*GetOpenapiv3SpecificationOK) IsServerError ¶ added in v1.1.0
func (o *GetOpenapiv3SpecificationOK) IsServerError() bool
IsServerError returns true when this get openapiv3 specification o k response has a 5xx status code
func (*GetOpenapiv3SpecificationOK) IsSuccess ¶ added in v1.1.0
func (o *GetOpenapiv3SpecificationOK) IsSuccess() bool
IsSuccess returns true when this get openapiv3 specification o k response has a 2xx status code
func (*GetOpenapiv3SpecificationOK) String ¶ added in v1.1.0
func (o *GetOpenapiv3SpecificationOK) String() string
type GetOpenapiv3SpecificationParams ¶
type GetOpenapiv3SpecificationParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOpenapiv3SpecificationParams contains all the parameters to send to the API endpoint
for the get openapiv3 specification operation. Typically these are written to a http.Request.
func NewGetOpenapiv3SpecificationParams ¶
func NewGetOpenapiv3SpecificationParams() *GetOpenapiv3SpecificationParams
NewGetOpenapiv3SpecificationParams creates a new GetOpenapiv3SpecificationParams 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 NewGetOpenapiv3SpecificationParamsWithContext ¶
func NewGetOpenapiv3SpecificationParamsWithContext(ctx context.Context) *GetOpenapiv3SpecificationParams
NewGetOpenapiv3SpecificationParamsWithContext creates a new GetOpenapiv3SpecificationParams object with the ability to set a context for a request.
func NewGetOpenapiv3SpecificationParamsWithHTTPClient ¶
func NewGetOpenapiv3SpecificationParamsWithHTTPClient(client *http.Client) *GetOpenapiv3SpecificationParams
NewGetOpenapiv3SpecificationParamsWithHTTPClient creates a new GetOpenapiv3SpecificationParams object with the ability to set a custom HTTPClient for a request.
func NewGetOpenapiv3SpecificationParamsWithTimeout ¶
func NewGetOpenapiv3SpecificationParamsWithTimeout(timeout time.Duration) *GetOpenapiv3SpecificationParams
NewGetOpenapiv3SpecificationParamsWithTimeout creates a new GetOpenapiv3SpecificationParams object with the ability to set a timeout on a request.
func (*GetOpenapiv3SpecificationParams) SetContext ¶
func (o *GetOpenapiv3SpecificationParams) SetContext(ctx context.Context)
SetContext adds the context to the get openapiv3 specification params
func (*GetOpenapiv3SpecificationParams) SetDefaults ¶
func (o *GetOpenapiv3SpecificationParams) SetDefaults()
SetDefaults hydrates default values in the get openapiv3 specification params (not the query body).
All values with no default are reset to their zero value.
func (*GetOpenapiv3SpecificationParams) SetHTTPClient ¶
func (o *GetOpenapiv3SpecificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get openapiv3 specification params
func (*GetOpenapiv3SpecificationParams) SetTimeout ¶
func (o *GetOpenapiv3SpecificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get openapiv3 specification params
func (*GetOpenapiv3SpecificationParams) WithContext ¶
func (o *GetOpenapiv3SpecificationParams) WithContext(ctx context.Context) *GetOpenapiv3SpecificationParams
WithContext adds the context to the get openapiv3 specification params
func (*GetOpenapiv3SpecificationParams) WithDefaults ¶
func (o *GetOpenapiv3SpecificationParams) WithDefaults() *GetOpenapiv3SpecificationParams
WithDefaults hydrates default values in the get openapiv3 specification params (not the query body).
All values with no default are reset to their zero value.
func (*GetOpenapiv3SpecificationParams) WithHTTPClient ¶
func (o *GetOpenapiv3SpecificationParams) WithHTTPClient(client *http.Client) *GetOpenapiv3SpecificationParams
WithHTTPClient adds the HTTPClient to the get openapiv3 specification params
func (*GetOpenapiv3SpecificationParams) WithTimeout ¶
func (o *GetOpenapiv3SpecificationParams) WithTimeout(timeout time.Duration) *GetOpenapiv3SpecificationParams
WithTimeout adds the timeout to the get openapiv3 specification params
func (*GetOpenapiv3SpecificationParams) WriteToRequest ¶
func (o *GetOpenapiv3SpecificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOpenapiv3SpecificationReader ¶
type GetOpenapiv3SpecificationReader struct {
// contains filtered or unexported fields
}
GetOpenapiv3SpecificationReader is a Reader for the GetOpenapiv3Specification structure.
func (*GetOpenapiv3SpecificationReader) ReadResponse ¶
func (o *GetOpenapiv3SpecificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.