Documentation ¶
Index ¶
- type AddAppBadRequest
- type AddAppConflict
- type AddAppDefault
- type AddAppForbidden
- type AddAppOK
- type AddAppParams
- func (o *AddAppParams) SetBody(body *v1.Application)
- func (o *AddAppParams) SetContext(ctx context.Context)
- func (o *AddAppParams) SetHTTPClient(client *http.Client)
- func (o *AddAppParams) SetTimeout(timeout time.Duration)
- func (o *AddAppParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *AddAppParams) WithBody(body *v1.Application) *AddAppParams
- func (o *AddAppParams) WithContext(ctx context.Context) *AddAppParams
- func (o *AddAppParams) WithHTTPClient(client *http.Client) *AddAppParams
- func (o *AddAppParams) WithTimeout(timeout time.Duration) *AddAppParams
- func (o *AddAppParams) WithXDispatchOrg(xDispatchOrg string) *AddAppParams
- func (o *AddAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddAppReader
- type AddAppUnauthorized
- type Client
- func (a *Client) AddApp(params *AddAppParams, authInfo runtime.ClientAuthInfoWriter) (*AddAppOK, error)
- func (a *Client) DeleteApp(params *DeleteAppParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppOK, error)
- func (a *Client) GetApp(params *GetAppParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppOK, error)
- func (a *Client) GetApps(params *GetAppsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateApp(params *UpdateAppParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppOK, error)
- type DeleteAppBadRequest
- type DeleteAppDefault
- type DeleteAppForbidden
- type DeleteAppNotFound
- type DeleteAppOK
- type DeleteAppParams
- func (o *DeleteAppParams) SetApplication(application string)
- func (o *DeleteAppParams) SetContext(ctx context.Context)
- func (o *DeleteAppParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAppParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAppParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *DeleteAppParams) WithApplication(application string) *DeleteAppParams
- func (o *DeleteAppParams) WithContext(ctx context.Context) *DeleteAppParams
- func (o *DeleteAppParams) WithHTTPClient(client *http.Client) *DeleteAppParams
- func (o *DeleteAppParams) WithTimeout(timeout time.Duration) *DeleteAppParams
- func (o *DeleteAppParams) WithXDispatchOrg(xDispatchOrg string) *DeleteAppParams
- func (o *DeleteAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAppReader
- type DeleteAppUnauthorized
- type GetAppBadRequest
- type GetAppDefault
- type GetAppForbidden
- type GetAppNotFound
- type GetAppOK
- type GetAppParams
- func (o *GetAppParams) SetApplication(application string)
- func (o *GetAppParams) SetContext(ctx context.Context)
- func (o *GetAppParams) SetHTTPClient(client *http.Client)
- func (o *GetAppParams) SetTimeout(timeout time.Duration)
- func (o *GetAppParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *GetAppParams) WithApplication(application string) *GetAppParams
- func (o *GetAppParams) WithContext(ctx context.Context) *GetAppParams
- func (o *GetAppParams) WithHTTPClient(client *http.Client) *GetAppParams
- func (o *GetAppParams) WithTimeout(timeout time.Duration) *GetAppParams
- func (o *GetAppParams) WithXDispatchOrg(xDispatchOrg string) *GetAppParams
- func (o *GetAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAppReader
- type GetAppUnauthorized
- type GetAppsDefault
- type GetAppsForbidden
- type GetAppsOK
- type GetAppsParams
- func (o *GetAppsParams) SetContext(ctx context.Context)
- func (o *GetAppsParams) SetHTTPClient(client *http.Client)
- func (o *GetAppsParams) SetTags(tags []string)
- func (o *GetAppsParams) SetTimeout(timeout time.Duration)
- func (o *GetAppsParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *GetAppsParams) WithContext(ctx context.Context) *GetAppsParams
- func (o *GetAppsParams) WithHTTPClient(client *http.Client) *GetAppsParams
- func (o *GetAppsParams) WithTags(tags []string) *GetAppsParams
- func (o *GetAppsParams) WithTimeout(timeout time.Duration) *GetAppsParams
- func (o *GetAppsParams) WithXDispatchOrg(xDispatchOrg string) *GetAppsParams
- func (o *GetAppsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAppsReader
- type GetAppsUnauthorized
- type UpdateAppBadRequest
- type UpdateAppDefault
- type UpdateAppForbidden
- type UpdateAppNotFound
- type UpdateAppOK
- type UpdateAppParams
- func (o *UpdateAppParams) SetApplication(application string)
- func (o *UpdateAppParams) SetBody(body *v1.Application)
- func (o *UpdateAppParams) SetContext(ctx context.Context)
- func (o *UpdateAppParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAppParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAppParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *UpdateAppParams) WithApplication(application string) *UpdateAppParams
- func (o *UpdateAppParams) WithBody(body *v1.Application) *UpdateAppParams
- func (o *UpdateAppParams) WithContext(ctx context.Context) *UpdateAppParams
- func (o *UpdateAppParams) WithHTTPClient(client *http.Client) *UpdateAppParams
- func (o *UpdateAppParams) WithTimeout(timeout time.Duration) *UpdateAppParams
- func (o *UpdateAppParams) WithXDispatchOrg(xDispatchOrg string) *UpdateAppParams
- func (o *UpdateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAppReader
- type UpdateAppUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAppBadRequest ¶
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 ¶
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
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
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
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 {
}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 ¶
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
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
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 ¶
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 {
}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 ¶
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
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
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 ¶
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
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 {
}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 ¶
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
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
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 {
}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 ¶
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
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
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 ¶
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 {
}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