Documentation
¶
Index ¶
- type Client
- type GetAppsDefault
- type GetAppsOK
- type GetAppsParams
- func (o *GetAppsParams) SetContext(ctx context.Context)
- func (o *GetAppsParams) SetCursor(cursor *string)
- func (o *GetAppsParams) SetHTTPClient(client *http.Client)
- func (o *GetAppsParams) SetPerPage(perPage *int64)
- func (o *GetAppsParams) SetTimeout(timeout time.Duration)
- func (o *GetAppsParams) WithContext(ctx context.Context) *GetAppsParams
- func (o *GetAppsParams) WithCursor(cursor *string) *GetAppsParams
- func (o *GetAppsParams) WithHTTPClient(client *http.Client) *GetAppsParams
- func (o *GetAppsParams) WithPerPage(perPage *int64) *GetAppsParams
- func (o *GetAppsParams) WithTimeout(timeout time.Duration) *GetAppsParams
- func (o *GetAppsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAppsReader
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 apps API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new apps API client.
func (*Client) GetApps ¶
func (a *Client) GetApps(params *GetAppsParams) (*GetAppsOK, error)
GetApps gets all app names
Get a list of all the apps in the system, returned in alphabetical order.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetAppsDefault ¶
GetAppsDefault handles this case with default header values.
Unexpected error
func NewGetAppsDefault ¶
func NewGetAppsDefault(code int) *GetAppsDefault
NewGetAppsDefault creates a GetAppsDefault with default headers values
func (*GetAppsDefault) Code ¶
func (o *GetAppsDefault) Code() int
Code gets the status code for the get apps default response
func (*GetAppsDefault) Error ¶
func (o *GetAppsDefault) Error() string
type GetAppsOK ¶
type GetAppsOK struct {
Payload *models.AppsWrapper
}
GetAppsOK handles this case with default header values.
List of apps.
func NewGetAppsOK ¶
func NewGetAppsOK() *GetAppsOK
NewGetAppsOK creates a GetAppsOK with default headers values
type GetAppsParams ¶
type GetAppsParams struct { /*Cursor Cursor from previous response.next_cursor to begin results after, if any. */ Cursor *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 }
GetAppsParams contains all the parameters to send to the API endpoint for the get apps operation typically these are written to a http.Request
func NewGetAppsParams ¶
func NewGetAppsParams() *GetAppsParams
NewGetAppsParams creates a new GetAppsParams object with the default values initialized.
func NewGetAppsParamsWithContext ¶
func NewGetAppsParamsWithContext(ctx context.Context) *GetAppsParams
NewGetAppsParamsWithContext creates a new GetAppsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAppsParamsWithHTTPClient ¶
func NewGetAppsParamsWithHTTPClient(client *http.Client) *GetAppsParams
NewGetAppsParamsWithHTTPClient creates a new GetAppsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAppsParamsWithTimeout ¶
func NewGetAppsParamsWithTimeout(timeout time.Duration) *GetAppsParams
NewGetAppsParamsWithTimeout creates a new GetAppsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAppsParams) SetContext ¶
func (o *GetAppsParams) SetContext(ctx context.Context)
SetContext adds the context to the get apps params
func (*GetAppsParams) SetCursor ¶
func (o *GetAppsParams) SetCursor(cursor *string)
SetCursor adds the cursor to the get apps params
func (*GetAppsParams) SetHTTPClient ¶
func (o *GetAppsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get apps params
func (*GetAppsParams) SetPerPage ¶
func (o *GetAppsParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the get apps params
func (*GetAppsParams) SetTimeout ¶
func (o *GetAppsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get apps params
func (*GetAppsParams) WithContext ¶
func (o *GetAppsParams) WithContext(ctx context.Context) *GetAppsParams
WithContext adds the context to the get apps params
func (*GetAppsParams) WithCursor ¶
func (o *GetAppsParams) WithCursor(cursor *string) *GetAppsParams
WithCursor adds the cursor to the get apps params
func (*GetAppsParams) WithHTTPClient ¶
func (o *GetAppsParams) WithHTTPClient(client *http.Client) *GetAppsParams
WithHTTPClient adds the HTTPClient to the get apps params
func (*GetAppsParams) WithPerPage ¶
func (o *GetAppsParams) WithPerPage(perPage *int64) *GetAppsParams
WithPerPage adds the perPage to the get apps params
func (*GetAppsParams) WithTimeout ¶
func (o *GetAppsParams) WithTimeout(timeout time.Duration) *GetAppsParams
WithTimeout adds the timeout to the get apps params
func (*GetAppsParams) WriteToRequest ¶
func (o *GetAppsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAppsReader ¶
type GetAppsReader struct {
// contains filtered or unexported fields
}
GetAppsReader is a Reader for the GetApps structure.
func (*GetAppsReader) ReadResponse ¶
func (o *GetAppsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.