Documentation ¶
Index ¶
- type AddAPIBadRequest
- type AddAPIConflict
- type AddAPIInternalServerError
- type AddAPIOK
- type AddAPIParams
- func (o *AddAPIParams) SetBody(body *v1.API)
- func (o *AddAPIParams) SetContext(ctx context.Context)
- func (o *AddAPIParams) SetHTTPClient(client *http.Client)
- func (o *AddAPIParams) SetTimeout(timeout time.Duration)
- func (o *AddAPIParams) WithBody(body *v1.API) *AddAPIParams
- func (o *AddAPIParams) WithContext(ctx context.Context) *AddAPIParams
- func (o *AddAPIParams) WithHTTPClient(client *http.Client) *AddAPIParams
- func (o *AddAPIParams) WithTimeout(timeout time.Duration) *AddAPIParams
- func (o *AddAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddAPIReader
- type AddAPIUnauthorized
- type Client
- func (a *Client) AddAPI(params *AddAPIParams, authInfo runtime.ClientAuthInfoWriter) (*AddAPIOK, error)
- func (a *Client) DeleteAPI(params *DeleteAPIParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAPIOK, error)
- func (a *Client) GetAPI(params *GetAPIParams, authInfo runtime.ClientAuthInfoWriter) (*GetAPIOK, error)
- func (a *Client) GetApis(params *GetApisParams, authInfo runtime.ClientAuthInfoWriter) (*GetApisOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAPI(params *UpdateAPIParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAPIOK, error)
- type DeleteAPIBadRequest
- type DeleteAPIInternalServerError
- type DeleteAPINotFound
- type DeleteAPIOK
- type DeleteAPIParams
- func (o *DeleteAPIParams) SetAPI(api string)
- func (o *DeleteAPIParams) SetContext(ctx context.Context)
- func (o *DeleteAPIParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPIParams) SetTags(tags []string)
- func (o *DeleteAPIParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPIParams) WithAPI(api string) *DeleteAPIParams
- func (o *DeleteAPIParams) WithContext(ctx context.Context) *DeleteAPIParams
- func (o *DeleteAPIParams) WithHTTPClient(client *http.Client) *DeleteAPIParams
- func (o *DeleteAPIParams) WithTags(tags []string) *DeleteAPIParams
- func (o *DeleteAPIParams) WithTimeout(timeout time.Duration) *DeleteAPIParams
- func (o *DeleteAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPIReader
- type GetAPIBadRequest
- type GetAPIInternalServerError
- type GetAPINotFound
- type GetAPIOK
- type GetAPIParams
- func (o *GetAPIParams) SetAPI(api string)
- func (o *GetAPIParams) SetContext(ctx context.Context)
- func (o *GetAPIParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIParams) SetTags(tags []string)
- func (o *GetAPIParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIParams) WithAPI(api string) *GetAPIParams
- func (o *GetAPIParams) WithContext(ctx context.Context) *GetAPIParams
- func (o *GetAPIParams) WithHTTPClient(client *http.Client) *GetAPIParams
- func (o *GetAPIParams) WithTags(tags []string) *GetAPIParams
- func (o *GetAPIParams) WithTimeout(timeout time.Duration) *GetAPIParams
- func (o *GetAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIReader
- type GetApisDefault
- type GetApisInternalServerError
- type GetApisOK
- type GetApisParams
- func (o *GetApisParams) SetContext(ctx context.Context)
- func (o *GetApisParams) SetFunction(function *string)
- func (o *GetApisParams) SetHTTPClient(client *http.Client)
- func (o *GetApisParams) SetTags(tags []string)
- func (o *GetApisParams) SetTimeout(timeout time.Duration)
- func (o *GetApisParams) WithContext(ctx context.Context) *GetApisParams
- func (o *GetApisParams) WithFunction(function *string) *GetApisParams
- func (o *GetApisParams) WithHTTPClient(client *http.Client) *GetApisParams
- func (o *GetApisParams) WithTags(tags []string) *GetApisParams
- func (o *GetApisParams) WithTimeout(timeout time.Duration) *GetApisParams
- func (o *GetApisParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetApisReader
- type UpdateAPIBadRequest
- type UpdateAPIInternalServerError
- type UpdateAPINotFound
- type UpdateAPIOK
- type UpdateAPIParams
- func (o *UpdateAPIParams) SetAPI(api string)
- func (o *UpdateAPIParams) SetBody(body *v1.API)
- func (o *UpdateAPIParams) SetContext(ctx context.Context)
- func (o *UpdateAPIParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAPIParams) SetTags(tags []string)
- func (o *UpdateAPIParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAPIParams) WithAPI(api string) *UpdateAPIParams
- func (o *UpdateAPIParams) WithBody(body *v1.API) *UpdateAPIParams
- func (o *UpdateAPIParams) WithContext(ctx context.Context) *UpdateAPIParams
- func (o *UpdateAPIParams) WithHTTPClient(client *http.Client) *UpdateAPIParams
- func (o *UpdateAPIParams) WithTags(tags []string) *UpdateAPIParams
- func (o *UpdateAPIParams) WithTimeout(timeout time.Duration) *UpdateAPIParams
- func (o *UpdateAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAPIReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAPIBadRequest ¶
AddAPIBadRequest handles this case with default header values.
Invalid Input
func NewAddAPIBadRequest ¶
func NewAddAPIBadRequest() *AddAPIBadRequest
NewAddAPIBadRequest creates a AddAPIBadRequest with default headers values
func (*AddAPIBadRequest) Error ¶
func (o *AddAPIBadRequest) Error() string
type AddAPIConflict ¶ added in v0.1.13
AddAPIConflict handles this case with default header values.
Already Exists
func NewAddAPIConflict ¶ added in v0.1.13
func NewAddAPIConflict() *AddAPIConflict
NewAddAPIConflict creates a AddAPIConflict with default headers values
func (*AddAPIConflict) Error ¶ added in v0.1.13
func (o *AddAPIConflict) Error() string
type AddAPIInternalServerError ¶
AddAPIInternalServerError handles this case with default header values.
Internal Error
func NewAddAPIInternalServerError ¶
func NewAddAPIInternalServerError() *AddAPIInternalServerError
NewAddAPIInternalServerError creates a AddAPIInternalServerError with default headers values
func (*AddAPIInternalServerError) Error ¶
func (o *AddAPIInternalServerError) Error() string
type AddAPIOK ¶
AddAPIOK handles this case with default header values.
API created
func NewAddAPIOK ¶
func NewAddAPIOK() *AddAPIOK
NewAddAPIOK creates a AddAPIOK with default headers values
type AddAPIParams ¶
type AddAPIParams struct { /*Body API object */ Body *v1.API Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddAPIParams contains all the parameters to send to the API endpoint for the add API operation typically these are written to a http.Request
func NewAddAPIParams ¶
func NewAddAPIParams() *AddAPIParams
NewAddAPIParams creates a new AddAPIParams object with the default values initialized.
func NewAddAPIParamsWithContext ¶
func NewAddAPIParamsWithContext(ctx context.Context) *AddAPIParams
NewAddAPIParamsWithContext creates a new AddAPIParams object with the default values initialized, and the ability to set a context for a request
func NewAddAPIParamsWithHTTPClient ¶
func NewAddAPIParamsWithHTTPClient(client *http.Client) *AddAPIParams
NewAddAPIParamsWithHTTPClient creates a new AddAPIParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddAPIParamsWithTimeout ¶
func NewAddAPIParamsWithTimeout(timeout time.Duration) *AddAPIParams
NewAddAPIParamsWithTimeout creates a new AddAPIParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddAPIParams) SetBody ¶
func (o *AddAPIParams) SetBody(body *v1.API)
SetBody adds the body to the add API params
func (*AddAPIParams) SetContext ¶
func (o *AddAPIParams) SetContext(ctx context.Context)
SetContext adds the context to the add API params
func (*AddAPIParams) SetHTTPClient ¶
func (o *AddAPIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add API params
func (*AddAPIParams) SetTimeout ¶
func (o *AddAPIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add API params
func (*AddAPIParams) WithBody ¶
func (o *AddAPIParams) WithBody(body *v1.API) *AddAPIParams
WithBody adds the body to the add API params
func (*AddAPIParams) WithContext ¶
func (o *AddAPIParams) WithContext(ctx context.Context) *AddAPIParams
WithContext adds the context to the add API params
func (*AddAPIParams) WithHTTPClient ¶
func (o *AddAPIParams) WithHTTPClient(client *http.Client) *AddAPIParams
WithHTTPClient adds the HTTPClient to the add API params
func (*AddAPIParams) WithTimeout ¶
func (o *AddAPIParams) WithTimeout(timeout time.Duration) *AddAPIParams
WithTimeout adds the timeout to the add API params
func (*AddAPIParams) WriteToRequest ¶
func (o *AddAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddAPIReader ¶
type AddAPIReader struct {
// contains filtered or unexported fields
}
AddAPIReader is a Reader for the AddAPI structure.
func (*AddAPIReader) ReadResponse ¶
func (o *AddAPIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddAPIUnauthorized ¶
type AddAPIUnauthorized struct {
}AddAPIUnauthorized handles this case with default header values.
Unauthorized Request
func NewAddAPIUnauthorized ¶
func NewAddAPIUnauthorized() *AddAPIUnauthorized
NewAddAPIUnauthorized creates a AddAPIUnauthorized with default headers values
func (*AddAPIUnauthorized) Error ¶
func (o *AddAPIUnauthorized) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for endpoint API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new endpoint API client.
func (*Client) AddAPI ¶
func (a *Client) AddAPI(params *AddAPIParams, authInfo runtime.ClientAuthInfoWriter) (*AddAPIOK, error)
AddAPI adds a new API
func (*Client) DeleteAPI ¶
func (a *Client) DeleteAPI(params *DeleteAPIParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAPIOK, error)
DeleteAPI deletes an API
func (*Client) GetAPI ¶
func (a *Client) GetAPI(params *GetAPIParams, authInfo runtime.ClientAuthInfoWriter) (*GetAPIOK, error)
GetAPI finds API by name
get an API by name
func (*Client) GetApis ¶
func (a *Client) GetApis(params *GetApisParams, authInfo runtime.ClientAuthInfoWriter) (*GetApisOK, error)
GetApis lists all existing apis
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateAPI ¶
func (a *Client) UpdateAPI(params *UpdateAPIParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAPIOK, error)
UpdateAPI updates an API
type DeleteAPIBadRequest ¶
DeleteAPIBadRequest handles this case with default header values.
Invalid Name supplied
func NewDeleteAPIBadRequest ¶
func NewDeleteAPIBadRequest() *DeleteAPIBadRequest
NewDeleteAPIBadRequest creates a DeleteAPIBadRequest with default headers values
func (*DeleteAPIBadRequest) Error ¶
func (o *DeleteAPIBadRequest) Error() string
type DeleteAPIInternalServerError ¶
DeleteAPIInternalServerError handles this case with default header values.
Internal error
func NewDeleteAPIInternalServerError ¶
func NewDeleteAPIInternalServerError() *DeleteAPIInternalServerError
NewDeleteAPIInternalServerError creates a DeleteAPIInternalServerError with default headers values
func (*DeleteAPIInternalServerError) Error ¶
func (o *DeleteAPIInternalServerError) Error() string
type DeleteAPINotFound ¶
DeleteAPINotFound handles this case with default header values.
API not found
func NewDeleteAPINotFound ¶
func NewDeleteAPINotFound() *DeleteAPINotFound
NewDeleteAPINotFound creates a DeleteAPINotFound with default headers values
func (*DeleteAPINotFound) Error ¶
func (o *DeleteAPINotFound) Error() string
type DeleteAPIOK ¶
DeleteAPIOK handles this case with default header values.
Successful operation
func NewDeleteAPIOK ¶
func NewDeleteAPIOK() *DeleteAPIOK
NewDeleteAPIOK creates a DeleteAPIOK with default headers values
func (*DeleteAPIOK) Error ¶
func (o *DeleteAPIOK) Error() string
type DeleteAPIParams ¶
type DeleteAPIParams struct { /*API Name of API to work on */ API string /*Tags Filter based on tags */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPIParams contains all the parameters to send to the API endpoint for the delete API operation typically these are written to a http.Request
func NewDeleteAPIParams ¶
func NewDeleteAPIParams() *DeleteAPIParams
NewDeleteAPIParams creates a new DeleteAPIParams object with the default values initialized.
func NewDeleteAPIParamsWithContext ¶
func NewDeleteAPIParamsWithContext(ctx context.Context) *DeleteAPIParams
NewDeleteAPIParamsWithContext creates a new DeleteAPIParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAPIParamsWithHTTPClient ¶
func NewDeleteAPIParamsWithHTTPClient(client *http.Client) *DeleteAPIParams
NewDeleteAPIParamsWithHTTPClient creates a new DeleteAPIParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAPIParamsWithTimeout ¶
func NewDeleteAPIParamsWithTimeout(timeout time.Duration) *DeleteAPIParams
NewDeleteAPIParamsWithTimeout creates a new DeleteAPIParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAPIParams) SetAPI ¶
func (o *DeleteAPIParams) SetAPI(api string)
SetAPI adds the api to the delete API params
func (*DeleteAPIParams) SetContext ¶
func (o *DeleteAPIParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API params
func (*DeleteAPIParams) SetHTTPClient ¶
func (o *DeleteAPIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API params
func (*DeleteAPIParams) SetTags ¶ added in v0.1.13
func (o *DeleteAPIParams) SetTags(tags []string)
SetTags adds the tags to the delete API params
func (*DeleteAPIParams) SetTimeout ¶
func (o *DeleteAPIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API params
func (*DeleteAPIParams) WithAPI ¶
func (o *DeleteAPIParams) WithAPI(api string) *DeleteAPIParams
WithAPI adds the api to the delete API params
func (*DeleteAPIParams) WithContext ¶
func (o *DeleteAPIParams) WithContext(ctx context.Context) *DeleteAPIParams
WithContext adds the context to the delete API params
func (*DeleteAPIParams) WithHTTPClient ¶
func (o *DeleteAPIParams) WithHTTPClient(client *http.Client) *DeleteAPIParams
WithHTTPClient adds the HTTPClient to the delete API params
func (*DeleteAPIParams) WithTags ¶ added in v0.1.13
func (o *DeleteAPIParams) WithTags(tags []string) *DeleteAPIParams
WithTags adds the tags to the delete API params
func (*DeleteAPIParams) WithTimeout ¶
func (o *DeleteAPIParams) WithTimeout(timeout time.Duration) *DeleteAPIParams
WithTimeout adds the timeout to the delete API params
func (*DeleteAPIParams) WriteToRequest ¶
func (o *DeleteAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPIReader ¶
type DeleteAPIReader struct {
// contains filtered or unexported fields
}
DeleteAPIReader is a Reader for the DeleteAPI structure.
func (*DeleteAPIReader) ReadResponse ¶
func (o *DeleteAPIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIBadRequest ¶
GetAPIBadRequest handles this case with default header values.
Invalid Name supplied
func NewGetAPIBadRequest ¶
func NewGetAPIBadRequest() *GetAPIBadRequest
NewGetAPIBadRequest creates a GetAPIBadRequest with default headers values
func (*GetAPIBadRequest) Error ¶
func (o *GetAPIBadRequest) Error() string
type GetAPIInternalServerError ¶
GetAPIInternalServerError handles this case with default header values.
Internal error
func NewGetAPIInternalServerError ¶
func NewGetAPIInternalServerError() *GetAPIInternalServerError
NewGetAPIInternalServerError creates a GetAPIInternalServerError with default headers values
func (*GetAPIInternalServerError) Error ¶
func (o *GetAPIInternalServerError) Error() string
type GetAPINotFound ¶
GetAPINotFound handles this case with default header values.
API not found
func NewGetAPINotFound ¶
func NewGetAPINotFound() *GetAPINotFound
NewGetAPINotFound creates a GetAPINotFound with default headers values
func (*GetAPINotFound) Error ¶
func (o *GetAPINotFound) Error() string
type GetAPIOK ¶
GetAPIOK handles this case with default header values.
Successful operation
func NewGetAPIOK ¶
func NewGetAPIOK() *GetAPIOK
NewGetAPIOK creates a GetAPIOK with default headers values
type GetAPIParams ¶
type GetAPIParams struct { /*API Name of API to work on */ API string /*Tags Filter based on tags */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIParams contains all the parameters to send to the API endpoint for the get API operation typically these are written to a http.Request
func NewGetAPIParams ¶
func NewGetAPIParams() *GetAPIParams
NewGetAPIParams creates a new GetAPIParams object with the default values initialized.
func NewGetAPIParamsWithContext ¶
func NewGetAPIParamsWithContext(ctx context.Context) *GetAPIParams
NewGetAPIParamsWithContext creates a new GetAPIParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPIParamsWithHTTPClient ¶
func NewGetAPIParamsWithHTTPClient(client *http.Client) *GetAPIParams
NewGetAPIParamsWithHTTPClient creates a new GetAPIParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPIParamsWithTimeout ¶
func NewGetAPIParamsWithTimeout(timeout time.Duration) *GetAPIParams
NewGetAPIParamsWithTimeout creates a new GetAPIParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPIParams) SetAPI ¶
func (o *GetAPIParams) SetAPI(api string)
SetAPI adds the api to the get API params
func (*GetAPIParams) SetContext ¶
func (o *GetAPIParams) SetContext(ctx context.Context)
SetContext adds the context to the get API params
func (*GetAPIParams) SetHTTPClient ¶
func (o *GetAPIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API params
func (*GetAPIParams) SetTags ¶ added in v0.1.13
func (o *GetAPIParams) SetTags(tags []string)
SetTags adds the tags to the get API params
func (*GetAPIParams) SetTimeout ¶
func (o *GetAPIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API params
func (*GetAPIParams) WithAPI ¶
func (o *GetAPIParams) WithAPI(api string) *GetAPIParams
WithAPI adds the api to the get API params
func (*GetAPIParams) WithContext ¶
func (o *GetAPIParams) WithContext(ctx context.Context) *GetAPIParams
WithContext adds the context to the get API params
func (*GetAPIParams) WithHTTPClient ¶
func (o *GetAPIParams) WithHTTPClient(client *http.Client) *GetAPIParams
WithHTTPClient adds the HTTPClient to the get API params
func (*GetAPIParams) WithTags ¶ added in v0.1.13
func (o *GetAPIParams) WithTags(tags []string) *GetAPIParams
WithTags adds the tags to the get API params
func (*GetAPIParams) WithTimeout ¶
func (o *GetAPIParams) WithTimeout(timeout time.Duration) *GetAPIParams
WithTimeout adds the timeout to the get API params
func (*GetAPIParams) WriteToRequest ¶
func (o *GetAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIReader ¶
type GetAPIReader struct {
// contains filtered or unexported fields
}
GetAPIReader is a Reader for the GetAPI structure.
func (*GetAPIReader) ReadResponse ¶
func (o *GetAPIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApisDefault ¶
GetApisDefault handles this case with default header values.
Unexpected Error
func NewGetApisDefault ¶
func NewGetApisDefault(code int) *GetApisDefault
NewGetApisDefault creates a GetApisDefault with default headers values
func (*GetApisDefault) Code ¶
func (o *GetApisDefault) Code() int
Code gets the status code for the get apis default response
func (*GetApisDefault) Error ¶
func (o *GetApisDefault) Error() string
type GetApisInternalServerError ¶
GetApisInternalServerError handles this case with default header values.
Internal Error
func NewGetApisInternalServerError ¶
func NewGetApisInternalServerError() *GetApisInternalServerError
NewGetApisInternalServerError creates a GetApisInternalServerError with default headers values
func (*GetApisInternalServerError) Error ¶
func (o *GetApisInternalServerError) Error() string
type GetApisOK ¶
GetApisOK handles this case with default header values.
Successful operation
func NewGetApisOK ¶
func NewGetApisOK() *GetApisOK
NewGetApisOK creates a GetApisOK with default headers values
type GetApisParams ¶
type GetApisParams struct { /*Function Filter based on function names */ Function *string /*Tags Filter based on tags */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetApisParams contains all the parameters to send to the API endpoint for the get apis operation typically these are written to a http.Request
func NewGetApisParams ¶
func NewGetApisParams() *GetApisParams
NewGetApisParams creates a new GetApisParams object with the default values initialized.
func NewGetApisParamsWithContext ¶
func NewGetApisParamsWithContext(ctx context.Context) *GetApisParams
NewGetApisParamsWithContext creates a new GetApisParams object with the default values initialized, and the ability to set a context for a request
func NewGetApisParamsWithHTTPClient ¶
func NewGetApisParamsWithHTTPClient(client *http.Client) *GetApisParams
NewGetApisParamsWithHTTPClient creates a new GetApisParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetApisParamsWithTimeout ¶
func NewGetApisParamsWithTimeout(timeout time.Duration) *GetApisParams
NewGetApisParamsWithTimeout creates a new GetApisParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetApisParams) SetContext ¶
func (o *GetApisParams) SetContext(ctx context.Context)
SetContext adds the context to the get apis params
func (*GetApisParams) SetFunction ¶
func (o *GetApisParams) SetFunction(function *string)
SetFunction adds the function to the get apis params
func (*GetApisParams) SetHTTPClient ¶
func (o *GetApisParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get apis params
func (*GetApisParams) SetTags ¶
func (o *GetApisParams) SetTags(tags []string)
SetTags adds the tags to the get apis params
func (*GetApisParams) SetTimeout ¶
func (o *GetApisParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get apis params
func (*GetApisParams) WithContext ¶
func (o *GetApisParams) WithContext(ctx context.Context) *GetApisParams
WithContext adds the context to the get apis params
func (*GetApisParams) WithFunction ¶
func (o *GetApisParams) WithFunction(function *string) *GetApisParams
WithFunction adds the function to the get apis params
func (*GetApisParams) WithHTTPClient ¶
func (o *GetApisParams) WithHTTPClient(client *http.Client) *GetApisParams
WithHTTPClient adds the HTTPClient to the get apis params
func (*GetApisParams) WithTags ¶
func (o *GetApisParams) WithTags(tags []string) *GetApisParams
WithTags adds the tags to the get apis params
func (*GetApisParams) WithTimeout ¶
func (o *GetApisParams) WithTimeout(timeout time.Duration) *GetApisParams
WithTimeout adds the timeout to the get apis params
func (*GetApisParams) WriteToRequest ¶
func (o *GetApisParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetApisReader ¶
type GetApisReader struct {
// contains filtered or unexported fields
}
GetApisReader is a Reader for the GetApis structure.
func (*GetApisReader) ReadResponse ¶
func (o *GetApisReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAPIBadRequest ¶
UpdateAPIBadRequest handles this case with default header values.
Invalid input
func NewUpdateAPIBadRequest ¶
func NewUpdateAPIBadRequest() *UpdateAPIBadRequest
NewUpdateAPIBadRequest creates a UpdateAPIBadRequest with default headers values
func (*UpdateAPIBadRequest) Error ¶
func (o *UpdateAPIBadRequest) Error() string
type UpdateAPIInternalServerError ¶
UpdateAPIInternalServerError handles this case with default header values.
Internal error
func NewUpdateAPIInternalServerError ¶
func NewUpdateAPIInternalServerError() *UpdateAPIInternalServerError
NewUpdateAPIInternalServerError creates a UpdateAPIInternalServerError with default headers values
func (*UpdateAPIInternalServerError) Error ¶
func (o *UpdateAPIInternalServerError) Error() string
type UpdateAPINotFound ¶
UpdateAPINotFound handles this case with default header values.
API not found
func NewUpdateAPINotFound ¶
func NewUpdateAPINotFound() *UpdateAPINotFound
NewUpdateAPINotFound creates a UpdateAPINotFound with default headers values
func (*UpdateAPINotFound) Error ¶
func (o *UpdateAPINotFound) Error() string
type UpdateAPIOK ¶
UpdateAPIOK handles this case with default header values.
Successful update
func NewUpdateAPIOK ¶
func NewUpdateAPIOK() *UpdateAPIOK
NewUpdateAPIOK creates a UpdateAPIOK with default headers values
func (*UpdateAPIOK) Error ¶
func (o *UpdateAPIOK) Error() string
type UpdateAPIParams ¶
type UpdateAPIParams struct { /*API Name of API to work on */ API string /*Body API object */ Body *v1.API /*Tags Filter based on tags */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAPIParams contains all the parameters to send to the API endpoint for the update API operation typically these are written to a http.Request
func NewUpdateAPIParams ¶
func NewUpdateAPIParams() *UpdateAPIParams
NewUpdateAPIParams creates a new UpdateAPIParams object with the default values initialized.
func NewUpdateAPIParamsWithContext ¶
func NewUpdateAPIParamsWithContext(ctx context.Context) *UpdateAPIParams
NewUpdateAPIParamsWithContext creates a new UpdateAPIParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateAPIParamsWithHTTPClient ¶
func NewUpdateAPIParamsWithHTTPClient(client *http.Client) *UpdateAPIParams
NewUpdateAPIParamsWithHTTPClient creates a new UpdateAPIParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateAPIParamsWithTimeout ¶
func NewUpdateAPIParamsWithTimeout(timeout time.Duration) *UpdateAPIParams
NewUpdateAPIParamsWithTimeout creates a new UpdateAPIParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateAPIParams) SetAPI ¶
func (o *UpdateAPIParams) SetAPI(api string)
SetAPI adds the api to the update API params
func (*UpdateAPIParams) SetBody ¶
func (o *UpdateAPIParams) SetBody(body *v1.API)
SetBody adds the body to the update API params
func (*UpdateAPIParams) SetContext ¶
func (o *UpdateAPIParams) SetContext(ctx context.Context)
SetContext adds the context to the update API params
func (*UpdateAPIParams) SetHTTPClient ¶
func (o *UpdateAPIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update API params
func (*UpdateAPIParams) SetTags ¶ added in v0.1.13
func (o *UpdateAPIParams) SetTags(tags []string)
SetTags adds the tags to the update API params
func (*UpdateAPIParams) SetTimeout ¶
func (o *UpdateAPIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update API params
func (*UpdateAPIParams) WithAPI ¶
func (o *UpdateAPIParams) WithAPI(api string) *UpdateAPIParams
WithAPI adds the api to the update API params
func (*UpdateAPIParams) WithBody ¶
func (o *UpdateAPIParams) WithBody(body *v1.API) *UpdateAPIParams
WithBody adds the body to the update API params
func (*UpdateAPIParams) WithContext ¶
func (o *UpdateAPIParams) WithContext(ctx context.Context) *UpdateAPIParams
WithContext adds the context to the update API params
func (*UpdateAPIParams) WithHTTPClient ¶
func (o *UpdateAPIParams) WithHTTPClient(client *http.Client) *UpdateAPIParams
WithHTTPClient adds the HTTPClient to the update API params
func (*UpdateAPIParams) WithTags ¶ added in v0.1.13
func (o *UpdateAPIParams) WithTags(tags []string) *UpdateAPIParams
WithTags adds the tags to the update API params
func (*UpdateAPIParams) WithTimeout ¶
func (o *UpdateAPIParams) WithTimeout(timeout time.Duration) *UpdateAPIParams
WithTimeout adds the timeout to the update API params
func (*UpdateAPIParams) WriteToRequest ¶
func (o *UpdateAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAPIReader ¶
type UpdateAPIReader struct {
// contains filtered or unexported fields
}
UpdateAPIReader is a Reader for the UpdateAPI structure.
func (*UpdateAPIReader) ReadResponse ¶
func (o *UpdateAPIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.