Documentation
¶
Index ¶
- type Client
- func (a *Client) DeploymentGetUsingGET(params *DeploymentGetUsingGETParams, opts ...ClientOption) (*DeploymentGetUsingGETOK, error)
- func (a *Client) DeploymentListUsingGET(params *DeploymentListUsingGETParams, opts ...ClientOption) (*DeploymentListUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeploymentGetUsingGETBadRequest
- type DeploymentGetUsingGETNotFound
- type DeploymentGetUsingGETOK
- type DeploymentGetUsingGETParams
- func NewDeploymentGetUsingGETParams() *DeploymentGetUsingGETParams
- func NewDeploymentGetUsingGETParamsWithContext(ctx context.Context) *DeploymentGetUsingGETParams
- func NewDeploymentGetUsingGETParamsWithHTTPClient(client *http.Client) *DeploymentGetUsingGETParams
- func NewDeploymentGetUsingGETParamsWithTimeout(timeout time.Duration) *DeploymentGetUsingGETParams
- func (o *DeploymentGetUsingGETParams) SetContext(ctx context.Context)
- func (o *DeploymentGetUsingGETParams) SetDefaults()
- func (o *DeploymentGetUsingGETParams) SetDeploymentID(deploymentID string)
- func (o *DeploymentGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *DeploymentGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *DeploymentGetUsingGETParams) WithContext(ctx context.Context) *DeploymentGetUsingGETParams
- func (o *DeploymentGetUsingGETParams) WithDefaults() *DeploymentGetUsingGETParams
- func (o *DeploymentGetUsingGETParams) WithDeploymentID(deploymentID string) *DeploymentGetUsingGETParams
- func (o *DeploymentGetUsingGETParams) WithHTTPClient(client *http.Client) *DeploymentGetUsingGETParams
- func (o *DeploymentGetUsingGETParams) WithTimeout(timeout time.Duration) *DeploymentGetUsingGETParams
- func (o *DeploymentGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeploymentGetUsingGETReader
- type DeploymentListUsingGETBadRequest
- type DeploymentListUsingGETOK
- type DeploymentListUsingGETParams
- func NewDeploymentListUsingGETParams() *DeploymentListUsingGETParams
- func NewDeploymentListUsingGETParamsWithContext(ctx context.Context) *DeploymentListUsingGETParams
- func NewDeploymentListUsingGETParamsWithHTTPClient(client *http.Client) *DeploymentListUsingGETParams
- func NewDeploymentListUsingGETParamsWithTimeout(timeout time.Duration) *DeploymentListUsingGETParams
- func (o *DeploymentListUsingGETParams) SetContext(ctx context.Context)
- func (o *DeploymentListUsingGETParams) SetDefaults()
- func (o *DeploymentListUsingGETParams) SetDisplayName(displayName *string)
- func (o *DeploymentListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *DeploymentListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *DeploymentListUsingGETParams) WithContext(ctx context.Context) *DeploymentListUsingGETParams
- func (o *DeploymentListUsingGETParams) WithDefaults() *DeploymentListUsingGETParams
- func (o *DeploymentListUsingGETParams) WithDisplayName(displayName *string) *DeploymentListUsingGETParams
- func (o *DeploymentListUsingGETParams) WithHTTPClient(client *http.Client) *DeploymentListUsingGETParams
- func (o *DeploymentListUsingGETParams) WithTimeout(timeout time.Duration) *DeploymentListUsingGETParams
- func (o *DeploymentListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeploymentListUsingGETReader
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 deployments API
func (*Client) DeploymentGetUsingGET ¶
func (a *Client) DeploymentGetUsingGET(params *DeploymentGetUsingGETParams, opts ...ClientOption) (*DeploymentGetUsingGETOK, error)
DeploymentGetUsingGET gets
Get deployment object
func (*Client) DeploymentListUsingGET ¶
func (a *Client) DeploymentListUsingGET(params *DeploymentListUsingGETParams, opts ...ClientOption) (*DeploymentListUsingGETOK, error)
DeploymentListUsingGET lists
List deployments from server
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.2.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeploymentGetUsingGET(params *DeploymentGetUsingGETParams, opts ...ClientOption) (*DeploymentGetUsingGETOK, error) DeploymentListUsingGET(params *DeploymentListUsingGETParams, opts ...ClientOption) (*DeploymentListUsingGETOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new deployments API client.
type DeploymentGetUsingGETBadRequest ¶
type DeploymentGetUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
DeploymentGetUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewDeploymentGetUsingGETBadRequest ¶
func NewDeploymentGetUsingGETBadRequest() *DeploymentGetUsingGETBadRequest
NewDeploymentGetUsingGETBadRequest creates a DeploymentGetUsingGETBadRequest with default headers values
func (*DeploymentGetUsingGETBadRequest) Error ¶
func (o *DeploymentGetUsingGETBadRequest) Error() string
func (*DeploymentGetUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *DeploymentGetUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type DeploymentGetUsingGETNotFound ¶
type DeploymentGetUsingGETNotFound struct { }
DeploymentGetUsingGETNotFound describes a response with status code 404, with default header values.
Entity not found.
func NewDeploymentGetUsingGETNotFound ¶
func NewDeploymentGetUsingGETNotFound() *DeploymentGetUsingGETNotFound
NewDeploymentGetUsingGETNotFound creates a DeploymentGetUsingGETNotFound with default headers values
func (*DeploymentGetUsingGETNotFound) Error ¶
func (o *DeploymentGetUsingGETNotFound) Error() string
type DeploymentGetUsingGETOK ¶
type DeploymentGetUsingGETOK struct {
Payload *models.DeploymentGetResponse
}
DeploymentGetUsingGETOK describes a response with status code 200, with default header values.
OK
func NewDeploymentGetUsingGETOK ¶
func NewDeploymentGetUsingGETOK() *DeploymentGetUsingGETOK
NewDeploymentGetUsingGETOK creates a DeploymentGetUsingGETOK with default headers values
func (*DeploymentGetUsingGETOK) Error ¶
func (o *DeploymentGetUsingGETOK) Error() string
func (*DeploymentGetUsingGETOK) GetPayload ¶
func (o *DeploymentGetUsingGETOK) GetPayload() *models.DeploymentGetResponse
type DeploymentGetUsingGETParams ¶
type DeploymentGetUsingGETParams struct { /* DeploymentID. deploymentId */ DeploymentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeploymentGetUsingGETParams contains all the parameters to send to the API endpoint
for the deployment get using g e t operation. Typically these are written to a http.Request.
func NewDeploymentGetUsingGETParams ¶
func NewDeploymentGetUsingGETParams() *DeploymentGetUsingGETParams
NewDeploymentGetUsingGETParams creates a new DeploymentGetUsingGETParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeploymentGetUsingGETParamsWithContext ¶
func NewDeploymentGetUsingGETParamsWithContext(ctx context.Context) *DeploymentGetUsingGETParams
NewDeploymentGetUsingGETParamsWithContext creates a new DeploymentGetUsingGETParams object with the ability to set a context for a request.
func NewDeploymentGetUsingGETParamsWithHTTPClient ¶
func NewDeploymentGetUsingGETParamsWithHTTPClient(client *http.Client) *DeploymentGetUsingGETParams
NewDeploymentGetUsingGETParamsWithHTTPClient creates a new DeploymentGetUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewDeploymentGetUsingGETParamsWithTimeout ¶
func NewDeploymentGetUsingGETParamsWithTimeout(timeout time.Duration) *DeploymentGetUsingGETParams
NewDeploymentGetUsingGETParamsWithTimeout creates a new DeploymentGetUsingGETParams object with the ability to set a timeout on a request.
func (*DeploymentGetUsingGETParams) SetContext ¶
func (o *DeploymentGetUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the deployment get using g e t params
func (*DeploymentGetUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *DeploymentGetUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the deployment get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*DeploymentGetUsingGETParams) SetDeploymentID ¶
func (o *DeploymentGetUsingGETParams) SetDeploymentID(deploymentID string)
SetDeploymentID adds the deploymentId to the deployment get using g e t params
func (*DeploymentGetUsingGETParams) SetHTTPClient ¶
func (o *DeploymentGetUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the deployment get using g e t params
func (*DeploymentGetUsingGETParams) SetTimeout ¶
func (o *DeploymentGetUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the deployment get using g e t params
func (*DeploymentGetUsingGETParams) WithContext ¶
func (o *DeploymentGetUsingGETParams) WithContext(ctx context.Context) *DeploymentGetUsingGETParams
WithContext adds the context to the deployment get using g e t params
func (*DeploymentGetUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *DeploymentGetUsingGETParams) WithDefaults() *DeploymentGetUsingGETParams
WithDefaults hydrates default values in the deployment get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*DeploymentGetUsingGETParams) WithDeploymentID ¶
func (o *DeploymentGetUsingGETParams) WithDeploymentID(deploymentID string) *DeploymentGetUsingGETParams
WithDeploymentID adds the deploymentID to the deployment get using g e t params
func (*DeploymentGetUsingGETParams) WithHTTPClient ¶
func (o *DeploymentGetUsingGETParams) WithHTTPClient(client *http.Client) *DeploymentGetUsingGETParams
WithHTTPClient adds the HTTPClient to the deployment get using g e t params
func (*DeploymentGetUsingGETParams) WithTimeout ¶
func (o *DeploymentGetUsingGETParams) WithTimeout(timeout time.Duration) *DeploymentGetUsingGETParams
WithTimeout adds the timeout to the deployment get using g e t params
func (*DeploymentGetUsingGETParams) WriteToRequest ¶
func (o *DeploymentGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeploymentGetUsingGETReader ¶
type DeploymentGetUsingGETReader struct {
// contains filtered or unexported fields
}
DeploymentGetUsingGETReader is a Reader for the DeploymentGetUsingGET structure.
func (*DeploymentGetUsingGETReader) ReadResponse ¶
func (o *DeploymentGetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeploymentListUsingGETBadRequest ¶
type DeploymentListUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
DeploymentListUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewDeploymentListUsingGETBadRequest ¶
func NewDeploymentListUsingGETBadRequest() *DeploymentListUsingGETBadRequest
NewDeploymentListUsingGETBadRequest creates a DeploymentListUsingGETBadRequest with default headers values
func (*DeploymentListUsingGETBadRequest) Error ¶
func (o *DeploymentListUsingGETBadRequest) Error() string
func (*DeploymentListUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *DeploymentListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type DeploymentListUsingGETOK ¶
type DeploymentListUsingGETOK struct {
Payload *models.DeploymentListResponse
}
DeploymentListUsingGETOK describes a response with status code 200, with default header values.
OK
func NewDeploymentListUsingGETOK ¶
func NewDeploymentListUsingGETOK() *DeploymentListUsingGETOK
NewDeploymentListUsingGETOK creates a DeploymentListUsingGETOK with default headers values
func (*DeploymentListUsingGETOK) Error ¶
func (o *DeploymentListUsingGETOK) Error() string
func (*DeploymentListUsingGETOK) GetPayload ¶
func (o *DeploymentListUsingGETOK) GetPayload() *models.DeploymentListResponse
type DeploymentListUsingGETParams ¶
type DeploymentListUsingGETParams struct { /* DisplayName. displayName */ DisplayName *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeploymentListUsingGETParams contains all the parameters to send to the API endpoint
for the deployment list using g e t operation. Typically these are written to a http.Request.
func NewDeploymentListUsingGETParams ¶
func NewDeploymentListUsingGETParams() *DeploymentListUsingGETParams
NewDeploymentListUsingGETParams creates a new DeploymentListUsingGETParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeploymentListUsingGETParamsWithContext ¶
func NewDeploymentListUsingGETParamsWithContext(ctx context.Context) *DeploymentListUsingGETParams
NewDeploymentListUsingGETParamsWithContext creates a new DeploymentListUsingGETParams object with the ability to set a context for a request.
func NewDeploymentListUsingGETParamsWithHTTPClient ¶
func NewDeploymentListUsingGETParamsWithHTTPClient(client *http.Client) *DeploymentListUsingGETParams
NewDeploymentListUsingGETParamsWithHTTPClient creates a new DeploymentListUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewDeploymentListUsingGETParamsWithTimeout ¶
func NewDeploymentListUsingGETParamsWithTimeout(timeout time.Duration) *DeploymentListUsingGETParams
NewDeploymentListUsingGETParamsWithTimeout creates a new DeploymentListUsingGETParams object with the ability to set a timeout on a request.
func (*DeploymentListUsingGETParams) SetContext ¶
func (o *DeploymentListUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the deployment list using g e t params
func (*DeploymentListUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *DeploymentListUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the deployment list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*DeploymentListUsingGETParams) SetDisplayName ¶
func (o *DeploymentListUsingGETParams) SetDisplayName(displayName *string)
SetDisplayName adds the displayName to the deployment list using g e t params
func (*DeploymentListUsingGETParams) SetHTTPClient ¶
func (o *DeploymentListUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the deployment list using g e t params
func (*DeploymentListUsingGETParams) SetTimeout ¶
func (o *DeploymentListUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the deployment list using g e t params
func (*DeploymentListUsingGETParams) WithContext ¶
func (o *DeploymentListUsingGETParams) WithContext(ctx context.Context) *DeploymentListUsingGETParams
WithContext adds the context to the deployment list using g e t params
func (*DeploymentListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *DeploymentListUsingGETParams) WithDefaults() *DeploymentListUsingGETParams
WithDefaults hydrates default values in the deployment list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*DeploymentListUsingGETParams) WithDisplayName ¶
func (o *DeploymentListUsingGETParams) WithDisplayName(displayName *string) *DeploymentListUsingGETParams
WithDisplayName adds the displayName to the deployment list using g e t params
func (*DeploymentListUsingGETParams) WithHTTPClient ¶
func (o *DeploymentListUsingGETParams) WithHTTPClient(client *http.Client) *DeploymentListUsingGETParams
WithHTTPClient adds the HTTPClient to the deployment list using g e t params
func (*DeploymentListUsingGETParams) WithTimeout ¶
func (o *DeploymentListUsingGETParams) WithTimeout(timeout time.Duration) *DeploymentListUsingGETParams
WithTimeout adds the timeout to the deployment list using g e t params
func (*DeploymentListUsingGETParams) WriteToRequest ¶
func (o *DeploymentListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeploymentListUsingGETReader ¶
type DeploymentListUsingGETReader struct {
// contains filtered or unexported fields
}
DeploymentListUsingGETReader is a Reader for the DeploymentListUsingGET structure.
func (*DeploymentListUsingGETReader) ReadResponse ¶
func (o *DeploymentListUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.