Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateApp(params *CreateAppParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAppOK, error)
- func (a *Client) CreateClient(params *CreateClientParams, authInfo runtime.ClientAuthInfoWriter) (*CreateClientOK, error)
- func (a *Client) DeleteApp(params *DeleteAppParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppOK, error)
- func (a *Client) DeleteClient(params *DeleteClientParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteClientOK, error)
- func (a *Client) GetApps(params *GetAppsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppsOK, error)
- func (a *Client) GetClients(params *GetClientsParams, authInfo runtime.ClientAuthInfoWriter) (*GetClientsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UploadAppImage(params *UploadAppImageParams, authInfo runtime.ClientAuthInfoWriter) (*UploadAppImageOK, error)
- type CreateAppForbidden
- type CreateAppOK
- type CreateAppParams
- func (o *CreateAppParams) SetBody(body *models.Application)
- func (o *CreateAppParams) SetContext(ctx context.Context)
- func (o *CreateAppParams) SetHTTPClient(client *http.Client)
- func (o *CreateAppParams) SetTimeout(timeout time.Duration)
- func (o *CreateAppParams) WithBody(body *models.Application) *CreateAppParams
- func (o *CreateAppParams) WithContext(ctx context.Context) *CreateAppParams
- func (o *CreateAppParams) WithHTTPClient(client *http.Client) *CreateAppParams
- func (o *CreateAppParams) WithTimeout(timeout time.Duration) *CreateAppParams
- func (o *CreateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAppReader
- type CreateAppUnauthorized
- type CreateClientForbidden
- type CreateClientOK
- type CreateClientParams
- func (o *CreateClientParams) SetBody(body *models.Client)
- func (o *CreateClientParams) SetContext(ctx context.Context)
- func (o *CreateClientParams) SetHTTPClient(client *http.Client)
- func (o *CreateClientParams) SetTimeout(timeout time.Duration)
- func (o *CreateClientParams) WithBody(body *models.Client) *CreateClientParams
- func (o *CreateClientParams) WithContext(ctx context.Context) *CreateClientParams
- func (o *CreateClientParams) WithHTTPClient(client *http.Client) *CreateClientParams
- func (o *CreateClientParams) WithTimeout(timeout time.Duration) *CreateClientParams
- func (o *CreateClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClientReader
- type CreateClientUnauthorized
- type DeleteAppForbidden
- type DeleteAppOK
- type DeleteAppParams
- func (o *DeleteAppParams) SetContext(ctx context.Context)
- func (o *DeleteAppParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAppParams) SetID(id int64)
- func (o *DeleteAppParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAppParams) WithContext(ctx context.Context) *DeleteAppParams
- func (o *DeleteAppParams) WithHTTPClient(client *http.Client) *DeleteAppParams
- func (o *DeleteAppParams) WithID(id int64) *DeleteAppParams
- func (o *DeleteAppParams) WithTimeout(timeout time.Duration) *DeleteAppParams
- func (o *DeleteAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAppReader
- type DeleteAppUnauthorized
- type DeleteClientForbidden
- type DeleteClientOK
- type DeleteClientParams
- func (o *DeleteClientParams) SetContext(ctx context.Context)
- func (o *DeleteClientParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClientParams) SetID(id int64)
- func (o *DeleteClientParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClientParams) WithContext(ctx context.Context) *DeleteClientParams
- func (o *DeleteClientParams) WithHTTPClient(client *http.Client) *DeleteClientParams
- func (o *DeleteClientParams) WithID(id int64) *DeleteClientParams
- func (o *DeleteClientParams) WithTimeout(timeout time.Duration) *DeleteClientParams
- func (o *DeleteClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClientReader
- type DeleteClientUnauthorized
- type GetAppsForbidden
- type GetAppsOK
- type GetAppsParams
- func (o *GetAppsParams) SetContext(ctx context.Context)
- func (o *GetAppsParams) SetHTTPClient(client *http.Client)
- func (o *GetAppsParams) SetTimeout(timeout time.Duration)
- func (o *GetAppsParams) WithContext(ctx context.Context) *GetAppsParams
- func (o *GetAppsParams) WithHTTPClient(client *http.Client) *GetAppsParams
- func (o *GetAppsParams) WithTimeout(timeout time.Duration) *GetAppsParams
- func (o *GetAppsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAppsReader
- type GetAppsUnauthorized
- type GetClientsForbidden
- type GetClientsOK
- type GetClientsParams
- func (o *GetClientsParams) SetContext(ctx context.Context)
- func (o *GetClientsParams) SetHTTPClient(client *http.Client)
- func (o *GetClientsParams) SetTimeout(timeout time.Duration)
- func (o *GetClientsParams) WithContext(ctx context.Context) *GetClientsParams
- func (o *GetClientsParams) WithHTTPClient(client *http.Client) *GetClientsParams
- func (o *GetClientsParams) WithTimeout(timeout time.Duration) *GetClientsParams
- func (o *GetClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClientsReader
- type GetClientsUnauthorized
- type UploadAppImageForbidden
- type UploadAppImageOK
- type UploadAppImageParams
- func NewUploadAppImageParams() *UploadAppImageParams
- func NewUploadAppImageParamsWithContext(ctx context.Context) *UploadAppImageParams
- func NewUploadAppImageParamsWithHTTPClient(client *http.Client) *UploadAppImageParams
- func NewUploadAppImageParamsWithTimeout(timeout time.Duration) *UploadAppImageParams
- func (o *UploadAppImageParams) SetContext(ctx context.Context)
- func (o *UploadAppImageParams) SetFile(file runtime.NamedReadCloser)
- func (o *UploadAppImageParams) SetHTTPClient(client *http.Client)
- func (o *UploadAppImageParams) SetID(id int64)
- func (o *UploadAppImageParams) SetTimeout(timeout time.Duration)
- func (o *UploadAppImageParams) WithContext(ctx context.Context) *UploadAppImageParams
- func (o *UploadAppImageParams) WithFile(file runtime.NamedReadCloser) *UploadAppImageParams
- func (o *UploadAppImageParams) WithHTTPClient(client *http.Client) *UploadAppImageParams
- func (o *UploadAppImageParams) WithID(id int64) *UploadAppImageParams
- func (o *UploadAppImageParams) WithTimeout(timeout time.Duration) *UploadAppImageParams
- func (o *UploadAppImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadAppImageReader
- type UploadAppImageUnauthorized
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 token API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new token API client.
func (*Client) CreateApp ¶
func (a *Client) CreateApp(params *CreateAppParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAppOK, error)
CreateApp creates an application
func (*Client) CreateClient ¶
func (a *Client) CreateClient(params *CreateClientParams, authInfo runtime.ClientAuthInfoWriter) (*CreateClientOK, error)
CreateClient creates a client
func (*Client) DeleteApp ¶
func (a *Client) DeleteApp(params *DeleteAppParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppOK, error)
DeleteApp deletes an application
func (*Client) DeleteClient ¶
func (a *Client) DeleteClient(params *DeleteClientParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteClientOK, error)
DeleteClient deletes a client
func (*Client) GetApps ¶
func (a *Client) GetApps(params *GetAppsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppsOK, error)
GetApps returns all applications
func (*Client) GetClients ¶
func (a *Client) GetClients(params *GetClientsParams, authInfo runtime.ClientAuthInfoWriter) (*GetClientsOK, error)
GetClients returns all clients
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UploadAppImage ¶
func (a *Client) UploadAppImage(params *UploadAppImageParams, authInfo runtime.ClientAuthInfoWriter) (*UploadAppImageOK, error)
UploadAppImage Upload an image for an application
type CreateAppForbidden ¶
CreateAppForbidden handles this case with default header values.
Forbidden
func NewCreateAppForbidden ¶
func NewCreateAppForbidden() *CreateAppForbidden
NewCreateAppForbidden creates a CreateAppForbidden with default headers values
func (*CreateAppForbidden) Error ¶
func (o *CreateAppForbidden) Error() string
type CreateAppOK ¶
type CreateAppOK struct {
Payload *models.Application
}
CreateAppOK handles this case with default header values.
Ok
func NewCreateAppOK ¶
func NewCreateAppOK() *CreateAppOK
NewCreateAppOK creates a CreateAppOK with default headers values
func (*CreateAppOK) Error ¶
func (o *CreateAppOK) Error() string
type CreateAppParams ¶
type CreateAppParams struct {
/*Body
the application to add
*/
Body *models.Application
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateAppParams contains all the parameters to send to the API endpoint for the create app operation typically these are written to a http.Request
func NewCreateAppParams ¶
func NewCreateAppParams() *CreateAppParams
NewCreateAppParams creates a new CreateAppParams object with the default values initialized.
func NewCreateAppParamsWithContext ¶
func NewCreateAppParamsWithContext(ctx context.Context) *CreateAppParams
NewCreateAppParamsWithContext creates a new CreateAppParams object with the default values initialized, and the ability to set a context for a request
func NewCreateAppParamsWithHTTPClient ¶
func NewCreateAppParamsWithHTTPClient(client *http.Client) *CreateAppParams
NewCreateAppParamsWithHTTPClient creates a new CreateAppParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateAppParamsWithTimeout ¶
func NewCreateAppParamsWithTimeout(timeout time.Duration) *CreateAppParams
NewCreateAppParamsWithTimeout creates a new CreateAppParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateAppParams) SetBody ¶
func (o *CreateAppParams) SetBody(body *models.Application)
SetBody adds the body to the create app params
func (*CreateAppParams) SetContext ¶
func (o *CreateAppParams) SetContext(ctx context.Context)
SetContext adds the context to the create app params
func (*CreateAppParams) SetHTTPClient ¶
func (o *CreateAppParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create app params
func (*CreateAppParams) SetTimeout ¶
func (o *CreateAppParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create app params
func (*CreateAppParams) WithBody ¶
func (o *CreateAppParams) WithBody(body *models.Application) *CreateAppParams
WithBody adds the body to the create app params
func (*CreateAppParams) WithContext ¶
func (o *CreateAppParams) WithContext(ctx context.Context) *CreateAppParams
WithContext adds the context to the create app params
func (*CreateAppParams) WithHTTPClient ¶
func (o *CreateAppParams) WithHTTPClient(client *http.Client) *CreateAppParams
WithHTTPClient adds the HTTPClient to the create app params
func (*CreateAppParams) WithTimeout ¶
func (o *CreateAppParams) WithTimeout(timeout time.Duration) *CreateAppParams
WithTimeout adds the timeout to the create app params
func (*CreateAppParams) WriteToRequest ¶
func (o *CreateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAppReader ¶
type CreateAppReader struct {
// contains filtered or unexported fields
}
CreateAppReader is a Reader for the CreateApp structure.
func (*CreateAppReader) ReadResponse ¶
func (o *CreateAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateAppUnauthorized ¶
type CreateAppUnauthorized struct {
}
CreateAppUnauthorized handles this case with default header values.
Unauthorized
func NewCreateAppUnauthorized ¶
func NewCreateAppUnauthorized() *CreateAppUnauthorized
NewCreateAppUnauthorized creates a CreateAppUnauthorized with default headers values
func (*CreateAppUnauthorized) Error ¶
func (o *CreateAppUnauthorized) Error() string
type CreateClientForbidden ¶
CreateClientForbidden handles this case with default header values.
Forbidden
func NewCreateClientForbidden ¶
func NewCreateClientForbidden() *CreateClientForbidden
NewCreateClientForbidden creates a CreateClientForbidden with default headers values
func (*CreateClientForbidden) Error ¶
func (o *CreateClientForbidden) Error() string
type CreateClientOK ¶
CreateClientOK handles this case with default header values.
Ok
func NewCreateClientOK ¶
func NewCreateClientOK() *CreateClientOK
NewCreateClientOK creates a CreateClientOK with default headers values
func (*CreateClientOK) Error ¶
func (o *CreateClientOK) Error() string
type CreateClientParams ¶
type CreateClientParams struct {
/*Body
the client to add
*/
Body *models.Client
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateClientParams contains all the parameters to send to the API endpoint for the create client operation typically these are written to a http.Request
func NewCreateClientParams ¶
func NewCreateClientParams() *CreateClientParams
NewCreateClientParams creates a new CreateClientParams object with the default values initialized.
func NewCreateClientParamsWithContext ¶
func NewCreateClientParamsWithContext(ctx context.Context) *CreateClientParams
NewCreateClientParamsWithContext creates a new CreateClientParams object with the default values initialized, and the ability to set a context for a request
func NewCreateClientParamsWithHTTPClient ¶
func NewCreateClientParamsWithHTTPClient(client *http.Client) *CreateClientParams
NewCreateClientParamsWithHTTPClient creates a new CreateClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateClientParamsWithTimeout ¶
func NewCreateClientParamsWithTimeout(timeout time.Duration) *CreateClientParams
NewCreateClientParamsWithTimeout creates a new CreateClientParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateClientParams) SetBody ¶
func (o *CreateClientParams) SetBody(body *models.Client)
SetBody adds the body to the create client params
func (*CreateClientParams) SetContext ¶
func (o *CreateClientParams) SetContext(ctx context.Context)
SetContext adds the context to the create client params
func (*CreateClientParams) SetHTTPClient ¶
func (o *CreateClientParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create client params
func (*CreateClientParams) SetTimeout ¶
func (o *CreateClientParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create client params
func (*CreateClientParams) WithBody ¶
func (o *CreateClientParams) WithBody(body *models.Client) *CreateClientParams
WithBody adds the body to the create client params
func (*CreateClientParams) WithContext ¶
func (o *CreateClientParams) WithContext(ctx context.Context) *CreateClientParams
WithContext adds the context to the create client params
func (*CreateClientParams) WithHTTPClient ¶
func (o *CreateClientParams) WithHTTPClient(client *http.Client) *CreateClientParams
WithHTTPClient adds the HTTPClient to the create client params
func (*CreateClientParams) WithTimeout ¶
func (o *CreateClientParams) WithTimeout(timeout time.Duration) *CreateClientParams
WithTimeout adds the timeout to the create client params
func (*CreateClientParams) WriteToRequest ¶
func (o *CreateClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateClientReader ¶
type CreateClientReader struct {
// contains filtered or unexported fields
}
CreateClientReader is a Reader for the CreateClient structure.
func (*CreateClientReader) ReadResponse ¶
func (o *CreateClientReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateClientUnauthorized ¶
type CreateClientUnauthorized struct {
}
CreateClientUnauthorized handles this case with default header values.
Unauthorized
func NewCreateClientUnauthorized ¶
func NewCreateClientUnauthorized() *CreateClientUnauthorized
NewCreateClientUnauthorized creates a CreateClientUnauthorized with default headers values
func (*CreateClientUnauthorized) Error ¶
func (o *CreateClientUnauthorized) Error() string
type DeleteAppForbidden ¶
DeleteAppForbidden handles this case with default header values.
Forbidden
func NewDeleteAppForbidden ¶
func NewDeleteAppForbidden() *DeleteAppForbidden
NewDeleteAppForbidden creates a DeleteAppForbidden with default headers values
func (*DeleteAppForbidden) Error ¶
func (o *DeleteAppForbidden) Error() string
type DeleteAppOK ¶
type DeleteAppOK struct {
}
DeleteAppOK handles this case with default header values.
Ok
func NewDeleteAppOK ¶
func NewDeleteAppOK() *DeleteAppOK
NewDeleteAppOK creates a DeleteAppOK with default headers values
func (*DeleteAppOK) Error ¶
func (o *DeleteAppOK) Error() string
type DeleteAppParams ¶
type DeleteAppParams struct {
/*ID
the application id
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteAppParams contains all the parameters to send to the API endpoint for the delete app operation typically these are written to a http.Request
func NewDeleteAppParams ¶
func NewDeleteAppParams() *DeleteAppParams
NewDeleteAppParams creates a new DeleteAppParams object with the default values initialized.
func NewDeleteAppParamsWithContext ¶
func NewDeleteAppParamsWithContext(ctx context.Context) *DeleteAppParams
NewDeleteAppParamsWithContext creates a new DeleteAppParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAppParamsWithHTTPClient ¶
func NewDeleteAppParamsWithHTTPClient(client *http.Client) *DeleteAppParams
NewDeleteAppParamsWithHTTPClient creates a new DeleteAppParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAppParamsWithTimeout ¶
func NewDeleteAppParamsWithTimeout(timeout time.Duration) *DeleteAppParams
NewDeleteAppParamsWithTimeout creates a new DeleteAppParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAppParams) SetContext ¶
func (o *DeleteAppParams) SetContext(ctx context.Context)
SetContext adds the context to the delete app params
func (*DeleteAppParams) SetHTTPClient ¶
func (o *DeleteAppParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete app params
func (*DeleteAppParams) SetID ¶
func (o *DeleteAppParams) SetID(id int64)
SetID adds the id to the delete app params
func (*DeleteAppParams) SetTimeout ¶
func (o *DeleteAppParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete app params
func (*DeleteAppParams) WithContext ¶
func (o *DeleteAppParams) WithContext(ctx context.Context) *DeleteAppParams
WithContext adds the context to the delete app params
func (*DeleteAppParams) WithHTTPClient ¶
func (o *DeleteAppParams) WithHTTPClient(client *http.Client) *DeleteAppParams
WithHTTPClient adds the HTTPClient to the delete app params
func (*DeleteAppParams) WithID ¶
func (o *DeleteAppParams) WithID(id int64) *DeleteAppParams
WithID adds the id to the delete app params
func (*DeleteAppParams) WithTimeout ¶
func (o *DeleteAppParams) WithTimeout(timeout time.Duration) *DeleteAppParams
WithTimeout adds the timeout to the delete app params
func (*DeleteAppParams) WriteToRequest ¶
func (o *DeleteAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAppReader ¶
type DeleteAppReader struct {
// contains filtered or unexported fields
}
DeleteAppReader is a Reader for the DeleteApp structure.
func (*DeleteAppReader) ReadResponse ¶
func (o *DeleteAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAppUnauthorized ¶
type DeleteAppUnauthorized struct {
}
DeleteAppUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteAppUnauthorized ¶
func NewDeleteAppUnauthorized() *DeleteAppUnauthorized
NewDeleteAppUnauthorized creates a DeleteAppUnauthorized with default headers values
func (*DeleteAppUnauthorized) Error ¶
func (o *DeleteAppUnauthorized) Error() string
type DeleteClientForbidden ¶
DeleteClientForbidden handles this case with default header values.
Forbidden
func NewDeleteClientForbidden ¶
func NewDeleteClientForbidden() *DeleteClientForbidden
NewDeleteClientForbidden creates a DeleteClientForbidden with default headers values
func (*DeleteClientForbidden) Error ¶
func (o *DeleteClientForbidden) Error() string
type DeleteClientOK ¶
type DeleteClientOK struct {
}
DeleteClientOK handles this case with default header values.
Ok
func NewDeleteClientOK ¶
func NewDeleteClientOK() *DeleteClientOK
NewDeleteClientOK creates a DeleteClientOK with default headers values
func (*DeleteClientOK) Error ¶
func (o *DeleteClientOK) Error() string
type DeleteClientParams ¶
type DeleteClientParams struct {
/*ID
the client id
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteClientParams contains all the parameters to send to the API endpoint for the delete client operation typically these are written to a http.Request
func NewDeleteClientParams ¶
func NewDeleteClientParams() *DeleteClientParams
NewDeleteClientParams creates a new DeleteClientParams object with the default values initialized.
func NewDeleteClientParamsWithContext ¶
func NewDeleteClientParamsWithContext(ctx context.Context) *DeleteClientParams
NewDeleteClientParamsWithContext creates a new DeleteClientParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteClientParamsWithHTTPClient ¶
func NewDeleteClientParamsWithHTTPClient(client *http.Client) *DeleteClientParams
NewDeleteClientParamsWithHTTPClient creates a new DeleteClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteClientParamsWithTimeout ¶
func NewDeleteClientParamsWithTimeout(timeout time.Duration) *DeleteClientParams
NewDeleteClientParamsWithTimeout creates a new DeleteClientParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteClientParams) SetContext ¶
func (o *DeleteClientParams) SetContext(ctx context.Context)
SetContext adds the context to the delete client params
func (*DeleteClientParams) SetHTTPClient ¶
func (o *DeleteClientParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete client params
func (*DeleteClientParams) SetID ¶
func (o *DeleteClientParams) SetID(id int64)
SetID adds the id to the delete client params
func (*DeleteClientParams) SetTimeout ¶
func (o *DeleteClientParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete client params
func (*DeleteClientParams) WithContext ¶
func (o *DeleteClientParams) WithContext(ctx context.Context) *DeleteClientParams
WithContext adds the context to the delete client params
func (*DeleteClientParams) WithHTTPClient ¶
func (o *DeleteClientParams) WithHTTPClient(client *http.Client) *DeleteClientParams
WithHTTPClient adds the HTTPClient to the delete client params
func (*DeleteClientParams) WithID ¶
func (o *DeleteClientParams) WithID(id int64) *DeleteClientParams
WithID adds the id to the delete client params
func (*DeleteClientParams) WithTimeout ¶
func (o *DeleteClientParams) WithTimeout(timeout time.Duration) *DeleteClientParams
WithTimeout adds the timeout to the delete client params
func (*DeleteClientParams) WriteToRequest ¶
func (o *DeleteClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClientReader ¶
type DeleteClientReader struct {
// contains filtered or unexported fields
}
DeleteClientReader is a Reader for the DeleteClient structure.
func (*DeleteClientReader) ReadResponse ¶
func (o *DeleteClientReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClientUnauthorized ¶
type DeleteClientUnauthorized struct {
}
DeleteClientUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteClientUnauthorized ¶
func NewDeleteClientUnauthorized() *DeleteClientUnauthorized
NewDeleteClientUnauthorized creates a DeleteClientUnauthorized with default headers values
func (*DeleteClientUnauthorized) Error ¶
func (o *DeleteClientUnauthorized) Error() string
type GetAppsForbidden ¶
GetAppsForbidden handles this case with default header values.
Forbidden
func NewGetAppsForbidden ¶
func NewGetAppsForbidden() *GetAppsForbidden
NewGetAppsForbidden creates a GetAppsForbidden with default headers values
func (*GetAppsForbidden) Error ¶
func (o *GetAppsForbidden) Error() string
type GetAppsOK ¶
type GetAppsOK struct {
Payload []*models.Application
}
GetAppsOK handles this case with default header values.
Ok
func NewGetAppsOK ¶
func NewGetAppsOK() *GetAppsOK
NewGetAppsOK creates a GetAppsOK with default headers values
type GetAppsParams ¶
type GetAppsParams struct {
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) SetHTTPClient ¶
func (o *GetAppsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient 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) WithHTTPClient ¶
func (o *GetAppsParams) WithHTTPClient(client *http.Client) *GetAppsParams
WithHTTPClient adds the HTTPClient 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.
type GetAppsUnauthorized ¶
type GetAppsUnauthorized struct {
}
GetAppsUnauthorized handles this case with default header values.
Unauthorized
func NewGetAppsUnauthorized ¶
func NewGetAppsUnauthorized() *GetAppsUnauthorized
NewGetAppsUnauthorized creates a GetAppsUnauthorized with default headers values
func (*GetAppsUnauthorized) Error ¶
func (o *GetAppsUnauthorized) Error() string
type GetClientsForbidden ¶
GetClientsForbidden handles this case with default header values.
Forbidden
func NewGetClientsForbidden ¶
func NewGetClientsForbidden() *GetClientsForbidden
NewGetClientsForbidden creates a GetClientsForbidden with default headers values
func (*GetClientsForbidden) Error ¶
func (o *GetClientsForbidden) Error() string
type GetClientsOK ¶
GetClientsOK handles this case with default header values.
Ok
func NewGetClientsOK ¶
func NewGetClientsOK() *GetClientsOK
NewGetClientsOK creates a GetClientsOK with default headers values
func (*GetClientsOK) Error ¶
func (o *GetClientsOK) Error() string
type GetClientsParams ¶
type GetClientsParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetClientsParams contains all the parameters to send to the API endpoint for the get clients operation typically these are written to a http.Request
func NewGetClientsParams ¶
func NewGetClientsParams() *GetClientsParams
NewGetClientsParams creates a new GetClientsParams object with the default values initialized.
func NewGetClientsParamsWithContext ¶
func NewGetClientsParamsWithContext(ctx context.Context) *GetClientsParams
NewGetClientsParamsWithContext creates a new GetClientsParams object with the default values initialized, and the ability to set a context for a request
func NewGetClientsParamsWithHTTPClient ¶
func NewGetClientsParamsWithHTTPClient(client *http.Client) *GetClientsParams
NewGetClientsParamsWithHTTPClient creates a new GetClientsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetClientsParamsWithTimeout ¶
func NewGetClientsParamsWithTimeout(timeout time.Duration) *GetClientsParams
NewGetClientsParamsWithTimeout creates a new GetClientsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetClientsParams) SetContext ¶
func (o *GetClientsParams) SetContext(ctx context.Context)
SetContext adds the context to the get clients params
func (*GetClientsParams) SetHTTPClient ¶
func (o *GetClientsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get clients params
func (*GetClientsParams) SetTimeout ¶
func (o *GetClientsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get clients params
func (*GetClientsParams) WithContext ¶
func (o *GetClientsParams) WithContext(ctx context.Context) *GetClientsParams
WithContext adds the context to the get clients params
func (*GetClientsParams) WithHTTPClient ¶
func (o *GetClientsParams) WithHTTPClient(client *http.Client) *GetClientsParams
WithHTTPClient adds the HTTPClient to the get clients params
func (*GetClientsParams) WithTimeout ¶
func (o *GetClientsParams) WithTimeout(timeout time.Duration) *GetClientsParams
WithTimeout adds the timeout to the get clients params
func (*GetClientsParams) WriteToRequest ¶
func (o *GetClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClientsReader ¶
type GetClientsReader struct {
// contains filtered or unexported fields
}
GetClientsReader is a Reader for the GetClients structure.
func (*GetClientsReader) ReadResponse ¶
func (o *GetClientsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClientsUnauthorized ¶
type GetClientsUnauthorized struct {
}
GetClientsUnauthorized handles this case with default header values.
Unauthorized
func NewGetClientsUnauthorized ¶
func NewGetClientsUnauthorized() *GetClientsUnauthorized
NewGetClientsUnauthorized creates a GetClientsUnauthorized with default headers values
func (*GetClientsUnauthorized) Error ¶
func (o *GetClientsUnauthorized) Error() string
type UploadAppImageForbidden ¶
UploadAppImageForbidden handles this case with default header values.
Forbidden
func NewUploadAppImageForbidden ¶
func NewUploadAppImageForbidden() *UploadAppImageForbidden
NewUploadAppImageForbidden creates a UploadAppImageForbidden with default headers values
func (*UploadAppImageForbidden) Error ¶
func (o *UploadAppImageForbidden) Error() string
type UploadAppImageOK ¶
type UploadAppImageOK struct {
Payload *models.Application
}
UploadAppImageOK handles this case with default header values.
Ok
func NewUploadAppImageOK ¶
func NewUploadAppImageOK() *UploadAppImageOK
NewUploadAppImageOK creates a UploadAppImageOK with default headers values
func (*UploadAppImageOK) Error ¶
func (o *UploadAppImageOK) Error() string
type UploadAppImageParams ¶
type UploadAppImageParams struct {
/*File
the application image
*/
File runtime.NamedReadCloser
/*ID
the application id
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UploadAppImageParams contains all the parameters to send to the API endpoint for the upload app image operation typically these are written to a http.Request
func NewUploadAppImageParams ¶
func NewUploadAppImageParams() *UploadAppImageParams
NewUploadAppImageParams creates a new UploadAppImageParams object with the default values initialized.
func NewUploadAppImageParamsWithContext ¶
func NewUploadAppImageParamsWithContext(ctx context.Context) *UploadAppImageParams
NewUploadAppImageParamsWithContext creates a new UploadAppImageParams object with the default values initialized, and the ability to set a context for a request
func NewUploadAppImageParamsWithHTTPClient ¶
func NewUploadAppImageParamsWithHTTPClient(client *http.Client) *UploadAppImageParams
NewUploadAppImageParamsWithHTTPClient creates a new UploadAppImageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUploadAppImageParamsWithTimeout ¶
func NewUploadAppImageParamsWithTimeout(timeout time.Duration) *UploadAppImageParams
NewUploadAppImageParamsWithTimeout creates a new UploadAppImageParams object with the default values initialized, and the ability to set a timeout on a request
func (*UploadAppImageParams) SetContext ¶
func (o *UploadAppImageParams) SetContext(ctx context.Context)
SetContext adds the context to the upload app image params
func (*UploadAppImageParams) SetFile ¶
func (o *UploadAppImageParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the upload app image params
func (*UploadAppImageParams) SetHTTPClient ¶
func (o *UploadAppImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload app image params
func (*UploadAppImageParams) SetID ¶
func (o *UploadAppImageParams) SetID(id int64)
SetID adds the id to the upload app image params
func (*UploadAppImageParams) SetTimeout ¶
func (o *UploadAppImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload app image params
func (*UploadAppImageParams) WithContext ¶
func (o *UploadAppImageParams) WithContext(ctx context.Context) *UploadAppImageParams
WithContext adds the context to the upload app image params
func (*UploadAppImageParams) WithFile ¶
func (o *UploadAppImageParams) WithFile(file runtime.NamedReadCloser) *UploadAppImageParams
WithFile adds the file to the upload app image params
func (*UploadAppImageParams) WithHTTPClient ¶
func (o *UploadAppImageParams) WithHTTPClient(client *http.Client) *UploadAppImageParams
WithHTTPClient adds the HTTPClient to the upload app image params
func (*UploadAppImageParams) WithID ¶
func (o *UploadAppImageParams) WithID(id int64) *UploadAppImageParams
WithID adds the id to the upload app image params
func (*UploadAppImageParams) WithTimeout ¶
func (o *UploadAppImageParams) WithTimeout(timeout time.Duration) *UploadAppImageParams
WithTimeout adds the timeout to the upload app image params
func (*UploadAppImageParams) WriteToRequest ¶
func (o *UploadAppImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadAppImageReader ¶
type UploadAppImageReader struct {
// contains filtered or unexported fields
}
UploadAppImageReader is a Reader for the UploadAppImage structure.
func (*UploadAppImageReader) ReadResponse ¶
func (o *UploadAppImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadAppImageUnauthorized ¶
type UploadAppImageUnauthorized struct {
}
UploadAppImageUnauthorized handles this case with default header values.
Unauthorized
func NewUploadAppImageUnauthorized ¶
func NewUploadAppImageUnauthorized() *UploadAppImageUnauthorized
NewUploadAppImageUnauthorized creates a UploadAppImageUnauthorized with default headers values
func (*UploadAppImageUnauthorized) Error ¶
func (o *UploadAppImageUnauthorized) Error() string
Source Files
¶
- create_app_parameters.go
- create_app_responses.go
- create_client_parameters.go
- create_client_responses.go
- delete_app_parameters.go
- delete_app_responses.go
- delete_client_parameters.go
- delete_client_responses.go
- get_apps_parameters.go
- get_apps_responses.go
- get_clients_parameters.go
- get_clients_responses.go
- token_client.go
- upload_app_image_parameters.go
- upload_app_image_responses.go