apps

package
v0.0.0-...-91b84f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2018 License: Apache-2.0 Imports: 10 Imported by: 11

Documentation

Index

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) DeleteAppsApp

func (a *Client) DeleteAppsApp(params *DeleteAppsAppParams) (*DeleteAppsAppOK, error)

DeleteAppsApp deletes an app

Delete an app.

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.

func (*Client) GetAppsApp

func (a *Client) GetAppsApp(params *GetAppsAppParams) (*GetAppsAppOK, error)

GetAppsApp gets information for a app

This gives more details about a app, such as statistics.

func (*Client) PatchAppsApp

func (a *Client) PatchAppsApp(params *PatchAppsAppParams) (*PatchAppsAppOK, error)

PatchAppsApp updates an app

You can set app level settings here.

func (*Client) PostApps

func (a *Client) PostApps(params *PostAppsParams) (*PostAppsOK, error)

PostApps posts new app

Insert a new app

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type DeleteAppsAppDefault

type DeleteAppsAppDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteAppsAppDefault handles this case with default header values.

Unexpected error

func NewDeleteAppsAppDefault

func NewDeleteAppsAppDefault(code int) *DeleteAppsAppDefault

NewDeleteAppsAppDefault creates a DeleteAppsAppDefault with default headers values

func (*DeleteAppsAppDefault) Code

func (o *DeleteAppsAppDefault) Code() int

Code gets the status code for the delete apps app default response

func (*DeleteAppsAppDefault) Error

func (o *DeleteAppsAppDefault) Error() string

type DeleteAppsAppNotFound

type DeleteAppsAppNotFound struct {
	Payload *models.Error
}

DeleteAppsAppNotFound handles this case with default header values.

App does not exist.

func NewDeleteAppsAppNotFound

func NewDeleteAppsAppNotFound() *DeleteAppsAppNotFound

NewDeleteAppsAppNotFound creates a DeleteAppsAppNotFound with default headers values

func (*DeleteAppsAppNotFound) Error

func (o *DeleteAppsAppNotFound) Error() string

type DeleteAppsAppOK

type DeleteAppsAppOK struct {
}

DeleteAppsAppOK handles this case with default header values.

Apps successfully deleted.

func NewDeleteAppsAppOK

func NewDeleteAppsAppOK() *DeleteAppsAppOK

NewDeleteAppsAppOK creates a DeleteAppsAppOK with default headers values

func (*DeleteAppsAppOK) Error

func (o *DeleteAppsAppOK) Error() string

type DeleteAppsAppParams

type DeleteAppsAppParams struct {

	/*App
	  Name of the app.

	*/
	App string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAppsAppParams contains all the parameters to send to the API endpoint for the delete apps app operation typically these are written to a http.Request

func NewDeleteAppsAppParams

func NewDeleteAppsAppParams() *DeleteAppsAppParams

NewDeleteAppsAppParams creates a new DeleteAppsAppParams object with the default values initialized.

func NewDeleteAppsAppParamsWithContext

func NewDeleteAppsAppParamsWithContext(ctx context.Context) *DeleteAppsAppParams

NewDeleteAppsAppParamsWithContext creates a new DeleteAppsAppParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteAppsAppParamsWithHTTPClient

func NewDeleteAppsAppParamsWithHTTPClient(client *http.Client) *DeleteAppsAppParams

NewDeleteAppsAppParamsWithHTTPClient creates a new DeleteAppsAppParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteAppsAppParamsWithTimeout

func NewDeleteAppsAppParamsWithTimeout(timeout time.Duration) *DeleteAppsAppParams

NewDeleteAppsAppParamsWithTimeout creates a new DeleteAppsAppParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteAppsAppParams) SetApp

func (o *DeleteAppsAppParams) SetApp(app string)

SetApp adds the app to the delete apps app params

func (*DeleteAppsAppParams) SetContext

func (o *DeleteAppsAppParams) SetContext(ctx context.Context)

SetContext adds the context to the delete apps app params

func (*DeleteAppsAppParams) SetHTTPClient

func (o *DeleteAppsAppParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete apps app params

func (*DeleteAppsAppParams) SetTimeout

func (o *DeleteAppsAppParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete apps app params

func (*DeleteAppsAppParams) WithApp

WithApp adds the app to the delete apps app params

func (*DeleteAppsAppParams) WithContext

WithContext adds the context to the delete apps app params

func (*DeleteAppsAppParams) WithHTTPClient

func (o *DeleteAppsAppParams) WithHTTPClient(client *http.Client) *DeleteAppsAppParams

WithHTTPClient adds the HTTPClient to the delete apps app params

func (*DeleteAppsAppParams) WithTimeout

func (o *DeleteAppsAppParams) WithTimeout(timeout time.Duration) *DeleteAppsAppParams

WithTimeout adds the timeout to the delete apps app params

func (*DeleteAppsAppParams) WriteToRequest

func (o *DeleteAppsAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteAppsAppReader

type DeleteAppsAppReader struct {
	// contains filtered or unexported fields
}

DeleteAppsAppReader is a Reader for the DeleteAppsApp structure.

func (*DeleteAppsAppReader) ReadResponse

func (o *DeleteAppsAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAppsAppDefault

type GetAppsAppDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetAppsAppDefault handles this case with default header values.

Unexpected error

func NewGetAppsAppDefault

func NewGetAppsAppDefault(code int) *GetAppsAppDefault

NewGetAppsAppDefault creates a GetAppsAppDefault with default headers values

func (*GetAppsAppDefault) Code

func (o *GetAppsAppDefault) Code() int

Code gets the status code for the get apps app default response

func (*GetAppsAppDefault) Error

func (o *GetAppsAppDefault) Error() string

type GetAppsAppNotFound

type GetAppsAppNotFound struct {
	Payload *models.Error
}

GetAppsAppNotFound handles this case with default header values.

App does not exist.

func NewGetAppsAppNotFound

func NewGetAppsAppNotFound() *GetAppsAppNotFound

NewGetAppsAppNotFound creates a GetAppsAppNotFound with default headers values

func (*GetAppsAppNotFound) Error

func (o *GetAppsAppNotFound) Error() string

type GetAppsAppOK

type GetAppsAppOK struct {
	Payload *models.AppWrapper
}

GetAppsAppOK handles this case with default header values.

App details and stats.

func NewGetAppsAppOK

func NewGetAppsAppOK() *GetAppsAppOK

NewGetAppsAppOK creates a GetAppsAppOK with default headers values

func (*GetAppsAppOK) Error

func (o *GetAppsAppOK) Error() string

type GetAppsAppParams

type GetAppsAppParams struct {

	/*App
	  name of the app.

	*/
	App string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAppsAppParams contains all the parameters to send to the API endpoint for the get apps app operation typically these are written to a http.Request

func NewGetAppsAppParams

func NewGetAppsAppParams() *GetAppsAppParams

NewGetAppsAppParams creates a new GetAppsAppParams object with the default values initialized.

func NewGetAppsAppParamsWithContext

func NewGetAppsAppParamsWithContext(ctx context.Context) *GetAppsAppParams

NewGetAppsAppParamsWithContext creates a new GetAppsAppParams object with the default values initialized, and the ability to set a context for a request

func NewGetAppsAppParamsWithHTTPClient

func NewGetAppsAppParamsWithHTTPClient(client *http.Client) *GetAppsAppParams

NewGetAppsAppParamsWithHTTPClient creates a new GetAppsAppParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAppsAppParamsWithTimeout

func NewGetAppsAppParamsWithTimeout(timeout time.Duration) *GetAppsAppParams

NewGetAppsAppParamsWithTimeout creates a new GetAppsAppParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAppsAppParams) SetApp

func (o *GetAppsAppParams) SetApp(app string)

SetApp adds the app to the get apps app params

func (*GetAppsAppParams) SetContext

func (o *GetAppsAppParams) SetContext(ctx context.Context)

SetContext adds the context to the get apps app params

func (*GetAppsAppParams) SetHTTPClient

func (o *GetAppsAppParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get apps app params

func (*GetAppsAppParams) SetTimeout

func (o *GetAppsAppParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get apps app params

func (*GetAppsAppParams) WithApp

func (o *GetAppsAppParams) WithApp(app string) *GetAppsAppParams

WithApp adds the app to the get apps app params

func (*GetAppsAppParams) WithContext

func (o *GetAppsAppParams) WithContext(ctx context.Context) *GetAppsAppParams

WithContext adds the context to the get apps app params

func (*GetAppsAppParams) WithHTTPClient

func (o *GetAppsAppParams) WithHTTPClient(client *http.Client) *GetAppsAppParams

WithHTTPClient adds the HTTPClient to the get apps app params

func (*GetAppsAppParams) WithTimeout

func (o *GetAppsAppParams) WithTimeout(timeout time.Duration) *GetAppsAppParams

WithTimeout adds the timeout to the get apps app params

func (*GetAppsAppParams) WriteToRequest

func (o *GetAppsAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAppsAppReader

type GetAppsAppReader struct {
	// contains filtered or unexported fields
}

GetAppsAppReader is a Reader for the GetAppsApp structure.

func (*GetAppsAppReader) ReadResponse

func (o *GetAppsAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAppsDefault

type GetAppsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

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

func (*GetAppsOK) Error

func (o *GetAppsOK) Error() string

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 PatchAppsAppBadRequest

type PatchAppsAppBadRequest struct {
	Payload *models.Error
}

PatchAppsAppBadRequest handles this case with default header values.

Parameters are missing or invalid.

func NewPatchAppsAppBadRequest

func NewPatchAppsAppBadRequest() *PatchAppsAppBadRequest

NewPatchAppsAppBadRequest creates a PatchAppsAppBadRequest with default headers values

func (*PatchAppsAppBadRequest) Error

func (o *PatchAppsAppBadRequest) Error() string

type PatchAppsAppDefault

type PatchAppsAppDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchAppsAppDefault handles this case with default header values.

Unexpected error

func NewPatchAppsAppDefault

func NewPatchAppsAppDefault(code int) *PatchAppsAppDefault

NewPatchAppsAppDefault creates a PatchAppsAppDefault with default headers values

func (*PatchAppsAppDefault) Code

func (o *PatchAppsAppDefault) Code() int

Code gets the status code for the patch apps app default response

func (*PatchAppsAppDefault) Error

func (o *PatchAppsAppDefault) Error() string

type PatchAppsAppNotFound

type PatchAppsAppNotFound struct {
	Payload *models.Error
}

PatchAppsAppNotFound handles this case with default header values.

App does not exist.

func NewPatchAppsAppNotFound

func NewPatchAppsAppNotFound() *PatchAppsAppNotFound

NewPatchAppsAppNotFound creates a PatchAppsAppNotFound with default headers values

func (*PatchAppsAppNotFound) Error

func (o *PatchAppsAppNotFound) Error() string

type PatchAppsAppOK

type PatchAppsAppOK struct {
	Payload *models.AppWrapper
}

PatchAppsAppOK handles this case with default header values.

App details and stats.

func NewPatchAppsAppOK

func NewPatchAppsAppOK() *PatchAppsAppOK

NewPatchAppsAppOK creates a PatchAppsAppOK with default headers values

func (*PatchAppsAppOK) Error

func (o *PatchAppsAppOK) Error() string

type PatchAppsAppParams

type PatchAppsAppParams struct {

	/*App
	  name of the app.

	*/
	App string
	/*Body
	  App to post.

	*/
	Body *models.AppWrapper

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchAppsAppParams contains all the parameters to send to the API endpoint for the patch apps app operation typically these are written to a http.Request

func NewPatchAppsAppParams

func NewPatchAppsAppParams() *PatchAppsAppParams

NewPatchAppsAppParams creates a new PatchAppsAppParams object with the default values initialized.

func NewPatchAppsAppParamsWithContext

func NewPatchAppsAppParamsWithContext(ctx context.Context) *PatchAppsAppParams

NewPatchAppsAppParamsWithContext creates a new PatchAppsAppParams object with the default values initialized, and the ability to set a context for a request

func NewPatchAppsAppParamsWithHTTPClient

func NewPatchAppsAppParamsWithHTTPClient(client *http.Client) *PatchAppsAppParams

NewPatchAppsAppParamsWithHTTPClient creates a new PatchAppsAppParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPatchAppsAppParamsWithTimeout

func NewPatchAppsAppParamsWithTimeout(timeout time.Duration) *PatchAppsAppParams

NewPatchAppsAppParamsWithTimeout creates a new PatchAppsAppParams object with the default values initialized, and the ability to set a timeout on a request

func (*PatchAppsAppParams) SetApp

func (o *PatchAppsAppParams) SetApp(app string)

SetApp adds the app to the patch apps app params

func (*PatchAppsAppParams) SetBody

func (o *PatchAppsAppParams) SetBody(body *models.AppWrapper)

SetBody adds the body to the patch apps app params

func (*PatchAppsAppParams) SetContext

func (o *PatchAppsAppParams) SetContext(ctx context.Context)

SetContext adds the context to the patch apps app params

func (*PatchAppsAppParams) SetHTTPClient

func (o *PatchAppsAppParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch apps app params

func (*PatchAppsAppParams) SetTimeout

func (o *PatchAppsAppParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch apps app params

func (*PatchAppsAppParams) WithApp

func (o *PatchAppsAppParams) WithApp(app string) *PatchAppsAppParams

WithApp adds the app to the patch apps app params

func (*PatchAppsAppParams) WithBody

WithBody adds the body to the patch apps app params

func (*PatchAppsAppParams) WithContext

WithContext adds the context to the patch apps app params

func (*PatchAppsAppParams) WithHTTPClient

func (o *PatchAppsAppParams) WithHTTPClient(client *http.Client) *PatchAppsAppParams

WithHTTPClient adds the HTTPClient to the patch apps app params

func (*PatchAppsAppParams) WithTimeout

func (o *PatchAppsAppParams) WithTimeout(timeout time.Duration) *PatchAppsAppParams

WithTimeout adds the timeout to the patch apps app params

func (*PatchAppsAppParams) WriteToRequest

func (o *PatchAppsAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PatchAppsAppReader

type PatchAppsAppReader struct {
	// contains filtered or unexported fields
}

PatchAppsAppReader is a Reader for the PatchAppsApp structure.

func (*PatchAppsAppReader) ReadResponse

func (o *PatchAppsAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostAppsBadRequest

type PostAppsBadRequest struct {
	Payload *models.Error
}

PostAppsBadRequest handles this case with default header values.

Parameters are missing or invalid.

func NewPostAppsBadRequest

func NewPostAppsBadRequest() *PostAppsBadRequest

NewPostAppsBadRequest creates a PostAppsBadRequest with default headers values

func (*PostAppsBadRequest) Error

func (o *PostAppsBadRequest) Error() string

type PostAppsConflict

type PostAppsConflict struct {
	Payload *models.Error
}

PostAppsConflict handles this case with default header values.

App already exists.

func NewPostAppsConflict

func NewPostAppsConflict() *PostAppsConflict

NewPostAppsConflict creates a PostAppsConflict with default headers values

func (*PostAppsConflict) Error

func (o *PostAppsConflict) Error() string

type PostAppsDefault

type PostAppsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PostAppsDefault handles this case with default header values.

Unexpected error

func NewPostAppsDefault

func NewPostAppsDefault(code int) *PostAppsDefault

NewPostAppsDefault creates a PostAppsDefault with default headers values

func (*PostAppsDefault) Code

func (o *PostAppsDefault) Code() int

Code gets the status code for the post apps default response

func (*PostAppsDefault) Error

func (o *PostAppsDefault) Error() string

type PostAppsOK

type PostAppsOK struct {
	Payload *models.AppWrapper
}

PostAppsOK handles this case with default header values.

App details and stats.

func NewPostAppsOK

func NewPostAppsOK() *PostAppsOK

NewPostAppsOK creates a PostAppsOK with default headers values

func (*PostAppsOK) Error

func (o *PostAppsOK) Error() string

type PostAppsParams

type PostAppsParams struct {

	/*Body
	  App to post.

	*/
	Body *models.AppWrapper

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostAppsParams contains all the parameters to send to the API endpoint for the post apps operation typically these are written to a http.Request

func NewPostAppsParams

func NewPostAppsParams() *PostAppsParams

NewPostAppsParams creates a new PostAppsParams object with the default values initialized.

func NewPostAppsParamsWithContext

func NewPostAppsParamsWithContext(ctx context.Context) *PostAppsParams

NewPostAppsParamsWithContext creates a new PostAppsParams object with the default values initialized, and the ability to set a context for a request

func NewPostAppsParamsWithHTTPClient

func NewPostAppsParamsWithHTTPClient(client *http.Client) *PostAppsParams

NewPostAppsParamsWithHTTPClient creates a new PostAppsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostAppsParamsWithTimeout

func NewPostAppsParamsWithTimeout(timeout time.Duration) *PostAppsParams

NewPostAppsParamsWithTimeout creates a new PostAppsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostAppsParams) SetBody

func (o *PostAppsParams) SetBody(body *models.AppWrapper)

SetBody adds the body to the post apps params

func (*PostAppsParams) SetContext

func (o *PostAppsParams) SetContext(ctx context.Context)

SetContext adds the context to the post apps params

func (*PostAppsParams) SetHTTPClient

func (o *PostAppsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post apps params

func (*PostAppsParams) SetTimeout

func (o *PostAppsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post apps params

func (*PostAppsParams) WithBody

func (o *PostAppsParams) WithBody(body *models.AppWrapper) *PostAppsParams

WithBody adds the body to the post apps params

func (*PostAppsParams) WithContext

func (o *PostAppsParams) WithContext(ctx context.Context) *PostAppsParams

WithContext adds the context to the post apps params

func (*PostAppsParams) WithHTTPClient

func (o *PostAppsParams) WithHTTPClient(client *http.Client) *PostAppsParams

WithHTTPClient adds the HTTPClient to the post apps params

func (*PostAppsParams) WithTimeout

func (o *PostAppsParams) WithTimeout(timeout time.Duration) *PostAppsParams

WithTimeout adds the timeout to the post apps params

func (*PostAppsParams) WriteToRequest

func (o *PostAppsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostAppsReader

type PostAppsReader struct {
	// contains filtered or unexported fields
}

PostAppsReader is a Reader for the PostApps structure.

func (*PostAppsReader) ReadResponse

func (o *PostAppsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutAppsAppBadRequest

type PutAppsAppBadRequest struct {
	Payload *models.Error
}

PutAppsAppBadRequest handles this case with default header values.

Parameters are missing or invalid.

func NewPutAppsAppBadRequest

func NewPutAppsAppBadRequest() *PutAppsAppBadRequest

NewPutAppsAppBadRequest creates a PutAppsAppBadRequest with default headers values

func (*PutAppsAppBadRequest) Error

func (o *PutAppsAppBadRequest) Error() string

type PutAppsAppDefault

type PutAppsAppDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutAppsAppDefault handles this case with default header values.

Unexpected error

func NewPutAppsAppDefault

func NewPutAppsAppDefault(code int) *PutAppsAppDefault

NewPutAppsAppDefault creates a PutAppsAppDefault with default headers values

func (*PutAppsAppDefault) Code

func (o *PutAppsAppDefault) Code() int

Code gets the status code for the put apps app default response

func (*PutAppsAppDefault) Error

func (o *PutAppsAppDefault) Error() string

type PutAppsAppInternalServerError

type PutAppsAppInternalServerError struct {
	Payload *models.Error
}

PutAppsAppInternalServerError handles this case with default header values.

Could not accept app due to internal error.

func NewPutAppsAppInternalServerError

func NewPutAppsAppInternalServerError() *PutAppsAppInternalServerError

NewPutAppsAppInternalServerError creates a PutAppsAppInternalServerError with default headers values

func (*PutAppsAppInternalServerError) Error

type PutAppsAppOK

type PutAppsAppOK struct {
	Payload *models.AppWrapper
}

PutAppsAppOK handles this case with default header values.

App details and stats.

func NewPutAppsAppOK

func NewPutAppsAppOK() *PutAppsAppOK

NewPutAppsAppOK creates a PutAppsAppOK with default headers values

func (*PutAppsAppOK) Error

func (o *PutAppsAppOK) Error() string

type PutAppsAppParams

type PutAppsAppParams struct {

	/*App
	  name of the app.

	*/
	App string
	/*Body
	  App to post.

	*/
	Body *models.AppWrapper

	Context context.Context
	// contains filtered or unexported fields
}

PutAppsAppParams contains all the parameters to send to the API endpoint for the put apps app operation typically these are written to a http.Request

func NewPutAppsAppParams

func NewPutAppsAppParams() *PutAppsAppParams

NewPutAppsAppParams creates a new PutAppsAppParams object with the default values initialized.

func NewPutAppsAppParamsWithContext

func NewPutAppsAppParamsWithContext(ctx context.Context) *PutAppsAppParams

NewPutAppsAppParamsWithContext creates a new PutAppsAppParams object with the default values initialized, and the ability to set a context for a request

func NewPutAppsAppParamsWithTimeout

func NewPutAppsAppParamsWithTimeout(timeout time.Duration) *PutAppsAppParams

NewPutAppsAppParamsWithTimeout creates a new PutAppsAppParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutAppsAppParams) SetApp

func (o *PutAppsAppParams) SetApp(app string)

SetApp adds the app to the put apps app params

func (*PutAppsAppParams) SetBody

func (o *PutAppsAppParams) SetBody(body *models.AppWrapper)

SetBody adds the body to the put apps app params

func (*PutAppsAppParams) SetContext

func (o *PutAppsAppParams) SetContext(ctx context.Context)

SetContext adds the context to the put apps app params

func (*PutAppsAppParams) SetTimeout

func (o *PutAppsAppParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put apps app params

func (*PutAppsAppParams) WithApp

func (o *PutAppsAppParams) WithApp(app string) *PutAppsAppParams

WithApp adds the app to the put apps app params

func (*PutAppsAppParams) WithBody

func (o *PutAppsAppParams) WithBody(body *models.AppWrapper) *PutAppsAppParams

WithBody adds the body to the put apps app params

func (*PutAppsAppParams) WithContext

func (o *PutAppsAppParams) WithContext(ctx context.Context) *PutAppsAppParams

WithContext adds the context to the put apps app params

func (*PutAppsAppParams) WithTimeout

func (o *PutAppsAppParams) WithTimeout(timeout time.Duration) *PutAppsAppParams

WithTimeout adds the timeout to the put apps app params

func (*PutAppsAppParams) WriteToRequest

func (o *PutAppsAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutAppsAppReader

type PutAppsAppReader struct {
	// contains filtered or unexported fields
}

PutAppsAppReader is a Reader for the PutAppsApp structure.

func (*PutAppsAppReader) ReadResponse

func (o *PutAppsAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL