environments

package
v0.0.111 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for environments API

func (*Client) DeleteAPIV2EnvironmentsSelector

func (a *Client) DeleteAPIV2EnvironmentsSelector(params *DeleteAPIV2EnvironmentsSelectorParams, opts ...ClientOption) (*DeleteAPIV2EnvironmentsSelectorOK, error)

DeleteAPIV2EnvironmentsSelector deletes a environment entry

Delete an existing Environment entry via one of its "selectors": name, numeric ID, or "resource-prefix/" + the unique resource prefix.

func (*Client) GetAPIV2Environments

func (a *Client) GetAPIV2Environments(params *GetAPIV2EnvironmentsParams, opts ...ClientOption) (*GetAPIV2EnvironmentsOK, error)

GetAPIV2Environments lists environment entries

List existing Environment entries, ordered by most recently updated.

func (*Client) GetAPIV2EnvironmentsSelector

func (a *Client) GetAPIV2EnvironmentsSelector(params *GetAPIV2EnvironmentsSelectorParams, opts ...ClientOption) (*GetAPIV2EnvironmentsSelectorOK, error)

GetAPIV2EnvironmentsSelector gets a environment entry

Get an existing Environment entry via one of its "selectors": name, numeric ID, or "resource-prefix/" + the unique resource prefix.

func (*Client) GetAPIV2SelectorsEnvironmentsSelector

func (a *Client) GetAPIV2SelectorsEnvironmentsSelector(params *GetAPIV2SelectorsEnvironmentsSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsEnvironmentsSelectorOK, error)

GetAPIV2SelectorsEnvironmentsSelector lists environment selectors

Validate a given Environment selector and provide any other selectors that would match the same Environment.

func (*Client) PatchAPIV2EnvironmentsSelector

func (a *Client) PatchAPIV2EnvironmentsSelector(params *PatchAPIV2EnvironmentsSelectorParams, opts ...ClientOption) (*PatchAPIV2EnvironmentsSelectorOK, error)

PatchAPIV2EnvironmentsSelector edits a environment entry

Edit an existing Environment entry via one of its "selectors": name, numeric ID. Note that only mutable fields are available here, immutable fields can only be set using /create, or "resource-prefix/" + the unique resource prefix.

func (*Client) PostAPIV2Environments

PostAPIV2Environments creates a new environment entry

Create a new Environment entry. Note that some fields are immutable after creation; /edit lists mutable fields.

Creating a dynamic environment based on a template will also copy ChartReleases from the template.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteAPIV2EnvironmentsSelector(params *DeleteAPIV2EnvironmentsSelectorParams, opts ...ClientOption) (*DeleteAPIV2EnvironmentsSelectorOK, error)

	GetAPIV2Environments(params *GetAPIV2EnvironmentsParams, opts ...ClientOption) (*GetAPIV2EnvironmentsOK, error)

	GetAPIV2EnvironmentsSelector(params *GetAPIV2EnvironmentsSelectorParams, opts ...ClientOption) (*GetAPIV2EnvironmentsSelectorOK, error)

	GetAPIV2SelectorsEnvironmentsSelector(params *GetAPIV2SelectorsEnvironmentsSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsEnvironmentsSelectorOK, error)

	PatchAPIV2EnvironmentsSelector(params *PatchAPIV2EnvironmentsSelectorParams, opts ...ClientOption) (*PatchAPIV2EnvironmentsSelectorOK, error)

	PostAPIV2Environments(params *PostAPIV2EnvironmentsParams, opts ...ClientOption) (*PostAPIV2EnvironmentsOK, *PostAPIV2EnvironmentsCreated, 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 DeleteAPIV2EnvironmentsSelectorBadRequest

type DeleteAPIV2EnvironmentsSelectorBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2EnvironmentsSelectorBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteAPIV2EnvironmentsSelectorBadRequest

func NewDeleteAPIV2EnvironmentsSelectorBadRequest() *DeleteAPIV2EnvironmentsSelectorBadRequest

NewDeleteAPIV2EnvironmentsSelectorBadRequest creates a DeleteAPIV2EnvironmentsSelectorBadRequest with default headers values

func (*DeleteAPIV2EnvironmentsSelectorBadRequest) Error

func (*DeleteAPIV2EnvironmentsSelectorBadRequest) GetPayload

type DeleteAPIV2EnvironmentsSelectorConflict

type DeleteAPIV2EnvironmentsSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2EnvironmentsSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewDeleteAPIV2EnvironmentsSelectorConflict

func NewDeleteAPIV2EnvironmentsSelectorConflict() *DeleteAPIV2EnvironmentsSelectorConflict

NewDeleteAPIV2EnvironmentsSelectorConflict creates a DeleteAPIV2EnvironmentsSelectorConflict with default headers values

func (*DeleteAPIV2EnvironmentsSelectorConflict) Error

func (*DeleteAPIV2EnvironmentsSelectorConflict) GetPayload

type DeleteAPIV2EnvironmentsSelectorForbidden

type DeleteAPIV2EnvironmentsSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2EnvironmentsSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteAPIV2EnvironmentsSelectorForbidden

func NewDeleteAPIV2EnvironmentsSelectorForbidden() *DeleteAPIV2EnvironmentsSelectorForbidden

NewDeleteAPIV2EnvironmentsSelectorForbidden creates a DeleteAPIV2EnvironmentsSelectorForbidden with default headers values

func (*DeleteAPIV2EnvironmentsSelectorForbidden) Error

func (*DeleteAPIV2EnvironmentsSelectorForbidden) GetPayload

type DeleteAPIV2EnvironmentsSelectorInternalServerError

type DeleteAPIV2EnvironmentsSelectorInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2EnvironmentsSelectorInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteAPIV2EnvironmentsSelectorInternalServerError

func NewDeleteAPIV2EnvironmentsSelectorInternalServerError() *DeleteAPIV2EnvironmentsSelectorInternalServerError

NewDeleteAPIV2EnvironmentsSelectorInternalServerError creates a DeleteAPIV2EnvironmentsSelectorInternalServerError with default headers values

func (*DeleteAPIV2EnvironmentsSelectorInternalServerError) Error

func (*DeleteAPIV2EnvironmentsSelectorInternalServerError) GetPayload

type DeleteAPIV2EnvironmentsSelectorNotFound

type DeleteAPIV2EnvironmentsSelectorNotFound struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2EnvironmentsSelectorNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteAPIV2EnvironmentsSelectorNotFound

func NewDeleteAPIV2EnvironmentsSelectorNotFound() *DeleteAPIV2EnvironmentsSelectorNotFound

NewDeleteAPIV2EnvironmentsSelectorNotFound creates a DeleteAPIV2EnvironmentsSelectorNotFound with default headers values

func (*DeleteAPIV2EnvironmentsSelectorNotFound) Error

func (*DeleteAPIV2EnvironmentsSelectorNotFound) GetPayload

type DeleteAPIV2EnvironmentsSelectorOK

type DeleteAPIV2EnvironmentsSelectorOK struct {
	Payload *models.V2controllersEnvironment
}
DeleteAPIV2EnvironmentsSelectorOK describes a response with status code 200, with default header values.

OK

func NewDeleteAPIV2EnvironmentsSelectorOK

func NewDeleteAPIV2EnvironmentsSelectorOK() *DeleteAPIV2EnvironmentsSelectorOK

NewDeleteAPIV2EnvironmentsSelectorOK creates a DeleteAPIV2EnvironmentsSelectorOK with default headers values

func (*DeleteAPIV2EnvironmentsSelectorOK) Error

func (*DeleteAPIV2EnvironmentsSelectorOK) GetPayload

type DeleteAPIV2EnvironmentsSelectorParams

type DeleteAPIV2EnvironmentsSelectorParams struct {

	/* Selector.

	   The Environment to delete's selector: name, numeric ID, or
	*/
	Selector string

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

DeleteAPIV2EnvironmentsSelectorParams contains all the parameters to send to the API endpoint

for the delete API v2 environments selector operation.

Typically these are written to a http.Request.

func NewDeleteAPIV2EnvironmentsSelectorParams

func NewDeleteAPIV2EnvironmentsSelectorParams() *DeleteAPIV2EnvironmentsSelectorParams

NewDeleteAPIV2EnvironmentsSelectorParams creates a new DeleteAPIV2EnvironmentsSelectorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteAPIV2EnvironmentsSelectorParamsWithContext

func NewDeleteAPIV2EnvironmentsSelectorParamsWithContext(ctx context.Context) *DeleteAPIV2EnvironmentsSelectorParams

NewDeleteAPIV2EnvironmentsSelectorParamsWithContext creates a new DeleteAPIV2EnvironmentsSelectorParams object with the ability to set a context for a request.

func NewDeleteAPIV2EnvironmentsSelectorParamsWithHTTPClient

func NewDeleteAPIV2EnvironmentsSelectorParamsWithHTTPClient(client *http.Client) *DeleteAPIV2EnvironmentsSelectorParams

NewDeleteAPIV2EnvironmentsSelectorParamsWithHTTPClient creates a new DeleteAPIV2EnvironmentsSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIV2EnvironmentsSelectorParamsWithTimeout

func NewDeleteAPIV2EnvironmentsSelectorParamsWithTimeout(timeout time.Duration) *DeleteAPIV2EnvironmentsSelectorParams

NewDeleteAPIV2EnvironmentsSelectorParamsWithTimeout creates a new DeleteAPIV2EnvironmentsSelectorParams object with the ability to set a timeout on a request.

func (*DeleteAPIV2EnvironmentsSelectorParams) SetContext

SetContext adds the context to the delete API v2 environments selector params

func (*DeleteAPIV2EnvironmentsSelectorParams) SetDefaults

func (o *DeleteAPIV2EnvironmentsSelectorParams) SetDefaults()

SetDefaults hydrates default values in the delete API v2 environments selector params (not the query body).

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

func (*DeleteAPIV2EnvironmentsSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API v2 environments selector params

func (*DeleteAPIV2EnvironmentsSelectorParams) SetSelector

func (o *DeleteAPIV2EnvironmentsSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the delete API v2 environments selector params

func (*DeleteAPIV2EnvironmentsSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the delete API v2 environments selector params

func (*DeleteAPIV2EnvironmentsSelectorParams) WithContext

WithContext adds the context to the delete API v2 environments selector params

func (*DeleteAPIV2EnvironmentsSelectorParams) WithDefaults

WithDefaults hydrates default values in the delete API v2 environments selector params (not the query body).

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

func (*DeleteAPIV2EnvironmentsSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API v2 environments selector params

func (*DeleteAPIV2EnvironmentsSelectorParams) WithSelector

WithSelector adds the selector to the delete API v2 environments selector params

func (*DeleteAPIV2EnvironmentsSelectorParams) WithTimeout

WithTimeout adds the timeout to the delete API v2 environments selector params

func (*DeleteAPIV2EnvironmentsSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPIV2EnvironmentsSelectorProxyAuthenticationRequired

type DeleteAPIV2EnvironmentsSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2EnvironmentsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewDeleteAPIV2EnvironmentsSelectorProxyAuthenticationRequired

func NewDeleteAPIV2EnvironmentsSelectorProxyAuthenticationRequired() *DeleteAPIV2EnvironmentsSelectorProxyAuthenticationRequired

NewDeleteAPIV2EnvironmentsSelectorProxyAuthenticationRequired creates a DeleteAPIV2EnvironmentsSelectorProxyAuthenticationRequired with default headers values

func (*DeleteAPIV2EnvironmentsSelectorProxyAuthenticationRequired) Error

func (*DeleteAPIV2EnvironmentsSelectorProxyAuthenticationRequired) GetPayload

type DeleteAPIV2EnvironmentsSelectorReader

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

DeleteAPIV2EnvironmentsSelectorReader is a Reader for the DeleteAPIV2EnvironmentsSelector structure.

func (*DeleteAPIV2EnvironmentsSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIV2EnvironmentsBadRequest

type GetAPIV2EnvironmentsBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2EnvironmentsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIV2EnvironmentsBadRequest

func NewGetAPIV2EnvironmentsBadRequest() *GetAPIV2EnvironmentsBadRequest

NewGetAPIV2EnvironmentsBadRequest creates a GetAPIV2EnvironmentsBadRequest with default headers values

func (*GetAPIV2EnvironmentsBadRequest) Error

func (*GetAPIV2EnvironmentsBadRequest) GetPayload

type GetAPIV2EnvironmentsConflict

type GetAPIV2EnvironmentsConflict struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2EnvironmentsConflict describes a response with status code 409, with default header values.

Conflict

func NewGetAPIV2EnvironmentsConflict

func NewGetAPIV2EnvironmentsConflict() *GetAPIV2EnvironmentsConflict

NewGetAPIV2EnvironmentsConflict creates a GetAPIV2EnvironmentsConflict with default headers values

func (*GetAPIV2EnvironmentsConflict) Error

func (*GetAPIV2EnvironmentsConflict) GetPayload

type GetAPIV2EnvironmentsForbidden

type GetAPIV2EnvironmentsForbidden struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2EnvironmentsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAPIV2EnvironmentsForbidden

func NewGetAPIV2EnvironmentsForbidden() *GetAPIV2EnvironmentsForbidden

NewGetAPIV2EnvironmentsForbidden creates a GetAPIV2EnvironmentsForbidden with default headers values

func (*GetAPIV2EnvironmentsForbidden) Error

func (*GetAPIV2EnvironmentsForbidden) GetPayload

type GetAPIV2EnvironmentsInternalServerError

type GetAPIV2EnvironmentsInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2EnvironmentsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIV2EnvironmentsInternalServerError

func NewGetAPIV2EnvironmentsInternalServerError() *GetAPIV2EnvironmentsInternalServerError

NewGetAPIV2EnvironmentsInternalServerError creates a GetAPIV2EnvironmentsInternalServerError with default headers values

func (*GetAPIV2EnvironmentsInternalServerError) Error

func (*GetAPIV2EnvironmentsInternalServerError) GetPayload

type GetAPIV2EnvironmentsNotFound

type GetAPIV2EnvironmentsNotFound struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2EnvironmentsNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetAPIV2EnvironmentsNotFound

func NewGetAPIV2EnvironmentsNotFound() *GetAPIV2EnvironmentsNotFound

NewGetAPIV2EnvironmentsNotFound creates a GetAPIV2EnvironmentsNotFound with default headers values

func (*GetAPIV2EnvironmentsNotFound) Error

func (*GetAPIV2EnvironmentsNotFound) GetPayload

type GetAPIV2EnvironmentsOK

type GetAPIV2EnvironmentsOK struct {
	Payload []*models.V2controllersEnvironment
}
GetAPIV2EnvironmentsOK describes a response with status code 200, with default header values.

OK

func NewGetAPIV2EnvironmentsOK

func NewGetAPIV2EnvironmentsOK() *GetAPIV2EnvironmentsOK

NewGetAPIV2EnvironmentsOK creates a GetAPIV2EnvironmentsOK with default headers values

func (*GetAPIV2EnvironmentsOK) Error

func (o *GetAPIV2EnvironmentsOK) Error() string

func (*GetAPIV2EnvironmentsOK) GetPayload

type GetAPIV2EnvironmentsParams

type GetAPIV2EnvironmentsParams struct {

	/* Base.

	   Required when creating
	*/
	Base *string

	// BaseDomain.
	//
	// Default: "bee.envs-terra.bio"
	BaseDomain *string

	/* ChartReleasesFromTemplate.

	   Upon creation of a dynamic environment, if this is true the template's chart releases will be copied to the new environment

	   Default: true
	*/
	ChartReleasesFromTemplate *bool

	// CreatedAt.
	//
	// Format: date-time
	CreatedAt *strfmt.DateTime

	// DefaultCluster.
	DefaultCluster *string

	/* DefaultFirecloudDevelopRef.

	   should be the environment branch for live envs. Is usually dev for template/dynamic but not necessarily

	   Default: "dev"
	*/
	DefaultFirecloudDevelopRef *string

	/* DefaultNamespace.

	   When creating, will be calculated if left empty
	*/
	DefaultNamespace *string

	// Description.
	Description *string

	// HelmfileRef.
	//
	// Default: "HEAD"
	HelmfileRef *string

	// ID.
	ID *int64

	// Lifecycle.
	//
	// Default: "dynamic"
	Lifecycle *string

	/* Limit.

	   An optional limit to the number of entries returned
	*/
	Limit *int64

	/* Name.

	   When creating, will be calculated if dynamic, required otherwise
	*/
	Name *string

	/* NamePrefix.

	   Used for dynamic environment name generation only, to override using the owner email handle and template name
	*/
	NamePrefix *string

	// NamePrefixesDomain.
	//
	// Default: true
	NamePrefixesDomain *bool

	/* Owner.

	   When creating, will be set to your email
	*/
	Owner *string

	/* PreventDeletion.

	   Used to protect specific BEEs from deletion (thelma checks this field)
	*/
	PreventDeletion *bool

	// RequiresSuitability.
	RequiresSuitability *bool

	/* TemplateEnvironment.

	   Required for dynamic environments
	*/
	TemplateEnvironment *string

	/* UniqueResourcePrefix.

	   When creating, will be calculated if left empty
	*/
	UniqueResourcePrefix *string

	// UpdatedAt.
	//
	// Format: date-time
	UpdatedAt *strfmt.DateTime

	// ValuesName.
	ValuesName *string

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

GetAPIV2EnvironmentsParams contains all the parameters to send to the API endpoint

for the get API v2 environments operation.

Typically these are written to a http.Request.

func NewGetAPIV2EnvironmentsParams

func NewGetAPIV2EnvironmentsParams() *GetAPIV2EnvironmentsParams

NewGetAPIV2EnvironmentsParams creates a new GetAPIV2EnvironmentsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAPIV2EnvironmentsParamsWithContext

func NewGetAPIV2EnvironmentsParamsWithContext(ctx context.Context) *GetAPIV2EnvironmentsParams

NewGetAPIV2EnvironmentsParamsWithContext creates a new GetAPIV2EnvironmentsParams object with the ability to set a context for a request.

func NewGetAPIV2EnvironmentsParamsWithHTTPClient

func NewGetAPIV2EnvironmentsParamsWithHTTPClient(client *http.Client) *GetAPIV2EnvironmentsParams

NewGetAPIV2EnvironmentsParamsWithHTTPClient creates a new GetAPIV2EnvironmentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIV2EnvironmentsParamsWithTimeout

func NewGetAPIV2EnvironmentsParamsWithTimeout(timeout time.Duration) *GetAPIV2EnvironmentsParams

NewGetAPIV2EnvironmentsParamsWithTimeout creates a new GetAPIV2EnvironmentsParams object with the ability to set a timeout on a request.

func (*GetAPIV2EnvironmentsParams) SetBase

func (o *GetAPIV2EnvironmentsParams) SetBase(base *string)

SetBase adds the base to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetBaseDomain added in v0.0.55

func (o *GetAPIV2EnvironmentsParams) SetBaseDomain(baseDomain *string)

SetBaseDomain adds the baseDomain to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetChartReleasesFromTemplate

func (o *GetAPIV2EnvironmentsParams) SetChartReleasesFromTemplate(chartReleasesFromTemplate *bool)

SetChartReleasesFromTemplate adds the chartReleasesFromTemplate to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetContext

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

SetContext adds the context to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetCreatedAt

func (o *GetAPIV2EnvironmentsParams) SetCreatedAt(createdAt *strfmt.DateTime)

SetCreatedAt adds the createdAt to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetDefaultCluster

func (o *GetAPIV2EnvironmentsParams) SetDefaultCluster(defaultCluster *string)

SetDefaultCluster adds the defaultCluster to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetDefaultFirecloudDevelopRef added in v0.0.64

func (o *GetAPIV2EnvironmentsParams) SetDefaultFirecloudDevelopRef(defaultFirecloudDevelopRef *string)

SetDefaultFirecloudDevelopRef adds the defaultFirecloudDevelopRef to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetDefaultNamespace

func (o *GetAPIV2EnvironmentsParams) SetDefaultNamespace(defaultNamespace *string)

SetDefaultNamespace adds the defaultNamespace to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetDefaults

func (o *GetAPIV2EnvironmentsParams) SetDefaults()

SetDefaults hydrates default values in the get API v2 environments params (not the query body).

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

func (*GetAPIV2EnvironmentsParams) SetDescription added in v0.0.110

func (o *GetAPIV2EnvironmentsParams) SetDescription(description *string)

SetDescription adds the description to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetHelmfileRef added in v0.0.64

func (o *GetAPIV2EnvironmentsParams) SetHelmfileRef(helmfileRef *string)

SetHelmfileRef adds the helmfileRef to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetID

func (o *GetAPIV2EnvironmentsParams) SetID(id *int64)

SetID adds the id to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetLifecycle

func (o *GetAPIV2EnvironmentsParams) SetLifecycle(lifecycle *string)

SetLifecycle adds the lifecycle to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetLimit

func (o *GetAPIV2EnvironmentsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetName

func (o *GetAPIV2EnvironmentsParams) SetName(name *string)

SetName adds the name to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetNamePrefix added in v0.0.81

func (o *GetAPIV2EnvironmentsParams) SetNamePrefix(namePrefix *string)

SetNamePrefix adds the namePrefix to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetNamePrefixesDomain added in v0.0.55

func (o *GetAPIV2EnvironmentsParams) SetNamePrefixesDomain(namePrefixesDomain *bool)

SetNamePrefixesDomain adds the namePrefixesDomain to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetOwner

func (o *GetAPIV2EnvironmentsParams) SetOwner(owner *string)

SetOwner adds the owner to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetPreventDeletion added in v0.0.97

func (o *GetAPIV2EnvironmentsParams) SetPreventDeletion(preventDeletion *bool)

SetPreventDeletion adds the preventDeletion to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetRequiresSuitability

func (o *GetAPIV2EnvironmentsParams) SetRequiresSuitability(requiresSuitability *bool)

SetRequiresSuitability adds the requiresSuitability to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetTemplateEnvironment

func (o *GetAPIV2EnvironmentsParams) SetTemplateEnvironment(templateEnvironment *string)

SetTemplateEnvironment adds the templateEnvironment to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetTimeout

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

SetTimeout adds the timeout to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetUniqueResourcePrefix added in v0.0.79

func (o *GetAPIV2EnvironmentsParams) SetUniqueResourcePrefix(uniqueResourcePrefix *string)

SetUniqueResourcePrefix adds the uniqueResourcePrefix to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetUpdatedAt

func (o *GetAPIV2EnvironmentsParams) SetUpdatedAt(updatedAt *strfmt.DateTime)

SetUpdatedAt adds the updatedAt to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetValuesName

func (o *GetAPIV2EnvironmentsParams) SetValuesName(valuesName *string)

SetValuesName adds the valuesName to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithBase

WithBase adds the base to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithBaseDomain added in v0.0.55

func (o *GetAPIV2EnvironmentsParams) WithBaseDomain(baseDomain *string) *GetAPIV2EnvironmentsParams

WithBaseDomain adds the baseDomain to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithChartReleasesFromTemplate

func (o *GetAPIV2EnvironmentsParams) WithChartReleasesFromTemplate(chartReleasesFromTemplate *bool) *GetAPIV2EnvironmentsParams

WithChartReleasesFromTemplate adds the chartReleasesFromTemplate to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithContext

WithContext adds the context to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithCreatedAt

WithCreatedAt adds the createdAt to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithDefaultCluster

func (o *GetAPIV2EnvironmentsParams) WithDefaultCluster(defaultCluster *string) *GetAPIV2EnvironmentsParams

WithDefaultCluster adds the defaultCluster to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithDefaultFirecloudDevelopRef added in v0.0.64

func (o *GetAPIV2EnvironmentsParams) WithDefaultFirecloudDevelopRef(defaultFirecloudDevelopRef *string) *GetAPIV2EnvironmentsParams

WithDefaultFirecloudDevelopRef adds the defaultFirecloudDevelopRef to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithDefaultNamespace

func (o *GetAPIV2EnvironmentsParams) WithDefaultNamespace(defaultNamespace *string) *GetAPIV2EnvironmentsParams

WithDefaultNamespace adds the defaultNamespace to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithDefaults

WithDefaults hydrates default values in the get API v2 environments params (not the query body).

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

func (*GetAPIV2EnvironmentsParams) WithDescription added in v0.0.110

func (o *GetAPIV2EnvironmentsParams) WithDescription(description *string) *GetAPIV2EnvironmentsParams

WithDescription adds the description to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithHelmfileRef added in v0.0.64

func (o *GetAPIV2EnvironmentsParams) WithHelmfileRef(helmfileRef *string) *GetAPIV2EnvironmentsParams

WithHelmfileRef adds the helmfileRef to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithID

WithID adds the id to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithLifecycle

func (o *GetAPIV2EnvironmentsParams) WithLifecycle(lifecycle *string) *GetAPIV2EnvironmentsParams

WithLifecycle adds the lifecycle to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithLimit

WithLimit adds the limit to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithName

WithName adds the name to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithNamePrefix added in v0.0.81

func (o *GetAPIV2EnvironmentsParams) WithNamePrefix(namePrefix *string) *GetAPIV2EnvironmentsParams

WithNamePrefix adds the namePrefix to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithNamePrefixesDomain added in v0.0.55

func (o *GetAPIV2EnvironmentsParams) WithNamePrefixesDomain(namePrefixesDomain *bool) *GetAPIV2EnvironmentsParams

WithNamePrefixesDomain adds the namePrefixesDomain to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithOwner

WithOwner adds the owner to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithPreventDeletion added in v0.0.97

func (o *GetAPIV2EnvironmentsParams) WithPreventDeletion(preventDeletion *bool) *GetAPIV2EnvironmentsParams

WithPreventDeletion adds the preventDeletion to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithRequiresSuitability

func (o *GetAPIV2EnvironmentsParams) WithRequiresSuitability(requiresSuitability *bool) *GetAPIV2EnvironmentsParams

WithRequiresSuitability adds the requiresSuitability to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithTemplateEnvironment

func (o *GetAPIV2EnvironmentsParams) WithTemplateEnvironment(templateEnvironment *string) *GetAPIV2EnvironmentsParams

WithTemplateEnvironment adds the templateEnvironment to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithTimeout

WithTimeout adds the timeout to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithUniqueResourcePrefix added in v0.0.79

func (o *GetAPIV2EnvironmentsParams) WithUniqueResourcePrefix(uniqueResourcePrefix *string) *GetAPIV2EnvironmentsParams

WithUniqueResourcePrefix adds the uniqueResourcePrefix to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithUpdatedAt

WithUpdatedAt adds the updatedAt to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithValuesName

func (o *GetAPIV2EnvironmentsParams) WithValuesName(valuesName *string) *GetAPIV2EnvironmentsParams

WithValuesName adds the valuesName to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIV2EnvironmentsProxyAuthenticationRequired

type GetAPIV2EnvironmentsProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2EnvironmentsProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewGetAPIV2EnvironmentsProxyAuthenticationRequired

func NewGetAPIV2EnvironmentsProxyAuthenticationRequired() *GetAPIV2EnvironmentsProxyAuthenticationRequired

NewGetAPIV2EnvironmentsProxyAuthenticationRequired creates a GetAPIV2EnvironmentsProxyAuthenticationRequired with default headers values

func (*GetAPIV2EnvironmentsProxyAuthenticationRequired) Error

func (*GetAPIV2EnvironmentsProxyAuthenticationRequired) GetPayload

type GetAPIV2EnvironmentsReader

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

GetAPIV2EnvironmentsReader is a Reader for the GetAPIV2Environments structure.

func (*GetAPIV2EnvironmentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIV2EnvironmentsSelectorBadRequest

type GetAPIV2EnvironmentsSelectorBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2EnvironmentsSelectorBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIV2EnvironmentsSelectorBadRequest

func NewGetAPIV2EnvironmentsSelectorBadRequest() *GetAPIV2EnvironmentsSelectorBadRequest

NewGetAPIV2EnvironmentsSelectorBadRequest creates a GetAPIV2EnvironmentsSelectorBadRequest with default headers values

func (*GetAPIV2EnvironmentsSelectorBadRequest) Error

func (*GetAPIV2EnvironmentsSelectorBadRequest) GetPayload

type GetAPIV2EnvironmentsSelectorConflict

type GetAPIV2EnvironmentsSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2EnvironmentsSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewGetAPIV2EnvironmentsSelectorConflict

func NewGetAPIV2EnvironmentsSelectorConflict() *GetAPIV2EnvironmentsSelectorConflict

NewGetAPIV2EnvironmentsSelectorConflict creates a GetAPIV2EnvironmentsSelectorConflict with default headers values

func (*GetAPIV2EnvironmentsSelectorConflict) Error

func (*GetAPIV2EnvironmentsSelectorConflict) GetPayload

type GetAPIV2EnvironmentsSelectorForbidden

type GetAPIV2EnvironmentsSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2EnvironmentsSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAPIV2EnvironmentsSelectorForbidden

func NewGetAPIV2EnvironmentsSelectorForbidden() *GetAPIV2EnvironmentsSelectorForbidden

NewGetAPIV2EnvironmentsSelectorForbidden creates a GetAPIV2EnvironmentsSelectorForbidden with default headers values

func (*GetAPIV2EnvironmentsSelectorForbidden) Error

func (*GetAPIV2EnvironmentsSelectorForbidden) GetPayload

type GetAPIV2EnvironmentsSelectorInternalServerError

type GetAPIV2EnvironmentsSelectorInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2EnvironmentsSelectorInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIV2EnvironmentsSelectorInternalServerError

func NewGetAPIV2EnvironmentsSelectorInternalServerError() *GetAPIV2EnvironmentsSelectorInternalServerError

NewGetAPIV2EnvironmentsSelectorInternalServerError creates a GetAPIV2EnvironmentsSelectorInternalServerError with default headers values

func (*GetAPIV2EnvironmentsSelectorInternalServerError) Error

func (*GetAPIV2EnvironmentsSelectorInternalServerError) GetPayload

type GetAPIV2EnvironmentsSelectorNotFound

type GetAPIV2EnvironmentsSelectorNotFound struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2EnvironmentsSelectorNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetAPIV2EnvironmentsSelectorNotFound

func NewGetAPIV2EnvironmentsSelectorNotFound() *GetAPIV2EnvironmentsSelectorNotFound

NewGetAPIV2EnvironmentsSelectorNotFound creates a GetAPIV2EnvironmentsSelectorNotFound with default headers values

func (*GetAPIV2EnvironmentsSelectorNotFound) Error

func (*GetAPIV2EnvironmentsSelectorNotFound) GetPayload

type GetAPIV2EnvironmentsSelectorOK

type GetAPIV2EnvironmentsSelectorOK struct {
	Payload *models.V2controllersEnvironment
}
GetAPIV2EnvironmentsSelectorOK describes a response with status code 200, with default header values.

OK

func NewGetAPIV2EnvironmentsSelectorOK

func NewGetAPIV2EnvironmentsSelectorOK() *GetAPIV2EnvironmentsSelectorOK

NewGetAPIV2EnvironmentsSelectorOK creates a GetAPIV2EnvironmentsSelectorOK with default headers values

func (*GetAPIV2EnvironmentsSelectorOK) Error

func (*GetAPIV2EnvironmentsSelectorOK) GetPayload

type GetAPIV2EnvironmentsSelectorParams

type GetAPIV2EnvironmentsSelectorParams struct {

	/* Selector.

	   The Environment to get's selector: name, numeric ID, or
	*/
	Selector string

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

GetAPIV2EnvironmentsSelectorParams contains all the parameters to send to the API endpoint

for the get API v2 environments selector operation.

Typically these are written to a http.Request.

func NewGetAPIV2EnvironmentsSelectorParams

func NewGetAPIV2EnvironmentsSelectorParams() *GetAPIV2EnvironmentsSelectorParams

NewGetAPIV2EnvironmentsSelectorParams creates a new GetAPIV2EnvironmentsSelectorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAPIV2EnvironmentsSelectorParamsWithContext

func NewGetAPIV2EnvironmentsSelectorParamsWithContext(ctx context.Context) *GetAPIV2EnvironmentsSelectorParams

NewGetAPIV2EnvironmentsSelectorParamsWithContext creates a new GetAPIV2EnvironmentsSelectorParams object with the ability to set a context for a request.

func NewGetAPIV2EnvironmentsSelectorParamsWithHTTPClient

func NewGetAPIV2EnvironmentsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2EnvironmentsSelectorParams

NewGetAPIV2EnvironmentsSelectorParamsWithHTTPClient creates a new GetAPIV2EnvironmentsSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIV2EnvironmentsSelectorParamsWithTimeout

func NewGetAPIV2EnvironmentsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2EnvironmentsSelectorParams

NewGetAPIV2EnvironmentsSelectorParamsWithTimeout creates a new GetAPIV2EnvironmentsSelectorParams object with the ability to set a timeout on a request.

func (*GetAPIV2EnvironmentsSelectorParams) SetContext

SetContext adds the context to the get API v2 environments selector params

func (*GetAPIV2EnvironmentsSelectorParams) SetDefaults

func (o *GetAPIV2EnvironmentsSelectorParams) SetDefaults()

SetDefaults hydrates default values in the get API v2 environments selector params (not the query body).

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

func (*GetAPIV2EnvironmentsSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API v2 environments selector params

func (*GetAPIV2EnvironmentsSelectorParams) SetSelector

func (o *GetAPIV2EnvironmentsSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the get API v2 environments selector params

func (*GetAPIV2EnvironmentsSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the get API v2 environments selector params

func (*GetAPIV2EnvironmentsSelectorParams) WithContext

WithContext adds the context to the get API v2 environments selector params

func (*GetAPIV2EnvironmentsSelectorParams) WithDefaults

WithDefaults hydrates default values in the get API v2 environments selector params (not the query body).

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

func (*GetAPIV2EnvironmentsSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API v2 environments selector params

func (*GetAPIV2EnvironmentsSelectorParams) WithSelector

WithSelector adds the selector to the get API v2 environments selector params

func (*GetAPIV2EnvironmentsSelectorParams) WithTimeout

WithTimeout adds the timeout to the get API v2 environments selector params

func (*GetAPIV2EnvironmentsSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIV2EnvironmentsSelectorProxyAuthenticationRequired

type GetAPIV2EnvironmentsSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2EnvironmentsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewGetAPIV2EnvironmentsSelectorProxyAuthenticationRequired

func NewGetAPIV2EnvironmentsSelectorProxyAuthenticationRequired() *GetAPIV2EnvironmentsSelectorProxyAuthenticationRequired

NewGetAPIV2EnvironmentsSelectorProxyAuthenticationRequired creates a GetAPIV2EnvironmentsSelectorProxyAuthenticationRequired with default headers values

func (*GetAPIV2EnvironmentsSelectorProxyAuthenticationRequired) Error

func (*GetAPIV2EnvironmentsSelectorProxyAuthenticationRequired) GetPayload

type GetAPIV2EnvironmentsSelectorReader

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

GetAPIV2EnvironmentsSelectorReader is a Reader for the GetAPIV2EnvironmentsSelector structure.

func (*GetAPIV2EnvironmentsSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIV2SelectorsEnvironmentsSelectorBadRequest

type GetAPIV2SelectorsEnvironmentsSelectorBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsEnvironmentsSelectorBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIV2SelectorsEnvironmentsSelectorBadRequest

func NewGetAPIV2SelectorsEnvironmentsSelectorBadRequest() *GetAPIV2SelectorsEnvironmentsSelectorBadRequest

NewGetAPIV2SelectorsEnvironmentsSelectorBadRequest creates a GetAPIV2SelectorsEnvironmentsSelectorBadRequest with default headers values

func (*GetAPIV2SelectorsEnvironmentsSelectorBadRequest) Error

func (*GetAPIV2SelectorsEnvironmentsSelectorBadRequest) GetPayload

type GetAPIV2SelectorsEnvironmentsSelectorConflict

type GetAPIV2SelectorsEnvironmentsSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsEnvironmentsSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewGetAPIV2SelectorsEnvironmentsSelectorConflict

func NewGetAPIV2SelectorsEnvironmentsSelectorConflict() *GetAPIV2SelectorsEnvironmentsSelectorConflict

NewGetAPIV2SelectorsEnvironmentsSelectorConflict creates a GetAPIV2SelectorsEnvironmentsSelectorConflict with default headers values

func (*GetAPIV2SelectorsEnvironmentsSelectorConflict) Error

func (*GetAPIV2SelectorsEnvironmentsSelectorConflict) GetPayload

type GetAPIV2SelectorsEnvironmentsSelectorForbidden

type GetAPIV2SelectorsEnvironmentsSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsEnvironmentsSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAPIV2SelectorsEnvironmentsSelectorForbidden

func NewGetAPIV2SelectorsEnvironmentsSelectorForbidden() *GetAPIV2SelectorsEnvironmentsSelectorForbidden

NewGetAPIV2SelectorsEnvironmentsSelectorForbidden creates a GetAPIV2SelectorsEnvironmentsSelectorForbidden with default headers values

func (*GetAPIV2SelectorsEnvironmentsSelectorForbidden) Error

func (*GetAPIV2SelectorsEnvironmentsSelectorForbidden) GetPayload

type GetAPIV2SelectorsEnvironmentsSelectorInternalServerError

type GetAPIV2SelectorsEnvironmentsSelectorInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsEnvironmentsSelectorInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIV2SelectorsEnvironmentsSelectorInternalServerError

func NewGetAPIV2SelectorsEnvironmentsSelectorInternalServerError() *GetAPIV2SelectorsEnvironmentsSelectorInternalServerError

NewGetAPIV2SelectorsEnvironmentsSelectorInternalServerError creates a GetAPIV2SelectorsEnvironmentsSelectorInternalServerError with default headers values

func (*GetAPIV2SelectorsEnvironmentsSelectorInternalServerError) Error

func (*GetAPIV2SelectorsEnvironmentsSelectorInternalServerError) GetPayload

type GetAPIV2SelectorsEnvironmentsSelectorNotFound

type GetAPIV2SelectorsEnvironmentsSelectorNotFound struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsEnvironmentsSelectorNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetAPIV2SelectorsEnvironmentsSelectorNotFound

func NewGetAPIV2SelectorsEnvironmentsSelectorNotFound() *GetAPIV2SelectorsEnvironmentsSelectorNotFound

NewGetAPIV2SelectorsEnvironmentsSelectorNotFound creates a GetAPIV2SelectorsEnvironmentsSelectorNotFound with default headers values

func (*GetAPIV2SelectorsEnvironmentsSelectorNotFound) Error

func (*GetAPIV2SelectorsEnvironmentsSelectorNotFound) GetPayload

type GetAPIV2SelectorsEnvironmentsSelectorOK

type GetAPIV2SelectorsEnvironmentsSelectorOK struct {
	Payload []string
}
GetAPIV2SelectorsEnvironmentsSelectorOK describes a response with status code 200, with default header values.

OK

func NewGetAPIV2SelectorsEnvironmentsSelectorOK

func NewGetAPIV2SelectorsEnvironmentsSelectorOK() *GetAPIV2SelectorsEnvironmentsSelectorOK

NewGetAPIV2SelectorsEnvironmentsSelectorOK creates a GetAPIV2SelectorsEnvironmentsSelectorOK with default headers values

func (*GetAPIV2SelectorsEnvironmentsSelectorOK) Error

func (*GetAPIV2SelectorsEnvironmentsSelectorOK) GetPayload

type GetAPIV2SelectorsEnvironmentsSelectorParams

type GetAPIV2SelectorsEnvironmentsSelectorParams struct {

	/* Selector.

	   The selector of the Environment to list other selectors for
	*/
	Selector string

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

GetAPIV2SelectorsEnvironmentsSelectorParams contains all the parameters to send to the API endpoint

for the get API v2 selectors environments selector operation.

Typically these are written to a http.Request.

func NewGetAPIV2SelectorsEnvironmentsSelectorParams

func NewGetAPIV2SelectorsEnvironmentsSelectorParams() *GetAPIV2SelectorsEnvironmentsSelectorParams

NewGetAPIV2SelectorsEnvironmentsSelectorParams creates a new GetAPIV2SelectorsEnvironmentsSelectorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAPIV2SelectorsEnvironmentsSelectorParamsWithContext

func NewGetAPIV2SelectorsEnvironmentsSelectorParamsWithContext(ctx context.Context) *GetAPIV2SelectorsEnvironmentsSelectorParams

NewGetAPIV2SelectorsEnvironmentsSelectorParamsWithContext creates a new GetAPIV2SelectorsEnvironmentsSelectorParams object with the ability to set a context for a request.

func NewGetAPIV2SelectorsEnvironmentsSelectorParamsWithHTTPClient

func NewGetAPIV2SelectorsEnvironmentsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2SelectorsEnvironmentsSelectorParams

NewGetAPIV2SelectorsEnvironmentsSelectorParamsWithHTTPClient creates a new GetAPIV2SelectorsEnvironmentsSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIV2SelectorsEnvironmentsSelectorParamsWithTimeout

func NewGetAPIV2SelectorsEnvironmentsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2SelectorsEnvironmentsSelectorParams

NewGetAPIV2SelectorsEnvironmentsSelectorParamsWithTimeout creates a new GetAPIV2SelectorsEnvironmentsSelectorParams object with the ability to set a timeout on a request.

func (*GetAPIV2SelectorsEnvironmentsSelectorParams) SetContext

SetContext adds the context to the get API v2 selectors environments selector params

func (*GetAPIV2SelectorsEnvironmentsSelectorParams) SetDefaults

SetDefaults hydrates default values in the get API v2 selectors environments selector params (not the query body).

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

func (*GetAPIV2SelectorsEnvironmentsSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API v2 selectors environments selector params

func (*GetAPIV2SelectorsEnvironmentsSelectorParams) SetSelector

func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the get API v2 selectors environments selector params

func (*GetAPIV2SelectorsEnvironmentsSelectorParams) SetTimeout

SetTimeout adds the timeout to the get API v2 selectors environments selector params

func (*GetAPIV2SelectorsEnvironmentsSelectorParams) WithContext

WithContext adds the context to the get API v2 selectors environments selector params

func (*GetAPIV2SelectorsEnvironmentsSelectorParams) WithDefaults

WithDefaults hydrates default values in the get API v2 selectors environments selector params (not the query body).

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

func (*GetAPIV2SelectorsEnvironmentsSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API v2 selectors environments selector params

func (*GetAPIV2SelectorsEnvironmentsSelectorParams) WithSelector

WithSelector adds the selector to the get API v2 selectors environments selector params

func (*GetAPIV2SelectorsEnvironmentsSelectorParams) WithTimeout

WithTimeout adds the timeout to the get API v2 selectors environments selector params

func (*GetAPIV2SelectorsEnvironmentsSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIV2SelectorsEnvironmentsSelectorProxyAuthenticationRequired

type GetAPIV2SelectorsEnvironmentsSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsEnvironmentsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewGetAPIV2SelectorsEnvironmentsSelectorProxyAuthenticationRequired

func NewGetAPIV2SelectorsEnvironmentsSelectorProxyAuthenticationRequired() *GetAPIV2SelectorsEnvironmentsSelectorProxyAuthenticationRequired

NewGetAPIV2SelectorsEnvironmentsSelectorProxyAuthenticationRequired creates a GetAPIV2SelectorsEnvironmentsSelectorProxyAuthenticationRequired with default headers values

func (*GetAPIV2SelectorsEnvironmentsSelectorProxyAuthenticationRequired) Error

func (*GetAPIV2SelectorsEnvironmentsSelectorProxyAuthenticationRequired) GetPayload

type GetAPIV2SelectorsEnvironmentsSelectorReader

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

GetAPIV2SelectorsEnvironmentsSelectorReader is a Reader for the GetAPIV2SelectorsEnvironmentsSelector structure.

func (*GetAPIV2SelectorsEnvironmentsSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchAPIV2EnvironmentsSelectorBadRequest

type PatchAPIV2EnvironmentsSelectorBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2EnvironmentsSelectorBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPatchAPIV2EnvironmentsSelectorBadRequest

func NewPatchAPIV2EnvironmentsSelectorBadRequest() *PatchAPIV2EnvironmentsSelectorBadRequest

NewPatchAPIV2EnvironmentsSelectorBadRequest creates a PatchAPIV2EnvironmentsSelectorBadRequest with default headers values

func (*PatchAPIV2EnvironmentsSelectorBadRequest) Error

func (*PatchAPIV2EnvironmentsSelectorBadRequest) GetPayload

type PatchAPIV2EnvironmentsSelectorConflict

type PatchAPIV2EnvironmentsSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2EnvironmentsSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewPatchAPIV2EnvironmentsSelectorConflict

func NewPatchAPIV2EnvironmentsSelectorConflict() *PatchAPIV2EnvironmentsSelectorConflict

NewPatchAPIV2EnvironmentsSelectorConflict creates a PatchAPIV2EnvironmentsSelectorConflict with default headers values

func (*PatchAPIV2EnvironmentsSelectorConflict) Error

func (*PatchAPIV2EnvironmentsSelectorConflict) GetPayload

type PatchAPIV2EnvironmentsSelectorForbidden

type PatchAPIV2EnvironmentsSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2EnvironmentsSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPatchAPIV2EnvironmentsSelectorForbidden

func NewPatchAPIV2EnvironmentsSelectorForbidden() *PatchAPIV2EnvironmentsSelectorForbidden

NewPatchAPIV2EnvironmentsSelectorForbidden creates a PatchAPIV2EnvironmentsSelectorForbidden with default headers values

func (*PatchAPIV2EnvironmentsSelectorForbidden) Error

func (*PatchAPIV2EnvironmentsSelectorForbidden) GetPayload

type PatchAPIV2EnvironmentsSelectorInternalServerError

type PatchAPIV2EnvironmentsSelectorInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2EnvironmentsSelectorInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPatchAPIV2EnvironmentsSelectorInternalServerError

func NewPatchAPIV2EnvironmentsSelectorInternalServerError() *PatchAPIV2EnvironmentsSelectorInternalServerError

NewPatchAPIV2EnvironmentsSelectorInternalServerError creates a PatchAPIV2EnvironmentsSelectorInternalServerError with default headers values

func (*PatchAPIV2EnvironmentsSelectorInternalServerError) Error

func (*PatchAPIV2EnvironmentsSelectorInternalServerError) GetPayload

type PatchAPIV2EnvironmentsSelectorNotFound

type PatchAPIV2EnvironmentsSelectorNotFound struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2EnvironmentsSelectorNotFound describes a response with status code 404, with default header values.

Not Found

func NewPatchAPIV2EnvironmentsSelectorNotFound

func NewPatchAPIV2EnvironmentsSelectorNotFound() *PatchAPIV2EnvironmentsSelectorNotFound

NewPatchAPIV2EnvironmentsSelectorNotFound creates a PatchAPIV2EnvironmentsSelectorNotFound with default headers values

func (*PatchAPIV2EnvironmentsSelectorNotFound) Error

func (*PatchAPIV2EnvironmentsSelectorNotFound) GetPayload

type PatchAPIV2EnvironmentsSelectorOK

type PatchAPIV2EnvironmentsSelectorOK struct {
	Payload *models.V2controllersEnvironment
}
PatchAPIV2EnvironmentsSelectorOK describes a response with status code 200, with default header values.

OK

func NewPatchAPIV2EnvironmentsSelectorOK

func NewPatchAPIV2EnvironmentsSelectorOK() *PatchAPIV2EnvironmentsSelectorOK

NewPatchAPIV2EnvironmentsSelectorOK creates a PatchAPIV2EnvironmentsSelectorOK with default headers values

func (*PatchAPIV2EnvironmentsSelectorOK) Error

func (*PatchAPIV2EnvironmentsSelectorOK) GetPayload

type PatchAPIV2EnvironmentsSelectorParams

type PatchAPIV2EnvironmentsSelectorParams struct {

	/* Environment.

	   The edits to make to the Environment
	*/
	Environment *models.V2controllersEditableEnvironment

	/* Selector.

	   The Environment to edit's selector: name, numeric ID, or
	*/
	Selector string

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

PatchAPIV2EnvironmentsSelectorParams contains all the parameters to send to the API endpoint

for the patch API v2 environments selector operation.

Typically these are written to a http.Request.

func NewPatchAPIV2EnvironmentsSelectorParams

func NewPatchAPIV2EnvironmentsSelectorParams() *PatchAPIV2EnvironmentsSelectorParams

NewPatchAPIV2EnvironmentsSelectorParams creates a new PatchAPIV2EnvironmentsSelectorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchAPIV2EnvironmentsSelectorParamsWithContext

func NewPatchAPIV2EnvironmentsSelectorParamsWithContext(ctx context.Context) *PatchAPIV2EnvironmentsSelectorParams

NewPatchAPIV2EnvironmentsSelectorParamsWithContext creates a new PatchAPIV2EnvironmentsSelectorParams object with the ability to set a context for a request.

func NewPatchAPIV2EnvironmentsSelectorParamsWithHTTPClient

func NewPatchAPIV2EnvironmentsSelectorParamsWithHTTPClient(client *http.Client) *PatchAPIV2EnvironmentsSelectorParams

NewPatchAPIV2EnvironmentsSelectorParamsWithHTTPClient creates a new PatchAPIV2EnvironmentsSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPIV2EnvironmentsSelectorParamsWithTimeout

func NewPatchAPIV2EnvironmentsSelectorParamsWithTimeout(timeout time.Duration) *PatchAPIV2EnvironmentsSelectorParams

NewPatchAPIV2EnvironmentsSelectorParamsWithTimeout creates a new PatchAPIV2EnvironmentsSelectorParams object with the ability to set a timeout on a request.

func (*PatchAPIV2EnvironmentsSelectorParams) SetContext

SetContext adds the context to the patch API v2 environments selector params

func (*PatchAPIV2EnvironmentsSelectorParams) SetDefaults

func (o *PatchAPIV2EnvironmentsSelectorParams) SetDefaults()

SetDefaults hydrates default values in the patch API v2 environments selector params (not the query body).

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

func (*PatchAPIV2EnvironmentsSelectorParams) SetEnvironment

SetEnvironment adds the environment to the patch API v2 environments selector params

func (*PatchAPIV2EnvironmentsSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API v2 environments selector params

func (*PatchAPIV2EnvironmentsSelectorParams) SetSelector

func (o *PatchAPIV2EnvironmentsSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the patch API v2 environments selector params

func (*PatchAPIV2EnvironmentsSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the patch API v2 environments selector params

func (*PatchAPIV2EnvironmentsSelectorParams) WithContext

WithContext adds the context to the patch API v2 environments selector params

func (*PatchAPIV2EnvironmentsSelectorParams) WithDefaults

WithDefaults hydrates default values in the patch API v2 environments selector params (not the query body).

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

func (*PatchAPIV2EnvironmentsSelectorParams) WithEnvironment

WithEnvironment adds the environment to the patch API v2 environments selector params

func (*PatchAPIV2EnvironmentsSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API v2 environments selector params

func (*PatchAPIV2EnvironmentsSelectorParams) WithSelector

WithSelector adds the selector to the patch API v2 environments selector params

func (*PatchAPIV2EnvironmentsSelectorParams) WithTimeout

WithTimeout adds the timeout to the patch API v2 environments selector params

func (*PatchAPIV2EnvironmentsSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPIV2EnvironmentsSelectorProxyAuthenticationRequired

type PatchAPIV2EnvironmentsSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2EnvironmentsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewPatchAPIV2EnvironmentsSelectorProxyAuthenticationRequired

func NewPatchAPIV2EnvironmentsSelectorProxyAuthenticationRequired() *PatchAPIV2EnvironmentsSelectorProxyAuthenticationRequired

NewPatchAPIV2EnvironmentsSelectorProxyAuthenticationRequired creates a PatchAPIV2EnvironmentsSelectorProxyAuthenticationRequired with default headers values

func (*PatchAPIV2EnvironmentsSelectorProxyAuthenticationRequired) Error

func (*PatchAPIV2EnvironmentsSelectorProxyAuthenticationRequired) GetPayload

type PatchAPIV2EnvironmentsSelectorReader

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

PatchAPIV2EnvironmentsSelectorReader is a Reader for the PatchAPIV2EnvironmentsSelector structure.

func (*PatchAPIV2EnvironmentsSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIV2EnvironmentsBadRequest

type PostAPIV2EnvironmentsBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2EnvironmentsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAPIV2EnvironmentsBadRequest

func NewPostAPIV2EnvironmentsBadRequest() *PostAPIV2EnvironmentsBadRequest

NewPostAPIV2EnvironmentsBadRequest creates a PostAPIV2EnvironmentsBadRequest with default headers values

func (*PostAPIV2EnvironmentsBadRequest) Error

func (*PostAPIV2EnvironmentsBadRequest) GetPayload

type PostAPIV2EnvironmentsConflict

type PostAPIV2EnvironmentsConflict struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2EnvironmentsConflict describes a response with status code 409, with default header values.

Conflict

func NewPostAPIV2EnvironmentsConflict

func NewPostAPIV2EnvironmentsConflict() *PostAPIV2EnvironmentsConflict

NewPostAPIV2EnvironmentsConflict creates a PostAPIV2EnvironmentsConflict with default headers values

func (*PostAPIV2EnvironmentsConflict) Error

func (*PostAPIV2EnvironmentsConflict) GetPayload

type PostAPIV2EnvironmentsCreated added in v0.0.29

type PostAPIV2EnvironmentsCreated struct {
	Payload *models.V2controllersEnvironment
}
PostAPIV2EnvironmentsCreated describes a response with status code 201, with default header values.

Created

func NewPostAPIV2EnvironmentsCreated added in v0.0.29

func NewPostAPIV2EnvironmentsCreated() *PostAPIV2EnvironmentsCreated

NewPostAPIV2EnvironmentsCreated creates a PostAPIV2EnvironmentsCreated with default headers values

func (*PostAPIV2EnvironmentsCreated) Error added in v0.0.29

func (*PostAPIV2EnvironmentsCreated) GetPayload added in v0.0.29

type PostAPIV2EnvironmentsForbidden

type PostAPIV2EnvironmentsForbidden struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2EnvironmentsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostAPIV2EnvironmentsForbidden

func NewPostAPIV2EnvironmentsForbidden() *PostAPIV2EnvironmentsForbidden

NewPostAPIV2EnvironmentsForbidden creates a PostAPIV2EnvironmentsForbidden with default headers values

func (*PostAPIV2EnvironmentsForbidden) Error

func (*PostAPIV2EnvironmentsForbidden) GetPayload

type PostAPIV2EnvironmentsInternalServerError

type PostAPIV2EnvironmentsInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2EnvironmentsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostAPIV2EnvironmentsInternalServerError

func NewPostAPIV2EnvironmentsInternalServerError() *PostAPIV2EnvironmentsInternalServerError

NewPostAPIV2EnvironmentsInternalServerError creates a PostAPIV2EnvironmentsInternalServerError with default headers values

func (*PostAPIV2EnvironmentsInternalServerError) Error

func (*PostAPIV2EnvironmentsInternalServerError) GetPayload

type PostAPIV2EnvironmentsNotFound

type PostAPIV2EnvironmentsNotFound struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2EnvironmentsNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostAPIV2EnvironmentsNotFound

func NewPostAPIV2EnvironmentsNotFound() *PostAPIV2EnvironmentsNotFound

NewPostAPIV2EnvironmentsNotFound creates a PostAPIV2EnvironmentsNotFound with default headers values

func (*PostAPIV2EnvironmentsNotFound) Error

func (*PostAPIV2EnvironmentsNotFound) GetPayload

type PostAPIV2EnvironmentsOK

type PostAPIV2EnvironmentsOK struct {
	Payload *models.V2controllersEnvironment
}
PostAPIV2EnvironmentsOK describes a response with status code 200, with default header values.

OK

func NewPostAPIV2EnvironmentsOK

func NewPostAPIV2EnvironmentsOK() *PostAPIV2EnvironmentsOK

NewPostAPIV2EnvironmentsOK creates a PostAPIV2EnvironmentsOK with default headers values

func (*PostAPIV2EnvironmentsOK) Error

func (o *PostAPIV2EnvironmentsOK) Error() string

func (*PostAPIV2EnvironmentsOK) GetPayload

type PostAPIV2EnvironmentsParams

type PostAPIV2EnvironmentsParams struct {

	/* Environment.

	   The Environment to create
	*/
	Environment *models.V2controllersCreatableEnvironment

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

PostAPIV2EnvironmentsParams contains all the parameters to send to the API endpoint

for the post API v2 environments operation.

Typically these are written to a http.Request.

func NewPostAPIV2EnvironmentsParams

func NewPostAPIV2EnvironmentsParams() *PostAPIV2EnvironmentsParams

NewPostAPIV2EnvironmentsParams creates a new PostAPIV2EnvironmentsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostAPIV2EnvironmentsParamsWithContext

func NewPostAPIV2EnvironmentsParamsWithContext(ctx context.Context) *PostAPIV2EnvironmentsParams

NewPostAPIV2EnvironmentsParamsWithContext creates a new PostAPIV2EnvironmentsParams object with the ability to set a context for a request.

func NewPostAPIV2EnvironmentsParamsWithHTTPClient

func NewPostAPIV2EnvironmentsParamsWithHTTPClient(client *http.Client) *PostAPIV2EnvironmentsParams

NewPostAPIV2EnvironmentsParamsWithHTTPClient creates a new PostAPIV2EnvironmentsParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIV2EnvironmentsParamsWithTimeout

func NewPostAPIV2EnvironmentsParamsWithTimeout(timeout time.Duration) *PostAPIV2EnvironmentsParams

NewPostAPIV2EnvironmentsParamsWithTimeout creates a new PostAPIV2EnvironmentsParams object with the ability to set a timeout on a request.

func (*PostAPIV2EnvironmentsParams) SetContext

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

SetContext adds the context to the post API v2 environments params

func (*PostAPIV2EnvironmentsParams) SetDefaults

func (o *PostAPIV2EnvironmentsParams) SetDefaults()

SetDefaults hydrates default values in the post API v2 environments params (not the query body).

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

func (*PostAPIV2EnvironmentsParams) SetEnvironment

SetEnvironment adds the environment to the post API v2 environments params

func (*PostAPIV2EnvironmentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API v2 environments params

func (*PostAPIV2EnvironmentsParams) SetTimeout

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

SetTimeout adds the timeout to the post API v2 environments params

func (*PostAPIV2EnvironmentsParams) WithContext

WithContext adds the context to the post API v2 environments params

func (*PostAPIV2EnvironmentsParams) WithDefaults

WithDefaults hydrates default values in the post API v2 environments params (not the query body).

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

func (*PostAPIV2EnvironmentsParams) WithEnvironment

WithEnvironment adds the environment to the post API v2 environments params

func (*PostAPIV2EnvironmentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API v2 environments params

func (*PostAPIV2EnvironmentsParams) WithTimeout

WithTimeout adds the timeout to the post API v2 environments params

func (*PostAPIV2EnvironmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIV2EnvironmentsProxyAuthenticationRequired

type PostAPIV2EnvironmentsProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2EnvironmentsProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewPostAPIV2EnvironmentsProxyAuthenticationRequired

func NewPostAPIV2EnvironmentsProxyAuthenticationRequired() *PostAPIV2EnvironmentsProxyAuthenticationRequired

NewPostAPIV2EnvironmentsProxyAuthenticationRequired creates a PostAPIV2EnvironmentsProxyAuthenticationRequired with default headers values

func (*PostAPIV2EnvironmentsProxyAuthenticationRequired) Error

func (*PostAPIV2EnvironmentsProxyAuthenticationRequired) GetPayload

type PostAPIV2EnvironmentsReader

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

PostAPIV2EnvironmentsReader is a Reader for the PostAPIV2Environments structure.

func (*PostAPIV2EnvironmentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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