environments

package
v0.1.50 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 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) PostAPIV2ProceduresEnvironmentsTriggerIncidentSelector added in v0.1.2

PostAPIV2ProceduresEnvironmentsTriggerIncidentSelector triggers a pagerduty incident for a given environment

Trigger an alert for the Pagerduty integration configured for a given Environment.

func (*Client) PutAPIV2EnvironmentsSelector added in v0.1.2

PutAPIV2EnvironmentsSelector creates or edit an environment entry

Create or edit an Environment entry. Attempts to edit and will attempt to create upon an error.

If an edit was made or the creation process de-duplicates, this method will return normally with a 200.

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)

	PostAPIV2ProceduresEnvironmentsTriggerIncidentSelector(params *PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams, opts ...ClientOption) (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorAccepted, error)

	PutAPIV2EnvironmentsSelector(params *PutAPIV2EnvironmentsSelectorParams, opts ...ClientOption) (*PutAPIV2EnvironmentsSelectorOK, *PutAPIV2EnvironmentsSelectorCreated, 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 {

	/* AutoPopulateChartReleases.

	   If true when creating, dynamic environments copy from template and template environments get the honeycomb chart

	   Default: true
	*/
	AutoPopulateChartReleases *bool

	/* Base.

	   Required when creating
	*/
	Base *string

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

	// 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

	/* Offline.

	   Applicable for BEEs only, whether Thelma should render the BEE as "offline" zero replicas (this field is a target state, not a status)
	*/
	Offline *bool

	/* OfflineScheduleBeginEnabled.

	   When enabled, the BEE will be slated to go offline around the begin time each day
	*/
	OfflineScheduleBeginEnabled *bool

	/* OfflineScheduleBeginTime.

	   Stored with timezone to determine day of the week

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

	/* OfflineScheduleEndEnabled.

	   When enabled, the BEE will be slated to come online around the end time each weekday (each day if weekends enabled)
	*/
	OfflineScheduleEndEnabled *bool

	/* OfflineScheduleEndTime.

	   Stored with timezone to determine day of the week

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

	// OfflineScheduleEndWeekends.
	OfflineScheduleEndWeekends *bool

	/* Owner.

	   When creating, will default to you
	*/
	Owner *string

	// PagerdutyIntegration.
	PagerdutyIntegration *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.

	   When creating, defaults to template name or environment name
	*/
	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) SetAutoPopulateChartReleases added in v0.1.8

func (o *GetAPIV2EnvironmentsParams) SetAutoPopulateChartReleases(autoPopulateChartReleases *bool)

SetAutoPopulateChartReleases adds the autoPopulateChartReleases to the get API v2 environments params

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) 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) SetOffline added in v0.1.6

func (o *GetAPIV2EnvironmentsParams) SetOffline(offline *bool)

SetOffline adds the offline to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetOfflineScheduleBeginEnabled added in v0.1.10

func (o *GetAPIV2EnvironmentsParams) SetOfflineScheduleBeginEnabled(offlineScheduleBeginEnabled *bool)

SetOfflineScheduleBeginEnabled adds the offlineScheduleBeginEnabled to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetOfflineScheduleBeginTime added in v0.1.10

func (o *GetAPIV2EnvironmentsParams) SetOfflineScheduleBeginTime(offlineScheduleBeginTime *strfmt.DateTime)

SetOfflineScheduleBeginTime adds the offlineScheduleBeginTime to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetOfflineScheduleEndEnabled added in v0.1.10

func (o *GetAPIV2EnvironmentsParams) SetOfflineScheduleEndEnabled(offlineScheduleEndEnabled *bool)

SetOfflineScheduleEndEnabled adds the offlineScheduleEndEnabled to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetOfflineScheduleEndTime added in v0.1.10

func (o *GetAPIV2EnvironmentsParams) SetOfflineScheduleEndTime(offlineScheduleEndTime *strfmt.DateTime)

SetOfflineScheduleEndTime adds the offlineScheduleEndTime to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) SetOfflineScheduleEndWeekends added in v0.1.10

func (o *GetAPIV2EnvironmentsParams) SetOfflineScheduleEndWeekends(offlineScheduleEndWeekends *bool)

SetOfflineScheduleEndWeekends adds the offlineScheduleEndWeekends 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) SetPagerdutyIntegration added in v0.1.2

func (o *GetAPIV2EnvironmentsParams) SetPagerdutyIntegration(pagerdutyIntegration *string)

SetPagerdutyIntegration adds the pagerdutyIntegration 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) WithAutoPopulateChartReleases added in v0.1.8

func (o *GetAPIV2EnvironmentsParams) WithAutoPopulateChartReleases(autoPopulateChartReleases *bool) *GetAPIV2EnvironmentsParams

WithAutoPopulateChartReleases adds the autoPopulateChartReleases 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) 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) WithOffline added in v0.1.6

WithOffline adds the offline to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithOfflineScheduleBeginEnabled added in v0.1.10

func (o *GetAPIV2EnvironmentsParams) WithOfflineScheduleBeginEnabled(offlineScheduleBeginEnabled *bool) *GetAPIV2EnvironmentsParams

WithOfflineScheduleBeginEnabled adds the offlineScheduleBeginEnabled to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithOfflineScheduleBeginTime added in v0.1.10

func (o *GetAPIV2EnvironmentsParams) WithOfflineScheduleBeginTime(offlineScheduleBeginTime *strfmt.DateTime) *GetAPIV2EnvironmentsParams

WithOfflineScheduleBeginTime adds the offlineScheduleBeginTime to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithOfflineScheduleEndEnabled added in v0.1.10

func (o *GetAPIV2EnvironmentsParams) WithOfflineScheduleEndEnabled(offlineScheduleEndEnabled *bool) *GetAPIV2EnvironmentsParams

WithOfflineScheduleEndEnabled adds the offlineScheduleEndEnabled to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithOfflineScheduleEndTime added in v0.1.10

func (o *GetAPIV2EnvironmentsParams) WithOfflineScheduleEndTime(offlineScheduleEndTime *strfmt.DateTime) *GetAPIV2EnvironmentsParams

WithOfflineScheduleEndTime adds the offlineScheduleEndTime to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithOfflineScheduleEndWeekends added in v0.1.10

func (o *GetAPIV2EnvironmentsParams) WithOfflineScheduleEndWeekends(offlineScheduleEndWeekends *bool) *GetAPIV2EnvironmentsParams

WithOfflineScheduleEndWeekends adds the offlineScheduleEndWeekends to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithOwner

WithOwner adds the owner to the get API v2 environments params

func (*GetAPIV2EnvironmentsParams) WithPagerdutyIntegration added in v0.1.2

func (o *GetAPIV2EnvironmentsParams) WithPagerdutyIntegration(pagerdutyIntegration *string) *GetAPIV2EnvironmentsParams

WithPagerdutyIntegration adds the pagerdutyIntegration 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.

type PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorAccepted added in v0.1.2

type PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorAccepted struct {
	Payload *models.PagerdutySendAlertResponse
}
PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorAccepted describes a response with status code 202, with default header values.

Accepted

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorAccepted added in v0.1.2

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorAccepted() *PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorAccepted

NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorAccepted creates a PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorAccepted with default headers values

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorAccepted) Error added in v0.1.2

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorAccepted) GetPayload added in v0.1.2

type PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorBadRequest added in v0.1.2

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

Bad Request

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorBadRequest added in v0.1.2

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorBadRequest() *PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorBadRequest

NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorBadRequest creates a PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorBadRequest with default headers values

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorBadRequest) Error added in v0.1.2

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorBadRequest) GetPayload added in v0.1.2

type PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorConflict added in v0.1.2

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

Conflict

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorConflict added in v0.1.2

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorConflict() *PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorConflict

NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorConflict creates a PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorConflict with default headers values

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorConflict) Error added in v0.1.2

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorConflict) GetPayload added in v0.1.2

type PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorForbidden added in v0.1.2

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

Forbidden

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorForbidden added in v0.1.2

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorForbidden() *PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorForbidden

NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorForbidden creates a PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorForbidden with default headers values

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorForbidden) Error added in v0.1.2

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorForbidden) GetPayload added in v0.1.2

type PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorInternalServerError added in v0.1.2

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

Internal Server Error

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorInternalServerError added in v0.1.2

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorInternalServerError() *PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorInternalServerError

NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorInternalServerError creates a PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorInternalServerError with default headers values

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorInternalServerError) Error added in v0.1.2

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorInternalServerError) GetPayload added in v0.1.2

type PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorNotFound added in v0.1.2

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

Not Found

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorNotFound added in v0.1.2

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorNotFound() *PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorNotFound

NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorNotFound creates a PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorNotFound with default headers values

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorNotFound) Error added in v0.1.2

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorNotFound) GetPayload added in v0.1.2

type PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams added in v0.1.2

type PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams struct {

	/* Selector.

	   The Environment's selector
	*/
	Selector string

	/* Summary.

	   Summary of the incident
	*/
	Summary *models.PagerdutyAlertSummary

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

PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams contains all the parameters to send to the API endpoint

for the post API v2 procedures environments trigger incident selector operation.

Typically these are written to a http.Request.

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams added in v0.1.2

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams() *PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams

NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams creates a new PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams 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 NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParamsWithContext added in v0.1.2

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParamsWithContext(ctx context.Context) *PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams

NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParamsWithContext creates a new PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams object with the ability to set a context for a request.

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParamsWithHTTPClient added in v0.1.2

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParamsWithHTTPClient(client *http.Client) *PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams

NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParamsWithHTTPClient creates a new PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParamsWithTimeout added in v0.1.2

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParamsWithTimeout(timeout time.Duration) *PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams

NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParamsWithTimeout creates a new PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams object with the ability to set a timeout on a request.

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams) SetContext added in v0.1.2

SetContext adds the context to the post API v2 procedures environments trigger incident selector params

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams) SetDefaults added in v0.1.2

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

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

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams) SetHTTPClient added in v0.1.2

SetHTTPClient adds the HTTPClient to the post API v2 procedures environments trigger incident selector params

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams) SetSelector added in v0.1.2

SetSelector adds the selector to the post API v2 procedures environments trigger incident selector params

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams) SetSummary added in v0.1.2

SetSummary adds the summary to the post API v2 procedures environments trigger incident selector params

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams) SetTimeout added in v0.1.2

SetTimeout adds the timeout to the post API v2 procedures environments trigger incident selector params

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams) WithContext added in v0.1.2

WithContext adds the context to the post API v2 procedures environments trigger incident selector params

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams) WithDefaults added in v0.1.2

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

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

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams) WithHTTPClient added in v0.1.2

WithHTTPClient adds the HTTPClient to the post API v2 procedures environments trigger incident selector params

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams) WithSelector added in v0.1.2

WithSelector adds the selector to the post API v2 procedures environments trigger incident selector params

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams) WithSummary added in v0.1.2

WithSummary adds the summary to the post API v2 procedures environments trigger incident selector params

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams) WithTimeout added in v0.1.2

WithTimeout adds the timeout to the post API v2 procedures environments trigger incident selector params

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorParams) WriteToRequest added in v0.1.2

WriteToRequest writes these params to a swagger request

type PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorProxyAuthenticationRequired added in v0.1.2

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

Proxy Authentication Required

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorProxyAuthenticationRequired added in v0.1.2

func NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorProxyAuthenticationRequired() *PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorProxyAuthenticationRequired

NewPostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorProxyAuthenticationRequired creates a PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorProxyAuthenticationRequired with default headers values

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorProxyAuthenticationRequired) Error added in v0.1.2

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorProxyAuthenticationRequired) GetPayload added in v0.1.2

type PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorReader added in v0.1.2

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

PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorReader is a Reader for the PostAPIV2ProceduresEnvironmentsTriggerIncidentSelector structure.

func (*PostAPIV2ProceduresEnvironmentsTriggerIncidentSelectorReader) ReadResponse added in v0.1.2

ReadResponse reads a server response into the received o.

type PutAPIV2EnvironmentsSelectorBadRequest added in v0.1.2

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

Bad Request

func NewPutAPIV2EnvironmentsSelectorBadRequest added in v0.1.2

func NewPutAPIV2EnvironmentsSelectorBadRequest() *PutAPIV2EnvironmentsSelectorBadRequest

NewPutAPIV2EnvironmentsSelectorBadRequest creates a PutAPIV2EnvironmentsSelectorBadRequest with default headers values

func (*PutAPIV2EnvironmentsSelectorBadRequest) Error added in v0.1.2

func (*PutAPIV2EnvironmentsSelectorBadRequest) GetPayload added in v0.1.2

type PutAPIV2EnvironmentsSelectorConflict added in v0.1.2

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

Conflict

func NewPutAPIV2EnvironmentsSelectorConflict added in v0.1.2

func NewPutAPIV2EnvironmentsSelectorConflict() *PutAPIV2EnvironmentsSelectorConflict

NewPutAPIV2EnvironmentsSelectorConflict creates a PutAPIV2EnvironmentsSelectorConflict with default headers values

func (*PutAPIV2EnvironmentsSelectorConflict) Error added in v0.1.2

func (*PutAPIV2EnvironmentsSelectorConflict) GetPayload added in v0.1.2

type PutAPIV2EnvironmentsSelectorCreated added in v0.1.2

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

Created

func NewPutAPIV2EnvironmentsSelectorCreated added in v0.1.2

func NewPutAPIV2EnvironmentsSelectorCreated() *PutAPIV2EnvironmentsSelectorCreated

NewPutAPIV2EnvironmentsSelectorCreated creates a PutAPIV2EnvironmentsSelectorCreated with default headers values

func (*PutAPIV2EnvironmentsSelectorCreated) Error added in v0.1.2

func (*PutAPIV2EnvironmentsSelectorCreated) GetPayload added in v0.1.2

type PutAPIV2EnvironmentsSelectorForbidden added in v0.1.2

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

Forbidden

func NewPutAPIV2EnvironmentsSelectorForbidden added in v0.1.2

func NewPutAPIV2EnvironmentsSelectorForbidden() *PutAPIV2EnvironmentsSelectorForbidden

NewPutAPIV2EnvironmentsSelectorForbidden creates a PutAPIV2EnvironmentsSelectorForbidden with default headers values

func (*PutAPIV2EnvironmentsSelectorForbidden) Error added in v0.1.2

func (*PutAPIV2EnvironmentsSelectorForbidden) GetPayload added in v0.1.2

type PutAPIV2EnvironmentsSelectorInternalServerError added in v0.1.2

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

Internal Server Error

func NewPutAPIV2EnvironmentsSelectorInternalServerError added in v0.1.2

func NewPutAPIV2EnvironmentsSelectorInternalServerError() *PutAPIV2EnvironmentsSelectorInternalServerError

NewPutAPIV2EnvironmentsSelectorInternalServerError creates a PutAPIV2EnvironmentsSelectorInternalServerError with default headers values

func (*PutAPIV2EnvironmentsSelectorInternalServerError) Error added in v0.1.2

func (*PutAPIV2EnvironmentsSelectorInternalServerError) GetPayload added in v0.1.2

type PutAPIV2EnvironmentsSelectorNotFound added in v0.1.2

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

Not Found

func NewPutAPIV2EnvironmentsSelectorNotFound added in v0.1.2

func NewPutAPIV2EnvironmentsSelectorNotFound() *PutAPIV2EnvironmentsSelectorNotFound

NewPutAPIV2EnvironmentsSelectorNotFound creates a PutAPIV2EnvironmentsSelectorNotFound with default headers values

func (*PutAPIV2EnvironmentsSelectorNotFound) Error added in v0.1.2

func (*PutAPIV2EnvironmentsSelectorNotFound) GetPayload added in v0.1.2

type PutAPIV2EnvironmentsSelectorOK added in v0.1.2

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

OK

func NewPutAPIV2EnvironmentsSelectorOK added in v0.1.2

func NewPutAPIV2EnvironmentsSelectorOK() *PutAPIV2EnvironmentsSelectorOK

NewPutAPIV2EnvironmentsSelectorOK creates a PutAPIV2EnvironmentsSelectorOK with default headers values

func (*PutAPIV2EnvironmentsSelectorOK) Error added in v0.1.2

func (*PutAPIV2EnvironmentsSelectorOK) GetPayload added in v0.1.2

type PutAPIV2EnvironmentsSelectorParams added in v0.1.2

type PutAPIV2EnvironmentsSelectorParams struct {

	/* Environment.

	   The Environment to upsert
	*/
	Environment *models.V2controllersCreatableEnvironment

	/* Selector.

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

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

PutAPIV2EnvironmentsSelectorParams contains all the parameters to send to the API endpoint

for the put API v2 environments selector operation.

Typically these are written to a http.Request.

func NewPutAPIV2EnvironmentsSelectorParams added in v0.1.2

func NewPutAPIV2EnvironmentsSelectorParams() *PutAPIV2EnvironmentsSelectorParams

NewPutAPIV2EnvironmentsSelectorParams creates a new PutAPIV2EnvironmentsSelectorParams 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 NewPutAPIV2EnvironmentsSelectorParamsWithContext added in v0.1.2

func NewPutAPIV2EnvironmentsSelectorParamsWithContext(ctx context.Context) *PutAPIV2EnvironmentsSelectorParams

NewPutAPIV2EnvironmentsSelectorParamsWithContext creates a new PutAPIV2EnvironmentsSelectorParams object with the ability to set a context for a request.

func NewPutAPIV2EnvironmentsSelectorParamsWithHTTPClient added in v0.1.2

func NewPutAPIV2EnvironmentsSelectorParamsWithHTTPClient(client *http.Client) *PutAPIV2EnvironmentsSelectorParams

NewPutAPIV2EnvironmentsSelectorParamsWithHTTPClient creates a new PutAPIV2EnvironmentsSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewPutAPIV2EnvironmentsSelectorParamsWithTimeout added in v0.1.2

func NewPutAPIV2EnvironmentsSelectorParamsWithTimeout(timeout time.Duration) *PutAPIV2EnvironmentsSelectorParams

NewPutAPIV2EnvironmentsSelectorParamsWithTimeout creates a new PutAPIV2EnvironmentsSelectorParams object with the ability to set a timeout on a request.

func (*PutAPIV2EnvironmentsSelectorParams) SetContext added in v0.1.2

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

func (*PutAPIV2EnvironmentsSelectorParams) SetDefaults added in v0.1.2

func (o *PutAPIV2EnvironmentsSelectorParams) SetDefaults()

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

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

func (*PutAPIV2EnvironmentsSelectorParams) SetEnvironment added in v0.1.2

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

func (*PutAPIV2EnvironmentsSelectorParams) SetHTTPClient added in v0.1.2

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

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

func (*PutAPIV2EnvironmentsSelectorParams) SetSelector added in v0.1.2

func (o *PutAPIV2EnvironmentsSelectorParams) SetSelector(selector string)

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

func (*PutAPIV2EnvironmentsSelectorParams) SetTimeout added in v0.1.2

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

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

func (*PutAPIV2EnvironmentsSelectorParams) WithContext added in v0.1.2

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

func (*PutAPIV2EnvironmentsSelectorParams) WithDefaults added in v0.1.2

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

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

func (*PutAPIV2EnvironmentsSelectorParams) WithEnvironment added in v0.1.2

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

func (*PutAPIV2EnvironmentsSelectorParams) WithHTTPClient added in v0.1.2

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

func (*PutAPIV2EnvironmentsSelectorParams) WithSelector added in v0.1.2

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

func (*PutAPIV2EnvironmentsSelectorParams) WithTimeout added in v0.1.2

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

func (*PutAPIV2EnvironmentsSelectorParams) WriteToRequest added in v0.1.2

WriteToRequest writes these params to a swagger request

type PutAPIV2EnvironmentsSelectorProxyAuthenticationRequired added in v0.1.2

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

Proxy Authentication Required

func NewPutAPIV2EnvironmentsSelectorProxyAuthenticationRequired added in v0.1.2

func NewPutAPIV2EnvironmentsSelectorProxyAuthenticationRequired() *PutAPIV2EnvironmentsSelectorProxyAuthenticationRequired

NewPutAPIV2EnvironmentsSelectorProxyAuthenticationRequired creates a PutAPIV2EnvironmentsSelectorProxyAuthenticationRequired with default headers values

func (*PutAPIV2EnvironmentsSelectorProxyAuthenticationRequired) Error added in v0.1.2

func (*PutAPIV2EnvironmentsSelectorProxyAuthenticationRequired) GetPayload added in v0.1.2

type PutAPIV2EnvironmentsSelectorReader added in v0.1.2

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

PutAPIV2EnvironmentsSelectorReader is a Reader for the PutAPIV2EnvironmentsSelector structure.

func (*PutAPIV2EnvironmentsSelectorReader) ReadResponse added in v0.1.2

func (o *PutAPIV2EnvironmentsSelectorReader) 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