Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDeployment(params *CreateDeploymentParams) (*CreateDeploymentOK, error)
- func (a *Client) CreateEnvironment(params *CreateEnvironmentParams) (*CreateEnvironmentOK, error)
- func (a *Client) DeleteEnvironment(params *DeleteEnvironmentParams) (*DeleteEnvironmentOK, error)
- func (a *Client) GetDeployment(params *GetDeploymentParams) (*GetDeploymentOK, error)
- func (a *Client) GetEnvironment(params *GetEnvironmentParams) (*GetEnvironmentOK, error)
- func (a *Client) ListDeployments(params *ListDeploymentsParams) (*ListDeploymentsOK, error)
- func (a *Client) ListEnvironments(params *ListEnvironmentsParams) (*ListEnvironmentsOK, error)
- func (a *Client) Ping(params *PingParams) (*PingOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateDeploymentBadRequest
- type CreateDeploymentNotFound
- type CreateDeploymentOK
- type CreateDeploymentParams
- func NewCreateDeploymentParams() *CreateDeploymentParams
- func NewCreateDeploymentParamsWithContext(ctx context.Context) *CreateDeploymentParams
- func NewCreateDeploymentParamsWithHTTPClient(client *http.Client) *CreateDeploymentParams
- func NewCreateDeploymentParamsWithTimeout(timeout time.Duration) *CreateDeploymentParams
- func (o *CreateDeploymentParams) SetContext(ctx context.Context)
- func (o *CreateDeploymentParams) SetDeploymentToken(deploymentToken string)
- func (o *CreateDeploymentParams) SetHTTPClient(client *http.Client)
- func (o *CreateDeploymentParams) SetName(name string)
- func (o *CreateDeploymentParams) SetTimeout(timeout time.Duration)
- func (o *CreateDeploymentParams) WithContext(ctx context.Context) *CreateDeploymentParams
- func (o *CreateDeploymentParams) WithDeploymentToken(deploymentToken string) *CreateDeploymentParams
- func (o *CreateDeploymentParams) WithHTTPClient(client *http.Client) *CreateDeploymentParams
- func (o *CreateDeploymentParams) WithName(name string) *CreateDeploymentParams
- func (o *CreateDeploymentParams) WithTimeout(timeout time.Duration) *CreateDeploymentParams
- func (o *CreateDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDeploymentReader
- type CreateEnvironmentBadRequest
- type CreateEnvironmentNotFound
- type CreateEnvironmentOK
- type CreateEnvironmentParams
- func NewCreateEnvironmentParams() *CreateEnvironmentParams
- func NewCreateEnvironmentParamsWithContext(ctx context.Context) *CreateEnvironmentParams
- func NewCreateEnvironmentParamsWithHTTPClient(client *http.Client) *CreateEnvironmentParams
- func NewCreateEnvironmentParamsWithTimeout(timeout time.Duration) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) SetBody(body *models.CreateEnvironmentRequest)
- func (o *CreateEnvironmentParams) SetContext(ctx context.Context)
- func (o *CreateEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *CreateEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *CreateEnvironmentParams) WithBody(body *models.CreateEnvironmentRequest) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithContext(ctx context.Context) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithHTTPClient(client *http.Client) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithTimeout(timeout time.Duration) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateEnvironmentReader
- type DeleteEnvironmentBadRequest
- type DeleteEnvironmentOK
- type DeleteEnvironmentParams
- func NewDeleteEnvironmentParams() *DeleteEnvironmentParams
- func NewDeleteEnvironmentParamsWithContext(ctx context.Context) *DeleteEnvironmentParams
- func NewDeleteEnvironmentParamsWithHTTPClient(client *http.Client) *DeleteEnvironmentParams
- func NewDeleteEnvironmentParamsWithTimeout(timeout time.Duration) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) SetContext(ctx context.Context)
- func (o *DeleteEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEnvironmentParams) SetName(name string)
- func (o *DeleteEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEnvironmentParams) WithContext(ctx context.Context) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WithHTTPClient(client *http.Client) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WithName(name string) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WithTimeout(timeout time.Duration) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEnvironmentReader
- type GetDeploymentBadRequest
- type GetDeploymentNotFound
- type GetDeploymentOK
- type GetDeploymentParams
- func (o *GetDeploymentParams) SetContext(ctx context.Context)
- func (o *GetDeploymentParams) SetHTTPClient(client *http.Client)
- func (o *GetDeploymentParams) SetID(id string)
- func (o *GetDeploymentParams) SetName(name string)
- func (o *GetDeploymentParams) SetTimeout(timeout time.Duration)
- func (o *GetDeploymentParams) WithContext(ctx context.Context) *GetDeploymentParams
- func (o *GetDeploymentParams) WithHTTPClient(client *http.Client) *GetDeploymentParams
- func (o *GetDeploymentParams) WithID(id string) *GetDeploymentParams
- func (o *GetDeploymentParams) WithName(name string) *GetDeploymentParams
- func (o *GetDeploymentParams) WithTimeout(timeout time.Duration) *GetDeploymentParams
- func (o *GetDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeploymentReader
- type GetEnvironmentBadRequest
- type GetEnvironmentNotFound
- type GetEnvironmentOK
- type GetEnvironmentParams
- func NewGetEnvironmentParams() *GetEnvironmentParams
- func NewGetEnvironmentParamsWithContext(ctx context.Context) *GetEnvironmentParams
- func NewGetEnvironmentParamsWithHTTPClient(client *http.Client) *GetEnvironmentParams
- func NewGetEnvironmentParamsWithTimeout(timeout time.Duration) *GetEnvironmentParams
- func (o *GetEnvironmentParams) SetContext(ctx context.Context)
- func (o *GetEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *GetEnvironmentParams) SetName(name string)
- func (o *GetEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *GetEnvironmentParams) WithContext(ctx context.Context) *GetEnvironmentParams
- func (o *GetEnvironmentParams) WithHTTPClient(client *http.Client) *GetEnvironmentParams
- func (o *GetEnvironmentParams) WithName(name string) *GetEnvironmentParams
- func (o *GetEnvironmentParams) WithTimeout(timeout time.Duration) *GetEnvironmentParams
- func (o *GetEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEnvironmentReader
- type ListDeploymentsBadRequest
- type ListDeploymentsNotFound
- type ListDeploymentsOK
- type ListDeploymentsParams
- func NewListDeploymentsParams() *ListDeploymentsParams
- func NewListDeploymentsParamsWithContext(ctx context.Context) *ListDeploymentsParams
- func NewListDeploymentsParamsWithHTTPClient(client *http.Client) *ListDeploymentsParams
- func NewListDeploymentsParamsWithTimeout(timeout time.Duration) *ListDeploymentsParams
- func (o *ListDeploymentsParams) SetContext(ctx context.Context)
- func (o *ListDeploymentsParams) SetDeploymentToken(deploymentToken string)
- func (o *ListDeploymentsParams) SetHTTPClient(client *http.Client)
- func (o *ListDeploymentsParams) SetName(name string)
- func (o *ListDeploymentsParams) SetNextToken(nextToken *string)
- func (o *ListDeploymentsParams) SetTimeout(timeout time.Duration)
- func (o *ListDeploymentsParams) WithContext(ctx context.Context) *ListDeploymentsParams
- func (o *ListDeploymentsParams) WithDeploymentToken(deploymentToken string) *ListDeploymentsParams
- func (o *ListDeploymentsParams) WithHTTPClient(client *http.Client) *ListDeploymentsParams
- func (o *ListDeploymentsParams) WithName(name string) *ListDeploymentsParams
- func (o *ListDeploymentsParams) WithNextToken(nextToken *string) *ListDeploymentsParams
- func (o *ListDeploymentsParams) WithTimeout(timeout time.Duration) *ListDeploymentsParams
- func (o *ListDeploymentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDeploymentsReader
- type ListEnvironmentsBadRequest
- type ListEnvironmentsOK
- type ListEnvironmentsParams
- func NewListEnvironmentsParams() *ListEnvironmentsParams
- func NewListEnvironmentsParamsWithContext(ctx context.Context) *ListEnvironmentsParams
- func NewListEnvironmentsParamsWithHTTPClient(client *http.Client) *ListEnvironmentsParams
- func NewListEnvironmentsParamsWithTimeout(timeout time.Duration) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) SetCluster(cluster *string)
- func (o *ListEnvironmentsParams) SetContext(ctx context.Context)
- func (o *ListEnvironmentsParams) SetHTTPClient(client *http.Client)
- func (o *ListEnvironmentsParams) SetNextToken(nextToken *string)
- func (o *ListEnvironmentsParams) SetTimeout(timeout time.Duration)
- func (o *ListEnvironmentsParams) WithCluster(cluster *string) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) WithContext(ctx context.Context) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) WithHTTPClient(client *http.Client) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) WithNextToken(nextToken *string) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) WithTimeout(timeout time.Duration) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListEnvironmentsReader
- type PingOK
- type PingParams
- func (o *PingParams) SetContext(ctx context.Context)
- func (o *PingParams) SetHTTPClient(client *http.Client)
- func (o *PingParams) SetTimeout(timeout time.Duration)
- func (o *PingParams) WithContext(ctx context.Context) *PingParams
- func (o *PingParams) WithHTTPClient(client *http.Client) *PingParams
- func (o *PingParams) WithTimeout(timeout time.Duration) *PingParams
- func (o *PingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PingReader
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 operations API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new operations API client.
func (*Client) CreateDeployment ¶
func (a *Client) CreateDeployment(params *CreateDeploymentParams) (*CreateDeploymentOK, error)
CreateDeployment Create a deployment under provided environment
func (*Client) CreateEnvironment ¶
func (a *Client) CreateEnvironment(params *CreateEnvironmentParams) (*CreateEnvironmentOK, error)
CreateEnvironment Create a new environment
func (*Client) DeleteEnvironment ¶
func (a *Client) DeleteEnvironment(params *DeleteEnvironmentParams) (*DeleteEnvironmentOK, error)
DeleteEnvironment Delete an environment by name
func (*Client) GetDeployment ¶
func (a *Client) GetDeployment(params *GetDeploymentParams) (*GetDeploymentOK, error)
GetDeployment Get deployment
func (*Client) GetEnvironment ¶
func (a *Client) GetEnvironment(params *GetEnvironmentParams) (*GetEnvironmentOK, error)
GetEnvironment Get an environment by name
func (*Client) ListDeployments ¶
func (a *Client) ListDeployments(params *ListDeploymentsParams) (*ListDeploymentsOK, error)
ListDeployments Get deployments under provided environment
func (*Client) ListEnvironments ¶
func (a *Client) ListEnvironments(params *ListEnvironmentsParams) (*ListEnvironmentsOK, error)
ListEnvironments Gets all the environments after applying filters, if any
func (*Client) Ping ¶
func (a *Client) Ping(params *PingParams) (*PingOK, error)
Ping Ping server for health status
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateDeploymentBadRequest ¶
type CreateDeploymentBadRequest struct {
Payload string
}
CreateDeploymentBadRequest handles this case with default header values.
Bad Request
func NewCreateDeploymentBadRequest ¶
func NewCreateDeploymentBadRequest() *CreateDeploymentBadRequest
NewCreateDeploymentBadRequest creates a CreateDeploymentBadRequest with default headers values
func (*CreateDeploymentBadRequest) Error ¶
func (o *CreateDeploymentBadRequest) Error() string
type CreateDeploymentNotFound ¶
type CreateDeploymentNotFound struct {
Payload string
}
CreateDeploymentNotFound handles this case with default header values.
Resource not found
func NewCreateDeploymentNotFound ¶
func NewCreateDeploymentNotFound() *CreateDeploymentNotFound
NewCreateDeploymentNotFound creates a CreateDeploymentNotFound with default headers values
func (*CreateDeploymentNotFound) Error ¶
func (o *CreateDeploymentNotFound) Error() string
type CreateDeploymentOK ¶
type CreateDeploymentOK struct {
Payload *models.Deployment
}
CreateDeploymentOK handles this case with default header values.
OK
func NewCreateDeploymentOK ¶
func NewCreateDeploymentOK() *CreateDeploymentOK
NewCreateDeploymentOK creates a CreateDeploymentOK with default headers values
func (*CreateDeploymentOK) Error ¶
func (o *CreateDeploymentOK) Error() string
type CreateDeploymentParams ¶
type CreateDeploymentParams struct { /*DeploymentToken Deployment token */ DeploymentToken string /*Name Name of environment */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDeploymentParams contains all the parameters to send to the API endpoint for the create deployment operation typically these are written to a http.Request
func NewCreateDeploymentParams ¶
func NewCreateDeploymentParams() *CreateDeploymentParams
NewCreateDeploymentParams creates a new CreateDeploymentParams object with the default values initialized.
func NewCreateDeploymentParamsWithContext ¶
func NewCreateDeploymentParamsWithContext(ctx context.Context) *CreateDeploymentParams
NewCreateDeploymentParamsWithContext creates a new CreateDeploymentParams object with the default values initialized, and the ability to set a context for a request
func NewCreateDeploymentParamsWithHTTPClient ¶
func NewCreateDeploymentParamsWithHTTPClient(client *http.Client) *CreateDeploymentParams
NewCreateDeploymentParamsWithHTTPClient creates a new CreateDeploymentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateDeploymentParamsWithTimeout ¶
func NewCreateDeploymentParamsWithTimeout(timeout time.Duration) *CreateDeploymentParams
NewCreateDeploymentParamsWithTimeout creates a new CreateDeploymentParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateDeploymentParams) SetContext ¶
func (o *CreateDeploymentParams) SetContext(ctx context.Context)
SetContext adds the context to the create deployment params
func (*CreateDeploymentParams) SetDeploymentToken ¶
func (o *CreateDeploymentParams) SetDeploymentToken(deploymentToken string)
SetDeploymentToken adds the deploymentToken to the create deployment params
func (*CreateDeploymentParams) SetHTTPClient ¶
func (o *CreateDeploymentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create deployment params
func (*CreateDeploymentParams) SetName ¶
func (o *CreateDeploymentParams) SetName(name string)
SetName adds the name to the create deployment params
func (*CreateDeploymentParams) SetTimeout ¶
func (o *CreateDeploymentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create deployment params
func (*CreateDeploymentParams) WithContext ¶
func (o *CreateDeploymentParams) WithContext(ctx context.Context) *CreateDeploymentParams
WithContext adds the context to the create deployment params
func (*CreateDeploymentParams) WithDeploymentToken ¶
func (o *CreateDeploymentParams) WithDeploymentToken(deploymentToken string) *CreateDeploymentParams
WithDeploymentToken adds the deploymentToken to the create deployment params
func (*CreateDeploymentParams) WithHTTPClient ¶
func (o *CreateDeploymentParams) WithHTTPClient(client *http.Client) *CreateDeploymentParams
WithHTTPClient adds the HTTPClient to the create deployment params
func (*CreateDeploymentParams) WithName ¶
func (o *CreateDeploymentParams) WithName(name string) *CreateDeploymentParams
WithName adds the name to the create deployment params
func (*CreateDeploymentParams) WithTimeout ¶
func (o *CreateDeploymentParams) WithTimeout(timeout time.Duration) *CreateDeploymentParams
WithTimeout adds the timeout to the create deployment params
func (*CreateDeploymentParams) WriteToRequest ¶
func (o *CreateDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDeploymentReader ¶
type CreateDeploymentReader struct {
// contains filtered or unexported fields
}
CreateDeploymentReader is a Reader for the CreateDeployment structure.
func (*CreateDeploymentReader) ReadResponse ¶
func (o *CreateDeploymentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateEnvironmentBadRequest ¶
type CreateEnvironmentBadRequest struct {
Payload string
}
CreateEnvironmentBadRequest handles this case with default header values.
Bad Request
func NewCreateEnvironmentBadRequest ¶
func NewCreateEnvironmentBadRequest() *CreateEnvironmentBadRequest
NewCreateEnvironmentBadRequest creates a CreateEnvironmentBadRequest with default headers values
func (*CreateEnvironmentBadRequest) Error ¶
func (o *CreateEnvironmentBadRequest) Error() string
type CreateEnvironmentNotFound ¶
type CreateEnvironmentNotFound struct {
Payload string
}
CreateEnvironmentNotFound handles this case with default header values.
Resource not found, e.g. Cluster missing or TaskDefinition missing
func NewCreateEnvironmentNotFound ¶
func NewCreateEnvironmentNotFound() *CreateEnvironmentNotFound
NewCreateEnvironmentNotFound creates a CreateEnvironmentNotFound with default headers values
func (*CreateEnvironmentNotFound) Error ¶
func (o *CreateEnvironmentNotFound) Error() string
type CreateEnvironmentOK ¶
type CreateEnvironmentOK struct {
Payload *models.Environment
}
CreateEnvironmentOK handles this case with default header values.
OK
func NewCreateEnvironmentOK ¶
func NewCreateEnvironmentOK() *CreateEnvironmentOK
NewCreateEnvironmentOK creates a CreateEnvironmentOK with default headers values
func (*CreateEnvironmentOK) Error ¶
func (o *CreateEnvironmentOK) Error() string
type CreateEnvironmentParams ¶
type CreateEnvironmentParams struct { /*Body*/ Body *models.CreateEnvironmentRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateEnvironmentParams contains all the parameters to send to the API endpoint for the create environment operation typically these are written to a http.Request
func NewCreateEnvironmentParams ¶
func NewCreateEnvironmentParams() *CreateEnvironmentParams
NewCreateEnvironmentParams creates a new CreateEnvironmentParams object with the default values initialized.
func NewCreateEnvironmentParamsWithContext ¶
func NewCreateEnvironmentParamsWithContext(ctx context.Context) *CreateEnvironmentParams
NewCreateEnvironmentParamsWithContext creates a new CreateEnvironmentParams object with the default values initialized, and the ability to set a context for a request
func NewCreateEnvironmentParamsWithHTTPClient ¶
func NewCreateEnvironmentParamsWithHTTPClient(client *http.Client) *CreateEnvironmentParams
NewCreateEnvironmentParamsWithHTTPClient creates a new CreateEnvironmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateEnvironmentParamsWithTimeout ¶
func NewCreateEnvironmentParamsWithTimeout(timeout time.Duration) *CreateEnvironmentParams
NewCreateEnvironmentParamsWithTimeout creates a new CreateEnvironmentParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateEnvironmentParams) SetBody ¶
func (o *CreateEnvironmentParams) SetBody(body *models.CreateEnvironmentRequest)
SetBody adds the body to the create environment params
func (*CreateEnvironmentParams) SetContext ¶
func (o *CreateEnvironmentParams) SetContext(ctx context.Context)
SetContext adds the context to the create environment params
func (*CreateEnvironmentParams) SetHTTPClient ¶
func (o *CreateEnvironmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create environment params
func (*CreateEnvironmentParams) SetTimeout ¶
func (o *CreateEnvironmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create environment params
func (*CreateEnvironmentParams) WithBody ¶
func (o *CreateEnvironmentParams) WithBody(body *models.CreateEnvironmentRequest) *CreateEnvironmentParams
WithBody adds the body to the create environment params
func (*CreateEnvironmentParams) WithContext ¶
func (o *CreateEnvironmentParams) WithContext(ctx context.Context) *CreateEnvironmentParams
WithContext adds the context to the create environment params
func (*CreateEnvironmentParams) WithHTTPClient ¶
func (o *CreateEnvironmentParams) WithHTTPClient(client *http.Client) *CreateEnvironmentParams
WithHTTPClient adds the HTTPClient to the create environment params
func (*CreateEnvironmentParams) WithTimeout ¶
func (o *CreateEnvironmentParams) WithTimeout(timeout time.Duration) *CreateEnvironmentParams
WithTimeout adds the timeout to the create environment params
func (*CreateEnvironmentParams) WriteToRequest ¶
func (o *CreateEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateEnvironmentReader ¶
type CreateEnvironmentReader struct {
// contains filtered or unexported fields
}
CreateEnvironmentReader is a Reader for the CreateEnvironment structure.
func (*CreateEnvironmentReader) ReadResponse ¶
func (o *CreateEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteEnvironmentBadRequest ¶
type DeleteEnvironmentBadRequest struct {
Payload string
}
DeleteEnvironmentBadRequest handles this case with default header values.
Bad Request
func NewDeleteEnvironmentBadRequest ¶
func NewDeleteEnvironmentBadRequest() *DeleteEnvironmentBadRequest
NewDeleteEnvironmentBadRequest creates a DeleteEnvironmentBadRequest with default headers values
func (*DeleteEnvironmentBadRequest) Error ¶
func (o *DeleteEnvironmentBadRequest) Error() string
type DeleteEnvironmentOK ¶
type DeleteEnvironmentOK struct { }
DeleteEnvironmentOK handles this case with default header values.
OK
func NewDeleteEnvironmentOK ¶
func NewDeleteEnvironmentOK() *DeleteEnvironmentOK
NewDeleteEnvironmentOK creates a DeleteEnvironmentOK with default headers values
func (*DeleteEnvironmentOK) Error ¶
func (o *DeleteEnvironmentOK) Error() string
type DeleteEnvironmentParams ¶
type DeleteEnvironmentParams struct { /*Name Name of environment */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteEnvironmentParams contains all the parameters to send to the API endpoint for the delete environment operation typically these are written to a http.Request
func NewDeleteEnvironmentParams ¶
func NewDeleteEnvironmentParams() *DeleteEnvironmentParams
NewDeleteEnvironmentParams creates a new DeleteEnvironmentParams object with the default values initialized.
func NewDeleteEnvironmentParamsWithContext ¶
func NewDeleteEnvironmentParamsWithContext(ctx context.Context) *DeleteEnvironmentParams
NewDeleteEnvironmentParamsWithContext creates a new DeleteEnvironmentParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteEnvironmentParamsWithHTTPClient ¶
func NewDeleteEnvironmentParamsWithHTTPClient(client *http.Client) *DeleteEnvironmentParams
NewDeleteEnvironmentParamsWithHTTPClient creates a new DeleteEnvironmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteEnvironmentParamsWithTimeout ¶
func NewDeleteEnvironmentParamsWithTimeout(timeout time.Duration) *DeleteEnvironmentParams
NewDeleteEnvironmentParamsWithTimeout creates a new DeleteEnvironmentParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteEnvironmentParams) SetContext ¶
func (o *DeleteEnvironmentParams) SetContext(ctx context.Context)
SetContext adds the context to the delete environment params
func (*DeleteEnvironmentParams) SetHTTPClient ¶
func (o *DeleteEnvironmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete environment params
func (*DeleteEnvironmentParams) SetName ¶
func (o *DeleteEnvironmentParams) SetName(name string)
SetName adds the name to the delete environment params
func (*DeleteEnvironmentParams) SetTimeout ¶
func (o *DeleteEnvironmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete environment params
func (*DeleteEnvironmentParams) WithContext ¶
func (o *DeleteEnvironmentParams) WithContext(ctx context.Context) *DeleteEnvironmentParams
WithContext adds the context to the delete environment params
func (*DeleteEnvironmentParams) WithHTTPClient ¶
func (o *DeleteEnvironmentParams) WithHTTPClient(client *http.Client) *DeleteEnvironmentParams
WithHTTPClient adds the HTTPClient to the delete environment params
func (*DeleteEnvironmentParams) WithName ¶
func (o *DeleteEnvironmentParams) WithName(name string) *DeleteEnvironmentParams
WithName adds the name to the delete environment params
func (*DeleteEnvironmentParams) WithTimeout ¶
func (o *DeleteEnvironmentParams) WithTimeout(timeout time.Duration) *DeleteEnvironmentParams
WithTimeout adds the timeout to the delete environment params
func (*DeleteEnvironmentParams) WriteToRequest ¶
func (o *DeleteEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteEnvironmentReader ¶
type DeleteEnvironmentReader struct {
// contains filtered or unexported fields
}
DeleteEnvironmentReader is a Reader for the DeleteEnvironment structure.
func (*DeleteEnvironmentReader) ReadResponse ¶
func (o *DeleteEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeploymentBadRequest ¶
type GetDeploymentBadRequest struct {
Payload string
}
GetDeploymentBadRequest handles this case with default header values.
Bad Request
func NewGetDeploymentBadRequest ¶
func NewGetDeploymentBadRequest() *GetDeploymentBadRequest
NewGetDeploymentBadRequest creates a GetDeploymentBadRequest with default headers values
func (*GetDeploymentBadRequest) Error ¶
func (o *GetDeploymentBadRequest) Error() string
type GetDeploymentNotFound ¶
type GetDeploymentNotFound struct {
Payload string
}
GetDeploymentNotFound handles this case with default header values.
Resource not found
func NewGetDeploymentNotFound ¶
func NewGetDeploymentNotFound() *GetDeploymentNotFound
NewGetDeploymentNotFound creates a GetDeploymentNotFound with default headers values
func (*GetDeploymentNotFound) Error ¶
func (o *GetDeploymentNotFound) Error() string
type GetDeploymentOK ¶
type GetDeploymentOK struct {
Payload *models.Deployment
}
GetDeploymentOK handles this case with default header values.
OK
func NewGetDeploymentOK ¶
func NewGetDeploymentOK() *GetDeploymentOK
NewGetDeploymentOK creates a GetDeploymentOK with default headers values
func (*GetDeploymentOK) Error ¶
func (o *GetDeploymentOK) Error() string
type GetDeploymentParams ¶
type GetDeploymentParams struct { /*ID ID of deployment */ ID string /*Name Name of environment */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeploymentParams contains all the parameters to send to the API endpoint for the get deployment operation typically these are written to a http.Request
func NewGetDeploymentParams ¶
func NewGetDeploymentParams() *GetDeploymentParams
NewGetDeploymentParams creates a new GetDeploymentParams object with the default values initialized.
func NewGetDeploymentParamsWithContext ¶
func NewGetDeploymentParamsWithContext(ctx context.Context) *GetDeploymentParams
NewGetDeploymentParamsWithContext creates a new GetDeploymentParams object with the default values initialized, and the ability to set a context for a request
func NewGetDeploymentParamsWithHTTPClient ¶
func NewGetDeploymentParamsWithHTTPClient(client *http.Client) *GetDeploymentParams
NewGetDeploymentParamsWithHTTPClient creates a new GetDeploymentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDeploymentParamsWithTimeout ¶
func NewGetDeploymentParamsWithTimeout(timeout time.Duration) *GetDeploymentParams
NewGetDeploymentParamsWithTimeout creates a new GetDeploymentParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDeploymentParams) SetContext ¶
func (o *GetDeploymentParams) SetContext(ctx context.Context)
SetContext adds the context to the get deployment params
func (*GetDeploymentParams) SetHTTPClient ¶
func (o *GetDeploymentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get deployment params
func (*GetDeploymentParams) SetID ¶
func (o *GetDeploymentParams) SetID(id string)
SetID adds the id to the get deployment params
func (*GetDeploymentParams) SetName ¶
func (o *GetDeploymentParams) SetName(name string)
SetName adds the name to the get deployment params
func (*GetDeploymentParams) SetTimeout ¶
func (o *GetDeploymentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get deployment params
func (*GetDeploymentParams) WithContext ¶
func (o *GetDeploymentParams) WithContext(ctx context.Context) *GetDeploymentParams
WithContext adds the context to the get deployment params
func (*GetDeploymentParams) WithHTTPClient ¶
func (o *GetDeploymentParams) WithHTTPClient(client *http.Client) *GetDeploymentParams
WithHTTPClient adds the HTTPClient to the get deployment params
func (*GetDeploymentParams) WithID ¶
func (o *GetDeploymentParams) WithID(id string) *GetDeploymentParams
WithID adds the id to the get deployment params
func (*GetDeploymentParams) WithName ¶
func (o *GetDeploymentParams) WithName(name string) *GetDeploymentParams
WithName adds the name to the get deployment params
func (*GetDeploymentParams) WithTimeout ¶
func (o *GetDeploymentParams) WithTimeout(timeout time.Duration) *GetDeploymentParams
WithTimeout adds the timeout to the get deployment params
func (*GetDeploymentParams) WriteToRequest ¶
func (o *GetDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeploymentReader ¶
type GetDeploymentReader struct {
// contains filtered or unexported fields
}
GetDeploymentReader is a Reader for the GetDeployment structure.
func (*GetDeploymentReader) ReadResponse ¶
func (o *GetDeploymentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEnvironmentBadRequest ¶
type GetEnvironmentBadRequest struct {
Payload string
}
GetEnvironmentBadRequest handles this case with default header values.
Bad Request
func NewGetEnvironmentBadRequest ¶
func NewGetEnvironmentBadRequest() *GetEnvironmentBadRequest
NewGetEnvironmentBadRequest creates a GetEnvironmentBadRequest with default headers values
func (*GetEnvironmentBadRequest) Error ¶
func (o *GetEnvironmentBadRequest) Error() string
type GetEnvironmentNotFound ¶
type GetEnvironmentNotFound struct {
Payload string
}
GetEnvironmentNotFound handles this case with default header values.
Resource not found
func NewGetEnvironmentNotFound ¶
func NewGetEnvironmentNotFound() *GetEnvironmentNotFound
NewGetEnvironmentNotFound creates a GetEnvironmentNotFound with default headers values
func (*GetEnvironmentNotFound) Error ¶
func (o *GetEnvironmentNotFound) Error() string
type GetEnvironmentOK ¶
type GetEnvironmentOK struct {
Payload *models.Environment
}
GetEnvironmentOK handles this case with default header values.
OK
func NewGetEnvironmentOK ¶
func NewGetEnvironmentOK() *GetEnvironmentOK
NewGetEnvironmentOK creates a GetEnvironmentOK with default headers values
func (*GetEnvironmentOK) Error ¶
func (o *GetEnvironmentOK) Error() string
type GetEnvironmentParams ¶
type GetEnvironmentParams struct { /*Name Name of environment */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEnvironmentParams contains all the parameters to send to the API endpoint for the get environment operation typically these are written to a http.Request
func NewGetEnvironmentParams ¶
func NewGetEnvironmentParams() *GetEnvironmentParams
NewGetEnvironmentParams creates a new GetEnvironmentParams object with the default values initialized.
func NewGetEnvironmentParamsWithContext ¶
func NewGetEnvironmentParamsWithContext(ctx context.Context) *GetEnvironmentParams
NewGetEnvironmentParamsWithContext creates a new GetEnvironmentParams object with the default values initialized, and the ability to set a context for a request
func NewGetEnvironmentParamsWithHTTPClient ¶
func NewGetEnvironmentParamsWithHTTPClient(client *http.Client) *GetEnvironmentParams
NewGetEnvironmentParamsWithHTTPClient creates a new GetEnvironmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEnvironmentParamsWithTimeout ¶
func NewGetEnvironmentParamsWithTimeout(timeout time.Duration) *GetEnvironmentParams
NewGetEnvironmentParamsWithTimeout creates a new GetEnvironmentParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEnvironmentParams) SetContext ¶
func (o *GetEnvironmentParams) SetContext(ctx context.Context)
SetContext adds the context to the get environment params
func (*GetEnvironmentParams) SetHTTPClient ¶
func (o *GetEnvironmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get environment params
func (*GetEnvironmentParams) SetName ¶
func (o *GetEnvironmentParams) SetName(name string)
SetName adds the name to the get environment params
func (*GetEnvironmentParams) SetTimeout ¶
func (o *GetEnvironmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get environment params
func (*GetEnvironmentParams) WithContext ¶
func (o *GetEnvironmentParams) WithContext(ctx context.Context) *GetEnvironmentParams
WithContext adds the context to the get environment params
func (*GetEnvironmentParams) WithHTTPClient ¶
func (o *GetEnvironmentParams) WithHTTPClient(client *http.Client) *GetEnvironmentParams
WithHTTPClient adds the HTTPClient to the get environment params
func (*GetEnvironmentParams) WithName ¶
func (o *GetEnvironmentParams) WithName(name string) *GetEnvironmentParams
WithName adds the name to the get environment params
func (*GetEnvironmentParams) WithTimeout ¶
func (o *GetEnvironmentParams) WithTimeout(timeout time.Duration) *GetEnvironmentParams
WithTimeout adds the timeout to the get environment params
func (*GetEnvironmentParams) WriteToRequest ¶
func (o *GetEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEnvironmentReader ¶
type GetEnvironmentReader struct {
// contains filtered or unexported fields
}
GetEnvironmentReader is a Reader for the GetEnvironment structure.
func (*GetEnvironmentReader) ReadResponse ¶
func (o *GetEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDeploymentsBadRequest ¶
type ListDeploymentsBadRequest struct {
Payload string
}
ListDeploymentsBadRequest handles this case with default header values.
Bad Request
func NewListDeploymentsBadRequest ¶
func NewListDeploymentsBadRequest() *ListDeploymentsBadRequest
NewListDeploymentsBadRequest creates a ListDeploymentsBadRequest with default headers values
func (*ListDeploymentsBadRequest) Error ¶
func (o *ListDeploymentsBadRequest) Error() string
type ListDeploymentsNotFound ¶
type ListDeploymentsNotFound struct {
Payload string
}
ListDeploymentsNotFound handles this case with default header values.
Not Found
func NewListDeploymentsNotFound ¶
func NewListDeploymentsNotFound() *ListDeploymentsNotFound
NewListDeploymentsNotFound creates a ListDeploymentsNotFound with default headers values
func (*ListDeploymentsNotFound) Error ¶
func (o *ListDeploymentsNotFound) Error() string
type ListDeploymentsOK ¶
type ListDeploymentsOK struct {
Payload *models.Deployments
}
ListDeploymentsOK handles this case with default header values.
OK
func NewListDeploymentsOK ¶
func NewListDeploymentsOK() *ListDeploymentsOK
NewListDeploymentsOK creates a ListDeploymentsOK with default headers values
func (*ListDeploymentsOK) Error ¶
func (o *ListDeploymentsOK) Error() string
type ListDeploymentsParams ¶
type ListDeploymentsParams struct { /*DeploymentToken Deployment token */ DeploymentToken string /*Name Name of environment */ Name string /*NextToken Pagination token */ NextToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDeploymentsParams contains all the parameters to send to the API endpoint for the list deployments operation typically these are written to a http.Request
func NewListDeploymentsParams ¶
func NewListDeploymentsParams() *ListDeploymentsParams
NewListDeploymentsParams creates a new ListDeploymentsParams object with the default values initialized.
func NewListDeploymentsParamsWithContext ¶
func NewListDeploymentsParamsWithContext(ctx context.Context) *ListDeploymentsParams
NewListDeploymentsParamsWithContext creates a new ListDeploymentsParams object with the default values initialized, and the ability to set a context for a request
func NewListDeploymentsParamsWithHTTPClient ¶
func NewListDeploymentsParamsWithHTTPClient(client *http.Client) *ListDeploymentsParams
NewListDeploymentsParamsWithHTTPClient creates a new ListDeploymentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListDeploymentsParamsWithTimeout ¶
func NewListDeploymentsParamsWithTimeout(timeout time.Duration) *ListDeploymentsParams
NewListDeploymentsParamsWithTimeout creates a new ListDeploymentsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListDeploymentsParams) SetContext ¶
func (o *ListDeploymentsParams) SetContext(ctx context.Context)
SetContext adds the context to the list deployments params
func (*ListDeploymentsParams) SetDeploymentToken ¶
func (o *ListDeploymentsParams) SetDeploymentToken(deploymentToken string)
SetDeploymentToken adds the deploymentToken to the list deployments params
func (*ListDeploymentsParams) SetHTTPClient ¶
func (o *ListDeploymentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list deployments params
func (*ListDeploymentsParams) SetName ¶
func (o *ListDeploymentsParams) SetName(name string)
SetName adds the name to the list deployments params
func (*ListDeploymentsParams) SetNextToken ¶
func (o *ListDeploymentsParams) SetNextToken(nextToken *string)
SetNextToken adds the nextToken to the list deployments params
func (*ListDeploymentsParams) SetTimeout ¶
func (o *ListDeploymentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list deployments params
func (*ListDeploymentsParams) WithContext ¶
func (o *ListDeploymentsParams) WithContext(ctx context.Context) *ListDeploymentsParams
WithContext adds the context to the list deployments params
func (*ListDeploymentsParams) WithDeploymentToken ¶
func (o *ListDeploymentsParams) WithDeploymentToken(deploymentToken string) *ListDeploymentsParams
WithDeploymentToken adds the deploymentToken to the list deployments params
func (*ListDeploymentsParams) WithHTTPClient ¶
func (o *ListDeploymentsParams) WithHTTPClient(client *http.Client) *ListDeploymentsParams
WithHTTPClient adds the HTTPClient to the list deployments params
func (*ListDeploymentsParams) WithName ¶
func (o *ListDeploymentsParams) WithName(name string) *ListDeploymentsParams
WithName adds the name to the list deployments params
func (*ListDeploymentsParams) WithNextToken ¶
func (o *ListDeploymentsParams) WithNextToken(nextToken *string) *ListDeploymentsParams
WithNextToken adds the nextToken to the list deployments params
func (*ListDeploymentsParams) WithTimeout ¶
func (o *ListDeploymentsParams) WithTimeout(timeout time.Duration) *ListDeploymentsParams
WithTimeout adds the timeout to the list deployments params
func (*ListDeploymentsParams) WriteToRequest ¶
func (o *ListDeploymentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDeploymentsReader ¶
type ListDeploymentsReader struct {
// contains filtered or unexported fields
}
ListDeploymentsReader is a Reader for the ListDeployments structure.
func (*ListDeploymentsReader) ReadResponse ¶
func (o *ListDeploymentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListEnvironmentsBadRequest ¶
type ListEnvironmentsBadRequest struct {
Payload string
}
ListEnvironmentsBadRequest handles this case with default header values.
Bad Request
func NewListEnvironmentsBadRequest ¶
func NewListEnvironmentsBadRequest() *ListEnvironmentsBadRequest
NewListEnvironmentsBadRequest creates a ListEnvironmentsBadRequest with default headers values
func (*ListEnvironmentsBadRequest) Error ¶
func (o *ListEnvironmentsBadRequest) Error() string
type ListEnvironmentsOK ¶
type ListEnvironmentsOK struct {
Payload *models.Environments
}
ListEnvironmentsOK handles this case with default header values.
OK
func NewListEnvironmentsOK ¶
func NewListEnvironmentsOK() *ListEnvironmentsOK
NewListEnvironmentsOK creates a ListEnvironmentsOK with default headers values
func (*ListEnvironmentsOK) Error ¶
func (o *ListEnvironmentsOK) Error() string
type ListEnvironmentsParams ¶
type ListEnvironmentsParams struct { /*Cluster Cluster ARN */ Cluster *string /*NextToken Pagination token */ NextToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListEnvironmentsParams contains all the parameters to send to the API endpoint for the list environments operation typically these are written to a http.Request
func NewListEnvironmentsParams ¶
func NewListEnvironmentsParams() *ListEnvironmentsParams
NewListEnvironmentsParams creates a new ListEnvironmentsParams object with the default values initialized.
func NewListEnvironmentsParamsWithContext ¶
func NewListEnvironmentsParamsWithContext(ctx context.Context) *ListEnvironmentsParams
NewListEnvironmentsParamsWithContext creates a new ListEnvironmentsParams object with the default values initialized, and the ability to set a context for a request
func NewListEnvironmentsParamsWithHTTPClient ¶
func NewListEnvironmentsParamsWithHTTPClient(client *http.Client) *ListEnvironmentsParams
NewListEnvironmentsParamsWithHTTPClient creates a new ListEnvironmentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListEnvironmentsParamsWithTimeout ¶
func NewListEnvironmentsParamsWithTimeout(timeout time.Duration) *ListEnvironmentsParams
NewListEnvironmentsParamsWithTimeout creates a new ListEnvironmentsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListEnvironmentsParams) SetCluster ¶
func (o *ListEnvironmentsParams) SetCluster(cluster *string)
SetCluster adds the cluster to the list environments params
func (*ListEnvironmentsParams) SetContext ¶
func (o *ListEnvironmentsParams) SetContext(ctx context.Context)
SetContext adds the context to the list environments params
func (*ListEnvironmentsParams) SetHTTPClient ¶
func (o *ListEnvironmentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list environments params
func (*ListEnvironmentsParams) SetNextToken ¶
func (o *ListEnvironmentsParams) SetNextToken(nextToken *string)
SetNextToken adds the nextToken to the list environments params
func (*ListEnvironmentsParams) SetTimeout ¶
func (o *ListEnvironmentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list environments params
func (*ListEnvironmentsParams) WithCluster ¶
func (o *ListEnvironmentsParams) WithCluster(cluster *string) *ListEnvironmentsParams
WithCluster adds the cluster to the list environments params
func (*ListEnvironmentsParams) WithContext ¶
func (o *ListEnvironmentsParams) WithContext(ctx context.Context) *ListEnvironmentsParams
WithContext adds the context to the list environments params
func (*ListEnvironmentsParams) WithHTTPClient ¶
func (o *ListEnvironmentsParams) WithHTTPClient(client *http.Client) *ListEnvironmentsParams
WithHTTPClient adds the HTTPClient to the list environments params
func (*ListEnvironmentsParams) WithNextToken ¶
func (o *ListEnvironmentsParams) WithNextToken(nextToken *string) *ListEnvironmentsParams
WithNextToken adds the nextToken to the list environments params
func (*ListEnvironmentsParams) WithTimeout ¶
func (o *ListEnvironmentsParams) WithTimeout(timeout time.Duration) *ListEnvironmentsParams
WithTimeout adds the timeout to the list environments params
func (*ListEnvironmentsParams) WriteToRequest ¶
func (o *ListEnvironmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListEnvironmentsReader ¶
type ListEnvironmentsReader struct {
// contains filtered or unexported fields
}
ListEnvironmentsReader is a Reader for the ListEnvironments structure.
func (*ListEnvironmentsReader) ReadResponse ¶
func (o *ListEnvironmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PingParams ¶
type PingParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PingParams contains all the parameters to send to the API endpoint for the ping operation typically these are written to a http.Request
func NewPingParams ¶
func NewPingParams() *PingParams
NewPingParams creates a new PingParams object with the default values initialized.
func NewPingParamsWithContext ¶
func NewPingParamsWithContext(ctx context.Context) *PingParams
NewPingParamsWithContext creates a new PingParams object with the default values initialized, and the ability to set a context for a request
func NewPingParamsWithHTTPClient ¶
func NewPingParamsWithHTTPClient(client *http.Client) *PingParams
NewPingParamsWithHTTPClient creates a new PingParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPingParamsWithTimeout ¶
func NewPingParamsWithTimeout(timeout time.Duration) *PingParams
NewPingParamsWithTimeout creates a new PingParams object with the default values initialized, and the ability to set a timeout on a request
func (*PingParams) SetContext ¶
func (o *PingParams) SetContext(ctx context.Context)
SetContext adds the context to the ping params
func (*PingParams) SetHTTPClient ¶
func (o *PingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ping params
func (*PingParams) SetTimeout ¶
func (o *PingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ping params
func (*PingParams) WithContext ¶
func (o *PingParams) WithContext(ctx context.Context) *PingParams
WithContext adds the context to the ping params
func (*PingParams) WithHTTPClient ¶
func (o *PingParams) WithHTTPClient(client *http.Client) *PingParams
WithHTTPClient adds the HTTPClient to the ping params
func (*PingParams) WithTimeout ¶
func (o *PingParams) WithTimeout(timeout time.Duration) *PingParams
WithTimeout adds the timeout to the ping params
func (*PingParams) WriteToRequest ¶
func (o *PingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PingReader ¶
type PingReader struct {
// contains filtered or unexported fields
}
PingReader is a Reader for the Ping structure.
func (*PingReader) ReadResponse ¶
func (o *PingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_deployment_parameters.go
- create_deployment_responses.go
- create_environment_parameters.go
- create_environment_responses.go
- delete_environment_parameters.go
- delete_environment_responses.go
- get_deployment_parameters.go
- get_deployment_responses.go
- get_environment_parameters.go
- get_environment_responses.go
- list_deployments_parameters.go
- list_deployments_responses.go
- list_environments_parameters.go
- list_environments_responses.go
- operations_client.go
- ping_parameters.go
- ping_responses.go