Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateEnvironment(params *CreateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter) (*CreateEnvironmentCreated, error)
- func (a *Client) DeleteEnvironment(params *DeleteEnvironmentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteEnvironmentNoContent, error)
- func (a *Client) GetEnvironment(params *GetEnvironmentParams, authInfo runtime.ClientAuthInfoWriter) (*GetEnvironmentOK, error)
- func (a *Client) GetEnvironmentRules(params *GetEnvironmentRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetEnvironmentRulesOK, error)
- func (a *Client) ListEnvironments(params *ListEnvironmentsParams, authInfo runtime.ClientAuthInfoWriter) (*ListEnvironmentsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateEnvironment(params *UpdateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateEnvironmentOK, error)
- type ClientService
- type CreateEnvironmentBadRequest
- type CreateEnvironmentCreated
- type CreateEnvironmentForbidden
- type CreateEnvironmentInternalServerError
- type CreateEnvironmentNotFound
- type CreateEnvironmentParams
- func NewCreateEnvironmentParams() *CreateEnvironmentParams
- func NewCreateEnvironmentParamsWithContext(ctx context.Context) *CreateEnvironmentParams
- func NewCreateEnvironmentParamsWithHTTPClient(client *http.Client) *CreateEnvironmentParams
- func NewCreateEnvironmentParamsWithTimeout(timeout time.Duration) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) SetContext(ctx context.Context)
- func (o *CreateEnvironmentParams) SetEnvironment(environment *models.CreateEnvironmentInput)
- func (o *CreateEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *CreateEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *CreateEnvironmentParams) WithContext(ctx context.Context) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithEnvironment(environment *models.CreateEnvironmentInput) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithHTTPClient(client *http.Client) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithTimeout(timeout time.Duration) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateEnvironmentReader
- type CreateEnvironmentUnauthorized
- type DeleteEnvironmentBadRequest
- type DeleteEnvironmentForbidden
- type DeleteEnvironmentInternalServerError
- type DeleteEnvironmentNoContent
- type DeleteEnvironmentNotFound
- type DeleteEnvironmentParams
- func NewDeleteEnvironmentParams() *DeleteEnvironmentParams
- func NewDeleteEnvironmentParamsWithContext(ctx context.Context) *DeleteEnvironmentParams
- func NewDeleteEnvironmentParamsWithHTTPClient(client *http.Client) *DeleteEnvironmentParams
- func NewDeleteEnvironmentParamsWithTimeout(timeout time.Duration) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) SetContext(ctx context.Context)
- func (o *DeleteEnvironmentParams) SetEnvironmentID(environmentID string)
- func (o *DeleteEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEnvironmentParams) WithContext(ctx context.Context) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WithEnvironmentID(environmentID string) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WithHTTPClient(client *http.Client) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WithTimeout(timeout time.Duration) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEnvironmentReader
- type DeleteEnvironmentUnauthorized
- type GetEnvironmentBadRequest
- type GetEnvironmentForbidden
- type GetEnvironmentInternalServerError
- type GetEnvironmentNotFound
- type GetEnvironmentOK
- type GetEnvironmentParams
- func NewGetEnvironmentParams() *GetEnvironmentParams
- func NewGetEnvironmentParamsWithContext(ctx context.Context) *GetEnvironmentParams
- func NewGetEnvironmentParamsWithHTTPClient(client *http.Client) *GetEnvironmentParams
- func NewGetEnvironmentParamsWithTimeout(timeout time.Duration) *GetEnvironmentParams
- func (o *GetEnvironmentParams) SetContext(ctx context.Context)
- func (o *GetEnvironmentParams) SetEnvironmentID(environmentID string)
- func (o *GetEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *GetEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *GetEnvironmentParams) WithContext(ctx context.Context) *GetEnvironmentParams
- func (o *GetEnvironmentParams) WithEnvironmentID(environmentID string) *GetEnvironmentParams
- func (o *GetEnvironmentParams) WithHTTPClient(client *http.Client) *GetEnvironmentParams
- func (o *GetEnvironmentParams) WithTimeout(timeout time.Duration) *GetEnvironmentParams
- func (o *GetEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEnvironmentReader
- type GetEnvironmentRulesBadRequest
- type GetEnvironmentRulesForbidden
- type GetEnvironmentRulesInternalServerError
- type GetEnvironmentRulesNotFound
- type GetEnvironmentRulesOK
- type GetEnvironmentRulesParams
- func NewGetEnvironmentRulesParams() *GetEnvironmentRulesParams
- func NewGetEnvironmentRulesParamsWithContext(ctx context.Context) *GetEnvironmentRulesParams
- func NewGetEnvironmentRulesParamsWithHTTPClient(client *http.Client) *GetEnvironmentRulesParams
- func NewGetEnvironmentRulesParamsWithTimeout(timeout time.Duration) *GetEnvironmentRulesParams
- func (o *GetEnvironmentRulesParams) SetContext(ctx context.Context)
- func (o *GetEnvironmentRulesParams) SetEnvironmentID(environmentID string)
- func (o *GetEnvironmentRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetEnvironmentRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetEnvironmentRulesParams) WithContext(ctx context.Context) *GetEnvironmentRulesParams
- func (o *GetEnvironmentRulesParams) WithEnvironmentID(environmentID string) *GetEnvironmentRulesParams
- func (o *GetEnvironmentRulesParams) WithHTTPClient(client *http.Client) *GetEnvironmentRulesParams
- func (o *GetEnvironmentRulesParams) WithTimeout(timeout time.Duration) *GetEnvironmentRulesParams
- func (o *GetEnvironmentRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEnvironmentRulesReader
- type GetEnvironmentRulesUnauthorized
- type GetEnvironmentUnauthorized
- type ListEnvironmentsBadRequest
- type ListEnvironmentsForbidden
- type ListEnvironmentsInternalServerError
- type ListEnvironmentsOK
- type ListEnvironmentsParams
- func NewListEnvironmentsParams() *ListEnvironmentsParams
- func NewListEnvironmentsParamsWithContext(ctx context.Context) *ListEnvironmentsParams
- func NewListEnvironmentsParamsWithHTTPClient(client *http.Client) *ListEnvironmentsParams
- func NewListEnvironmentsParamsWithTimeout(timeout time.Duration) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) SetContext(ctx context.Context)
- func (o *ListEnvironmentsParams) SetHTTPClient(client *http.Client)
- func (o *ListEnvironmentsParams) SetMaxItems(maxItems *int64)
- func (o *ListEnvironmentsParams) SetOffset(offset *int64)
- func (o *ListEnvironmentsParams) SetOrderBy(orderBy *string)
- func (o *ListEnvironmentsParams) SetOrderDirection(orderDirection *string)
- func (o *ListEnvironmentsParams) SetQuery(query *string)
- func (o *ListEnvironmentsParams) SetTimeout(timeout time.Duration)
- func (o *ListEnvironmentsParams) WithContext(ctx context.Context) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) WithHTTPClient(client *http.Client) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) WithMaxItems(maxItems *int64) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) WithOffset(offset *int64) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) WithOrderBy(orderBy *string) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) WithOrderDirection(orderDirection *string) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) WithQuery(query *string) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) WithTimeout(timeout time.Duration) *ListEnvironmentsParams
- func (o *ListEnvironmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListEnvironmentsReader
- type ListEnvironmentsUnauthorized
- type UpdateEnvironmentBadRequest
- type UpdateEnvironmentForbidden
- type UpdateEnvironmentInternalServerError
- type UpdateEnvironmentNotFound
- type UpdateEnvironmentOK
- type UpdateEnvironmentParams
- func NewUpdateEnvironmentParams() *UpdateEnvironmentParams
- func NewUpdateEnvironmentParamsWithContext(ctx context.Context) *UpdateEnvironmentParams
- func NewUpdateEnvironmentParamsWithHTTPClient(client *http.Client) *UpdateEnvironmentParams
- func NewUpdateEnvironmentParamsWithTimeout(timeout time.Duration) *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) SetContext(ctx context.Context)
- func (o *UpdateEnvironmentParams) SetEnvironment(environment *models.UpdateEnvironmentInput)
- func (o *UpdateEnvironmentParams) SetEnvironmentID(environmentID string)
- func (o *UpdateEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *UpdateEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *UpdateEnvironmentParams) WithContext(ctx context.Context) *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) WithEnvironment(environment *models.UpdateEnvironmentInput) *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) WithEnvironmentID(environmentID string) *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) WithHTTPClient(client *http.Client) *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) WithTimeout(timeout time.Duration) *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateEnvironmentReader
- type UpdateEnvironmentUnauthorized
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 (o *CreateEnvironmentBadRequest) Error() string
func (*CreateEnvironmentBadRequest) GetPayload ¶
func (o *CreateEnvironmentBadRequest) GetPayload() *models.BadRequestError
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 (o *CreateEnvironmentForbidden) Error() string
func (*CreateEnvironmentForbidden) GetPayload ¶
func (o *CreateEnvironmentForbidden) GetPayload() *models.AuthorizationError
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 (o *CreateEnvironmentInternalServerError) Error() string
func (*CreateEnvironmentInternalServerError) GetPayload ¶
func (o *CreateEnvironmentInternalServerError) GetPayload() *models.InternalServerError
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 ¶
func (o *CreateEnvironmentNotFound) GetPayload() *models.NotFoundError
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 ¶
func (o *CreateEnvironmentParams) WithContext(ctx context.Context) *CreateEnvironmentParams
WithContext adds the context to the create environment params
func (*CreateEnvironmentParams) WithEnvironment ¶
func (o *CreateEnvironmentParams) WithEnvironment(environment *models.CreateEnvironmentInput) *CreateEnvironmentParams
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 ¶
func (o *CreateEnvironmentParams) WithTimeout(timeout time.Duration) *CreateEnvironmentParams
WithTimeout adds the timeout to the create environment params
func (*CreateEnvironmentParams) WriteToRequest ¶
func (o *CreateEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateEnvironmentReader ¶
type CreateEnvironmentReader struct {
// contains filtered or unexported fields
}
CreateEnvironmentReader is a Reader for the CreateEnvironment structure.
func (*CreateEnvironmentReader) ReadResponse ¶
func (o *CreateEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateEnvironmentUnauthorized ¶
type CreateEnvironmentUnauthorized struct {
}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 (o *CreateEnvironmentUnauthorized) Error() string
func (*CreateEnvironmentUnauthorized) GetPayload ¶
func (o *CreateEnvironmentUnauthorized) GetPayload() *models.AuthenticationError
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 (o *DeleteEnvironmentBadRequest) Error() string
func (*DeleteEnvironmentBadRequest) GetPayload ¶
func (o *DeleteEnvironmentBadRequest) GetPayload() *models.BadRequestError
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 (o *DeleteEnvironmentForbidden) Error() string
func (*DeleteEnvironmentForbidden) GetPayload ¶
func (o *DeleteEnvironmentForbidden) GetPayload() *models.AuthorizationError
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 (o *DeleteEnvironmentInternalServerError) Error() string
func (*DeleteEnvironmentInternalServerError) GetPayload ¶
func (o *DeleteEnvironmentInternalServerError) GetPayload() *models.InternalServerError
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 ¶
func (o *DeleteEnvironmentNoContent) Error() string
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 ¶
func (o *DeleteEnvironmentNotFound) GetPayload() *models.NotFoundError
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 ¶
func (o *DeleteEnvironmentParams) WithContext(ctx context.Context) *DeleteEnvironmentParams
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 ¶
func (o *DeleteEnvironmentParams) WithTimeout(timeout time.Duration) *DeleteEnvironmentParams
WithTimeout adds the timeout to the delete environment params
func (*DeleteEnvironmentParams) WriteToRequest ¶
func (o *DeleteEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteEnvironmentReader ¶
type DeleteEnvironmentReader struct {
// contains filtered or unexported fields
}
DeleteEnvironmentReader is a Reader for the DeleteEnvironment structure.
func (*DeleteEnvironmentReader) ReadResponse ¶
func (o *DeleteEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteEnvironmentUnauthorized ¶
type DeleteEnvironmentUnauthorized struct {
}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 (o *DeleteEnvironmentUnauthorized) Error() string
func (*DeleteEnvironmentUnauthorized) GetPayload ¶
func (o *DeleteEnvironmentUnauthorized) GetPayload() *models.AuthenticationError
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 ¶
func (o *GetEnvironmentBadRequest) GetPayload() *models.BadRequestError
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 ¶
func (o *GetEnvironmentForbidden) GetPayload() *models.AuthorizationError
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 (o *GetEnvironmentInternalServerError) Error() string
func (*GetEnvironmentInternalServerError) GetPayload ¶
func (o *GetEnvironmentInternalServerError) GetPayload() *models.InternalServerError
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 ¶
func (o *GetEnvironmentOK) GetPayload() *models.EnvironmentWithSummary
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 ¶
func (o *GetEnvironmentParams) WithContext(ctx context.Context) *GetEnvironmentParams
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 (o *GetEnvironmentRulesBadRequest) Error() string
func (*GetEnvironmentRulesBadRequest) GetPayload ¶
func (o *GetEnvironmentRulesBadRequest) GetPayload() *models.BadRequestError
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 (o *GetEnvironmentRulesForbidden) Error() string
func (*GetEnvironmentRulesForbidden) GetPayload ¶
func (o *GetEnvironmentRulesForbidden) GetPayload() *models.AuthorizationError
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 (o *GetEnvironmentRulesInternalServerError) Error() string
func (*GetEnvironmentRulesInternalServerError) GetPayload ¶
func (o *GetEnvironmentRulesInternalServerError) GetPayload() *models.InternalServerError
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 (o *GetEnvironmentRulesNotFound) Error() string
func (*GetEnvironmentRulesNotFound) GetPayload ¶
func (o *GetEnvironmentRulesNotFound) GetPayload() *models.NotFoundError
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 ¶
func (o *GetEnvironmentRulesOK) GetPayload() *models.EnvironmentRules
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 ¶
func (o *GetEnvironmentRulesParams) WithContext(ctx context.Context) *GetEnvironmentRulesParams
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 ¶
func (o *GetEnvironmentRulesParams) WithTimeout(timeout time.Duration) *GetEnvironmentRulesParams
WithTimeout adds the timeout to the get environment rules params
func (*GetEnvironmentRulesParams) WriteToRequest ¶
func (o *GetEnvironmentRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetEnvironmentRulesUnauthorized) Error() string
func (*GetEnvironmentRulesUnauthorized) GetPayload ¶
func (o *GetEnvironmentRulesUnauthorized) GetPayload() *models.AuthenticationError
type GetEnvironmentUnauthorized ¶
type GetEnvironmentUnauthorized struct {
}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 (o *GetEnvironmentUnauthorized) Error() string
func (*GetEnvironmentUnauthorized) GetPayload ¶
func (o *GetEnvironmentUnauthorized) GetPayload() *models.AuthenticationError
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 (o *ListEnvironmentsBadRequest) Error() string
func (*ListEnvironmentsBadRequest) GetPayload ¶
func (o *ListEnvironmentsBadRequest) GetPayload() *models.BadRequestError
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 ¶
func (o *ListEnvironmentsForbidden) GetPayload() *models.AuthorizationError
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 (o *ListEnvironmentsInternalServerError) Error() string
func (*ListEnvironmentsInternalServerError) GetPayload ¶
func (o *ListEnvironmentsInternalServerError) GetPayload() *models.InternalServerError
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 ¶
func (o *ListEnvironmentsParams) WithContext(ctx context.Context) *ListEnvironmentsParams
WithContext adds the context to the list environments params
func (*ListEnvironmentsParams) WithHTTPClient ¶
func (o *ListEnvironmentsParams) WithHTTPClient(client *http.Client) *ListEnvironmentsParams
WithHTTPClient adds the HTTPClient to the list environments params
func (*ListEnvironmentsParams) 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 ¶
func (o *ListEnvironmentsParams) WithQuery(query *string) *ListEnvironmentsParams
WithQuery adds the query to the list environments params
func (*ListEnvironmentsParams) WithTimeout ¶
func (o *ListEnvironmentsParams) WithTimeout(timeout time.Duration) *ListEnvironmentsParams
WithTimeout adds the timeout to the list environments params
func (*ListEnvironmentsParams) WriteToRequest ¶
func (o *ListEnvironmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListEnvironmentsReader ¶
type ListEnvironmentsReader struct {
// contains filtered or unexported fields
}
ListEnvironmentsReader is a Reader for the ListEnvironments structure.
func (*ListEnvironmentsReader) ReadResponse ¶
func (o *ListEnvironmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListEnvironmentsUnauthorized ¶
type ListEnvironmentsUnauthorized struct {
}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 (o *ListEnvironmentsUnauthorized) Error() string
func (*ListEnvironmentsUnauthorized) GetPayload ¶
func (o *ListEnvironmentsUnauthorized) GetPayload() *models.AuthenticationError
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 (o *UpdateEnvironmentBadRequest) Error() string
func (*UpdateEnvironmentBadRequest) GetPayload ¶
func (o *UpdateEnvironmentBadRequest) GetPayload() *models.BadRequestError
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 (o *UpdateEnvironmentForbidden) Error() string
func (*UpdateEnvironmentForbidden) GetPayload ¶
func (o *UpdateEnvironmentForbidden) GetPayload() *models.AuthorizationError
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 (o *UpdateEnvironmentInternalServerError) Error() string
func (*UpdateEnvironmentInternalServerError) GetPayload ¶
func (o *UpdateEnvironmentInternalServerError) GetPayload() *models.InternalServerError
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 ¶
func (o *UpdateEnvironmentNotFound) GetPayload() *models.NotFoundError
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 ¶
func (o *UpdateEnvironmentParams) WithContext(ctx context.Context) *UpdateEnvironmentParams
WithContext adds the context to the update environment params
func (*UpdateEnvironmentParams) WithEnvironment ¶
func (o *UpdateEnvironmentParams) WithEnvironment(environment *models.UpdateEnvironmentInput) *UpdateEnvironmentParams
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 ¶
func (o *UpdateEnvironmentParams) WithTimeout(timeout time.Duration) *UpdateEnvironmentParams
WithTimeout adds the timeout to the update environment params
func (*UpdateEnvironmentParams) WriteToRequest ¶
func (o *UpdateEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *UpdateEnvironmentUnauthorized) Error() string
func (*UpdateEnvironmentUnauthorized) GetPayload ¶
func (o *UpdateEnvironmentUnauthorized) GetPayload() *models.AuthenticationError
Source Files ¶
- create_environment_parameters.go
- create_environment_responses.go
- delete_environment_parameters.go
- delete_environment_responses.go
- environments_client.go
- get_environment_parameters.go
- get_environment_responses.go
- get_environment_rules_parameters.go
- get_environment_rules_responses.go
- list_environments_parameters.go
- list_environments_responses.go
- update_environment_parameters.go
- update_environment_responses.go