environments

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 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 environments API

func (*Client) CreateEnvironment

func (a *Client) CreateEnvironment(params *CreateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter) (*CreateEnvironmentCreated, error)

CreateEnvironment creates a new environment

Creates a new environment.

func (*Client) DeleteEnvironment

func (a *Client) DeleteEnvironment(params *DeleteEnvironmentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteEnvironmentNoContent, error)

DeleteEnvironment deletes an environment

Deletes an environment.

func (*Client) GetEnvironment

func (a *Client) GetEnvironment(params *GetEnvironmentParams, authInfo runtime.ClientAuthInfoWriter) (*GetEnvironmentOK, error)

GetEnvironment retrieves details and resource summary for an environment

Retrieves details and resource summary for an environment.

func (*Client) GetEnvironmentRules

func (a *Client) GetEnvironmentRules(params *GetEnvironmentRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetEnvironmentRulesOK, error)

GetEnvironmentRules retrieves active rules for an environment

Returns the rules that would be applied to this environment according to its current environment settings.

func (*Client) ListEnvironments

func (a *Client) ListEnvironments(params *ListEnvironmentsParams, authInfo runtime.ClientAuthInfoWriter) (*ListEnvironmentsOK, error)

ListEnvironments lists details for all environments

Lists details for all environments.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateEnvironment

func (a *Client) UpdateEnvironment(params *UpdateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateEnvironmentOK, error)

UpdateEnvironment updates an environment

Updates an environment.

type ClientService

type ClientService interface {
	CreateEnvironment(params *CreateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter) (*CreateEnvironmentCreated, error)

	DeleteEnvironment(params *DeleteEnvironmentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteEnvironmentNoContent, error)

	GetEnvironment(params *GetEnvironmentParams, authInfo runtime.ClientAuthInfoWriter) (*GetEnvironmentOK, error)

	GetEnvironmentRules(params *GetEnvironmentRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetEnvironmentRulesOK, error)

	ListEnvironments(params *ListEnvironmentsParams, authInfo runtime.ClientAuthInfoWriter) (*ListEnvironmentsOK, error)

	UpdateEnvironment(params *UpdateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateEnvironmentOK, 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 environments API client.

type CreateEnvironmentBadRequest

type CreateEnvironmentBadRequest struct {
	Payload *models.BadRequestError
}

CreateEnvironmentBadRequest handles this case with default header values.

BadRequestError

func NewCreateEnvironmentBadRequest

func NewCreateEnvironmentBadRequest() *CreateEnvironmentBadRequest

NewCreateEnvironmentBadRequest creates a CreateEnvironmentBadRequest with default headers values

func (*CreateEnvironmentBadRequest) Error

func (*CreateEnvironmentBadRequest) GetPayload

type CreateEnvironmentCreated

type CreateEnvironmentCreated struct {
	Payload *models.Environment
}

CreateEnvironmentCreated handles this case with default header values.

New environment details.

func NewCreateEnvironmentCreated

func NewCreateEnvironmentCreated() *CreateEnvironmentCreated

NewCreateEnvironmentCreated creates a CreateEnvironmentCreated with default headers values

func (*CreateEnvironmentCreated) Error

func (o *CreateEnvironmentCreated) Error() string

func (*CreateEnvironmentCreated) GetPayload

func (o *CreateEnvironmentCreated) GetPayload() *models.Environment

type CreateEnvironmentForbidden

type CreateEnvironmentForbidden struct {
	Payload *models.AuthorizationError
}

CreateEnvironmentForbidden handles this case with default header values.

AuthorizationError

func NewCreateEnvironmentForbidden

func NewCreateEnvironmentForbidden() *CreateEnvironmentForbidden

NewCreateEnvironmentForbidden creates a CreateEnvironmentForbidden with default headers values

func (*CreateEnvironmentForbidden) Error

func (*CreateEnvironmentForbidden) GetPayload

type CreateEnvironmentInternalServerError

type CreateEnvironmentInternalServerError struct {
	Payload *models.InternalServerError
}

CreateEnvironmentInternalServerError handles this case with default header values.

InternalServerError

func NewCreateEnvironmentInternalServerError

func NewCreateEnvironmentInternalServerError() *CreateEnvironmentInternalServerError

NewCreateEnvironmentInternalServerError creates a CreateEnvironmentInternalServerError with default headers values

func (*CreateEnvironmentInternalServerError) Error

func (*CreateEnvironmentInternalServerError) GetPayload

type CreateEnvironmentNotFound

type CreateEnvironmentNotFound struct {
	Payload *models.NotFoundError
}

CreateEnvironmentNotFound handles this case with default header values.

NotFoundError

func NewCreateEnvironmentNotFound

func NewCreateEnvironmentNotFound() *CreateEnvironmentNotFound

NewCreateEnvironmentNotFound creates a CreateEnvironmentNotFound with default headers values

func (*CreateEnvironmentNotFound) Error

func (o *CreateEnvironmentNotFound) Error() string

func (*CreateEnvironmentNotFound) GetPayload

type CreateEnvironmentParams

type CreateEnvironmentParams struct {

	/*Environment
	  Configuration options for the new environment.

	*/
	Environment *models.CreateEnvironmentInput

	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) SetContext

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

SetContext adds the context to the create environment params

func (*CreateEnvironmentParams) SetEnvironment

func (o *CreateEnvironmentParams) SetEnvironment(environment *models.CreateEnvironmentInput)

SetEnvironment adds the environment 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) WithContext

WithContext adds the context to the create environment params

func (*CreateEnvironmentParams) WithEnvironment

WithEnvironment adds the environment 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

WithTimeout adds the timeout to the create environment params

func (*CreateEnvironmentParams) WriteToRequest

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 CreateEnvironmentUnauthorized

type CreateEnvironmentUnauthorized struct {
	Payload *models.AuthenticationError
}

CreateEnvironmentUnauthorized handles this case with default header values.

AuthenticationError

func NewCreateEnvironmentUnauthorized

func NewCreateEnvironmentUnauthorized() *CreateEnvironmentUnauthorized

NewCreateEnvironmentUnauthorized creates a CreateEnvironmentUnauthorized with default headers values

func (*CreateEnvironmentUnauthorized) Error

func (*CreateEnvironmentUnauthorized) GetPayload

type DeleteEnvironmentBadRequest

type DeleteEnvironmentBadRequest struct {
	Payload *models.BadRequestError
}

DeleteEnvironmentBadRequest handles this case with default header values.

BadRequestError

func NewDeleteEnvironmentBadRequest

func NewDeleteEnvironmentBadRequest() *DeleteEnvironmentBadRequest

NewDeleteEnvironmentBadRequest creates a DeleteEnvironmentBadRequest with default headers values

func (*DeleteEnvironmentBadRequest) Error

func (*DeleteEnvironmentBadRequest) GetPayload

type DeleteEnvironmentForbidden

type DeleteEnvironmentForbidden struct {
	Payload *models.AuthorizationError
}

DeleteEnvironmentForbidden handles this case with default header values.

AuthorizationError

func NewDeleteEnvironmentForbidden

func NewDeleteEnvironmentForbidden() *DeleteEnvironmentForbidden

NewDeleteEnvironmentForbidden creates a DeleteEnvironmentForbidden with default headers values

func (*DeleteEnvironmentForbidden) Error

func (*DeleteEnvironmentForbidden) GetPayload

type DeleteEnvironmentInternalServerError

type DeleteEnvironmentInternalServerError struct {
	Payload *models.InternalServerError
}

DeleteEnvironmentInternalServerError handles this case with default header values.

InternalServerError

func NewDeleteEnvironmentInternalServerError

func NewDeleteEnvironmentInternalServerError() *DeleteEnvironmentInternalServerError

NewDeleteEnvironmentInternalServerError creates a DeleteEnvironmentInternalServerError with default headers values

func (*DeleteEnvironmentInternalServerError) Error

func (*DeleteEnvironmentInternalServerError) GetPayload

type DeleteEnvironmentNoContent

type DeleteEnvironmentNoContent struct {
}

DeleteEnvironmentNoContent handles this case with default header values.

Environment deleted.

func NewDeleteEnvironmentNoContent

func NewDeleteEnvironmentNoContent() *DeleteEnvironmentNoContent

NewDeleteEnvironmentNoContent creates a DeleteEnvironmentNoContent with default headers values

func (*DeleteEnvironmentNoContent) Error

type DeleteEnvironmentNotFound

type DeleteEnvironmentNotFound struct {
	Payload *models.NotFoundError
}

DeleteEnvironmentNotFound handles this case with default header values.

NotFoundError

func NewDeleteEnvironmentNotFound

func NewDeleteEnvironmentNotFound() *DeleteEnvironmentNotFound

NewDeleteEnvironmentNotFound creates a DeleteEnvironmentNotFound with default headers values

func (*DeleteEnvironmentNotFound) Error

func (o *DeleteEnvironmentNotFound) Error() string

func (*DeleteEnvironmentNotFound) GetPayload

type DeleteEnvironmentParams

type DeleteEnvironmentParams struct {

	/*EnvironmentID
	  Environment ID.

	*/
	EnvironmentID 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) SetEnvironmentID

func (o *DeleteEnvironmentParams) SetEnvironmentID(environmentID string)

SetEnvironmentID adds the environmentId 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) SetTimeout

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

SetTimeout adds the timeout to the delete environment params

func (*DeleteEnvironmentParams) WithContext

WithContext adds the context to the delete environment params

func (*DeleteEnvironmentParams) WithEnvironmentID

func (o *DeleteEnvironmentParams) WithEnvironmentID(environmentID string) *DeleteEnvironmentParams

WithEnvironmentID adds the environmentID 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) WithTimeout

WithTimeout adds the timeout to the delete environment params

func (*DeleteEnvironmentParams) WriteToRequest

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 DeleteEnvironmentUnauthorized

type DeleteEnvironmentUnauthorized struct {
	Payload *models.AuthenticationError
}

DeleteEnvironmentUnauthorized handles this case with default header values.

AuthenticationError

func NewDeleteEnvironmentUnauthorized

func NewDeleteEnvironmentUnauthorized() *DeleteEnvironmentUnauthorized

NewDeleteEnvironmentUnauthorized creates a DeleteEnvironmentUnauthorized with default headers values

func (*DeleteEnvironmentUnauthorized) Error

func (*DeleteEnvironmentUnauthorized) GetPayload

type GetEnvironmentBadRequest

type GetEnvironmentBadRequest struct {
	Payload *models.BadRequestError
}

GetEnvironmentBadRequest handles this case with default header values.

BadRequestError

func NewGetEnvironmentBadRequest

func NewGetEnvironmentBadRequest() *GetEnvironmentBadRequest

NewGetEnvironmentBadRequest creates a GetEnvironmentBadRequest with default headers values

func (*GetEnvironmentBadRequest) Error

func (o *GetEnvironmentBadRequest) Error() string

func (*GetEnvironmentBadRequest) GetPayload

type GetEnvironmentForbidden

type GetEnvironmentForbidden struct {
	Payload *models.AuthorizationError
}

GetEnvironmentForbidden handles this case with default header values.

AuthorizationError

func NewGetEnvironmentForbidden

func NewGetEnvironmentForbidden() *GetEnvironmentForbidden

NewGetEnvironmentForbidden creates a GetEnvironmentForbidden with default headers values

func (*GetEnvironmentForbidden) Error

func (o *GetEnvironmentForbidden) Error() string

func (*GetEnvironmentForbidden) GetPayload

type GetEnvironmentInternalServerError

type GetEnvironmentInternalServerError struct {
	Payload *models.InternalServerError
}

GetEnvironmentInternalServerError handles this case with default header values.

InternalServerError

func NewGetEnvironmentInternalServerError

func NewGetEnvironmentInternalServerError() *GetEnvironmentInternalServerError

NewGetEnvironmentInternalServerError creates a GetEnvironmentInternalServerError with default headers values

func (*GetEnvironmentInternalServerError) Error

func (*GetEnvironmentInternalServerError) GetPayload

type GetEnvironmentNotFound

type GetEnvironmentNotFound struct {
	Payload *models.NotFoundError
}

GetEnvironmentNotFound handles this case with default header values.

NotFoundError

func NewGetEnvironmentNotFound

func NewGetEnvironmentNotFound() *GetEnvironmentNotFound

NewGetEnvironmentNotFound creates a GetEnvironmentNotFound with default headers values

func (*GetEnvironmentNotFound) Error

func (o *GetEnvironmentNotFound) Error() string

func (*GetEnvironmentNotFound) GetPayload

func (o *GetEnvironmentNotFound) GetPayload() *models.NotFoundError

type GetEnvironmentOK

type GetEnvironmentOK struct {
	Payload *models.EnvironmentWithSummary
}

GetEnvironmentOK handles this case with default header values.

Environment details.

func NewGetEnvironmentOK

func NewGetEnvironmentOK() *GetEnvironmentOK

NewGetEnvironmentOK creates a GetEnvironmentOK with default headers values

func (*GetEnvironmentOK) Error

func (o *GetEnvironmentOK) Error() string

func (*GetEnvironmentOK) GetPayload

type GetEnvironmentParams

type GetEnvironmentParams struct {

	/*EnvironmentID
	  Environment ID.

	*/
	EnvironmentID 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) SetEnvironmentID

func (o *GetEnvironmentParams) SetEnvironmentID(environmentID string)

SetEnvironmentID adds the environmentId 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) SetTimeout

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

SetTimeout adds the timeout to the get environment params

func (*GetEnvironmentParams) WithContext

WithContext adds the context to the get environment params

func (*GetEnvironmentParams) WithEnvironmentID

func (o *GetEnvironmentParams) WithEnvironmentID(environmentID string) *GetEnvironmentParams

WithEnvironmentID adds the environmentID 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) 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 GetEnvironmentRulesBadRequest

type GetEnvironmentRulesBadRequest struct {
	Payload *models.BadRequestError
}

GetEnvironmentRulesBadRequest handles this case with default header values.

BadRequestError

func NewGetEnvironmentRulesBadRequest

func NewGetEnvironmentRulesBadRequest() *GetEnvironmentRulesBadRequest

NewGetEnvironmentRulesBadRequest creates a GetEnvironmentRulesBadRequest with default headers values

func (*GetEnvironmentRulesBadRequest) Error

func (*GetEnvironmentRulesBadRequest) GetPayload

type GetEnvironmentRulesForbidden

type GetEnvironmentRulesForbidden struct {
	Payload *models.AuthorizationError
}

GetEnvironmentRulesForbidden handles this case with default header values.

AuthorizationError

func NewGetEnvironmentRulesForbidden

func NewGetEnvironmentRulesForbidden() *GetEnvironmentRulesForbidden

NewGetEnvironmentRulesForbidden creates a GetEnvironmentRulesForbidden with default headers values

func (*GetEnvironmentRulesForbidden) Error

func (*GetEnvironmentRulesForbidden) GetPayload

type GetEnvironmentRulesInternalServerError

type GetEnvironmentRulesInternalServerError struct {
	Payload *models.InternalServerError
}

GetEnvironmentRulesInternalServerError handles this case with default header values.

InternalServerError

func NewGetEnvironmentRulesInternalServerError

func NewGetEnvironmentRulesInternalServerError() *GetEnvironmentRulesInternalServerError

NewGetEnvironmentRulesInternalServerError creates a GetEnvironmentRulesInternalServerError with default headers values

func (*GetEnvironmentRulesInternalServerError) Error

func (*GetEnvironmentRulesInternalServerError) GetPayload

type GetEnvironmentRulesNotFound

type GetEnvironmentRulesNotFound struct {
	Payload *models.NotFoundError
}

GetEnvironmentRulesNotFound handles this case with default header values.

NotFoundError

func NewGetEnvironmentRulesNotFound

func NewGetEnvironmentRulesNotFound() *GetEnvironmentRulesNotFound

NewGetEnvironmentRulesNotFound creates a GetEnvironmentRulesNotFound with default headers values

func (*GetEnvironmentRulesNotFound) Error

func (*GetEnvironmentRulesNotFound) GetPayload

type GetEnvironmentRulesOK

type GetEnvironmentRulesOK struct {
	Payload *models.EnvironmentRules
}

GetEnvironmentRulesOK handles this case with default header values.

Environment rules.

func NewGetEnvironmentRulesOK

func NewGetEnvironmentRulesOK() *GetEnvironmentRulesOK

NewGetEnvironmentRulesOK creates a GetEnvironmentRulesOK with default headers values

func (*GetEnvironmentRulesOK) Error

func (o *GetEnvironmentRulesOK) Error() string

func (*GetEnvironmentRulesOK) GetPayload

type GetEnvironmentRulesParams

type GetEnvironmentRulesParams struct {

	/*EnvironmentID
	  Environment ID.

	*/
	EnvironmentID string

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

GetEnvironmentRulesParams contains all the parameters to send to the API endpoint for the get environment rules operation typically these are written to a http.Request

func NewGetEnvironmentRulesParams

func NewGetEnvironmentRulesParams() *GetEnvironmentRulesParams

NewGetEnvironmentRulesParams creates a new GetEnvironmentRulesParams object with the default values initialized.

func NewGetEnvironmentRulesParamsWithContext

func NewGetEnvironmentRulesParamsWithContext(ctx context.Context) *GetEnvironmentRulesParams

NewGetEnvironmentRulesParamsWithContext creates a new GetEnvironmentRulesParams object with the default values initialized, and the ability to set a context for a request

func NewGetEnvironmentRulesParamsWithHTTPClient

func NewGetEnvironmentRulesParamsWithHTTPClient(client *http.Client) *GetEnvironmentRulesParams

NewGetEnvironmentRulesParamsWithHTTPClient creates a new GetEnvironmentRulesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetEnvironmentRulesParamsWithTimeout

func NewGetEnvironmentRulesParamsWithTimeout(timeout time.Duration) *GetEnvironmentRulesParams

NewGetEnvironmentRulesParamsWithTimeout creates a new GetEnvironmentRulesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetEnvironmentRulesParams) SetContext

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

SetContext adds the context to the get environment rules params

func (*GetEnvironmentRulesParams) SetEnvironmentID

func (o *GetEnvironmentRulesParams) SetEnvironmentID(environmentID string)

SetEnvironmentID adds the environmentId to the get environment rules params

func (*GetEnvironmentRulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get environment rules params

func (*GetEnvironmentRulesParams) SetTimeout

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

SetTimeout adds the timeout to the get environment rules params

func (*GetEnvironmentRulesParams) WithContext

WithContext adds the context to the get environment rules params

func (*GetEnvironmentRulesParams) WithEnvironmentID

func (o *GetEnvironmentRulesParams) WithEnvironmentID(environmentID string) *GetEnvironmentRulesParams

WithEnvironmentID adds the environmentID to the get environment rules params

func (*GetEnvironmentRulesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get environment rules params

func (*GetEnvironmentRulesParams) WithTimeout

WithTimeout adds the timeout to the get environment rules params

func (*GetEnvironmentRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEnvironmentRulesReader

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

GetEnvironmentRulesReader is a Reader for the GetEnvironmentRules structure.

func (*GetEnvironmentRulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEnvironmentRulesUnauthorized

type GetEnvironmentRulesUnauthorized struct {
	Payload *models.AuthenticationError
}

GetEnvironmentRulesUnauthorized handles this case with default header values.

AuthenticationError

func NewGetEnvironmentRulesUnauthorized

func NewGetEnvironmentRulesUnauthorized() *GetEnvironmentRulesUnauthorized

NewGetEnvironmentRulesUnauthorized creates a GetEnvironmentRulesUnauthorized with default headers values

func (*GetEnvironmentRulesUnauthorized) Error

func (*GetEnvironmentRulesUnauthorized) GetPayload

type GetEnvironmentUnauthorized

type GetEnvironmentUnauthorized struct {
	Payload *models.AuthenticationError
}

GetEnvironmentUnauthorized handles this case with default header values.

AuthenticationError

func NewGetEnvironmentUnauthorized

func NewGetEnvironmentUnauthorized() *GetEnvironmentUnauthorized

NewGetEnvironmentUnauthorized creates a GetEnvironmentUnauthorized with default headers values

func (*GetEnvironmentUnauthorized) Error

func (*GetEnvironmentUnauthorized) GetPayload

type ListEnvironmentsBadRequest

type ListEnvironmentsBadRequest struct {
	Payload *models.BadRequestError
}

ListEnvironmentsBadRequest handles this case with default header values.

BadRequestError

func NewListEnvironmentsBadRequest

func NewListEnvironmentsBadRequest() *ListEnvironmentsBadRequest

NewListEnvironmentsBadRequest creates a ListEnvironmentsBadRequest with default headers values

func (*ListEnvironmentsBadRequest) Error

func (*ListEnvironmentsBadRequest) GetPayload

type ListEnvironmentsForbidden

type ListEnvironmentsForbidden struct {
	Payload *models.AuthorizationError
}

ListEnvironmentsForbidden handles this case with default header values.

AuthorizationError

func NewListEnvironmentsForbidden

func NewListEnvironmentsForbidden() *ListEnvironmentsForbidden

NewListEnvironmentsForbidden creates a ListEnvironmentsForbidden with default headers values

func (*ListEnvironmentsForbidden) Error

func (o *ListEnvironmentsForbidden) Error() string

func (*ListEnvironmentsForbidden) GetPayload

type ListEnvironmentsInternalServerError

type ListEnvironmentsInternalServerError struct {
	Payload *models.InternalServerError
}

ListEnvironmentsInternalServerError handles this case with default header values.

InternalServerError

func NewListEnvironmentsInternalServerError

func NewListEnvironmentsInternalServerError() *ListEnvironmentsInternalServerError

NewListEnvironmentsInternalServerError creates a ListEnvironmentsInternalServerError with default headers values

func (*ListEnvironmentsInternalServerError) Error

func (*ListEnvironmentsInternalServerError) GetPayload

type ListEnvironmentsOK

type ListEnvironmentsOK struct {
	Payload *models.Environments
}

ListEnvironmentsOK handles this case with default header values.

List of environments and details.

func NewListEnvironmentsOK

func NewListEnvironmentsOK() *ListEnvironmentsOK

NewListEnvironmentsOK creates a ListEnvironmentsOK with default headers values

func (*ListEnvironmentsOK) Error

func (o *ListEnvironmentsOK) Error() string

func (*ListEnvironmentsOK) GetPayload

func (o *ListEnvironmentsOK) GetPayload() *models.Environments

type ListEnvironmentsParams

type ListEnvironmentsParams struct {

	/*MaxItems
	  Maximum number of items to return.

	*/
	MaxItems *int64
	/*Offset
	  Number of items to skip before returning. This parameter is used when the number of items spans multiple pages.

	*/
	Offset *int64
	/*OrderBy
	  Field to sort the items by.

	*/
	OrderBy *string
	/*OrderDirection
	  Direction to sort the items in.

	*/
	OrderDirection *string
	/*Query
	  A stringified JSON array of search parameters.

	*/
	Query *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) 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) SetMaxItems

func (o *ListEnvironmentsParams) SetMaxItems(maxItems *int64)

SetMaxItems adds the maxItems to the list environments params

func (*ListEnvironmentsParams) SetOffset

func (o *ListEnvironmentsParams) SetOffset(offset *int64)

SetOffset adds the offset to the list environments params

func (*ListEnvironmentsParams) SetOrderBy

func (o *ListEnvironmentsParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the list environments params

func (*ListEnvironmentsParams) SetOrderDirection

func (o *ListEnvironmentsParams) SetOrderDirection(orderDirection *string)

SetOrderDirection adds the orderDirection to the list environments params

func (*ListEnvironmentsParams) SetQuery

func (o *ListEnvironmentsParams) SetQuery(query *string)

SetQuery adds the query 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) WithContext

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) WithMaxItems

func (o *ListEnvironmentsParams) WithMaxItems(maxItems *int64) *ListEnvironmentsParams

WithMaxItems adds the maxItems to the list environments params

func (*ListEnvironmentsParams) WithOffset

func (o *ListEnvironmentsParams) WithOffset(offset *int64) *ListEnvironmentsParams

WithOffset adds the offset to the list environments params

func (*ListEnvironmentsParams) WithOrderBy

func (o *ListEnvironmentsParams) WithOrderBy(orderBy *string) *ListEnvironmentsParams

WithOrderBy adds the orderBy to the list environments params

func (*ListEnvironmentsParams) WithOrderDirection

func (o *ListEnvironmentsParams) WithOrderDirection(orderDirection *string) *ListEnvironmentsParams

WithOrderDirection adds the orderDirection to the list environments params

func (*ListEnvironmentsParams) WithQuery

WithQuery adds the query to the list environments params

func (*ListEnvironmentsParams) WithTimeout

WithTimeout adds the timeout to the list environments params

func (*ListEnvironmentsParams) WriteToRequest

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 ListEnvironmentsUnauthorized

type ListEnvironmentsUnauthorized struct {
	Payload *models.AuthenticationError
}

ListEnvironmentsUnauthorized handles this case with default header values.

AuthenticationError

func NewListEnvironmentsUnauthorized

func NewListEnvironmentsUnauthorized() *ListEnvironmentsUnauthorized

NewListEnvironmentsUnauthorized creates a ListEnvironmentsUnauthorized with default headers values

func (*ListEnvironmentsUnauthorized) Error

func (*ListEnvironmentsUnauthorized) GetPayload

type UpdateEnvironmentBadRequest

type UpdateEnvironmentBadRequest struct {
	Payload *models.BadRequestError
}

UpdateEnvironmentBadRequest handles this case with default header values.

BadRequestError

func NewUpdateEnvironmentBadRequest

func NewUpdateEnvironmentBadRequest() *UpdateEnvironmentBadRequest

NewUpdateEnvironmentBadRequest creates a UpdateEnvironmentBadRequest with default headers values

func (*UpdateEnvironmentBadRequest) Error

func (*UpdateEnvironmentBadRequest) GetPayload

type UpdateEnvironmentForbidden

type UpdateEnvironmentForbidden struct {
	Payload *models.AuthorizationError
}

UpdateEnvironmentForbidden handles this case with default header values.

AuthorizationError

func NewUpdateEnvironmentForbidden

func NewUpdateEnvironmentForbidden() *UpdateEnvironmentForbidden

NewUpdateEnvironmentForbidden creates a UpdateEnvironmentForbidden with default headers values

func (*UpdateEnvironmentForbidden) Error

func (*UpdateEnvironmentForbidden) GetPayload

type UpdateEnvironmentInternalServerError

type UpdateEnvironmentInternalServerError struct {
	Payload *models.InternalServerError
}

UpdateEnvironmentInternalServerError handles this case with default header values.

InternalServerError

func NewUpdateEnvironmentInternalServerError

func NewUpdateEnvironmentInternalServerError() *UpdateEnvironmentInternalServerError

NewUpdateEnvironmentInternalServerError creates a UpdateEnvironmentInternalServerError with default headers values

func (*UpdateEnvironmentInternalServerError) Error

func (*UpdateEnvironmentInternalServerError) GetPayload

type UpdateEnvironmentNotFound

type UpdateEnvironmentNotFound struct {
	Payload *models.NotFoundError
}

UpdateEnvironmentNotFound handles this case with default header values.

NotFoundError

func NewUpdateEnvironmentNotFound

func NewUpdateEnvironmentNotFound() *UpdateEnvironmentNotFound

NewUpdateEnvironmentNotFound creates a UpdateEnvironmentNotFound with default headers values

func (*UpdateEnvironmentNotFound) Error

func (o *UpdateEnvironmentNotFound) Error() string

func (*UpdateEnvironmentNotFound) GetPayload

type UpdateEnvironmentOK

type UpdateEnvironmentOK struct {
	Payload *models.Environment
}

UpdateEnvironmentOK handles this case with default header values.

Updated environment details.

func NewUpdateEnvironmentOK

func NewUpdateEnvironmentOK() *UpdateEnvironmentOK

NewUpdateEnvironmentOK creates a UpdateEnvironmentOK with default headers values

func (*UpdateEnvironmentOK) Error

func (o *UpdateEnvironmentOK) Error() string

func (*UpdateEnvironmentOK) GetPayload

func (o *UpdateEnvironmentOK) GetPayload() *models.Environment

type UpdateEnvironmentParams

type UpdateEnvironmentParams struct {

	/*Environment
	  Environment details to update.

	*/
	Environment *models.UpdateEnvironmentInput
	/*EnvironmentID
	  Environment ID.

	*/
	EnvironmentID string

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

UpdateEnvironmentParams contains all the parameters to send to the API endpoint for the update environment operation typically these are written to a http.Request

func NewUpdateEnvironmentParams

func NewUpdateEnvironmentParams() *UpdateEnvironmentParams

NewUpdateEnvironmentParams creates a new UpdateEnvironmentParams object with the default values initialized.

func NewUpdateEnvironmentParamsWithContext

func NewUpdateEnvironmentParamsWithContext(ctx context.Context) *UpdateEnvironmentParams

NewUpdateEnvironmentParamsWithContext creates a new UpdateEnvironmentParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateEnvironmentParamsWithHTTPClient

func NewUpdateEnvironmentParamsWithHTTPClient(client *http.Client) *UpdateEnvironmentParams

NewUpdateEnvironmentParamsWithHTTPClient creates a new UpdateEnvironmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateEnvironmentParamsWithTimeout

func NewUpdateEnvironmentParamsWithTimeout(timeout time.Duration) *UpdateEnvironmentParams

NewUpdateEnvironmentParamsWithTimeout creates a new UpdateEnvironmentParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateEnvironmentParams) SetContext

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

SetContext adds the context to the update environment params

func (*UpdateEnvironmentParams) SetEnvironment

func (o *UpdateEnvironmentParams) SetEnvironment(environment *models.UpdateEnvironmentInput)

SetEnvironment adds the environment to the update environment params

func (*UpdateEnvironmentParams) SetEnvironmentID

func (o *UpdateEnvironmentParams) SetEnvironmentID(environmentID string)

SetEnvironmentID adds the environmentId to the update environment params

func (*UpdateEnvironmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update environment params

func (*UpdateEnvironmentParams) SetTimeout

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

SetTimeout adds the timeout to the update environment params

func (*UpdateEnvironmentParams) WithContext

WithContext adds the context to the update environment params

func (*UpdateEnvironmentParams) WithEnvironment

WithEnvironment adds the environment to the update environment params

func (*UpdateEnvironmentParams) WithEnvironmentID

func (o *UpdateEnvironmentParams) WithEnvironmentID(environmentID string) *UpdateEnvironmentParams

WithEnvironmentID adds the environmentID to the update environment params

func (*UpdateEnvironmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update environment params

func (*UpdateEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the update environment params

func (*UpdateEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateEnvironmentReader

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

UpdateEnvironmentReader is a Reader for the UpdateEnvironment structure.

func (*UpdateEnvironmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateEnvironmentUnauthorized

type UpdateEnvironmentUnauthorized struct {
	Payload *models.AuthenticationError
}

UpdateEnvironmentUnauthorized handles this case with default header values.

AuthenticationError

func NewUpdateEnvironmentUnauthorized

func NewUpdateEnvironmentUnauthorized() *UpdateEnvironmentUnauthorized

NewUpdateEnvironmentUnauthorized creates a UpdateEnvironmentUnauthorized with default headers values

func (*UpdateEnvironmentUnauthorized) Error

func (*UpdateEnvironmentUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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