Documentation
¶
Index ¶
- type Client
- type GetAppsAppRoutesDefault
- type GetAppsAppRoutesNotFound
- type GetAppsAppRoutesOK
- type GetAppsAppRoutesParams
- func NewGetAppsAppRoutesParams() *GetAppsAppRoutesParams
- func NewGetAppsAppRoutesParamsWithContext(ctx context.Context) *GetAppsAppRoutesParams
- func NewGetAppsAppRoutesParamsWithHTTPClient(client *http.Client) *GetAppsAppRoutesParams
- func NewGetAppsAppRoutesParamsWithTimeout(timeout time.Duration) *GetAppsAppRoutesParams
- func (o *GetAppsAppRoutesParams) SetApp(app string)
- func (o *GetAppsAppRoutesParams) SetContext(ctx context.Context)
- func (o *GetAppsAppRoutesParams) SetCursor(cursor *string)
- func (o *GetAppsAppRoutesParams) SetHTTPClient(client *http.Client)
- func (o *GetAppsAppRoutesParams) SetImage(image *string)
- func (o *GetAppsAppRoutesParams) SetPerPage(perPage *int64)
- func (o *GetAppsAppRoutesParams) SetTimeout(timeout time.Duration)
- func (o *GetAppsAppRoutesParams) WithApp(app string) *GetAppsAppRoutesParams
- func (o *GetAppsAppRoutesParams) WithContext(ctx context.Context) *GetAppsAppRoutesParams
- func (o *GetAppsAppRoutesParams) WithCursor(cursor *string) *GetAppsAppRoutesParams
- func (o *GetAppsAppRoutesParams) WithHTTPClient(client *http.Client) *GetAppsAppRoutesParams
- func (o *GetAppsAppRoutesParams) WithImage(image *string) *GetAppsAppRoutesParams
- func (o *GetAppsAppRoutesParams) WithPerPage(perPage *int64) *GetAppsAppRoutesParams
- func (o *GetAppsAppRoutesParams) WithTimeout(timeout time.Duration) *GetAppsAppRoutesParams
- func (o *GetAppsAppRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAppsAppRoutesReader
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 routes API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new routes API client.
func (*Client) GetAppsAppRoutes ¶
func (a *Client) GetAppsAppRoutes(params *GetAppsAppRoutesParams) (*GetAppsAppRoutesOK, error)
GetAppsAppRoutes gets route list by app name
This will list routes for a particular app, returned in alphabetical order.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetAppsAppRoutesDefault ¶
type GetAppsAppRoutesDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetAppsAppRoutesDefault handles this case with default header values.
Unexpected error
func NewGetAppsAppRoutesDefault ¶
func NewGetAppsAppRoutesDefault(code int) *GetAppsAppRoutesDefault
NewGetAppsAppRoutesDefault creates a GetAppsAppRoutesDefault with default headers values
func (*GetAppsAppRoutesDefault) Code ¶
func (o *GetAppsAppRoutesDefault) Code() int
Code gets the status code for the get apps app routes default response
func (*GetAppsAppRoutesDefault) Error ¶
func (o *GetAppsAppRoutesDefault) Error() string
type GetAppsAppRoutesNotFound ¶
GetAppsAppRoutesNotFound handles this case with default header values.
App does not exist.
func NewGetAppsAppRoutesNotFound ¶
func NewGetAppsAppRoutesNotFound() *GetAppsAppRoutesNotFound
NewGetAppsAppRoutesNotFound creates a GetAppsAppRoutesNotFound with default headers values
func (*GetAppsAppRoutesNotFound) Error ¶
func (o *GetAppsAppRoutesNotFound) Error() string
type GetAppsAppRoutesOK ¶
type GetAppsAppRoutesOK struct {
Payload *models.RoutesWrapper
}
GetAppsAppRoutesOK handles this case with default header values.
Route information
func NewGetAppsAppRoutesOK ¶
func NewGetAppsAppRoutesOK() *GetAppsAppRoutesOK
NewGetAppsAppRoutesOK creates a GetAppsAppRoutesOK with default headers values
func (*GetAppsAppRoutesOK) Error ¶
func (o *GetAppsAppRoutesOK) Error() string
type GetAppsAppRoutesParams ¶
type GetAppsAppRoutesParams struct { /*App Name of app for this set of routes. */ App string /*Cursor Cursor from previous response.next_cursor to begin results after, if any. */ Cursor *string /*Image Route image to match, exact. */ Image *string /*PerPage Number of results to return, defaults to 30. Max of 100. */ PerPage *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAppsAppRoutesParams contains all the parameters to send to the API endpoint for the get apps app routes operation typically these are written to a http.Request
func NewGetAppsAppRoutesParams ¶
func NewGetAppsAppRoutesParams() *GetAppsAppRoutesParams
NewGetAppsAppRoutesParams creates a new GetAppsAppRoutesParams object with the default values initialized.
func NewGetAppsAppRoutesParamsWithContext ¶
func NewGetAppsAppRoutesParamsWithContext(ctx context.Context) *GetAppsAppRoutesParams
NewGetAppsAppRoutesParamsWithContext creates a new GetAppsAppRoutesParams object with the default values initialized, and the ability to set a context for a request
func NewGetAppsAppRoutesParamsWithHTTPClient ¶
func NewGetAppsAppRoutesParamsWithHTTPClient(client *http.Client) *GetAppsAppRoutesParams
NewGetAppsAppRoutesParamsWithHTTPClient creates a new GetAppsAppRoutesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAppsAppRoutesParamsWithTimeout ¶
func NewGetAppsAppRoutesParamsWithTimeout(timeout time.Duration) *GetAppsAppRoutesParams
NewGetAppsAppRoutesParamsWithTimeout creates a new GetAppsAppRoutesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAppsAppRoutesParams) SetApp ¶
func (o *GetAppsAppRoutesParams) SetApp(app string)
SetApp adds the app to the get apps app routes params
func (*GetAppsAppRoutesParams) SetContext ¶
func (o *GetAppsAppRoutesParams) SetContext(ctx context.Context)
SetContext adds the context to the get apps app routes params
func (*GetAppsAppRoutesParams) SetCursor ¶
func (o *GetAppsAppRoutesParams) SetCursor(cursor *string)
SetCursor adds the cursor to the get apps app routes params
func (*GetAppsAppRoutesParams) SetHTTPClient ¶
func (o *GetAppsAppRoutesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get apps app routes params
func (*GetAppsAppRoutesParams) SetImage ¶
func (o *GetAppsAppRoutesParams) SetImage(image *string)
SetImage adds the image to the get apps app routes params
func (*GetAppsAppRoutesParams) SetPerPage ¶
func (o *GetAppsAppRoutesParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the get apps app routes params
func (*GetAppsAppRoutesParams) SetTimeout ¶
func (o *GetAppsAppRoutesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get apps app routes params
func (*GetAppsAppRoutesParams) WithApp ¶
func (o *GetAppsAppRoutesParams) WithApp(app string) *GetAppsAppRoutesParams
WithApp adds the app to the get apps app routes params
func (*GetAppsAppRoutesParams) WithContext ¶
func (o *GetAppsAppRoutesParams) WithContext(ctx context.Context) *GetAppsAppRoutesParams
WithContext adds the context to the get apps app routes params
func (*GetAppsAppRoutesParams) WithCursor ¶
func (o *GetAppsAppRoutesParams) WithCursor(cursor *string) *GetAppsAppRoutesParams
WithCursor adds the cursor to the get apps app routes params
func (*GetAppsAppRoutesParams) WithHTTPClient ¶
func (o *GetAppsAppRoutesParams) WithHTTPClient(client *http.Client) *GetAppsAppRoutesParams
WithHTTPClient adds the HTTPClient to the get apps app routes params
func (*GetAppsAppRoutesParams) WithImage ¶
func (o *GetAppsAppRoutesParams) WithImage(image *string) *GetAppsAppRoutesParams
WithImage adds the image to the get apps app routes params
func (*GetAppsAppRoutesParams) WithPerPage ¶
func (o *GetAppsAppRoutesParams) WithPerPage(perPage *int64) *GetAppsAppRoutesParams
WithPerPage adds the perPage to the get apps app routes params
func (*GetAppsAppRoutesParams) WithTimeout ¶
func (o *GetAppsAppRoutesParams) WithTimeout(timeout time.Duration) *GetAppsAppRoutesParams
WithTimeout adds the timeout to the get apps app routes params
func (*GetAppsAppRoutesParams) WriteToRequest ¶
func (o *GetAppsAppRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAppsAppRoutesReader ¶
type GetAppsAppRoutesReader struct {
// contains filtered or unexported fields
}
GetAppsAppRoutesReader is a Reader for the GetAppsAppRoutes structure.
func (*GetAppsAppRoutesReader) ReadResponse ¶
func (o *GetAppsAppRoutesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.