Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteAPIV2EnvironmentsSelector(params *DeleteAPIV2EnvironmentsSelectorParams, opts ...ClientOption) (*DeleteAPIV2EnvironmentsSelectorOK, error)
- func (a *Client) GetAPIV2Environments(params *GetAPIV2EnvironmentsParams, opts ...ClientOption) (*GetAPIV2EnvironmentsOK, error)
- func (a *Client) GetAPIV2EnvironmentsSelector(params *GetAPIV2EnvironmentsSelectorParams, opts ...ClientOption) (*GetAPIV2EnvironmentsSelectorOK, error)
- func (a *Client) GetAPIV2SelectorsEnvironmentsSelector(params *GetAPIV2SelectorsEnvironmentsSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsEnvironmentsSelectorOK, error)
- func (a *Client) PatchAPIV2EnvironmentsSelector(params *PatchAPIV2EnvironmentsSelectorParams, opts ...ClientOption) (*PatchAPIV2EnvironmentsSelectorOK, error)
- func (a *Client) PostAPIV2Environments(params *PostAPIV2EnvironmentsParams, opts ...ClientOption) (*PostAPIV2EnvironmentsOK, *PostAPIV2EnvironmentsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAPIV2EnvironmentsSelectorBadRequest
- type DeleteAPIV2EnvironmentsSelectorConflict
- type DeleteAPIV2EnvironmentsSelectorForbidden
- type DeleteAPIV2EnvironmentsSelectorInternalServerError
- type DeleteAPIV2EnvironmentsSelectorNotFound
- type DeleteAPIV2EnvironmentsSelectorOK
- type DeleteAPIV2EnvironmentsSelectorParams
- func NewDeleteAPIV2EnvironmentsSelectorParams() *DeleteAPIV2EnvironmentsSelectorParams
- func NewDeleteAPIV2EnvironmentsSelectorParamsWithContext(ctx context.Context) *DeleteAPIV2EnvironmentsSelectorParams
- func NewDeleteAPIV2EnvironmentsSelectorParamsWithHTTPClient(client *http.Client) *DeleteAPIV2EnvironmentsSelectorParams
- func NewDeleteAPIV2EnvironmentsSelectorParamsWithTimeout(timeout time.Duration) *DeleteAPIV2EnvironmentsSelectorParams
- func (o *DeleteAPIV2EnvironmentsSelectorParams) SetContext(ctx context.Context)
- func (o *DeleteAPIV2EnvironmentsSelectorParams) SetDefaults()
- func (o *DeleteAPIV2EnvironmentsSelectorParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPIV2EnvironmentsSelectorParams) SetSelector(selector string)
- func (o *DeleteAPIV2EnvironmentsSelectorParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPIV2EnvironmentsSelectorParams) WithContext(ctx context.Context) *DeleteAPIV2EnvironmentsSelectorParams
- func (o *DeleteAPIV2EnvironmentsSelectorParams) WithDefaults() *DeleteAPIV2EnvironmentsSelectorParams
- func (o *DeleteAPIV2EnvironmentsSelectorParams) WithHTTPClient(client *http.Client) *DeleteAPIV2EnvironmentsSelectorParams
- func (o *DeleteAPIV2EnvironmentsSelectorParams) WithSelector(selector string) *DeleteAPIV2EnvironmentsSelectorParams
- func (o *DeleteAPIV2EnvironmentsSelectorParams) WithTimeout(timeout time.Duration) *DeleteAPIV2EnvironmentsSelectorParams
- func (o *DeleteAPIV2EnvironmentsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPIV2EnvironmentsSelectorProxyAuthenticationRequired
- type DeleteAPIV2EnvironmentsSelectorReader
- type GetAPIV2EnvironmentsBadRequest
- type GetAPIV2EnvironmentsConflict
- type GetAPIV2EnvironmentsForbidden
- type GetAPIV2EnvironmentsInternalServerError
- type GetAPIV2EnvironmentsNotFound
- type GetAPIV2EnvironmentsOK
- type GetAPIV2EnvironmentsParams
- func NewGetAPIV2EnvironmentsParams() *GetAPIV2EnvironmentsParams
- func NewGetAPIV2EnvironmentsParamsWithContext(ctx context.Context) *GetAPIV2EnvironmentsParams
- func NewGetAPIV2EnvironmentsParamsWithHTTPClient(client *http.Client) *GetAPIV2EnvironmentsParams
- func NewGetAPIV2EnvironmentsParamsWithTimeout(timeout time.Duration) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) SetBase(base *string)
- func (o *GetAPIV2EnvironmentsParams) SetBaseDomain(baseDomain *string)
- func (o *GetAPIV2EnvironmentsParams) SetChartReleasesFromTemplate(chartReleasesFromTemplate *bool)
- func (o *GetAPIV2EnvironmentsParams) SetContext(ctx context.Context)
- func (o *GetAPIV2EnvironmentsParams) SetCreatedAt(createdAt *strfmt.DateTime)
- func (o *GetAPIV2EnvironmentsParams) SetDefaultCluster(defaultCluster *string)
- func (o *GetAPIV2EnvironmentsParams) SetDefaultFirecloudDevelopRef(defaultFirecloudDevelopRef *string)
- func (o *GetAPIV2EnvironmentsParams) SetDefaultNamespace(defaultNamespace *string)
- func (o *GetAPIV2EnvironmentsParams) SetDefaults()
- func (o *GetAPIV2EnvironmentsParams) SetDescription(description *string)
- func (o *GetAPIV2EnvironmentsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIV2EnvironmentsParams) SetHelmfileRef(helmfileRef *string)
- func (o *GetAPIV2EnvironmentsParams) SetID(id *int64)
- func (o *GetAPIV2EnvironmentsParams) SetLifecycle(lifecycle *string)
- func (o *GetAPIV2EnvironmentsParams) SetLimit(limit *int64)
- func (o *GetAPIV2EnvironmentsParams) SetName(name *string)
- func (o *GetAPIV2EnvironmentsParams) SetNamePrefix(namePrefix *string)
- func (o *GetAPIV2EnvironmentsParams) SetNamePrefixesDomain(namePrefixesDomain *bool)
- func (o *GetAPIV2EnvironmentsParams) SetOwner(owner *string)
- func (o *GetAPIV2EnvironmentsParams) SetPreventDeletion(preventDeletion *bool)
- func (o *GetAPIV2EnvironmentsParams) SetRequiresSuitability(requiresSuitability *bool)
- func (o *GetAPIV2EnvironmentsParams) SetTemplateEnvironment(templateEnvironment *string)
- func (o *GetAPIV2EnvironmentsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIV2EnvironmentsParams) SetUniqueResourcePrefix(uniqueResourcePrefix *string)
- func (o *GetAPIV2EnvironmentsParams) SetUpdatedAt(updatedAt *strfmt.DateTime)
- func (o *GetAPIV2EnvironmentsParams) SetValuesName(valuesName *string)
- func (o *GetAPIV2EnvironmentsParams) WithBase(base *string) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithBaseDomain(baseDomain *string) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithChartReleasesFromTemplate(chartReleasesFromTemplate *bool) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithContext(ctx context.Context) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithCreatedAt(createdAt *strfmt.DateTime) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithDefaultCluster(defaultCluster *string) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithDefaultFirecloudDevelopRef(defaultFirecloudDevelopRef *string) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithDefaultNamespace(defaultNamespace *string) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithDefaults() *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithDescription(description *string) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithHTTPClient(client *http.Client) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithHelmfileRef(helmfileRef *string) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithID(id *int64) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithLifecycle(lifecycle *string) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithLimit(limit *int64) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithName(name *string) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithNamePrefix(namePrefix *string) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithNamePrefixesDomain(namePrefixesDomain *bool) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithOwner(owner *string) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithPreventDeletion(preventDeletion *bool) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithRequiresSuitability(requiresSuitability *bool) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithTemplateEnvironment(templateEnvironment *string) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithTimeout(timeout time.Duration) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithUniqueResourcePrefix(uniqueResourcePrefix *string) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithUpdatedAt(updatedAt *strfmt.DateTime) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WithValuesName(valuesName *string) *GetAPIV2EnvironmentsParams
- func (o *GetAPIV2EnvironmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIV2EnvironmentsProxyAuthenticationRequired
- type GetAPIV2EnvironmentsReader
- type GetAPIV2EnvironmentsSelectorBadRequest
- type GetAPIV2EnvironmentsSelectorConflict
- type GetAPIV2EnvironmentsSelectorForbidden
- type GetAPIV2EnvironmentsSelectorInternalServerError
- type GetAPIV2EnvironmentsSelectorNotFound
- type GetAPIV2EnvironmentsSelectorOK
- type GetAPIV2EnvironmentsSelectorParams
- func NewGetAPIV2EnvironmentsSelectorParams() *GetAPIV2EnvironmentsSelectorParams
- func NewGetAPIV2EnvironmentsSelectorParamsWithContext(ctx context.Context) *GetAPIV2EnvironmentsSelectorParams
- func NewGetAPIV2EnvironmentsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2EnvironmentsSelectorParams
- func NewGetAPIV2EnvironmentsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2EnvironmentsSelectorParams
- func (o *GetAPIV2EnvironmentsSelectorParams) SetContext(ctx context.Context)
- func (o *GetAPIV2EnvironmentsSelectorParams) SetDefaults()
- func (o *GetAPIV2EnvironmentsSelectorParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIV2EnvironmentsSelectorParams) SetSelector(selector string)
- func (o *GetAPIV2EnvironmentsSelectorParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIV2EnvironmentsSelectorParams) WithContext(ctx context.Context) *GetAPIV2EnvironmentsSelectorParams
- func (o *GetAPIV2EnvironmentsSelectorParams) WithDefaults() *GetAPIV2EnvironmentsSelectorParams
- func (o *GetAPIV2EnvironmentsSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2EnvironmentsSelectorParams
- func (o *GetAPIV2EnvironmentsSelectorParams) WithSelector(selector string) *GetAPIV2EnvironmentsSelectorParams
- func (o *GetAPIV2EnvironmentsSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2EnvironmentsSelectorParams
- func (o *GetAPIV2EnvironmentsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIV2EnvironmentsSelectorProxyAuthenticationRequired
- type GetAPIV2EnvironmentsSelectorReader
- type GetAPIV2SelectorsEnvironmentsSelectorBadRequest
- type GetAPIV2SelectorsEnvironmentsSelectorConflict
- type GetAPIV2SelectorsEnvironmentsSelectorForbidden
- type GetAPIV2SelectorsEnvironmentsSelectorInternalServerError
- type GetAPIV2SelectorsEnvironmentsSelectorNotFound
- type GetAPIV2SelectorsEnvironmentsSelectorOK
- type GetAPIV2SelectorsEnvironmentsSelectorParams
- func NewGetAPIV2SelectorsEnvironmentsSelectorParams() *GetAPIV2SelectorsEnvironmentsSelectorParams
- func NewGetAPIV2SelectorsEnvironmentsSelectorParamsWithContext(ctx context.Context) *GetAPIV2SelectorsEnvironmentsSelectorParams
- func NewGetAPIV2SelectorsEnvironmentsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2SelectorsEnvironmentsSelectorParams
- func NewGetAPIV2SelectorsEnvironmentsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2SelectorsEnvironmentsSelectorParams
- func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) SetContext(ctx context.Context)
- func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) SetDefaults()
- func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) SetSelector(selector string)
- func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) WithContext(ctx context.Context) *GetAPIV2SelectorsEnvironmentsSelectorParams
- func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) WithDefaults() *GetAPIV2SelectorsEnvironmentsSelectorParams
- func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2SelectorsEnvironmentsSelectorParams
- func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) WithSelector(selector string) *GetAPIV2SelectorsEnvironmentsSelectorParams
- func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2SelectorsEnvironmentsSelectorParams
- func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIV2SelectorsEnvironmentsSelectorProxyAuthenticationRequired
- type GetAPIV2SelectorsEnvironmentsSelectorReader
- type PatchAPIV2EnvironmentsSelectorBadRequest
- type PatchAPIV2EnvironmentsSelectorConflict
- type PatchAPIV2EnvironmentsSelectorForbidden
- type PatchAPIV2EnvironmentsSelectorInternalServerError
- type PatchAPIV2EnvironmentsSelectorNotFound
- type PatchAPIV2EnvironmentsSelectorOK
- type PatchAPIV2EnvironmentsSelectorParams
- func NewPatchAPIV2EnvironmentsSelectorParams() *PatchAPIV2EnvironmentsSelectorParams
- func NewPatchAPIV2EnvironmentsSelectorParamsWithContext(ctx context.Context) *PatchAPIV2EnvironmentsSelectorParams
- func NewPatchAPIV2EnvironmentsSelectorParamsWithHTTPClient(client *http.Client) *PatchAPIV2EnvironmentsSelectorParams
- func NewPatchAPIV2EnvironmentsSelectorParamsWithTimeout(timeout time.Duration) *PatchAPIV2EnvironmentsSelectorParams
- func (o *PatchAPIV2EnvironmentsSelectorParams) SetContext(ctx context.Context)
- func (o *PatchAPIV2EnvironmentsSelectorParams) SetDefaults()
- func (o *PatchAPIV2EnvironmentsSelectorParams) SetEnvironment(environment *models.V2controllersEditableEnvironment)
- func (o *PatchAPIV2EnvironmentsSelectorParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPIV2EnvironmentsSelectorParams) SetSelector(selector string)
- func (o *PatchAPIV2EnvironmentsSelectorParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPIV2EnvironmentsSelectorParams) WithContext(ctx context.Context) *PatchAPIV2EnvironmentsSelectorParams
- func (o *PatchAPIV2EnvironmentsSelectorParams) WithDefaults() *PatchAPIV2EnvironmentsSelectorParams
- func (o *PatchAPIV2EnvironmentsSelectorParams) WithEnvironment(environment *models.V2controllersEditableEnvironment) *PatchAPIV2EnvironmentsSelectorParams
- func (o *PatchAPIV2EnvironmentsSelectorParams) WithHTTPClient(client *http.Client) *PatchAPIV2EnvironmentsSelectorParams
- func (o *PatchAPIV2EnvironmentsSelectorParams) WithSelector(selector string) *PatchAPIV2EnvironmentsSelectorParams
- func (o *PatchAPIV2EnvironmentsSelectorParams) WithTimeout(timeout time.Duration) *PatchAPIV2EnvironmentsSelectorParams
- func (o *PatchAPIV2EnvironmentsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPIV2EnvironmentsSelectorProxyAuthenticationRequired
- type PatchAPIV2EnvironmentsSelectorReader
- type PostAPIV2EnvironmentsBadRequest
- type PostAPIV2EnvironmentsConflict
- type PostAPIV2EnvironmentsCreated
- type PostAPIV2EnvironmentsForbidden
- type PostAPIV2EnvironmentsInternalServerError
- type PostAPIV2EnvironmentsNotFound
- type PostAPIV2EnvironmentsOK
- type PostAPIV2EnvironmentsParams
- func NewPostAPIV2EnvironmentsParams() *PostAPIV2EnvironmentsParams
- func NewPostAPIV2EnvironmentsParamsWithContext(ctx context.Context) *PostAPIV2EnvironmentsParams
- func NewPostAPIV2EnvironmentsParamsWithHTTPClient(client *http.Client) *PostAPIV2EnvironmentsParams
- func NewPostAPIV2EnvironmentsParamsWithTimeout(timeout time.Duration) *PostAPIV2EnvironmentsParams
- func (o *PostAPIV2EnvironmentsParams) SetContext(ctx context.Context)
- func (o *PostAPIV2EnvironmentsParams) SetDefaults()
- func (o *PostAPIV2EnvironmentsParams) SetEnvironment(environment *models.V2controllersCreatableEnvironment)
- func (o *PostAPIV2EnvironmentsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIV2EnvironmentsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIV2EnvironmentsParams) WithContext(ctx context.Context) *PostAPIV2EnvironmentsParams
- func (o *PostAPIV2EnvironmentsParams) WithDefaults() *PostAPIV2EnvironmentsParams
- func (o *PostAPIV2EnvironmentsParams) WithEnvironment(environment *models.V2controllersCreatableEnvironment) *PostAPIV2EnvironmentsParams
- func (o *PostAPIV2EnvironmentsParams) WithHTTPClient(client *http.Client) *PostAPIV2EnvironmentsParams
- func (o *PostAPIV2EnvironmentsParams) WithTimeout(timeout time.Duration) *PostAPIV2EnvironmentsParams
- func (o *PostAPIV2EnvironmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIV2EnvironmentsProxyAuthenticationRequired
- type PostAPIV2EnvironmentsReader
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 ¶
func (a *Client) PostAPIV2Environments(params *PostAPIV2EnvironmentsParams, opts ...ClientOption) (*PostAPIV2EnvironmentsOK, *PostAPIV2EnvironmentsCreated, error)
PostAPIV2Environments creates a new environment entry Create a new Environment entry. Note that some fields are immutable after creation; /edit lists mutable fields.
Creating a dynamic environment based on a template will also copy ChartReleases from the template.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteAPIV2EnvironmentsSelector(params *DeleteAPIV2EnvironmentsSelectorParams, opts ...ClientOption) (*DeleteAPIV2EnvironmentsSelectorOK, error) GetAPIV2Environments(params *GetAPIV2EnvironmentsParams, opts ...ClientOption) (*GetAPIV2EnvironmentsOK, error) GetAPIV2EnvironmentsSelector(params *GetAPIV2EnvironmentsSelectorParams, opts ...ClientOption) (*GetAPIV2EnvironmentsSelectorOK, error) GetAPIV2SelectorsEnvironmentsSelector(params *GetAPIV2SelectorsEnvironmentsSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsEnvironmentsSelectorOK, error) PatchAPIV2EnvironmentsSelector(params *PatchAPIV2EnvironmentsSelectorParams, opts ...ClientOption) (*PatchAPIV2EnvironmentsSelectorOK, error) PostAPIV2Environments(params *PostAPIV2EnvironmentsParams, opts ...ClientOption) (*PostAPIV2EnvironmentsOK, *PostAPIV2EnvironmentsCreated, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new environments API client.
type DeleteAPIV2EnvironmentsSelectorBadRequest ¶
type DeleteAPIV2EnvironmentsSelectorBadRequest struct {
Payload *models.ErrorsErrorResponse
}
DeleteAPIV2EnvironmentsSelectorBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteAPIV2EnvironmentsSelectorBadRequest ¶
func NewDeleteAPIV2EnvironmentsSelectorBadRequest() *DeleteAPIV2EnvironmentsSelectorBadRequest
NewDeleteAPIV2EnvironmentsSelectorBadRequest creates a DeleteAPIV2EnvironmentsSelectorBadRequest with default headers values
func (*DeleteAPIV2EnvironmentsSelectorBadRequest) Error ¶
func (o *DeleteAPIV2EnvironmentsSelectorBadRequest) Error() string
func (*DeleteAPIV2EnvironmentsSelectorBadRequest) GetPayload ¶
func (o *DeleteAPIV2EnvironmentsSelectorBadRequest) GetPayload() *models.ErrorsErrorResponse
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 (o *DeleteAPIV2EnvironmentsSelectorConflict) Error() string
func (*DeleteAPIV2EnvironmentsSelectorConflict) GetPayload ¶
func (o *DeleteAPIV2EnvironmentsSelectorConflict) GetPayload() *models.ErrorsErrorResponse
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 (o *DeleteAPIV2EnvironmentsSelectorForbidden) Error() string
func (*DeleteAPIV2EnvironmentsSelectorForbidden) GetPayload ¶
func (o *DeleteAPIV2EnvironmentsSelectorForbidden) GetPayload() *models.ErrorsErrorResponse
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 (o *DeleteAPIV2EnvironmentsSelectorInternalServerError) Error() string
func (*DeleteAPIV2EnvironmentsSelectorInternalServerError) GetPayload ¶
func (o *DeleteAPIV2EnvironmentsSelectorInternalServerError) GetPayload() *models.ErrorsErrorResponse
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 (o *DeleteAPIV2EnvironmentsSelectorNotFound) Error() string
func (*DeleteAPIV2EnvironmentsSelectorNotFound) GetPayload ¶
func (o *DeleteAPIV2EnvironmentsSelectorNotFound) GetPayload() *models.ErrorsErrorResponse
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 (o *DeleteAPIV2EnvironmentsSelectorOK) Error() string
func (*DeleteAPIV2EnvironmentsSelectorOK) GetPayload ¶
func (o *DeleteAPIV2EnvironmentsSelectorOK) GetPayload() *models.V2controllersEnvironment
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 ¶
func (o *DeleteAPIV2EnvironmentsSelectorParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteAPIV2EnvironmentsSelectorParams) WithContext(ctx context.Context) *DeleteAPIV2EnvironmentsSelectorParams
WithContext adds the context to the delete API v2 environments selector params
func (*DeleteAPIV2EnvironmentsSelectorParams) WithDefaults ¶
func (o *DeleteAPIV2EnvironmentsSelectorParams) WithDefaults() *DeleteAPIV2EnvironmentsSelectorParams
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 ¶
func (o *DeleteAPIV2EnvironmentsSelectorParams) WithHTTPClient(client *http.Client) *DeleteAPIV2EnvironmentsSelectorParams
WithHTTPClient adds the HTTPClient to the delete API v2 environments selector params
func (*DeleteAPIV2EnvironmentsSelectorParams) WithSelector ¶
func (o *DeleteAPIV2EnvironmentsSelectorParams) WithSelector(selector string) *DeleteAPIV2EnvironmentsSelectorParams
WithSelector adds the selector to the delete API v2 environments selector params
func (*DeleteAPIV2EnvironmentsSelectorParams) WithTimeout ¶
func (o *DeleteAPIV2EnvironmentsSelectorParams) WithTimeout(timeout time.Duration) *DeleteAPIV2EnvironmentsSelectorParams
WithTimeout adds the timeout to the delete API v2 environments selector params
func (*DeleteAPIV2EnvironmentsSelectorParams) WriteToRequest ¶
func (o *DeleteAPIV2EnvironmentsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteAPIV2EnvironmentsSelectorProxyAuthenticationRequired) Error() string
func (*DeleteAPIV2EnvironmentsSelectorProxyAuthenticationRequired) GetPayload ¶
func (o *DeleteAPIV2EnvironmentsSelectorProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2EnvironmentsBadRequest) Error() string
func (*GetAPIV2EnvironmentsBadRequest) GetPayload ¶
func (o *GetAPIV2EnvironmentsBadRequest) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2EnvironmentsConflict) Error() string
func (*GetAPIV2EnvironmentsConflict) GetPayload ¶
func (o *GetAPIV2EnvironmentsConflict) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2EnvironmentsForbidden) Error() string
func (*GetAPIV2EnvironmentsForbidden) GetPayload ¶
func (o *GetAPIV2EnvironmentsForbidden) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2EnvironmentsInternalServerError) Error() string
func (*GetAPIV2EnvironmentsInternalServerError) GetPayload ¶
func (o *GetAPIV2EnvironmentsInternalServerError) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2EnvironmentsNotFound) Error() string
func (*GetAPIV2EnvironmentsNotFound) GetPayload ¶
func (o *GetAPIV2EnvironmentsNotFound) GetPayload() *models.ErrorsErrorResponse
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 ¶
func (o *GetAPIV2EnvironmentsOK) GetPayload() []*models.V2controllersEnvironment
type GetAPIV2EnvironmentsParams ¶
type GetAPIV2EnvironmentsParams struct { /* Base. Required when creating */ Base *string // BaseDomain. // // Default: "bee.envs-terra.bio" BaseDomain *string /* ChartReleasesFromTemplate. Upon creation of a dynamic environment, if this is true the template's chart releases will be copied to the new environment Default: true */ ChartReleasesFromTemplate *bool // CreatedAt. // // Format: date-time CreatedAt *strfmt.DateTime // DefaultCluster. DefaultCluster *string /* DefaultFirecloudDevelopRef. should be the environment branch for live envs. Is usually dev for template/dynamic but not necessarily Default: "dev" */ DefaultFirecloudDevelopRef *string /* DefaultNamespace. When creating, will be calculated if left empty */ DefaultNamespace *string // Description. Description *string // HelmfileRef. // // Default: "HEAD" HelmfileRef *string // ID. ID *int64 // Lifecycle. // // Default: "dynamic" Lifecycle *string /* Limit. An optional limit to the number of entries returned */ Limit *int64 /* Name. When creating, will be calculated if dynamic, required otherwise */ Name *string /* NamePrefix. Used for dynamic environment name generation only, to override using the owner email handle and template name */ NamePrefix *string // NamePrefixesDomain. // // Default: true NamePrefixesDomain *bool /* Owner. When creating, will be set to your email */ Owner *string /* PreventDeletion. Used to protect specific BEEs from deletion (thelma checks this field) */ PreventDeletion *bool // RequiresSuitability. RequiresSuitability *bool /* TemplateEnvironment. Required for dynamic environments */ TemplateEnvironment *string /* UniqueResourcePrefix. When creating, will be calculated if left empty */ UniqueResourcePrefix *string // UpdatedAt. // // Format: date-time UpdatedAt *strfmt.DateTime // ValuesName. ValuesName *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIV2EnvironmentsParams contains all the parameters to send to the API endpoint
for the get API v2 environments operation. Typically these are written to a http.Request.
func NewGetAPIV2EnvironmentsParams ¶
func NewGetAPIV2EnvironmentsParams() *GetAPIV2EnvironmentsParams
NewGetAPIV2EnvironmentsParams creates a new GetAPIV2EnvironmentsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIV2EnvironmentsParamsWithContext ¶
func NewGetAPIV2EnvironmentsParamsWithContext(ctx context.Context) *GetAPIV2EnvironmentsParams
NewGetAPIV2EnvironmentsParamsWithContext creates a new GetAPIV2EnvironmentsParams object with the ability to set a context for a request.
func NewGetAPIV2EnvironmentsParamsWithHTTPClient ¶
func NewGetAPIV2EnvironmentsParamsWithHTTPClient(client *http.Client) *GetAPIV2EnvironmentsParams
NewGetAPIV2EnvironmentsParamsWithHTTPClient creates a new GetAPIV2EnvironmentsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIV2EnvironmentsParamsWithTimeout ¶
func NewGetAPIV2EnvironmentsParamsWithTimeout(timeout time.Duration) *GetAPIV2EnvironmentsParams
NewGetAPIV2EnvironmentsParamsWithTimeout creates a new GetAPIV2EnvironmentsParams object with the ability to set a timeout on a request.
func (*GetAPIV2EnvironmentsParams) SetBase ¶
func (o *GetAPIV2EnvironmentsParams) SetBase(base *string)
SetBase adds the base to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetBaseDomain ¶ added in v0.0.55
func (o *GetAPIV2EnvironmentsParams) SetBaseDomain(baseDomain *string)
SetBaseDomain adds the baseDomain to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetChartReleasesFromTemplate ¶
func (o *GetAPIV2EnvironmentsParams) SetChartReleasesFromTemplate(chartReleasesFromTemplate *bool)
SetChartReleasesFromTemplate adds the chartReleasesFromTemplate to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetContext ¶
func (o *GetAPIV2EnvironmentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetCreatedAt ¶
func (o *GetAPIV2EnvironmentsParams) SetCreatedAt(createdAt *strfmt.DateTime)
SetCreatedAt adds the createdAt to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetDefaultCluster ¶
func (o *GetAPIV2EnvironmentsParams) SetDefaultCluster(defaultCluster *string)
SetDefaultCluster adds the defaultCluster to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetDefaultFirecloudDevelopRef ¶ added in v0.0.64
func (o *GetAPIV2EnvironmentsParams) SetDefaultFirecloudDevelopRef(defaultFirecloudDevelopRef *string)
SetDefaultFirecloudDevelopRef adds the defaultFirecloudDevelopRef to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetDefaultNamespace ¶
func (o *GetAPIV2EnvironmentsParams) SetDefaultNamespace(defaultNamespace *string)
SetDefaultNamespace adds the defaultNamespace to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetDefaults ¶
func (o *GetAPIV2EnvironmentsParams) SetDefaults()
SetDefaults hydrates default values in the get API v2 environments params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2EnvironmentsParams) SetDescription ¶ added in v0.0.110
func (o *GetAPIV2EnvironmentsParams) SetDescription(description *string)
SetDescription adds the description to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetHTTPClient ¶
func (o *GetAPIV2EnvironmentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetHelmfileRef ¶ added in v0.0.64
func (o *GetAPIV2EnvironmentsParams) SetHelmfileRef(helmfileRef *string)
SetHelmfileRef adds the helmfileRef to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetID ¶
func (o *GetAPIV2EnvironmentsParams) SetID(id *int64)
SetID adds the id to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetLifecycle ¶
func (o *GetAPIV2EnvironmentsParams) SetLifecycle(lifecycle *string)
SetLifecycle adds the lifecycle to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetLimit ¶
func (o *GetAPIV2EnvironmentsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetName ¶
func (o *GetAPIV2EnvironmentsParams) SetName(name *string)
SetName adds the name to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetNamePrefix ¶ added in v0.0.81
func (o *GetAPIV2EnvironmentsParams) SetNamePrefix(namePrefix *string)
SetNamePrefix adds the namePrefix to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetNamePrefixesDomain ¶ added in v0.0.55
func (o *GetAPIV2EnvironmentsParams) SetNamePrefixesDomain(namePrefixesDomain *bool)
SetNamePrefixesDomain adds the namePrefixesDomain to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetOwner ¶
func (o *GetAPIV2EnvironmentsParams) SetOwner(owner *string)
SetOwner adds the owner to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetPreventDeletion ¶ added in v0.0.97
func (o *GetAPIV2EnvironmentsParams) SetPreventDeletion(preventDeletion *bool)
SetPreventDeletion adds the preventDeletion to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetRequiresSuitability ¶
func (o *GetAPIV2EnvironmentsParams) SetRequiresSuitability(requiresSuitability *bool)
SetRequiresSuitability adds the requiresSuitability to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetTemplateEnvironment ¶
func (o *GetAPIV2EnvironmentsParams) SetTemplateEnvironment(templateEnvironment *string)
SetTemplateEnvironment adds the templateEnvironment to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetTimeout ¶
func (o *GetAPIV2EnvironmentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetUniqueResourcePrefix ¶ added in v0.0.79
func (o *GetAPIV2EnvironmentsParams) SetUniqueResourcePrefix(uniqueResourcePrefix *string)
SetUniqueResourcePrefix adds the uniqueResourcePrefix to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetUpdatedAt ¶
func (o *GetAPIV2EnvironmentsParams) SetUpdatedAt(updatedAt *strfmt.DateTime)
SetUpdatedAt adds the updatedAt to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) SetValuesName ¶
func (o *GetAPIV2EnvironmentsParams) SetValuesName(valuesName *string)
SetValuesName adds the valuesName to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) WithBase ¶
func (o *GetAPIV2EnvironmentsParams) WithBase(base *string) *GetAPIV2EnvironmentsParams
WithBase adds the base to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) WithBaseDomain ¶ added in v0.0.55
func (o *GetAPIV2EnvironmentsParams) WithBaseDomain(baseDomain *string) *GetAPIV2EnvironmentsParams
WithBaseDomain adds the baseDomain to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) WithChartReleasesFromTemplate ¶
func (o *GetAPIV2EnvironmentsParams) WithChartReleasesFromTemplate(chartReleasesFromTemplate *bool) *GetAPIV2EnvironmentsParams
WithChartReleasesFromTemplate adds the chartReleasesFromTemplate to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) WithContext ¶
func (o *GetAPIV2EnvironmentsParams) WithContext(ctx context.Context) *GetAPIV2EnvironmentsParams
WithContext adds the context to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) WithCreatedAt ¶
func (o *GetAPIV2EnvironmentsParams) WithCreatedAt(createdAt *strfmt.DateTime) *GetAPIV2EnvironmentsParams
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 ¶
func (o *GetAPIV2EnvironmentsParams) WithDefaults() *GetAPIV2EnvironmentsParams
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 ¶
func (o *GetAPIV2EnvironmentsParams) WithHTTPClient(client *http.Client) *GetAPIV2EnvironmentsParams
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 ¶
func (o *GetAPIV2EnvironmentsParams) WithID(id *int64) *GetAPIV2EnvironmentsParams
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 ¶
func (o *GetAPIV2EnvironmentsParams) WithLimit(limit *int64) *GetAPIV2EnvironmentsParams
WithLimit adds the limit to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) WithName ¶
func (o *GetAPIV2EnvironmentsParams) WithName(name *string) *GetAPIV2EnvironmentsParams
WithName adds the name to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) WithNamePrefix ¶ added in v0.0.81
func (o *GetAPIV2EnvironmentsParams) WithNamePrefix(namePrefix *string) *GetAPIV2EnvironmentsParams
WithNamePrefix adds the namePrefix to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) WithNamePrefixesDomain ¶ added in v0.0.55
func (o *GetAPIV2EnvironmentsParams) WithNamePrefixesDomain(namePrefixesDomain *bool) *GetAPIV2EnvironmentsParams
WithNamePrefixesDomain adds the namePrefixesDomain to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) WithOwner ¶
func (o *GetAPIV2EnvironmentsParams) WithOwner(owner *string) *GetAPIV2EnvironmentsParams
WithOwner adds the owner to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) WithPreventDeletion ¶ added in v0.0.97
func (o *GetAPIV2EnvironmentsParams) WithPreventDeletion(preventDeletion *bool) *GetAPIV2EnvironmentsParams
WithPreventDeletion adds the preventDeletion to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) WithRequiresSuitability ¶
func (o *GetAPIV2EnvironmentsParams) WithRequiresSuitability(requiresSuitability *bool) *GetAPIV2EnvironmentsParams
WithRequiresSuitability adds the requiresSuitability to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) WithTemplateEnvironment ¶
func (o *GetAPIV2EnvironmentsParams) WithTemplateEnvironment(templateEnvironment *string) *GetAPIV2EnvironmentsParams
WithTemplateEnvironment adds the templateEnvironment to the get API v2 environments params
func (*GetAPIV2EnvironmentsParams) WithTimeout ¶
func (o *GetAPIV2EnvironmentsParams) WithTimeout(timeout time.Duration) *GetAPIV2EnvironmentsParams
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 ¶
func (o *GetAPIV2EnvironmentsParams) WithUpdatedAt(updatedAt *strfmt.DateTime) *GetAPIV2EnvironmentsParams
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 ¶
func (o *GetAPIV2EnvironmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetAPIV2EnvironmentsProxyAuthenticationRequired) Error() string
func (*GetAPIV2EnvironmentsProxyAuthenticationRequired) GetPayload ¶
func (o *GetAPIV2EnvironmentsProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2EnvironmentsSelectorBadRequest) Error() string
func (*GetAPIV2EnvironmentsSelectorBadRequest) GetPayload ¶
func (o *GetAPIV2EnvironmentsSelectorBadRequest) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2EnvironmentsSelectorConflict) Error() string
func (*GetAPIV2EnvironmentsSelectorConflict) GetPayload ¶
func (o *GetAPIV2EnvironmentsSelectorConflict) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2EnvironmentsSelectorForbidden) Error() string
func (*GetAPIV2EnvironmentsSelectorForbidden) GetPayload ¶
func (o *GetAPIV2EnvironmentsSelectorForbidden) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2EnvironmentsSelectorInternalServerError) Error() string
func (*GetAPIV2EnvironmentsSelectorInternalServerError) GetPayload ¶
func (o *GetAPIV2EnvironmentsSelectorInternalServerError) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2EnvironmentsSelectorNotFound) Error() string
func (*GetAPIV2EnvironmentsSelectorNotFound) GetPayload ¶
func (o *GetAPIV2EnvironmentsSelectorNotFound) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2EnvironmentsSelectorOK) Error() string
func (*GetAPIV2EnvironmentsSelectorOK) GetPayload ¶
func (o *GetAPIV2EnvironmentsSelectorOK) GetPayload() *models.V2controllersEnvironment
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 ¶
func (o *GetAPIV2EnvironmentsSelectorParams) SetContext(ctx context.Context)
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 ¶
func (o *GetAPIV2EnvironmentsSelectorParams) WithContext(ctx context.Context) *GetAPIV2EnvironmentsSelectorParams
WithContext adds the context to the get API v2 environments selector params
func (*GetAPIV2EnvironmentsSelectorParams) WithDefaults ¶
func (o *GetAPIV2EnvironmentsSelectorParams) WithDefaults() *GetAPIV2EnvironmentsSelectorParams
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 ¶
func (o *GetAPIV2EnvironmentsSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2EnvironmentsSelectorParams
WithHTTPClient adds the HTTPClient to the get API v2 environments selector params
func (*GetAPIV2EnvironmentsSelectorParams) WithSelector ¶
func (o *GetAPIV2EnvironmentsSelectorParams) WithSelector(selector string) *GetAPIV2EnvironmentsSelectorParams
WithSelector adds the selector to the get API v2 environments selector params
func (*GetAPIV2EnvironmentsSelectorParams) WithTimeout ¶
func (o *GetAPIV2EnvironmentsSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2EnvironmentsSelectorParams
WithTimeout adds the timeout to the get API v2 environments selector params
func (*GetAPIV2EnvironmentsSelectorParams) WriteToRequest ¶
func (o *GetAPIV2EnvironmentsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetAPIV2EnvironmentsSelectorProxyAuthenticationRequired) Error() string
func (*GetAPIV2EnvironmentsSelectorProxyAuthenticationRequired) GetPayload ¶
func (o *GetAPIV2EnvironmentsSelectorProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2SelectorsEnvironmentsSelectorBadRequest) Error() string
func (*GetAPIV2SelectorsEnvironmentsSelectorBadRequest) GetPayload ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorBadRequest) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2SelectorsEnvironmentsSelectorConflict) Error() string
func (*GetAPIV2SelectorsEnvironmentsSelectorConflict) GetPayload ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorConflict) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2SelectorsEnvironmentsSelectorForbidden) Error() string
func (*GetAPIV2SelectorsEnvironmentsSelectorForbidden) GetPayload ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorForbidden) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2SelectorsEnvironmentsSelectorInternalServerError) Error() string
func (*GetAPIV2SelectorsEnvironmentsSelectorInternalServerError) GetPayload ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorInternalServerError) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2SelectorsEnvironmentsSelectorNotFound) Error() string
func (*GetAPIV2SelectorsEnvironmentsSelectorNotFound) GetPayload ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorNotFound) GetPayload() *models.ErrorsErrorResponse
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 (o *GetAPIV2SelectorsEnvironmentsSelectorOK) Error() string
func (*GetAPIV2SelectorsEnvironmentsSelectorOK) GetPayload ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorOK) GetPayload() []string
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 ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) SetContext(ctx context.Context)
SetContext adds the context to the get API v2 selectors environments selector params
func (*GetAPIV2SelectorsEnvironmentsSelectorParams) SetDefaults ¶
func (o *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 ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API v2 selectors environments selector params
func (*GetAPIV2SelectorsEnvironmentsSelectorParams) WithContext ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) WithContext(ctx context.Context) *GetAPIV2SelectorsEnvironmentsSelectorParams
WithContext adds the context to the get API v2 selectors environments selector params
func (*GetAPIV2SelectorsEnvironmentsSelectorParams) WithDefaults ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) WithDefaults() *GetAPIV2SelectorsEnvironmentsSelectorParams
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 ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2SelectorsEnvironmentsSelectorParams
WithHTTPClient adds the HTTPClient to the get API v2 selectors environments selector params
func (*GetAPIV2SelectorsEnvironmentsSelectorParams) WithSelector ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) WithSelector(selector string) *GetAPIV2SelectorsEnvironmentsSelectorParams
WithSelector adds the selector to the get API v2 selectors environments selector params
func (*GetAPIV2SelectorsEnvironmentsSelectorParams) WithTimeout ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2SelectorsEnvironmentsSelectorParams
WithTimeout adds the timeout to the get API v2 selectors environments selector params
func (*GetAPIV2SelectorsEnvironmentsSelectorParams) WriteToRequest ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetAPIV2SelectorsEnvironmentsSelectorProxyAuthenticationRequired) Error() string
func (*GetAPIV2SelectorsEnvironmentsSelectorProxyAuthenticationRequired) GetPayload ¶
func (o *GetAPIV2SelectorsEnvironmentsSelectorProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
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 (o *PatchAPIV2EnvironmentsSelectorBadRequest) Error() string
func (*PatchAPIV2EnvironmentsSelectorBadRequest) GetPayload ¶
func (o *PatchAPIV2EnvironmentsSelectorBadRequest) GetPayload() *models.ErrorsErrorResponse
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 (o *PatchAPIV2EnvironmentsSelectorConflict) Error() string
func (*PatchAPIV2EnvironmentsSelectorConflict) GetPayload ¶
func (o *PatchAPIV2EnvironmentsSelectorConflict) GetPayload() *models.ErrorsErrorResponse
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 (o *PatchAPIV2EnvironmentsSelectorForbidden) Error() string
func (*PatchAPIV2EnvironmentsSelectorForbidden) GetPayload ¶
func (o *PatchAPIV2EnvironmentsSelectorForbidden) GetPayload() *models.ErrorsErrorResponse
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 (o *PatchAPIV2EnvironmentsSelectorInternalServerError) Error() string
func (*PatchAPIV2EnvironmentsSelectorInternalServerError) GetPayload ¶
func (o *PatchAPIV2EnvironmentsSelectorInternalServerError) GetPayload() *models.ErrorsErrorResponse
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 (o *PatchAPIV2EnvironmentsSelectorNotFound) Error() string
func (*PatchAPIV2EnvironmentsSelectorNotFound) GetPayload ¶
func (o *PatchAPIV2EnvironmentsSelectorNotFound) GetPayload() *models.ErrorsErrorResponse
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 (o *PatchAPIV2EnvironmentsSelectorOK) Error() string
func (*PatchAPIV2EnvironmentsSelectorOK) GetPayload ¶
func (o *PatchAPIV2EnvironmentsSelectorOK) GetPayload() *models.V2controllersEnvironment
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 ¶
func (o *PatchAPIV2EnvironmentsSelectorParams) SetContext(ctx context.Context)
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 ¶
func (o *PatchAPIV2EnvironmentsSelectorParams) SetEnvironment(environment *models.V2controllersEditableEnvironment)
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 ¶
func (o *PatchAPIV2EnvironmentsSelectorParams) WithContext(ctx context.Context) *PatchAPIV2EnvironmentsSelectorParams
WithContext adds the context to the patch API v2 environments selector params
func (*PatchAPIV2EnvironmentsSelectorParams) WithDefaults ¶
func (o *PatchAPIV2EnvironmentsSelectorParams) WithDefaults() *PatchAPIV2EnvironmentsSelectorParams
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 ¶
func (o *PatchAPIV2EnvironmentsSelectorParams) WithEnvironment(environment *models.V2controllersEditableEnvironment) *PatchAPIV2EnvironmentsSelectorParams
WithEnvironment adds the environment to the patch API v2 environments selector params
func (*PatchAPIV2EnvironmentsSelectorParams) WithHTTPClient ¶
func (o *PatchAPIV2EnvironmentsSelectorParams) WithHTTPClient(client *http.Client) *PatchAPIV2EnvironmentsSelectorParams
WithHTTPClient adds the HTTPClient to the patch API v2 environments selector params
func (*PatchAPIV2EnvironmentsSelectorParams) WithSelector ¶
func (o *PatchAPIV2EnvironmentsSelectorParams) WithSelector(selector string) *PatchAPIV2EnvironmentsSelectorParams
WithSelector adds the selector to the patch API v2 environments selector params
func (*PatchAPIV2EnvironmentsSelectorParams) WithTimeout ¶
func (o *PatchAPIV2EnvironmentsSelectorParams) WithTimeout(timeout time.Duration) *PatchAPIV2EnvironmentsSelectorParams
WithTimeout adds the timeout to the patch API v2 environments selector params
func (*PatchAPIV2EnvironmentsSelectorParams) WriteToRequest ¶
func (o *PatchAPIV2EnvironmentsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PatchAPIV2EnvironmentsSelectorProxyAuthenticationRequired) Error() string
func (*PatchAPIV2EnvironmentsSelectorProxyAuthenticationRequired) GetPayload ¶
func (o *PatchAPIV2EnvironmentsSelectorProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
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 (o *PostAPIV2EnvironmentsBadRequest) Error() string
func (*PostAPIV2EnvironmentsBadRequest) GetPayload ¶
func (o *PostAPIV2EnvironmentsBadRequest) GetPayload() *models.ErrorsErrorResponse
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 (o *PostAPIV2EnvironmentsConflict) Error() string
func (*PostAPIV2EnvironmentsConflict) GetPayload ¶
func (o *PostAPIV2EnvironmentsConflict) GetPayload() *models.ErrorsErrorResponse
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 (o *PostAPIV2EnvironmentsCreated) Error() string
func (*PostAPIV2EnvironmentsCreated) GetPayload ¶ added in v0.0.29
func (o *PostAPIV2EnvironmentsCreated) GetPayload() *models.V2controllersEnvironment
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 (o *PostAPIV2EnvironmentsForbidden) Error() string
func (*PostAPIV2EnvironmentsForbidden) GetPayload ¶
func (o *PostAPIV2EnvironmentsForbidden) GetPayload() *models.ErrorsErrorResponse
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 (o *PostAPIV2EnvironmentsInternalServerError) Error() string
func (*PostAPIV2EnvironmentsInternalServerError) GetPayload ¶
func (o *PostAPIV2EnvironmentsInternalServerError) GetPayload() *models.ErrorsErrorResponse
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 (o *PostAPIV2EnvironmentsNotFound) Error() string
func (*PostAPIV2EnvironmentsNotFound) GetPayload ¶
func (o *PostAPIV2EnvironmentsNotFound) GetPayload() *models.ErrorsErrorResponse
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 ¶
func (o *PostAPIV2EnvironmentsOK) GetPayload() *models.V2controllersEnvironment
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 ¶
func (o *PostAPIV2EnvironmentsParams) SetEnvironment(environment *models.V2controllersCreatableEnvironment)
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 ¶
func (o *PostAPIV2EnvironmentsParams) WithContext(ctx context.Context) *PostAPIV2EnvironmentsParams
WithContext adds the context to the post API v2 environments params
func (*PostAPIV2EnvironmentsParams) WithDefaults ¶
func (o *PostAPIV2EnvironmentsParams) WithDefaults() *PostAPIV2EnvironmentsParams
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 ¶
func (o *PostAPIV2EnvironmentsParams) WithEnvironment(environment *models.V2controllersCreatableEnvironment) *PostAPIV2EnvironmentsParams
WithEnvironment adds the environment to the post API v2 environments params
func (*PostAPIV2EnvironmentsParams) WithHTTPClient ¶
func (o *PostAPIV2EnvironmentsParams) WithHTTPClient(client *http.Client) *PostAPIV2EnvironmentsParams
WithHTTPClient adds the HTTPClient to the post API v2 environments params
func (*PostAPIV2EnvironmentsParams) WithTimeout ¶
func (o *PostAPIV2EnvironmentsParams) WithTimeout(timeout time.Duration) *PostAPIV2EnvironmentsParams
WithTimeout adds the timeout to the post API v2 environments params
func (*PostAPIV2EnvironmentsParams) WriteToRequest ¶
func (o *PostAPIV2EnvironmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PostAPIV2EnvironmentsProxyAuthenticationRequired) Error() string
func (*PostAPIV2EnvironmentsProxyAuthenticationRequired) GetPayload ¶
func (o *PostAPIV2EnvironmentsProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
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.
Source Files ¶
- delete_api_v2_environments_selector_parameters.go
- delete_api_v2_environments_selector_responses.go
- environments_client.go
- get_api_v2_environments_parameters.go
- get_api_v2_environments_responses.go
- get_api_v2_environments_selector_parameters.go
- get_api_v2_environments_selector_responses.go
- get_api_v2_selectors_environments_selector_parameters.go
- get_api_v2_selectors_environments_selector_responses.go
- patch_api_v2_environments_selector_parameters.go
- patch_api_v2_environments_selector_responses.go
- post_api_v2_environments_parameters.go
- post_api_v2_environments_responses.go