Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetDeploysBadRequest
- type GetDeploysConnectionBadRequest
- type GetDeploysConnectionInternalServerError
- type GetDeploysConnectionNotFound
- type GetDeploysConnectionOK
- type GetDeploysConnectionParams
- func NewGetDeploysConnectionParams() *GetDeploysConnectionParams
- func NewGetDeploysConnectionParamsWithContext(ctx context.Context) *GetDeploysConnectionParams
- func NewGetDeploysConnectionParamsWithHTTPClient(client *http.Client) *GetDeploysConnectionParams
- func NewGetDeploysConnectionParamsWithTimeout(timeout time.Duration) *GetDeploysConnectionParams
- func (o *GetDeploysConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetDeploysConnectionParams) SetContext(ctx context.Context)
- func (o *GetDeploysConnectionParams) SetDefaults()
- func (o *GetDeploysConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetDeploysConnectionParams) SetRequestBody(requestBody *models.GetDeploysConnectionRequestBody)
- func (o *GetDeploysConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetDeploysConnectionParams) WithContentLanguage(contentLanguage *string) *GetDeploysConnectionParams
- func (o *GetDeploysConnectionParams) WithContext(ctx context.Context) *GetDeploysConnectionParams
- func (o *GetDeploysConnectionParams) WithDefaults() *GetDeploysConnectionParams
- func (o *GetDeploysConnectionParams) WithHTTPClient(client *http.Client) *GetDeploysConnectionParams
- func (o *GetDeploysConnectionParams) WithRequestBody(requestBody *models.GetDeploysConnectionRequestBody) *GetDeploysConnectionParams
- func (o *GetDeploysConnectionParams) WithTimeout(timeout time.Duration) *GetDeploysConnectionParams
- func (o *GetDeploysConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeploysConnectionReader
- type GetDeploysInternalServerError
- type GetDeploysNotFound
- type GetDeploysOK
- type GetDeploysParams
- func (o *GetDeploysParams) SetContentLanguage(contentLanguage *string)
- func (o *GetDeploysParams) SetContext(ctx context.Context)
- func (o *GetDeploysParams) SetDefaults()
- func (o *GetDeploysParams) SetHTTPClient(client *http.Client)
- func (o *GetDeploysParams) SetRequestBody(requestBody *models.GetDeploysRequestBody)
- func (o *GetDeploysParams) SetTimeout(timeout time.Duration)
- func (o *GetDeploysParams) WithContentLanguage(contentLanguage *string) *GetDeploysParams
- func (o *GetDeploysParams) WithContext(ctx context.Context) *GetDeploysParams
- func (o *GetDeploysParams) WithDefaults() *GetDeploysParams
- func (o *GetDeploysParams) WithHTTPClient(client *http.Client) *GetDeploysParams
- func (o *GetDeploysParams) WithRequestBody(requestBody *models.GetDeploysRequestBody) *GetDeploysParams
- func (o *GetDeploysParams) WithTimeout(timeout time.Duration) *GetDeploysParams
- func (o *GetDeploysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeploysReader
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 deploy API
func (*Client) GetDeploys ¶
func (a *Client) GetDeploys(params *GetDeploysParams, opts ...ClientOption) (*GetDeploysOK, error)
GetDeploys get deploys API
func (*Client) GetDeploysConnection ¶
func (a *Client) GetDeploysConnection(params *GetDeploysConnectionParams, opts ...ClientOption) (*GetDeploysConnectionOK, error)
GetDeploysConnection get deploys connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetDeploys(params *GetDeploysParams, opts ...ClientOption) (*GetDeploysOK, error) GetDeploysConnection(params *GetDeploysConnectionParams, opts ...ClientOption) (*GetDeploysConnectionOK, 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 deploy API client.
type GetDeploysBadRequest ¶
GetDeploysBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetDeploysBadRequest ¶
func NewGetDeploysBadRequest() *GetDeploysBadRequest
NewGetDeploysBadRequest creates a GetDeploysBadRequest with default headers values
func (*GetDeploysBadRequest) Error ¶
func (o *GetDeploysBadRequest) Error() string
func (*GetDeploysBadRequest) GetPayload ¶
func (o *GetDeploysBadRequest) GetPayload() *models.ErrorBody
type GetDeploysConnectionBadRequest ¶
GetDeploysConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetDeploysConnectionBadRequest ¶
func NewGetDeploysConnectionBadRequest() *GetDeploysConnectionBadRequest
NewGetDeploysConnectionBadRequest creates a GetDeploysConnectionBadRequest with default headers values
func (*GetDeploysConnectionBadRequest) Error ¶
func (o *GetDeploysConnectionBadRequest) Error() string
func (*GetDeploysConnectionBadRequest) GetPayload ¶
func (o *GetDeploysConnectionBadRequest) GetPayload() *models.ErrorBody
type GetDeploysConnectionInternalServerError ¶
type GetDeploysConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetDeploysConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetDeploysConnectionInternalServerError ¶
func NewGetDeploysConnectionInternalServerError() *GetDeploysConnectionInternalServerError
NewGetDeploysConnectionInternalServerError creates a GetDeploysConnectionInternalServerError with default headers values
func (*GetDeploysConnectionInternalServerError) Error ¶
func (o *GetDeploysConnectionInternalServerError) Error() string
func (*GetDeploysConnectionInternalServerError) GetPayload ¶
func (o *GetDeploysConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetDeploysConnectionNotFound ¶
GetDeploysConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetDeploysConnectionNotFound ¶
func NewGetDeploysConnectionNotFound() *GetDeploysConnectionNotFound
NewGetDeploysConnectionNotFound creates a GetDeploysConnectionNotFound with default headers values
func (*GetDeploysConnectionNotFound) Error ¶
func (o *GetDeploysConnectionNotFound) Error() string
func (*GetDeploysConnectionNotFound) GetPayload ¶
func (o *GetDeploysConnectionNotFound) GetPayload() *models.ErrorBody
type GetDeploysConnectionOK ¶
type GetDeploysConnectionOK struct { XTowerRequestID string Payload *models.DeployConnection }
GetDeploysConnectionOK describes a response with status code 200, with default header values.
GetDeploysConnectionOK get deploys connection o k
func NewGetDeploysConnectionOK ¶
func NewGetDeploysConnectionOK() *GetDeploysConnectionOK
NewGetDeploysConnectionOK creates a GetDeploysConnectionOK with default headers values
func (*GetDeploysConnectionOK) Error ¶
func (o *GetDeploysConnectionOK) Error() string
func (*GetDeploysConnectionOK) GetPayload ¶
func (o *GetDeploysConnectionOK) GetPayload() *models.DeployConnection
type GetDeploysConnectionParams ¶
type GetDeploysConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetDeploysConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeploysConnectionParams contains all the parameters to send to the API endpoint
for the get deploys connection operation. Typically these are written to a http.Request.
func NewGetDeploysConnectionParams ¶
func NewGetDeploysConnectionParams() *GetDeploysConnectionParams
NewGetDeploysConnectionParams creates a new GetDeploysConnectionParams 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 NewGetDeploysConnectionParamsWithContext ¶
func NewGetDeploysConnectionParamsWithContext(ctx context.Context) *GetDeploysConnectionParams
NewGetDeploysConnectionParamsWithContext creates a new GetDeploysConnectionParams object with the ability to set a context for a request.
func NewGetDeploysConnectionParamsWithHTTPClient ¶
func NewGetDeploysConnectionParamsWithHTTPClient(client *http.Client) *GetDeploysConnectionParams
NewGetDeploysConnectionParamsWithHTTPClient creates a new GetDeploysConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeploysConnectionParamsWithTimeout ¶
func NewGetDeploysConnectionParamsWithTimeout(timeout time.Duration) *GetDeploysConnectionParams
NewGetDeploysConnectionParamsWithTimeout creates a new GetDeploysConnectionParams object with the ability to set a timeout on a request.
func (*GetDeploysConnectionParams) SetContentLanguage ¶
func (o *GetDeploysConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get deploys connection params
func (*GetDeploysConnectionParams) SetContext ¶
func (o *GetDeploysConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get deploys connection params
func (*GetDeploysConnectionParams) SetDefaults ¶
func (o *GetDeploysConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get deploys connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeploysConnectionParams) SetHTTPClient ¶
func (o *GetDeploysConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get deploys connection params
func (*GetDeploysConnectionParams) SetRequestBody ¶
func (o *GetDeploysConnectionParams) SetRequestBody(requestBody *models.GetDeploysConnectionRequestBody)
SetRequestBody adds the requestBody to the get deploys connection params
func (*GetDeploysConnectionParams) SetTimeout ¶
func (o *GetDeploysConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get deploys connection params
func (*GetDeploysConnectionParams) WithContentLanguage ¶
func (o *GetDeploysConnectionParams) WithContentLanguage(contentLanguage *string) *GetDeploysConnectionParams
WithContentLanguage adds the contentLanguage to the get deploys connection params
func (*GetDeploysConnectionParams) WithContext ¶
func (o *GetDeploysConnectionParams) WithContext(ctx context.Context) *GetDeploysConnectionParams
WithContext adds the context to the get deploys connection params
func (*GetDeploysConnectionParams) WithDefaults ¶
func (o *GetDeploysConnectionParams) WithDefaults() *GetDeploysConnectionParams
WithDefaults hydrates default values in the get deploys connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeploysConnectionParams) WithHTTPClient ¶
func (o *GetDeploysConnectionParams) WithHTTPClient(client *http.Client) *GetDeploysConnectionParams
WithHTTPClient adds the HTTPClient to the get deploys connection params
func (*GetDeploysConnectionParams) WithRequestBody ¶
func (o *GetDeploysConnectionParams) WithRequestBody(requestBody *models.GetDeploysConnectionRequestBody) *GetDeploysConnectionParams
WithRequestBody adds the requestBody to the get deploys connection params
func (*GetDeploysConnectionParams) WithTimeout ¶
func (o *GetDeploysConnectionParams) WithTimeout(timeout time.Duration) *GetDeploysConnectionParams
WithTimeout adds the timeout to the get deploys connection params
func (*GetDeploysConnectionParams) WriteToRequest ¶
func (o *GetDeploysConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeploysConnectionReader ¶
type GetDeploysConnectionReader struct {
// contains filtered or unexported fields
}
GetDeploysConnectionReader is a Reader for the GetDeploysConnection structure.
func (*GetDeploysConnectionReader) ReadResponse ¶
func (o *GetDeploysConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeploysInternalServerError ¶
GetDeploysInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetDeploysInternalServerError ¶
func NewGetDeploysInternalServerError() *GetDeploysInternalServerError
NewGetDeploysInternalServerError creates a GetDeploysInternalServerError with default headers values
func (*GetDeploysInternalServerError) Error ¶
func (o *GetDeploysInternalServerError) Error() string
func (*GetDeploysInternalServerError) GetPayload ¶
func (o *GetDeploysInternalServerError) GetPayload() *models.ErrorBody
type GetDeploysNotFound ¶
GetDeploysNotFound describes a response with status code 404, with default header values.
Not found
func NewGetDeploysNotFound ¶
func NewGetDeploysNotFound() *GetDeploysNotFound
NewGetDeploysNotFound creates a GetDeploysNotFound with default headers values
func (*GetDeploysNotFound) Error ¶
func (o *GetDeploysNotFound) Error() string
func (*GetDeploysNotFound) GetPayload ¶
func (o *GetDeploysNotFound) GetPayload() *models.ErrorBody
type GetDeploysOK ¶
GetDeploysOK describes a response with status code 200, with default header values.
GetDeploysOK get deploys o k
func NewGetDeploysOK ¶
func NewGetDeploysOK() *GetDeploysOK
NewGetDeploysOK creates a GetDeploysOK with default headers values
func (*GetDeploysOK) Error ¶
func (o *GetDeploysOK) Error() string
func (*GetDeploysOK) GetPayload ¶
func (o *GetDeploysOK) GetPayload() []*models.Deploy
type GetDeploysParams ¶
type GetDeploysParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetDeploysRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeploysParams contains all the parameters to send to the API endpoint
for the get deploys operation. Typically these are written to a http.Request.
func NewGetDeploysParams ¶
func NewGetDeploysParams() *GetDeploysParams
NewGetDeploysParams creates a new GetDeploysParams 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 NewGetDeploysParamsWithContext ¶
func NewGetDeploysParamsWithContext(ctx context.Context) *GetDeploysParams
NewGetDeploysParamsWithContext creates a new GetDeploysParams object with the ability to set a context for a request.
func NewGetDeploysParamsWithHTTPClient ¶
func NewGetDeploysParamsWithHTTPClient(client *http.Client) *GetDeploysParams
NewGetDeploysParamsWithHTTPClient creates a new GetDeploysParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeploysParamsWithTimeout ¶
func NewGetDeploysParamsWithTimeout(timeout time.Duration) *GetDeploysParams
NewGetDeploysParamsWithTimeout creates a new GetDeploysParams object with the ability to set a timeout on a request.
func (*GetDeploysParams) SetContentLanguage ¶
func (o *GetDeploysParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get deploys params
func (*GetDeploysParams) SetContext ¶
func (o *GetDeploysParams) SetContext(ctx context.Context)
SetContext adds the context to the get deploys params
func (*GetDeploysParams) SetDefaults ¶
func (o *GetDeploysParams) SetDefaults()
SetDefaults hydrates default values in the get deploys params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeploysParams) SetHTTPClient ¶
func (o *GetDeploysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get deploys params
func (*GetDeploysParams) SetRequestBody ¶
func (o *GetDeploysParams) SetRequestBody(requestBody *models.GetDeploysRequestBody)
SetRequestBody adds the requestBody to the get deploys params
func (*GetDeploysParams) SetTimeout ¶
func (o *GetDeploysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get deploys params
func (*GetDeploysParams) WithContentLanguage ¶
func (o *GetDeploysParams) WithContentLanguage(contentLanguage *string) *GetDeploysParams
WithContentLanguage adds the contentLanguage to the get deploys params
func (*GetDeploysParams) WithContext ¶
func (o *GetDeploysParams) WithContext(ctx context.Context) *GetDeploysParams
WithContext adds the context to the get deploys params
func (*GetDeploysParams) WithDefaults ¶
func (o *GetDeploysParams) WithDefaults() *GetDeploysParams
WithDefaults hydrates default values in the get deploys params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeploysParams) WithHTTPClient ¶
func (o *GetDeploysParams) WithHTTPClient(client *http.Client) *GetDeploysParams
WithHTTPClient adds the HTTPClient to the get deploys params
func (*GetDeploysParams) WithRequestBody ¶
func (o *GetDeploysParams) WithRequestBody(requestBody *models.GetDeploysRequestBody) *GetDeploysParams
WithRequestBody adds the requestBody to the get deploys params
func (*GetDeploysParams) WithTimeout ¶
func (o *GetDeploysParams) WithTimeout(timeout time.Duration) *GetDeploysParams
WithTimeout adds the timeout to the get deploys params
func (*GetDeploysParams) WriteToRequest ¶
func (o *GetDeploysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeploysReader ¶
type GetDeploysReader struct {
// contains filtered or unexported fields
}
GetDeploysReader is a Reader for the GetDeploys structure.
func (*GetDeploysReader) ReadResponse ¶
func (o *GetDeploysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.