Help us shape the future of Go! Take the 2026 Go Developer Survey

application

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2018 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAppBadRequest

type AddAppBadRequest struct {
	Payload *v1.Error
}

AddAppBadRequest handles this case with default header values.

Invalid Input

func NewAddAppBadRequest

func NewAddAppBadRequest() *AddAppBadRequest

NewAddAppBadRequest creates a AddAppBadRequest with default headers values

func (*AddAppBadRequest) Error

func (o *AddAppBadRequest) Error() string

type AddAppConflict

type AddAppConflict struct {
	Payload *v1.Error
}

AddAppConflict handles this case with default header values.

Already Exists

func NewAddAppConflict

func NewAddAppConflict() *AddAppConflict

NewAddAppConflict creates a AddAppConflict with default headers values

func (*AddAppConflict) Error

func (o *AddAppConflict) Error() string

type AddAppDefault added in v0.1.18

type AddAppDefault struct {
	Payload *v1.Error
	// contains filtered or unexported fields
}

AddAppDefault handles this case with default header values.

Unknown error

func NewAddAppDefault added in v0.1.18

func NewAddAppDefault(code int) *AddAppDefault

NewAddAppDefault creates a AddAppDefault with default headers values

func (*AddAppDefault) Code added in v0.1.18

func (o *AddAppDefault) Code() int

Code gets the status code for the add app default response

func (*AddAppDefault) Error added in v0.1.18

func (o *AddAppDefault) Error() string

type AddAppForbidden added in v0.1.18

type AddAppForbidden struct {
	Payload *v1.Error
}

AddAppForbidden handles this case with default header values.

access to this resource is forbidden

func NewAddAppForbidden added in v0.1.18

func NewAddAppForbidden() *AddAppForbidden

NewAddAppForbidden creates a AddAppForbidden with default headers values

func (*AddAppForbidden) Error added in v0.1.18

func (o *AddAppForbidden) Error() string

type AddAppOK

type AddAppOK struct {
	Payload *v1.Application
}

AddAppOK handles this case with default header values.

Application created

func NewAddAppOK

func NewAddAppOK() *AddAppOK

NewAddAppOK creates a AddAppOK with default headers values

func (*AddAppOK) Error

func (o *AddAppOK) Error() string

type AddAppParams

type AddAppParams struct {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*Body
	  Application object

	*/
	Body *v1.Application

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

AddAppParams contains all the parameters to send to the API endpoint for the add app operation typically these are written to a http.Request

func NewAddAppParams

func NewAddAppParams() *AddAppParams

NewAddAppParams creates a new AddAppParams object with the default values initialized.

func NewAddAppParamsWithContext

func NewAddAppParamsWithContext(ctx context.Context) *AddAppParams

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

func NewAddAppParamsWithHTTPClient

func NewAddAppParamsWithHTTPClient(client *http.Client) *AddAppParams

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

func NewAddAppParamsWithTimeout

func NewAddAppParamsWithTimeout(timeout time.Duration) *AddAppParams

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

func (*AddAppParams) SetBody

func (o *AddAppParams) SetBody(body *v1.Application)

SetBody adds the body to the add app params

func (*AddAppParams) SetContext

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

SetContext adds the context to the add app params

func (*AddAppParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add app params

func (*AddAppParams) SetTimeout

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

SetTimeout adds the timeout to the add app params

func (*AddAppParams) SetXDispatchOrg added in v0.1.16

func (o *AddAppParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg to the add app params

func (*AddAppParams) WithBody

func (o *AddAppParams) WithBody(body *v1.Application) *AddAppParams

WithBody adds the body to the add app params

func (*AddAppParams) WithContext

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

WithContext adds the context to the add app params

func (*AddAppParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add app params

func (*AddAppParams) WithTimeout

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

WithTimeout adds the timeout to the add app params

func (*AddAppParams) WithXDispatchOrg added in v0.1.16

func (o *AddAppParams) WithXDispatchOrg(xDispatchOrg string) *AddAppParams

WithXDispatchOrg adds the xDispatchOrg to the add app params

func (*AddAppParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddAppReader

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

AddAppReader is a Reader for the AddApp structure.

func (*AddAppReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddAppUnauthorized

type AddAppUnauthorized struct {
	Payload *v1.Error
}

AddAppUnauthorized handles this case with default header values.

Unauthorized Request

func NewAddAppUnauthorized

func NewAddAppUnauthorized() *AddAppUnauthorized

NewAddAppUnauthorized creates a AddAppUnauthorized with default headers values

func (*AddAppUnauthorized) Error

func (o *AddAppUnauthorized) Error() string

type Client

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

Client for application API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new application API client.

func (*Client) AddApp

func (a *Client) AddApp(params *AddAppParams, authInfo runtime.ClientAuthInfoWriter) (*AddAppOK, error)

AddApp adds a new application

func (*Client) DeleteApp

func (a *Client) DeleteApp(params *DeleteAppParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppOK, error)

DeleteApp deletes an application

func (*Client) GetApp

func (a *Client) GetApp(params *GetAppParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppOK, error)

GetApp finds application by name

get an Application by name

func (*Client) GetApps

func (a *Client) GetApps(params *GetAppsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppsOK, error)

GetApps lists all existing applications

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateApp

func (a *Client) UpdateApp(params *UpdateAppParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppOK, error)

UpdateApp updates an application

type DeleteAppBadRequest

type DeleteAppBadRequest struct {
	Payload *v1.Error
}

DeleteAppBadRequest handles this case with default header values.

Invalid Name supplied

func NewDeleteAppBadRequest

func NewDeleteAppBadRequest() *DeleteAppBadRequest

NewDeleteAppBadRequest creates a DeleteAppBadRequest with default headers values

func (*DeleteAppBadRequest) Error

func (o *DeleteAppBadRequest) Error() string

type DeleteAppDefault added in v0.1.18

type DeleteAppDefault struct {
	Payload *v1.Error
	// contains filtered or unexported fields
}

DeleteAppDefault handles this case with default header values.

Unknown error

func NewDeleteAppDefault added in v0.1.18

func NewDeleteAppDefault(code int) *DeleteAppDefault

NewDeleteAppDefault creates a DeleteAppDefault with default headers values

func (*DeleteAppDefault) Code added in v0.1.18

func (o *DeleteAppDefault) Code() int

Code gets the status code for the delete app default response

func (*DeleteAppDefault) Error added in v0.1.18

func (o *DeleteAppDefault) Error() string

type DeleteAppForbidden added in v0.1.18

type DeleteAppForbidden struct {
	Payload *v1.Error
}

DeleteAppForbidden handles this case with default header values.

access to this resource is forbidden

func NewDeleteAppForbidden added in v0.1.18

func NewDeleteAppForbidden() *DeleteAppForbidden

NewDeleteAppForbidden creates a DeleteAppForbidden with default headers values

func (*DeleteAppForbidden) Error added in v0.1.18

func (o *DeleteAppForbidden) Error() string

type DeleteAppNotFound

type DeleteAppNotFound struct {
	Payload *v1.Error
}

DeleteAppNotFound handles this case with default header values.

Application not found

func NewDeleteAppNotFound

func NewDeleteAppNotFound() *DeleteAppNotFound

NewDeleteAppNotFound creates a DeleteAppNotFound with default headers values

func (*DeleteAppNotFound) Error

func (o *DeleteAppNotFound) Error() string

type DeleteAppOK

type DeleteAppOK struct {
	Payload *v1.Application
}

DeleteAppOK handles this case with default header values.

Successful operation

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 {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*Application
	  Name of Application to work on

	*/
	Application string

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

func (o *DeleteAppParams) SetApplication(application string)

SetApplication adds the application to the delete app params

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

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

SetTimeout adds the timeout to the delete app params

func (*DeleteAppParams) SetXDispatchOrg added in v0.1.16

func (o *DeleteAppParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg to the delete app params

func (*DeleteAppParams) WithApplication

func (o *DeleteAppParams) WithApplication(application string) *DeleteAppParams

WithApplication adds the application 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) WithTimeout

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

WithTimeout adds the timeout to the delete app params

func (*DeleteAppParams) WithXDispatchOrg added in v0.1.16

func (o *DeleteAppParams) WithXDispatchOrg(xDispatchOrg string) *DeleteAppParams

WithXDispatchOrg adds the xDispatchOrg 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 added in v0.1.18

type DeleteAppUnauthorized struct {
	Payload *v1.Error
}

DeleteAppUnauthorized handles this case with default header values.

Unauthorized Request

func NewDeleteAppUnauthorized added in v0.1.18

func NewDeleteAppUnauthorized() *DeleteAppUnauthorized

NewDeleteAppUnauthorized creates a DeleteAppUnauthorized with default headers values

func (*DeleteAppUnauthorized) Error added in v0.1.18

func (o *DeleteAppUnauthorized) Error() string

type GetAppBadRequest

type GetAppBadRequest struct {
	Payload *v1.Error
}

GetAppBadRequest handles this case with default header values.

Invalid Name supplied

func NewGetAppBadRequest

func NewGetAppBadRequest() *GetAppBadRequest

NewGetAppBadRequest creates a GetAppBadRequest with default headers values

func (*GetAppBadRequest) Error

func (o *GetAppBadRequest) Error() string

type GetAppDefault added in v0.1.18

type GetAppDefault struct {
	Payload *v1.Error
	// contains filtered or unexported fields
}

GetAppDefault handles this case with default header values.

Unknown error

func NewGetAppDefault added in v0.1.18

func NewGetAppDefault(code int) *GetAppDefault

NewGetAppDefault creates a GetAppDefault with default headers values

func (*GetAppDefault) Code added in v0.1.18

func (o *GetAppDefault) Code() int

Code gets the status code for the get app default response

func (*GetAppDefault) Error added in v0.1.18

func (o *GetAppDefault) Error() string

type GetAppForbidden added in v0.1.18

type GetAppForbidden struct {
	Payload *v1.Error
}

GetAppForbidden handles this case with default header values.

access to this resource is forbidden

func NewGetAppForbidden added in v0.1.18

func NewGetAppForbidden() *GetAppForbidden

NewGetAppForbidden creates a GetAppForbidden with default headers values

func (*GetAppForbidden) Error added in v0.1.18

func (o *GetAppForbidden) Error() string

type GetAppNotFound

type GetAppNotFound struct {
	Payload *v1.Error
}

GetAppNotFound handles this case with default header values.

Application not found

func NewGetAppNotFound

func NewGetAppNotFound() *GetAppNotFound

NewGetAppNotFound creates a GetAppNotFound with default headers values

func (*GetAppNotFound) Error

func (o *GetAppNotFound) Error() string

type GetAppOK

type GetAppOK struct {
	Payload *v1.Application
}

GetAppOK handles this case with default header values.

Successful operation

func NewGetAppOK

func NewGetAppOK() *GetAppOK

NewGetAppOK creates a GetAppOK with default headers values

func (*GetAppOK) Error

func (o *GetAppOK) Error() string

type GetAppParams

type GetAppParams struct {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*Application
	  Name of Application to work on

	*/
	Application string

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

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

func NewGetAppParams

func NewGetAppParams() *GetAppParams

NewGetAppParams creates a new GetAppParams object with the default values initialized.

func NewGetAppParamsWithContext

func NewGetAppParamsWithContext(ctx context.Context) *GetAppParams

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

func NewGetAppParamsWithHTTPClient

func NewGetAppParamsWithHTTPClient(client *http.Client) *GetAppParams

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

func NewGetAppParamsWithTimeout

func NewGetAppParamsWithTimeout(timeout time.Duration) *GetAppParams

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

func (*GetAppParams) SetApplication

func (o *GetAppParams) SetApplication(application string)

SetApplication adds the application to the get app params

func (*GetAppParams) SetContext

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

SetContext adds the context to the get app params

func (*GetAppParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get app params

func (*GetAppParams) SetTimeout

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

SetTimeout adds the timeout to the get app params

func (*GetAppParams) SetXDispatchOrg added in v0.1.16

func (o *GetAppParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg to the get app params

func (*GetAppParams) WithApplication

func (o *GetAppParams) WithApplication(application string) *GetAppParams

WithApplication adds the application to the get app params

func (*GetAppParams) WithContext

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

WithContext adds the context to the get app params

func (*GetAppParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get app params

func (*GetAppParams) WithTimeout

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

WithTimeout adds the timeout to the get app params

func (*GetAppParams) WithXDispatchOrg added in v0.1.16

func (o *GetAppParams) WithXDispatchOrg(xDispatchOrg string) *GetAppParams

WithXDispatchOrg adds the xDispatchOrg to the get app params

func (*GetAppParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAppReader

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

GetAppReader is a Reader for the GetApp structure.

func (*GetAppReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAppUnauthorized added in v0.1.18

type GetAppUnauthorized struct {
	Payload *v1.Error
}

GetAppUnauthorized handles this case with default header values.

Unauthorized Request

func NewGetAppUnauthorized added in v0.1.18

func NewGetAppUnauthorized() *GetAppUnauthorized

NewGetAppUnauthorized creates a GetAppUnauthorized with default headers values

func (*GetAppUnauthorized) Error added in v0.1.18

func (o *GetAppUnauthorized) Error() string

type GetAppsDefault

type GetAppsDefault struct {
	Payload *v1.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 GetAppsForbidden added in v0.1.18

type GetAppsForbidden struct {
	Payload *v1.Error
}

GetAppsForbidden handles this case with default header values.

access to this resource is forbidden

func NewGetAppsForbidden added in v0.1.18

func NewGetAppsForbidden() *GetAppsForbidden

NewGetAppsForbidden creates a GetAppsForbidden with default headers values

func (*GetAppsForbidden) Error added in v0.1.18

func (o *GetAppsForbidden) Error() string

type GetAppsOK

type GetAppsOK struct {
	Payload []*v1.Application
}

GetAppsOK handles this case with default header values.

Successful operation

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 {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*Tags
	  Filter on Application tags

	*/
	Tags []string

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

func (o *GetAppsParams) SetTags(tags []string)

SetTags adds the tags 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) SetXDispatchOrg added in v0.1.16

func (o *GetAppsParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg 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) WithTags

func (o *GetAppsParams) WithTags(tags []string) *GetAppsParams

WithTags adds the tags 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) WithXDispatchOrg added in v0.1.16

func (o *GetAppsParams) WithXDispatchOrg(xDispatchOrg string) *GetAppsParams

WithXDispatchOrg adds the xDispatchOrg 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 added in v0.1.18

type GetAppsUnauthorized struct {
	Payload *v1.Error
}

GetAppsUnauthorized handles this case with default header values.

Unauthorized Request

func NewGetAppsUnauthorized added in v0.1.18

func NewGetAppsUnauthorized() *GetAppsUnauthorized

NewGetAppsUnauthorized creates a GetAppsUnauthorized with default headers values

func (*GetAppsUnauthorized) Error added in v0.1.18

func (o *GetAppsUnauthorized) Error() string

type UpdateAppBadRequest

type UpdateAppBadRequest struct {
	Payload *v1.Error
}

UpdateAppBadRequest handles this case with default header values.

Invalid input

func NewUpdateAppBadRequest

func NewUpdateAppBadRequest() *UpdateAppBadRequest

NewUpdateAppBadRequest creates a UpdateAppBadRequest with default headers values

func (*UpdateAppBadRequest) Error

func (o *UpdateAppBadRequest) Error() string

type UpdateAppDefault added in v0.1.18

type UpdateAppDefault struct {
	Payload *v1.Error
	// contains filtered or unexported fields
}

UpdateAppDefault handles this case with default header values.

Unknown error

func NewUpdateAppDefault added in v0.1.18

func NewUpdateAppDefault(code int) *UpdateAppDefault

NewUpdateAppDefault creates a UpdateAppDefault with default headers values

func (*UpdateAppDefault) Code added in v0.1.18

func (o *UpdateAppDefault) Code() int

Code gets the status code for the update app default response

func (*UpdateAppDefault) Error added in v0.1.18

func (o *UpdateAppDefault) Error() string

type UpdateAppForbidden added in v0.1.18

type UpdateAppForbidden struct {
	Payload *v1.Error
}

UpdateAppForbidden handles this case with default header values.

access to this resource is forbidden

func NewUpdateAppForbidden added in v0.1.18

func NewUpdateAppForbidden() *UpdateAppForbidden

NewUpdateAppForbidden creates a UpdateAppForbidden with default headers values

func (*UpdateAppForbidden) Error added in v0.1.18

func (o *UpdateAppForbidden) Error() string

type UpdateAppNotFound

type UpdateAppNotFound struct {
	Payload *v1.Error
}

UpdateAppNotFound handles this case with default header values.

Application not found

func NewUpdateAppNotFound

func NewUpdateAppNotFound() *UpdateAppNotFound

NewUpdateAppNotFound creates a UpdateAppNotFound with default headers values

func (*UpdateAppNotFound) Error

func (o *UpdateAppNotFound) Error() string

type UpdateAppOK

type UpdateAppOK struct {
	Payload *v1.Application
}

UpdateAppOK handles this case with default header values.

Successful update

func NewUpdateAppOK

func NewUpdateAppOK() *UpdateAppOK

NewUpdateAppOK creates a UpdateAppOK with default headers values

func (*UpdateAppOK) Error

func (o *UpdateAppOK) Error() string

type UpdateAppParams

type UpdateAppParams struct {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*Application
	  Name of Application to work on

	*/
	Application string
	/*Body
	  Application object

	*/
	Body *v1.Application

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

UpdateAppParams contains all the parameters to send to the API endpoint for the update app operation typically these are written to a http.Request

func NewUpdateAppParams

func NewUpdateAppParams() *UpdateAppParams

NewUpdateAppParams creates a new UpdateAppParams object with the default values initialized.

func NewUpdateAppParamsWithContext

func NewUpdateAppParamsWithContext(ctx context.Context) *UpdateAppParams

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

func NewUpdateAppParamsWithHTTPClient

func NewUpdateAppParamsWithHTTPClient(client *http.Client) *UpdateAppParams

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

func NewUpdateAppParamsWithTimeout

func NewUpdateAppParamsWithTimeout(timeout time.Duration) *UpdateAppParams

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

func (*UpdateAppParams) SetApplication

func (o *UpdateAppParams) SetApplication(application string)

SetApplication adds the application to the update app params

func (*UpdateAppParams) SetBody

func (o *UpdateAppParams) SetBody(body *v1.Application)

SetBody adds the body to the update app params

func (*UpdateAppParams) SetContext

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

SetContext adds the context to the update app params

func (*UpdateAppParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update app params

func (*UpdateAppParams) SetTimeout

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

SetTimeout adds the timeout to the update app params

func (*UpdateAppParams) SetXDispatchOrg added in v0.1.16

func (o *UpdateAppParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg to the update app params

func (*UpdateAppParams) WithApplication

func (o *UpdateAppParams) WithApplication(application string) *UpdateAppParams

WithApplication adds the application to the update app params

func (*UpdateAppParams) WithBody

func (o *UpdateAppParams) WithBody(body *v1.Application) *UpdateAppParams

WithBody adds the body to the update app params

func (*UpdateAppParams) WithContext

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

WithContext adds the context to the update app params

func (*UpdateAppParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update app params

func (*UpdateAppParams) WithTimeout

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

WithTimeout adds the timeout to the update app params

func (*UpdateAppParams) WithXDispatchOrg added in v0.1.16

func (o *UpdateAppParams) WithXDispatchOrg(xDispatchOrg string) *UpdateAppParams

WithXDispatchOrg adds the xDispatchOrg to the update app params

func (*UpdateAppParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateAppReader

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

UpdateAppReader is a Reader for the UpdateApp structure.

func (*UpdateAppReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAppUnauthorized added in v0.1.18

type UpdateAppUnauthorized struct {
	Payload *v1.Error
}

UpdateAppUnauthorized handles this case with default header values.

Unauthorized Request

func NewUpdateAppUnauthorized added in v0.1.18

func NewUpdateAppUnauthorized() *UpdateAppUnauthorized

NewUpdateAppUnauthorized creates a UpdateAppUnauthorized with default headers values

func (*UpdateAppUnauthorized) Error added in v0.1.18

func (o *UpdateAppUnauthorized) Error() string

Jump to

Keyboard shortcuts

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