deployment

package
v0.0.0-...-b3f093e Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 deployment API

func (*Client) DeploymentAdd

func (a *Client) DeploymentAdd(params *DeploymentAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeploymentAddOK, error)

DeploymentAdd adds a list of new deployment records to alfabet this interface takes in an array of deployments

Add a list of new deployment records to Alfabet. This interface takes in an array of deployments.

func (*Client) DeploymentDeleteList

func (a *Client) DeploymentDeleteList(params *DeploymentDeleteListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeploymentDeleteListOK, error)

DeploymentDeleteList deletes a list of deployments based on the ids passed in this interface takes an array of deployment ids

Delete a list of deployments based on the ids passed in. This interface takes an array of deploymentIds.

func (*Client) DeploymentFindList

func (a *Client) DeploymentFindList(params *DeploymentFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeploymentFindListOK, error)

DeploymentFindList retrieves a list of deployments based on query criteria system Id state status and deployment type

Retrieve a list of deployments based on query criteria (systemId, state, status and deploymentType).

func (*Client) DeploymentUpdate

func (a *Client) DeploymentUpdate(params *DeploymentUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeploymentUpdateOK, error)

DeploymentUpdate updates a list of new deployment records to alfabet this interface takes in an array of deployment documents

Update a list of new deployment records to Alfabet. This interface takes in an array of deployment documents.

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 {
	DeploymentAdd(params *DeploymentAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeploymentAddOK, error)

	DeploymentDeleteList(params *DeploymentDeleteListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeploymentDeleteListOK, error)

	DeploymentFindList(params *DeploymentFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeploymentFindListOK, error)

	DeploymentUpdate(params *DeploymentUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeploymentUpdateOK, 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 deployment API client.

type DeploymentAddBadRequest

type DeploymentAddBadRequest struct {
	Payload *models.Response
}

DeploymentAddBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeploymentAddBadRequest

func NewDeploymentAddBadRequest() *DeploymentAddBadRequest

NewDeploymentAddBadRequest creates a DeploymentAddBadRequest with default headers values

func (*DeploymentAddBadRequest) Code

func (o *DeploymentAddBadRequest) Code() int

Code gets the status code for the deployment add bad request response

func (*DeploymentAddBadRequest) Error

func (o *DeploymentAddBadRequest) Error() string

func (*DeploymentAddBadRequest) GetPayload

func (o *DeploymentAddBadRequest) GetPayload() *models.Response

func (*DeploymentAddBadRequest) IsClientError

func (o *DeploymentAddBadRequest) IsClientError() bool

IsClientError returns true when this deployment add bad request response has a 4xx status code

func (*DeploymentAddBadRequest) IsCode

func (o *DeploymentAddBadRequest) IsCode(code int) bool

IsCode returns true when this deployment add bad request response a status code equal to that given

func (*DeploymentAddBadRequest) IsRedirect

func (o *DeploymentAddBadRequest) IsRedirect() bool

IsRedirect returns true when this deployment add bad request response has a 3xx status code

func (*DeploymentAddBadRequest) IsServerError

func (o *DeploymentAddBadRequest) IsServerError() bool

IsServerError returns true when this deployment add bad request response has a 5xx status code

func (*DeploymentAddBadRequest) IsSuccess

func (o *DeploymentAddBadRequest) IsSuccess() bool

IsSuccess returns true when this deployment add bad request response has a 2xx status code

func (*DeploymentAddBadRequest) String

func (o *DeploymentAddBadRequest) String() string

type DeploymentAddInternalServerError

type DeploymentAddInternalServerError struct {
	Payload *models.Response
}

DeploymentAddInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeploymentAddInternalServerError

func NewDeploymentAddInternalServerError() *DeploymentAddInternalServerError

NewDeploymentAddInternalServerError creates a DeploymentAddInternalServerError with default headers values

func (*DeploymentAddInternalServerError) Code

Code gets the status code for the deployment add internal server error response

func (*DeploymentAddInternalServerError) Error

func (*DeploymentAddInternalServerError) GetPayload

func (*DeploymentAddInternalServerError) IsClientError

func (o *DeploymentAddInternalServerError) IsClientError() bool

IsClientError returns true when this deployment add internal server error response has a 4xx status code

func (*DeploymentAddInternalServerError) IsCode

func (o *DeploymentAddInternalServerError) IsCode(code int) bool

IsCode returns true when this deployment add internal server error response a status code equal to that given

func (*DeploymentAddInternalServerError) IsRedirect

func (o *DeploymentAddInternalServerError) IsRedirect() bool

IsRedirect returns true when this deployment add internal server error response has a 3xx status code

func (*DeploymentAddInternalServerError) IsServerError

func (o *DeploymentAddInternalServerError) IsServerError() bool

IsServerError returns true when this deployment add internal server error response has a 5xx status code

func (*DeploymentAddInternalServerError) IsSuccess

func (o *DeploymentAddInternalServerError) IsSuccess() bool

IsSuccess returns true when this deployment add internal server error response has a 2xx status code

func (*DeploymentAddInternalServerError) String

type DeploymentAddOK

type DeploymentAddOK struct {
	Payload *models.Response
}

DeploymentAddOK describes a response with status code 200, with default header values.

OK

func NewDeploymentAddOK

func NewDeploymentAddOK() *DeploymentAddOK

NewDeploymentAddOK creates a DeploymentAddOK with default headers values

func (*DeploymentAddOK) Code

func (o *DeploymentAddOK) Code() int

Code gets the status code for the deployment add o k response

func (*DeploymentAddOK) Error

func (o *DeploymentAddOK) Error() string

func (*DeploymentAddOK) GetPayload

func (o *DeploymentAddOK) GetPayload() *models.Response

func (*DeploymentAddOK) IsClientError

func (o *DeploymentAddOK) IsClientError() bool

IsClientError returns true when this deployment add o k response has a 4xx status code

func (*DeploymentAddOK) IsCode

func (o *DeploymentAddOK) IsCode(code int) bool

IsCode returns true when this deployment add o k response a status code equal to that given

func (*DeploymentAddOK) IsRedirect

func (o *DeploymentAddOK) IsRedirect() bool

IsRedirect returns true when this deployment add o k response has a 3xx status code

func (*DeploymentAddOK) IsServerError

func (o *DeploymentAddOK) IsServerError() bool

IsServerError returns true when this deployment add o k response has a 5xx status code

func (*DeploymentAddOK) IsSuccess

func (o *DeploymentAddOK) IsSuccess() bool

IsSuccess returns true when this deployment add o k response has a 2xx status code

func (*DeploymentAddOK) String

func (o *DeploymentAddOK) String() string

type DeploymentAddParams

type DeploymentAddParams struct {

	/* Body.

	   Deployment list to be added to CEDAR
	*/
	Body *models.DeploymentAddRequest

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

DeploymentAddParams contains all the parameters to send to the API endpoint

for the deployment add operation.

Typically these are written to a http.Request.

func NewDeploymentAddParams

func NewDeploymentAddParams() *DeploymentAddParams

NewDeploymentAddParams creates a new DeploymentAddParams 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 NewDeploymentAddParamsWithContext

func NewDeploymentAddParamsWithContext(ctx context.Context) *DeploymentAddParams

NewDeploymentAddParamsWithContext creates a new DeploymentAddParams object with the ability to set a context for a request.

func NewDeploymentAddParamsWithHTTPClient

func NewDeploymentAddParamsWithHTTPClient(client *http.Client) *DeploymentAddParams

NewDeploymentAddParamsWithHTTPClient creates a new DeploymentAddParams object with the ability to set a custom HTTPClient for a request.

func NewDeploymentAddParamsWithTimeout

func NewDeploymentAddParamsWithTimeout(timeout time.Duration) *DeploymentAddParams

NewDeploymentAddParamsWithTimeout creates a new DeploymentAddParams object with the ability to set a timeout on a request.

func (*DeploymentAddParams) SetBody

SetBody adds the body to the deployment add params

func (*DeploymentAddParams) SetContext

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

SetContext adds the context to the deployment add params

func (*DeploymentAddParams) SetDefaults

func (o *DeploymentAddParams) SetDefaults()

SetDefaults hydrates default values in the deployment add params (not the query body).

All values with no default are reset to their zero value.

func (*DeploymentAddParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the deployment add params

func (*DeploymentAddParams) SetTimeout

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

SetTimeout adds the timeout to the deployment add params

func (*DeploymentAddParams) WithBody

WithBody adds the body to the deployment add params

func (*DeploymentAddParams) WithContext

WithContext adds the context to the deployment add params

func (*DeploymentAddParams) WithDefaults

func (o *DeploymentAddParams) WithDefaults() *DeploymentAddParams

WithDefaults hydrates default values in the deployment add params (not the query body).

All values with no default are reset to their zero value.

func (*DeploymentAddParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the deployment add params

func (*DeploymentAddParams) WithTimeout

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

WithTimeout adds the timeout to the deployment add params

func (*DeploymentAddParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeploymentAddReader

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

DeploymentAddReader is a Reader for the DeploymentAdd structure.

func (*DeploymentAddReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeploymentAddUnauthorized

type DeploymentAddUnauthorized struct {
	Payload *models.Response
}

DeploymentAddUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewDeploymentAddUnauthorized

func NewDeploymentAddUnauthorized() *DeploymentAddUnauthorized

NewDeploymentAddUnauthorized creates a DeploymentAddUnauthorized with default headers values

func (*DeploymentAddUnauthorized) Code

func (o *DeploymentAddUnauthorized) Code() int

Code gets the status code for the deployment add unauthorized response

func (*DeploymentAddUnauthorized) Error

func (o *DeploymentAddUnauthorized) Error() string

func (*DeploymentAddUnauthorized) GetPayload

func (o *DeploymentAddUnauthorized) GetPayload() *models.Response

func (*DeploymentAddUnauthorized) IsClientError

func (o *DeploymentAddUnauthorized) IsClientError() bool

IsClientError returns true when this deployment add unauthorized response has a 4xx status code

func (*DeploymentAddUnauthorized) IsCode

func (o *DeploymentAddUnauthorized) IsCode(code int) bool

IsCode returns true when this deployment add unauthorized response a status code equal to that given

func (*DeploymentAddUnauthorized) IsRedirect

func (o *DeploymentAddUnauthorized) IsRedirect() bool

IsRedirect returns true when this deployment add unauthorized response has a 3xx status code

func (*DeploymentAddUnauthorized) IsServerError

func (o *DeploymentAddUnauthorized) IsServerError() bool

IsServerError returns true when this deployment add unauthorized response has a 5xx status code

func (*DeploymentAddUnauthorized) IsSuccess

func (o *DeploymentAddUnauthorized) IsSuccess() bool

IsSuccess returns true when this deployment add unauthorized response has a 2xx status code

func (*DeploymentAddUnauthorized) String

func (o *DeploymentAddUnauthorized) String() string

type DeploymentDeleteListBadRequest

type DeploymentDeleteListBadRequest struct {
	Payload *models.Response
}

DeploymentDeleteListBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeploymentDeleteListBadRequest

func NewDeploymentDeleteListBadRequest() *DeploymentDeleteListBadRequest

NewDeploymentDeleteListBadRequest creates a DeploymentDeleteListBadRequest with default headers values

func (*DeploymentDeleteListBadRequest) Code

Code gets the status code for the deployment delete list bad request response

func (*DeploymentDeleteListBadRequest) Error

func (*DeploymentDeleteListBadRequest) GetPayload

func (*DeploymentDeleteListBadRequest) IsClientError

func (o *DeploymentDeleteListBadRequest) IsClientError() bool

IsClientError returns true when this deployment delete list bad request response has a 4xx status code

func (*DeploymentDeleteListBadRequest) IsCode

func (o *DeploymentDeleteListBadRequest) IsCode(code int) bool

IsCode returns true when this deployment delete list bad request response a status code equal to that given

func (*DeploymentDeleteListBadRequest) IsRedirect

func (o *DeploymentDeleteListBadRequest) IsRedirect() bool

IsRedirect returns true when this deployment delete list bad request response has a 3xx status code

func (*DeploymentDeleteListBadRequest) IsServerError

func (o *DeploymentDeleteListBadRequest) IsServerError() bool

IsServerError returns true when this deployment delete list bad request response has a 5xx status code

func (*DeploymentDeleteListBadRequest) IsSuccess

func (o *DeploymentDeleteListBadRequest) IsSuccess() bool

IsSuccess returns true when this deployment delete list bad request response has a 2xx status code

func (*DeploymentDeleteListBadRequest) String

type DeploymentDeleteListInternalServerError

type DeploymentDeleteListInternalServerError struct {
	Payload *models.Response
}

DeploymentDeleteListInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeploymentDeleteListInternalServerError

func NewDeploymentDeleteListInternalServerError() *DeploymentDeleteListInternalServerError

NewDeploymentDeleteListInternalServerError creates a DeploymentDeleteListInternalServerError with default headers values

func (*DeploymentDeleteListInternalServerError) Code

Code gets the status code for the deployment delete list internal server error response

func (*DeploymentDeleteListInternalServerError) Error

func (*DeploymentDeleteListInternalServerError) GetPayload

func (*DeploymentDeleteListInternalServerError) IsClientError

func (o *DeploymentDeleteListInternalServerError) IsClientError() bool

IsClientError returns true when this deployment delete list internal server error response has a 4xx status code

func (*DeploymentDeleteListInternalServerError) IsCode

IsCode returns true when this deployment delete list internal server error response a status code equal to that given

func (*DeploymentDeleteListInternalServerError) IsRedirect

IsRedirect returns true when this deployment delete list internal server error response has a 3xx status code

func (*DeploymentDeleteListInternalServerError) IsServerError

func (o *DeploymentDeleteListInternalServerError) IsServerError() bool

IsServerError returns true when this deployment delete list internal server error response has a 5xx status code

func (*DeploymentDeleteListInternalServerError) IsSuccess

IsSuccess returns true when this deployment delete list internal server error response has a 2xx status code

func (*DeploymentDeleteListInternalServerError) String

type DeploymentDeleteListNotFound

type DeploymentDeleteListNotFound struct {
	Payload *models.Response
}

DeploymentDeleteListNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeploymentDeleteListNotFound

func NewDeploymentDeleteListNotFound() *DeploymentDeleteListNotFound

NewDeploymentDeleteListNotFound creates a DeploymentDeleteListNotFound with default headers values

func (*DeploymentDeleteListNotFound) Code

Code gets the status code for the deployment delete list not found response

func (*DeploymentDeleteListNotFound) Error

func (*DeploymentDeleteListNotFound) GetPayload

func (o *DeploymentDeleteListNotFound) GetPayload() *models.Response

func (*DeploymentDeleteListNotFound) IsClientError

func (o *DeploymentDeleteListNotFound) IsClientError() bool

IsClientError returns true when this deployment delete list not found response has a 4xx status code

func (*DeploymentDeleteListNotFound) IsCode

func (o *DeploymentDeleteListNotFound) IsCode(code int) bool

IsCode returns true when this deployment delete list not found response a status code equal to that given

func (*DeploymentDeleteListNotFound) IsRedirect

func (o *DeploymentDeleteListNotFound) IsRedirect() bool

IsRedirect returns true when this deployment delete list not found response has a 3xx status code

func (*DeploymentDeleteListNotFound) IsServerError

func (o *DeploymentDeleteListNotFound) IsServerError() bool

IsServerError returns true when this deployment delete list not found response has a 5xx status code

func (*DeploymentDeleteListNotFound) IsSuccess

func (o *DeploymentDeleteListNotFound) IsSuccess() bool

IsSuccess returns true when this deployment delete list not found response has a 2xx status code

func (*DeploymentDeleteListNotFound) String

type DeploymentDeleteListOK

type DeploymentDeleteListOK struct {
	Payload *models.Response
}

DeploymentDeleteListOK describes a response with status code 200, with default header values.

OK

func NewDeploymentDeleteListOK

func NewDeploymentDeleteListOK() *DeploymentDeleteListOK

NewDeploymentDeleteListOK creates a DeploymentDeleteListOK with default headers values

func (*DeploymentDeleteListOK) Code

func (o *DeploymentDeleteListOK) Code() int

Code gets the status code for the deployment delete list o k response

func (*DeploymentDeleteListOK) Error

func (o *DeploymentDeleteListOK) Error() string

func (*DeploymentDeleteListOK) GetPayload

func (o *DeploymentDeleteListOK) GetPayload() *models.Response

func (*DeploymentDeleteListOK) IsClientError

func (o *DeploymentDeleteListOK) IsClientError() bool

IsClientError returns true when this deployment delete list o k response has a 4xx status code

func (*DeploymentDeleteListOK) IsCode

func (o *DeploymentDeleteListOK) IsCode(code int) bool

IsCode returns true when this deployment delete list o k response a status code equal to that given

func (*DeploymentDeleteListOK) IsRedirect

func (o *DeploymentDeleteListOK) IsRedirect() bool

IsRedirect returns true when this deployment delete list o k response has a 3xx status code

func (*DeploymentDeleteListOK) IsServerError

func (o *DeploymentDeleteListOK) IsServerError() bool

IsServerError returns true when this deployment delete list o k response has a 5xx status code

func (*DeploymentDeleteListOK) IsSuccess

func (o *DeploymentDeleteListOK) IsSuccess() bool

IsSuccess returns true when this deployment delete list o k response has a 2xx status code

func (*DeploymentDeleteListOK) String

func (o *DeploymentDeleteListOK) String() string

type DeploymentDeleteListParams

type DeploymentDeleteListParams struct {

	/* ID.

	   An array of deploymentIds.
	*/
	ID []string

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

DeploymentDeleteListParams contains all the parameters to send to the API endpoint

for the deployment delete list operation.

Typically these are written to a http.Request.

func NewDeploymentDeleteListParams

func NewDeploymentDeleteListParams() *DeploymentDeleteListParams

NewDeploymentDeleteListParams creates a new DeploymentDeleteListParams 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 NewDeploymentDeleteListParamsWithContext

func NewDeploymentDeleteListParamsWithContext(ctx context.Context) *DeploymentDeleteListParams

NewDeploymentDeleteListParamsWithContext creates a new DeploymentDeleteListParams object with the ability to set a context for a request.

func NewDeploymentDeleteListParamsWithHTTPClient

func NewDeploymentDeleteListParamsWithHTTPClient(client *http.Client) *DeploymentDeleteListParams

NewDeploymentDeleteListParamsWithHTTPClient creates a new DeploymentDeleteListParams object with the ability to set a custom HTTPClient for a request.

func NewDeploymentDeleteListParamsWithTimeout

func NewDeploymentDeleteListParamsWithTimeout(timeout time.Duration) *DeploymentDeleteListParams

NewDeploymentDeleteListParamsWithTimeout creates a new DeploymentDeleteListParams object with the ability to set a timeout on a request.

func (*DeploymentDeleteListParams) SetContext

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

SetContext adds the context to the deployment delete list params

func (*DeploymentDeleteListParams) SetDefaults

func (o *DeploymentDeleteListParams) SetDefaults()

SetDefaults hydrates default values in the deployment delete list params (not the query body).

All values with no default are reset to their zero value.

func (*DeploymentDeleteListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the deployment delete list params

func (*DeploymentDeleteListParams) SetID

func (o *DeploymentDeleteListParams) SetID(id []string)

SetID adds the id to the deployment delete list params

func (*DeploymentDeleteListParams) SetTimeout

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

SetTimeout adds the timeout to the deployment delete list params

func (*DeploymentDeleteListParams) WithContext

WithContext adds the context to the deployment delete list params

func (*DeploymentDeleteListParams) WithDefaults

WithDefaults hydrates default values in the deployment delete list params (not the query body).

All values with no default are reset to their zero value.

func (*DeploymentDeleteListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the deployment delete list params

func (*DeploymentDeleteListParams) WithID

WithID adds the id to the deployment delete list params

func (*DeploymentDeleteListParams) WithTimeout

WithTimeout adds the timeout to the deployment delete list params

func (*DeploymentDeleteListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeploymentDeleteListReader

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

DeploymentDeleteListReader is a Reader for the DeploymentDeleteList structure.

func (*DeploymentDeleteListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeploymentDeleteListUnauthorized

type DeploymentDeleteListUnauthorized struct {
	Payload *models.Response
}

DeploymentDeleteListUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewDeploymentDeleteListUnauthorized

func NewDeploymentDeleteListUnauthorized() *DeploymentDeleteListUnauthorized

NewDeploymentDeleteListUnauthorized creates a DeploymentDeleteListUnauthorized with default headers values

func (*DeploymentDeleteListUnauthorized) Code

Code gets the status code for the deployment delete list unauthorized response

func (*DeploymentDeleteListUnauthorized) Error

func (*DeploymentDeleteListUnauthorized) GetPayload

func (*DeploymentDeleteListUnauthorized) IsClientError

func (o *DeploymentDeleteListUnauthorized) IsClientError() bool

IsClientError returns true when this deployment delete list unauthorized response has a 4xx status code

func (*DeploymentDeleteListUnauthorized) IsCode

func (o *DeploymentDeleteListUnauthorized) IsCode(code int) bool

IsCode returns true when this deployment delete list unauthorized response a status code equal to that given

func (*DeploymentDeleteListUnauthorized) IsRedirect

func (o *DeploymentDeleteListUnauthorized) IsRedirect() bool

IsRedirect returns true when this deployment delete list unauthorized response has a 3xx status code

func (*DeploymentDeleteListUnauthorized) IsServerError

func (o *DeploymentDeleteListUnauthorized) IsServerError() bool

IsServerError returns true when this deployment delete list unauthorized response has a 5xx status code

func (*DeploymentDeleteListUnauthorized) IsSuccess

func (o *DeploymentDeleteListUnauthorized) IsSuccess() bool

IsSuccess returns true when this deployment delete list unauthorized response has a 2xx status code

func (*DeploymentDeleteListUnauthorized) String

type DeploymentFindListBadRequest

type DeploymentFindListBadRequest struct {
	Payload *models.Response
}

DeploymentFindListBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeploymentFindListBadRequest

func NewDeploymentFindListBadRequest() *DeploymentFindListBadRequest

NewDeploymentFindListBadRequest creates a DeploymentFindListBadRequest with default headers values

func (*DeploymentFindListBadRequest) Code

Code gets the status code for the deployment find list bad request response

func (*DeploymentFindListBadRequest) Error

func (*DeploymentFindListBadRequest) GetPayload

func (o *DeploymentFindListBadRequest) GetPayload() *models.Response

func (*DeploymentFindListBadRequest) IsClientError

func (o *DeploymentFindListBadRequest) IsClientError() bool

IsClientError returns true when this deployment find list bad request response has a 4xx status code

func (*DeploymentFindListBadRequest) IsCode

func (o *DeploymentFindListBadRequest) IsCode(code int) bool

IsCode returns true when this deployment find list bad request response a status code equal to that given

func (*DeploymentFindListBadRequest) IsRedirect

func (o *DeploymentFindListBadRequest) IsRedirect() bool

IsRedirect returns true when this deployment find list bad request response has a 3xx status code

func (*DeploymentFindListBadRequest) IsServerError

func (o *DeploymentFindListBadRequest) IsServerError() bool

IsServerError returns true when this deployment find list bad request response has a 5xx status code

func (*DeploymentFindListBadRequest) IsSuccess

func (o *DeploymentFindListBadRequest) IsSuccess() bool

IsSuccess returns true when this deployment find list bad request response has a 2xx status code

func (*DeploymentFindListBadRequest) String

type DeploymentFindListInternalServerError

type DeploymentFindListInternalServerError struct {
	Payload *models.Response
}

DeploymentFindListInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeploymentFindListInternalServerError

func NewDeploymentFindListInternalServerError() *DeploymentFindListInternalServerError

NewDeploymentFindListInternalServerError creates a DeploymentFindListInternalServerError with default headers values

func (*DeploymentFindListInternalServerError) Code

Code gets the status code for the deployment find list internal server error response

func (*DeploymentFindListInternalServerError) Error

func (*DeploymentFindListInternalServerError) GetPayload

func (*DeploymentFindListInternalServerError) IsClientError

func (o *DeploymentFindListInternalServerError) IsClientError() bool

IsClientError returns true when this deployment find list internal server error response has a 4xx status code

func (*DeploymentFindListInternalServerError) IsCode

IsCode returns true when this deployment find list internal server error response a status code equal to that given

func (*DeploymentFindListInternalServerError) IsRedirect

IsRedirect returns true when this deployment find list internal server error response has a 3xx status code

func (*DeploymentFindListInternalServerError) IsServerError

func (o *DeploymentFindListInternalServerError) IsServerError() bool

IsServerError returns true when this deployment find list internal server error response has a 5xx status code

func (*DeploymentFindListInternalServerError) IsSuccess

IsSuccess returns true when this deployment find list internal server error response has a 2xx status code

func (*DeploymentFindListInternalServerError) String

type DeploymentFindListOK

type DeploymentFindListOK struct {
	Payload *models.DeploymentFindResponse
}

DeploymentFindListOK describes a response with status code 200, with default header values.

OK

func NewDeploymentFindListOK

func NewDeploymentFindListOK() *DeploymentFindListOK

NewDeploymentFindListOK creates a DeploymentFindListOK with default headers values

func (*DeploymentFindListOK) Code

func (o *DeploymentFindListOK) Code() int

Code gets the status code for the deployment find list o k response

func (*DeploymentFindListOK) Error

func (o *DeploymentFindListOK) Error() string

func (*DeploymentFindListOK) GetPayload

func (*DeploymentFindListOK) IsClientError

func (o *DeploymentFindListOK) IsClientError() bool

IsClientError returns true when this deployment find list o k response has a 4xx status code

func (*DeploymentFindListOK) IsCode

func (o *DeploymentFindListOK) IsCode(code int) bool

IsCode returns true when this deployment find list o k response a status code equal to that given

func (*DeploymentFindListOK) IsRedirect

func (o *DeploymentFindListOK) IsRedirect() bool

IsRedirect returns true when this deployment find list o k response has a 3xx status code

func (*DeploymentFindListOK) IsServerError

func (o *DeploymentFindListOK) IsServerError() bool

IsServerError returns true when this deployment find list o k response has a 5xx status code

func (*DeploymentFindListOK) IsSuccess

func (o *DeploymentFindListOK) IsSuccess() bool

IsSuccess returns true when this deployment find list o k response has a 2xx status code

func (*DeploymentFindListOK) String

func (o *DeploymentFindListOK) String() string

type DeploymentFindListParams

type DeploymentFindListParams struct {

	/* DeploymentType.

	   Deployment type.
	*/
	DeploymentType *string

	/* State.

	   Deployment state.
	*/
	State *string

	/* Status.

	   Deployment status.
	*/
	Status *string

	/* SystemID.

	   ID of the system that the deployment is associated with.
	*/
	SystemID string

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

DeploymentFindListParams contains all the parameters to send to the API endpoint

for the deployment find list operation.

Typically these are written to a http.Request.

func NewDeploymentFindListParams

func NewDeploymentFindListParams() *DeploymentFindListParams

NewDeploymentFindListParams creates a new DeploymentFindListParams 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 NewDeploymentFindListParamsWithContext

func NewDeploymentFindListParamsWithContext(ctx context.Context) *DeploymentFindListParams

NewDeploymentFindListParamsWithContext creates a new DeploymentFindListParams object with the ability to set a context for a request.

func NewDeploymentFindListParamsWithHTTPClient

func NewDeploymentFindListParamsWithHTTPClient(client *http.Client) *DeploymentFindListParams

NewDeploymentFindListParamsWithHTTPClient creates a new DeploymentFindListParams object with the ability to set a custom HTTPClient for a request.

func NewDeploymentFindListParamsWithTimeout

func NewDeploymentFindListParamsWithTimeout(timeout time.Duration) *DeploymentFindListParams

NewDeploymentFindListParamsWithTimeout creates a new DeploymentFindListParams object with the ability to set a timeout on a request.

func (*DeploymentFindListParams) SetContext

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

SetContext adds the context to the deployment find list params

func (*DeploymentFindListParams) SetDefaults

func (o *DeploymentFindListParams) SetDefaults()

SetDefaults hydrates default values in the deployment find list params (not the query body).

All values with no default are reset to their zero value.

func (*DeploymentFindListParams) SetDeploymentType

func (o *DeploymentFindListParams) SetDeploymentType(deploymentType *string)

SetDeploymentType adds the deploymentType to the deployment find list params

func (*DeploymentFindListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the deployment find list params

func (*DeploymentFindListParams) SetState

func (o *DeploymentFindListParams) SetState(state *string)

SetState adds the state to the deployment find list params

func (*DeploymentFindListParams) SetStatus

func (o *DeploymentFindListParams) SetStatus(status *string)

SetStatus adds the status to the deployment find list params

func (*DeploymentFindListParams) SetSystemID

func (o *DeploymentFindListParams) SetSystemID(systemID string)

SetSystemID adds the systemId to the deployment find list params

func (*DeploymentFindListParams) SetTimeout

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

SetTimeout adds the timeout to the deployment find list params

func (*DeploymentFindListParams) WithContext

WithContext adds the context to the deployment find list params

func (*DeploymentFindListParams) WithDefaults

WithDefaults hydrates default values in the deployment find list params (not the query body).

All values with no default are reset to their zero value.

func (*DeploymentFindListParams) WithDeploymentType

func (o *DeploymentFindListParams) WithDeploymentType(deploymentType *string) *DeploymentFindListParams

WithDeploymentType adds the deploymentType to the deployment find list params

func (*DeploymentFindListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the deployment find list params

func (*DeploymentFindListParams) WithState

WithState adds the state to the deployment find list params

func (*DeploymentFindListParams) WithStatus

WithStatus adds the status to the deployment find list params

func (*DeploymentFindListParams) WithSystemID

func (o *DeploymentFindListParams) WithSystemID(systemID string) *DeploymentFindListParams

WithSystemID adds the systemID to the deployment find list params

func (*DeploymentFindListParams) WithTimeout

WithTimeout adds the timeout to the deployment find list params

func (*DeploymentFindListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeploymentFindListReader

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

DeploymentFindListReader is a Reader for the DeploymentFindList structure.

func (*DeploymentFindListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeploymentFindListUnauthorized

type DeploymentFindListUnauthorized struct {
	Payload *models.Response
}

DeploymentFindListUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewDeploymentFindListUnauthorized

func NewDeploymentFindListUnauthorized() *DeploymentFindListUnauthorized

NewDeploymentFindListUnauthorized creates a DeploymentFindListUnauthorized with default headers values

func (*DeploymentFindListUnauthorized) Code

Code gets the status code for the deployment find list unauthorized response

func (*DeploymentFindListUnauthorized) Error

func (*DeploymentFindListUnauthorized) GetPayload

func (*DeploymentFindListUnauthorized) IsClientError

func (o *DeploymentFindListUnauthorized) IsClientError() bool

IsClientError returns true when this deployment find list unauthorized response has a 4xx status code

func (*DeploymentFindListUnauthorized) IsCode

func (o *DeploymentFindListUnauthorized) IsCode(code int) bool

IsCode returns true when this deployment find list unauthorized response a status code equal to that given

func (*DeploymentFindListUnauthorized) IsRedirect

func (o *DeploymentFindListUnauthorized) IsRedirect() bool

IsRedirect returns true when this deployment find list unauthorized response has a 3xx status code

func (*DeploymentFindListUnauthorized) IsServerError

func (o *DeploymentFindListUnauthorized) IsServerError() bool

IsServerError returns true when this deployment find list unauthorized response has a 5xx status code

func (*DeploymentFindListUnauthorized) IsSuccess

func (o *DeploymentFindListUnauthorized) IsSuccess() bool

IsSuccess returns true when this deployment find list unauthorized response has a 2xx status code

func (*DeploymentFindListUnauthorized) String

type DeploymentUpdateBadRequest

type DeploymentUpdateBadRequest struct {
	Payload *models.Response
}

DeploymentUpdateBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeploymentUpdateBadRequest

func NewDeploymentUpdateBadRequest() *DeploymentUpdateBadRequest

NewDeploymentUpdateBadRequest creates a DeploymentUpdateBadRequest with default headers values

func (*DeploymentUpdateBadRequest) Code

func (o *DeploymentUpdateBadRequest) Code() int

Code gets the status code for the deployment update bad request response

func (*DeploymentUpdateBadRequest) Error

func (*DeploymentUpdateBadRequest) GetPayload

func (o *DeploymentUpdateBadRequest) GetPayload() *models.Response

func (*DeploymentUpdateBadRequest) IsClientError

func (o *DeploymentUpdateBadRequest) IsClientError() bool

IsClientError returns true when this deployment update bad request response has a 4xx status code

func (*DeploymentUpdateBadRequest) IsCode

func (o *DeploymentUpdateBadRequest) IsCode(code int) bool

IsCode returns true when this deployment update bad request response a status code equal to that given

func (*DeploymentUpdateBadRequest) IsRedirect

func (o *DeploymentUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this deployment update bad request response has a 3xx status code

func (*DeploymentUpdateBadRequest) IsServerError

func (o *DeploymentUpdateBadRequest) IsServerError() bool

IsServerError returns true when this deployment update bad request response has a 5xx status code

func (*DeploymentUpdateBadRequest) IsSuccess

func (o *DeploymentUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this deployment update bad request response has a 2xx status code

func (*DeploymentUpdateBadRequest) String

func (o *DeploymentUpdateBadRequest) String() string

type DeploymentUpdateInternalServerError

type DeploymentUpdateInternalServerError struct {
	Payload *models.Response
}

DeploymentUpdateInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeploymentUpdateInternalServerError

func NewDeploymentUpdateInternalServerError() *DeploymentUpdateInternalServerError

NewDeploymentUpdateInternalServerError creates a DeploymentUpdateInternalServerError with default headers values

func (*DeploymentUpdateInternalServerError) Code

Code gets the status code for the deployment update internal server error response

func (*DeploymentUpdateInternalServerError) Error

func (*DeploymentUpdateInternalServerError) GetPayload

func (*DeploymentUpdateInternalServerError) IsClientError

func (o *DeploymentUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this deployment update internal server error response has a 4xx status code

func (*DeploymentUpdateInternalServerError) IsCode

IsCode returns true when this deployment update internal server error response a status code equal to that given

func (*DeploymentUpdateInternalServerError) IsRedirect

func (o *DeploymentUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this deployment update internal server error response has a 3xx status code

func (*DeploymentUpdateInternalServerError) IsServerError

func (o *DeploymentUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this deployment update internal server error response has a 5xx status code

func (*DeploymentUpdateInternalServerError) IsSuccess

IsSuccess returns true when this deployment update internal server error response has a 2xx status code

func (*DeploymentUpdateInternalServerError) String

type DeploymentUpdateOK

type DeploymentUpdateOK struct {
	Payload *models.Response
}

DeploymentUpdateOK describes a response with status code 200, with default header values.

OK

func NewDeploymentUpdateOK

func NewDeploymentUpdateOK() *DeploymentUpdateOK

NewDeploymentUpdateOK creates a DeploymentUpdateOK with default headers values

func (*DeploymentUpdateOK) Code

func (o *DeploymentUpdateOK) Code() int

Code gets the status code for the deployment update o k response

func (*DeploymentUpdateOK) Error

func (o *DeploymentUpdateOK) Error() string

func (*DeploymentUpdateOK) GetPayload

func (o *DeploymentUpdateOK) GetPayload() *models.Response

func (*DeploymentUpdateOK) IsClientError

func (o *DeploymentUpdateOK) IsClientError() bool

IsClientError returns true when this deployment update o k response has a 4xx status code

func (*DeploymentUpdateOK) IsCode

func (o *DeploymentUpdateOK) IsCode(code int) bool

IsCode returns true when this deployment update o k response a status code equal to that given

func (*DeploymentUpdateOK) IsRedirect

func (o *DeploymentUpdateOK) IsRedirect() bool

IsRedirect returns true when this deployment update o k response has a 3xx status code

func (*DeploymentUpdateOK) IsServerError

func (o *DeploymentUpdateOK) IsServerError() bool

IsServerError returns true when this deployment update o k response has a 5xx status code

func (*DeploymentUpdateOK) IsSuccess

func (o *DeploymentUpdateOK) IsSuccess() bool

IsSuccess returns true when this deployment update o k response has a 2xx status code

func (*DeploymentUpdateOK) String

func (o *DeploymentUpdateOK) String() string

type DeploymentUpdateParams

type DeploymentUpdateParams struct {

	/* Body.

	   Deployment list to be updated in Alfabet.
	*/
	Body *models.DeploymentUpdateRequest

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

DeploymentUpdateParams contains all the parameters to send to the API endpoint

for the deployment update operation.

Typically these are written to a http.Request.

func NewDeploymentUpdateParams

func NewDeploymentUpdateParams() *DeploymentUpdateParams

NewDeploymentUpdateParams creates a new DeploymentUpdateParams 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 NewDeploymentUpdateParamsWithContext

func NewDeploymentUpdateParamsWithContext(ctx context.Context) *DeploymentUpdateParams

NewDeploymentUpdateParamsWithContext creates a new DeploymentUpdateParams object with the ability to set a context for a request.

func NewDeploymentUpdateParamsWithHTTPClient

func NewDeploymentUpdateParamsWithHTTPClient(client *http.Client) *DeploymentUpdateParams

NewDeploymentUpdateParamsWithHTTPClient creates a new DeploymentUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewDeploymentUpdateParamsWithTimeout

func NewDeploymentUpdateParamsWithTimeout(timeout time.Duration) *DeploymentUpdateParams

NewDeploymentUpdateParamsWithTimeout creates a new DeploymentUpdateParams object with the ability to set a timeout on a request.

func (*DeploymentUpdateParams) SetBody

SetBody adds the body to the deployment update params

func (*DeploymentUpdateParams) SetContext

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

SetContext adds the context to the deployment update params

func (*DeploymentUpdateParams) SetDefaults

func (o *DeploymentUpdateParams) SetDefaults()

SetDefaults hydrates default values in the deployment update params (not the query body).

All values with no default are reset to their zero value.

func (*DeploymentUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the deployment update params

func (*DeploymentUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the deployment update params

func (*DeploymentUpdateParams) WithBody

WithBody adds the body to the deployment update params

func (*DeploymentUpdateParams) WithContext

WithContext adds the context to the deployment update params

func (*DeploymentUpdateParams) WithDefaults

WithDefaults hydrates default values in the deployment update params (not the query body).

All values with no default are reset to their zero value.

func (*DeploymentUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the deployment update params

func (*DeploymentUpdateParams) WithTimeout

WithTimeout adds the timeout to the deployment update params

func (*DeploymentUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeploymentUpdateReader

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

DeploymentUpdateReader is a Reader for the DeploymentUpdate structure.

func (*DeploymentUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeploymentUpdateUnauthorized

type DeploymentUpdateUnauthorized struct {
	Payload *models.Response
}

DeploymentUpdateUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewDeploymentUpdateUnauthorized

func NewDeploymentUpdateUnauthorized() *DeploymentUpdateUnauthorized

NewDeploymentUpdateUnauthorized creates a DeploymentUpdateUnauthorized with default headers values

func (*DeploymentUpdateUnauthorized) Code

Code gets the status code for the deployment update unauthorized response

func (*DeploymentUpdateUnauthorized) Error

func (*DeploymentUpdateUnauthorized) GetPayload

func (o *DeploymentUpdateUnauthorized) GetPayload() *models.Response

func (*DeploymentUpdateUnauthorized) IsClientError

func (o *DeploymentUpdateUnauthorized) IsClientError() bool

IsClientError returns true when this deployment update unauthorized response has a 4xx status code

func (*DeploymentUpdateUnauthorized) IsCode

func (o *DeploymentUpdateUnauthorized) IsCode(code int) bool

IsCode returns true when this deployment update unauthorized response a status code equal to that given

func (*DeploymentUpdateUnauthorized) IsRedirect

func (o *DeploymentUpdateUnauthorized) IsRedirect() bool

IsRedirect returns true when this deployment update unauthorized response has a 3xx status code

func (*DeploymentUpdateUnauthorized) IsServerError

func (o *DeploymentUpdateUnauthorized) IsServerError() bool

IsServerError returns true when this deployment update unauthorized response has a 5xx status code

func (*DeploymentUpdateUnauthorized) IsSuccess

func (o *DeploymentUpdateUnauthorized) IsSuccess() bool

IsSuccess returns true when this deployment update unauthorized response has a 2xx status code

func (*DeploymentUpdateUnauthorized) String

Jump to

Keyboard shortcuts

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