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) 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 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 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 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 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) 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) 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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new environments API client.
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) 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 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
type CreateEnvironmentForbidden ¶
type CreateEnvironmentForbidden struct {
Payload *models.AuthorizationError
}
CreateEnvironmentForbidden handles this case with default header values.
Authorization error.
func NewCreateEnvironmentForbidden ¶
func NewCreateEnvironmentForbidden() *CreateEnvironmentForbidden
NewCreateEnvironmentForbidden creates a CreateEnvironmentForbidden with default headers values
func (*CreateEnvironmentForbidden) Error ¶
func (o *CreateEnvironmentForbidden) Error() string
type CreateEnvironmentInternalServerError ¶
type CreateEnvironmentInternalServerError struct {
Payload *models.InternalServerError
}
CreateEnvironmentInternalServerError handles this case with default header values.
Internal server error.
func NewCreateEnvironmentInternalServerError ¶
func NewCreateEnvironmentInternalServerError() *CreateEnvironmentInternalServerError
NewCreateEnvironmentInternalServerError creates a CreateEnvironmentInternalServerError with default headers values
func (*CreateEnvironmentInternalServerError) Error ¶
func (o *CreateEnvironmentInternalServerError) Error() string
type CreateEnvironmentNotFound ¶
type CreateEnvironmentNotFound struct {
Payload *models.NotFoundError
}
CreateEnvironmentNotFound handles this case with default header values.
Not found error.
func NewCreateEnvironmentNotFound ¶
func NewCreateEnvironmentNotFound() *CreateEnvironmentNotFound
NewCreateEnvironmentNotFound creates a CreateEnvironmentNotFound with default headers values
func (*CreateEnvironmentNotFound) Error ¶
func (o *CreateEnvironmentNotFound) Error() string
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.
Authentication error.
func NewCreateEnvironmentUnauthorized ¶
func NewCreateEnvironmentUnauthorized() *CreateEnvironmentUnauthorized
NewCreateEnvironmentUnauthorized creates a CreateEnvironmentUnauthorized with default headers values
func (*CreateEnvironmentUnauthorized) Error ¶
func (o *CreateEnvironmentUnauthorized) Error() string
type DeleteEnvironmentForbidden ¶
type DeleteEnvironmentForbidden struct {
Payload *models.AuthorizationError
}
DeleteEnvironmentForbidden handles this case with default header values.
Authorization error.
func NewDeleteEnvironmentForbidden ¶
func NewDeleteEnvironmentForbidden() *DeleteEnvironmentForbidden
NewDeleteEnvironmentForbidden creates a DeleteEnvironmentForbidden with default headers values
func (*DeleteEnvironmentForbidden) Error ¶
func (o *DeleteEnvironmentForbidden) Error() string
type DeleteEnvironmentInternalServerError ¶
type DeleteEnvironmentInternalServerError struct {
Payload *models.InternalServerError
}
DeleteEnvironmentInternalServerError handles this case with default header values.
Internal server error.
func NewDeleteEnvironmentInternalServerError ¶
func NewDeleteEnvironmentInternalServerError() *DeleteEnvironmentInternalServerError
NewDeleteEnvironmentInternalServerError creates a DeleteEnvironmentInternalServerError with default headers values
func (*DeleteEnvironmentInternalServerError) Error ¶
func (o *DeleteEnvironmentInternalServerError) Error() string
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.
Not found error.
func NewDeleteEnvironmentNotFound ¶
func NewDeleteEnvironmentNotFound() *DeleteEnvironmentNotFound
NewDeleteEnvironmentNotFound creates a DeleteEnvironmentNotFound with default headers values
func (*DeleteEnvironmentNotFound) Error ¶
func (o *DeleteEnvironmentNotFound) Error() string
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.
Authentication error.
func NewDeleteEnvironmentUnauthorized ¶
func NewDeleteEnvironmentUnauthorized() *DeleteEnvironmentUnauthorized
NewDeleteEnvironmentUnauthorized creates a DeleteEnvironmentUnauthorized with default headers values
func (*DeleteEnvironmentUnauthorized) Error ¶
func (o *DeleteEnvironmentUnauthorized) Error() string
type GetEnvironmentForbidden ¶
type GetEnvironmentForbidden struct {
Payload *models.AuthorizationError
}
GetEnvironmentForbidden handles this case with default header values.
Authorization error.
func NewGetEnvironmentForbidden ¶
func NewGetEnvironmentForbidden() *GetEnvironmentForbidden
NewGetEnvironmentForbidden creates a GetEnvironmentForbidden with default headers values
func (*GetEnvironmentForbidden) Error ¶
func (o *GetEnvironmentForbidden) Error() string
type GetEnvironmentInternalServerError ¶
type GetEnvironmentInternalServerError struct {
Payload *models.InternalServerError
}
GetEnvironmentInternalServerError handles this case with default header values.
Internal server error.
func NewGetEnvironmentInternalServerError ¶
func NewGetEnvironmentInternalServerError() *GetEnvironmentInternalServerError
NewGetEnvironmentInternalServerError creates a GetEnvironmentInternalServerError with default headers values
func (*GetEnvironmentInternalServerError) Error ¶
func (o *GetEnvironmentInternalServerError) Error() string
type GetEnvironmentNotFound ¶
type GetEnvironmentNotFound struct {
Payload *models.NotFoundError
}
GetEnvironmentNotFound handles this case with default header values.
Not found error.
func NewGetEnvironmentNotFound ¶
func NewGetEnvironmentNotFound() *GetEnvironmentNotFound
NewGetEnvironmentNotFound creates a GetEnvironmentNotFound with default headers values
func (*GetEnvironmentNotFound) Error ¶
func (o *GetEnvironmentNotFound) Error() string
type GetEnvironmentOK ¶
type GetEnvironmentOK struct {
Payload *models.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
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 GetEnvironmentUnauthorized ¶
type GetEnvironmentUnauthorized struct {
}GetEnvironmentUnauthorized handles this case with default header values.
Authentication error.
func NewGetEnvironmentUnauthorized ¶
func NewGetEnvironmentUnauthorized() *GetEnvironmentUnauthorized
NewGetEnvironmentUnauthorized creates a GetEnvironmentUnauthorized with default headers values
func (*GetEnvironmentUnauthorized) Error ¶
func (o *GetEnvironmentUnauthorized) Error() string
type ListEnvironmentsBadRequest ¶
type ListEnvironmentsBadRequest struct {
Payload *models.BadRequestError
}
ListEnvironmentsBadRequest handles this case with default header values.
Bad request error.
func NewListEnvironmentsBadRequest ¶
func NewListEnvironmentsBadRequest() *ListEnvironmentsBadRequest
NewListEnvironmentsBadRequest creates a ListEnvironmentsBadRequest with default headers values
func (*ListEnvironmentsBadRequest) Error ¶
func (o *ListEnvironmentsBadRequest) Error() string
type ListEnvironmentsForbidden ¶
type ListEnvironmentsForbidden struct {
Payload *models.AuthorizationError
}
ListEnvironmentsForbidden handles this case with default header values.
Authorization error.
func NewListEnvironmentsForbidden ¶
func NewListEnvironmentsForbidden() *ListEnvironmentsForbidden
NewListEnvironmentsForbidden creates a ListEnvironmentsForbidden with default headers values
func (*ListEnvironmentsForbidden) Error ¶
func (o *ListEnvironmentsForbidden) Error() string
type ListEnvironmentsInternalServerError ¶
type ListEnvironmentsInternalServerError struct {
Payload *models.InternalServerError
}
ListEnvironmentsInternalServerError handles this case with default header values.
Internal server error.
func NewListEnvironmentsInternalServerError ¶
func NewListEnvironmentsInternalServerError() *ListEnvironmentsInternalServerError
NewListEnvironmentsInternalServerError creates a ListEnvironmentsInternalServerError with default headers values
func (*ListEnvironmentsInternalServerError) Error ¶
func (o *ListEnvironmentsInternalServerError) Error() string
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
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 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) 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) 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.
Authentication error.
func NewListEnvironmentsUnauthorized ¶
func NewListEnvironmentsUnauthorized() *ListEnvironmentsUnauthorized
NewListEnvironmentsUnauthorized creates a ListEnvironmentsUnauthorized with default headers values
func (*ListEnvironmentsUnauthorized) Error ¶
func (o *ListEnvironmentsUnauthorized) Error() string
type UpdateEnvironmentBadRequest ¶
type UpdateEnvironmentBadRequest struct {
Payload *models.BadRequestError
}
UpdateEnvironmentBadRequest handles this case with default header values.
Bad request error.
func NewUpdateEnvironmentBadRequest ¶
func NewUpdateEnvironmentBadRequest() *UpdateEnvironmentBadRequest
NewUpdateEnvironmentBadRequest creates a UpdateEnvironmentBadRequest with default headers values
func (*UpdateEnvironmentBadRequest) Error ¶
func (o *UpdateEnvironmentBadRequest) Error() string
type UpdateEnvironmentForbidden ¶
type UpdateEnvironmentForbidden struct {
Payload *models.AuthorizationError
}
UpdateEnvironmentForbidden handles this case with default header values.
Authorization error.
func NewUpdateEnvironmentForbidden ¶
func NewUpdateEnvironmentForbidden() *UpdateEnvironmentForbidden
NewUpdateEnvironmentForbidden creates a UpdateEnvironmentForbidden with default headers values
func (*UpdateEnvironmentForbidden) Error ¶
func (o *UpdateEnvironmentForbidden) Error() string
type UpdateEnvironmentInternalServerError ¶
type UpdateEnvironmentInternalServerError struct {
Payload *models.InternalServerError
}
UpdateEnvironmentInternalServerError handles this case with default header values.
Internal server error.
func NewUpdateEnvironmentInternalServerError ¶
func NewUpdateEnvironmentInternalServerError() *UpdateEnvironmentInternalServerError
NewUpdateEnvironmentInternalServerError creates a UpdateEnvironmentInternalServerError with default headers values
func (*UpdateEnvironmentInternalServerError) Error ¶
func (o *UpdateEnvironmentInternalServerError) Error() string
type UpdateEnvironmentNotFound ¶
type UpdateEnvironmentNotFound struct {
Payload *models.NotFoundError
}
UpdateEnvironmentNotFound handles this case with default header values.
Not found error.
func NewUpdateEnvironmentNotFound ¶
func NewUpdateEnvironmentNotFound() *UpdateEnvironmentNotFound
NewUpdateEnvironmentNotFound creates a UpdateEnvironmentNotFound with default headers values
func (*UpdateEnvironmentNotFound) Error ¶
func (o *UpdateEnvironmentNotFound) Error() string
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
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.
Authentication error.
func NewUpdateEnvironmentUnauthorized ¶
func NewUpdateEnvironmentUnauthorized() *UpdateEnvironmentUnauthorized
NewUpdateEnvironmentUnauthorized creates a UpdateEnvironmentUnauthorized with default headers values
func (*UpdateEnvironmentUnauthorized) Error ¶
func (o *UpdateEnvironmentUnauthorized) Error() string
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
- list_environments_parameters.go
- list_environments_responses.go
- update_environment_parameters.go
- update_environment_responses.go