environment

package
v1.40.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeComponentSecretBadRequest

type ChangeComponentSecretBadRequest struct {
}

ChangeComponentSecretBadRequest describes a response with status code 400, with default header values.

Invalid application

func NewChangeComponentSecretBadRequest

func NewChangeComponentSecretBadRequest() *ChangeComponentSecretBadRequest

NewChangeComponentSecretBadRequest creates a ChangeComponentSecretBadRequest with default headers values

func (*ChangeComponentSecretBadRequest) Code

Code gets the status code for the change component secret bad request response

func (*ChangeComponentSecretBadRequest) Error

func (*ChangeComponentSecretBadRequest) IsClientError

func (o *ChangeComponentSecretBadRequest) IsClientError() bool

IsClientError returns true when this change component secret bad request response has a 4xx status code

func (*ChangeComponentSecretBadRequest) IsCode

func (o *ChangeComponentSecretBadRequest) IsCode(code int) bool

IsCode returns true when this change component secret bad request response a status code equal to that given

func (*ChangeComponentSecretBadRequest) IsRedirect

func (o *ChangeComponentSecretBadRequest) IsRedirect() bool

IsRedirect returns true when this change component secret bad request response has a 3xx status code

func (*ChangeComponentSecretBadRequest) IsServerError

func (o *ChangeComponentSecretBadRequest) IsServerError() bool

IsServerError returns true when this change component secret bad request response has a 5xx status code

func (*ChangeComponentSecretBadRequest) IsSuccess

func (o *ChangeComponentSecretBadRequest) IsSuccess() bool

IsSuccess returns true when this change component secret bad request response has a 2xx status code

func (*ChangeComponentSecretBadRequest) String

type ChangeComponentSecretConflict

type ChangeComponentSecretConflict struct {
}

ChangeComponentSecretConflict describes a response with status code 409, with default header values.

Conflict

func NewChangeComponentSecretConflict

func NewChangeComponentSecretConflict() *ChangeComponentSecretConflict

NewChangeComponentSecretConflict creates a ChangeComponentSecretConflict with default headers values

func (*ChangeComponentSecretConflict) Code

Code gets the status code for the change component secret conflict response

func (*ChangeComponentSecretConflict) Error

func (*ChangeComponentSecretConflict) IsClientError

func (o *ChangeComponentSecretConflict) IsClientError() bool

IsClientError returns true when this change component secret conflict response has a 4xx status code

func (*ChangeComponentSecretConflict) IsCode

func (o *ChangeComponentSecretConflict) IsCode(code int) bool

IsCode returns true when this change component secret conflict response a status code equal to that given

func (*ChangeComponentSecretConflict) IsRedirect

func (o *ChangeComponentSecretConflict) IsRedirect() bool

IsRedirect returns true when this change component secret conflict response has a 3xx status code

func (*ChangeComponentSecretConflict) IsServerError

func (o *ChangeComponentSecretConflict) IsServerError() bool

IsServerError returns true when this change component secret conflict response has a 5xx status code

func (*ChangeComponentSecretConflict) IsSuccess

func (o *ChangeComponentSecretConflict) IsSuccess() bool

IsSuccess returns true when this change component secret conflict response has a 2xx status code

func (*ChangeComponentSecretConflict) String

type ChangeComponentSecretForbidden

type ChangeComponentSecretForbidden struct {
}

ChangeComponentSecretForbidden describes a response with status code 403, with default header values.

Forbidden

func NewChangeComponentSecretForbidden

func NewChangeComponentSecretForbidden() *ChangeComponentSecretForbidden

NewChangeComponentSecretForbidden creates a ChangeComponentSecretForbidden with default headers values

func (*ChangeComponentSecretForbidden) Code

Code gets the status code for the change component secret forbidden response

func (*ChangeComponentSecretForbidden) Error

func (*ChangeComponentSecretForbidden) IsClientError

func (o *ChangeComponentSecretForbidden) IsClientError() bool

IsClientError returns true when this change component secret forbidden response has a 4xx status code

func (*ChangeComponentSecretForbidden) IsCode

func (o *ChangeComponentSecretForbidden) IsCode(code int) bool

IsCode returns true when this change component secret forbidden response a status code equal to that given

func (*ChangeComponentSecretForbidden) IsRedirect

func (o *ChangeComponentSecretForbidden) IsRedirect() bool

IsRedirect returns true when this change component secret forbidden response has a 3xx status code

func (*ChangeComponentSecretForbidden) IsServerError

func (o *ChangeComponentSecretForbidden) IsServerError() bool

IsServerError returns true when this change component secret forbidden response has a 5xx status code

func (*ChangeComponentSecretForbidden) IsSuccess

func (o *ChangeComponentSecretForbidden) IsSuccess() bool

IsSuccess returns true when this change component secret forbidden response has a 2xx status code

func (*ChangeComponentSecretForbidden) String

type ChangeComponentSecretInternalServerError

type ChangeComponentSecretInternalServerError struct {
}

ChangeComponentSecretInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewChangeComponentSecretInternalServerError

func NewChangeComponentSecretInternalServerError() *ChangeComponentSecretInternalServerError

NewChangeComponentSecretInternalServerError creates a ChangeComponentSecretInternalServerError with default headers values

func (*ChangeComponentSecretInternalServerError) Code

Code gets the status code for the change component secret internal server error response

func (*ChangeComponentSecretInternalServerError) Error

func (*ChangeComponentSecretInternalServerError) IsClientError

IsClientError returns true when this change component secret internal server error response has a 4xx status code

func (*ChangeComponentSecretInternalServerError) IsCode

IsCode returns true when this change component secret internal server error response a status code equal to that given

func (*ChangeComponentSecretInternalServerError) IsRedirect

IsRedirect returns true when this change component secret internal server error response has a 3xx status code

func (*ChangeComponentSecretInternalServerError) IsServerError

IsServerError returns true when this change component secret internal server error response has a 5xx status code

func (*ChangeComponentSecretInternalServerError) IsSuccess

IsSuccess returns true when this change component secret internal server error response has a 2xx status code

func (*ChangeComponentSecretInternalServerError) String

type ChangeComponentSecretNotFound

type ChangeComponentSecretNotFound struct {
}

ChangeComponentSecretNotFound describes a response with status code 404, with default header values.

Not found

func NewChangeComponentSecretNotFound

func NewChangeComponentSecretNotFound() *ChangeComponentSecretNotFound

NewChangeComponentSecretNotFound creates a ChangeComponentSecretNotFound with default headers values

func (*ChangeComponentSecretNotFound) Code

Code gets the status code for the change component secret not found response

func (*ChangeComponentSecretNotFound) Error

func (*ChangeComponentSecretNotFound) IsClientError

func (o *ChangeComponentSecretNotFound) IsClientError() bool

IsClientError returns true when this change component secret not found response has a 4xx status code

func (*ChangeComponentSecretNotFound) IsCode

func (o *ChangeComponentSecretNotFound) IsCode(code int) bool

IsCode returns true when this change component secret not found response a status code equal to that given

func (*ChangeComponentSecretNotFound) IsRedirect

func (o *ChangeComponentSecretNotFound) IsRedirect() bool

IsRedirect returns true when this change component secret not found response has a 3xx status code

func (*ChangeComponentSecretNotFound) IsServerError

func (o *ChangeComponentSecretNotFound) IsServerError() bool

IsServerError returns true when this change component secret not found response has a 5xx status code

func (*ChangeComponentSecretNotFound) IsSuccess

func (o *ChangeComponentSecretNotFound) IsSuccess() bool

IsSuccess returns true when this change component secret not found response has a 2xx status code

func (*ChangeComponentSecretNotFound) String

type ChangeComponentSecretOK

type ChangeComponentSecretOK struct {
}

ChangeComponentSecretOK describes a response with status code 200, with default header values.

success

func NewChangeComponentSecretOK

func NewChangeComponentSecretOK() *ChangeComponentSecretOK

NewChangeComponentSecretOK creates a ChangeComponentSecretOK with default headers values

func (*ChangeComponentSecretOK) Code

func (o *ChangeComponentSecretOK) Code() int

Code gets the status code for the change component secret o k response

func (*ChangeComponentSecretOK) Error

func (o *ChangeComponentSecretOK) Error() string

func (*ChangeComponentSecretOK) IsClientError

func (o *ChangeComponentSecretOK) IsClientError() bool

IsClientError returns true when this change component secret o k response has a 4xx status code

func (*ChangeComponentSecretOK) IsCode

func (o *ChangeComponentSecretOK) IsCode(code int) bool

IsCode returns true when this change component secret o k response a status code equal to that given

func (*ChangeComponentSecretOK) IsRedirect

func (o *ChangeComponentSecretOK) IsRedirect() bool

IsRedirect returns true when this change component secret o k response has a 3xx status code

func (*ChangeComponentSecretOK) IsServerError

func (o *ChangeComponentSecretOK) IsServerError() bool

IsServerError returns true when this change component secret o k response has a 5xx status code

func (*ChangeComponentSecretOK) IsSuccess

func (o *ChangeComponentSecretOK) IsSuccess() bool

IsSuccess returns true when this change component secret o k response has a 2xx status code

func (*ChangeComponentSecretOK) String

func (o *ChangeComponentSecretOK) String() string

type ChangeComponentSecretParams

type ChangeComponentSecretParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// Name of application
	AppName string

	// ComponentName.
	//
	// secret component of Radix application
	ComponentName string

	// ComponentSecret.
	//
	// New secret value
	ComponentSecret *models.SecretParameters

	// EnvName.
	//
	// secret of Radix application
	EnvName string

	// SecretName.
	//
	// environment component secret name to be updated
	SecretName string

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

ChangeComponentSecretParams contains all the parameters to send to the API endpoint

for the change component secret operation.

Typically these are written to a http.Request.

func NewChangeComponentSecretParams

func NewChangeComponentSecretParams() *ChangeComponentSecretParams

NewChangeComponentSecretParams creates a new ChangeComponentSecretParams 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 NewChangeComponentSecretParamsWithContext deprecated

func NewChangeComponentSecretParamsWithContext(ctx context.Context) *ChangeComponentSecretParams

NewChangeComponentSecretParamsWithContext creates a new ChangeComponentSecretParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ChangeComponentSecretParams.

func NewChangeComponentSecretParamsWithHTTPClient

func NewChangeComponentSecretParamsWithHTTPClient(client *http.Client) *ChangeComponentSecretParams

NewChangeComponentSecretParamsWithHTTPClient creates a new ChangeComponentSecretParams object with the ability to set a custom HTTPClient for a request.

func NewChangeComponentSecretParamsWithTimeout

func NewChangeComponentSecretParamsWithTimeout(timeout time.Duration) *ChangeComponentSecretParams

NewChangeComponentSecretParamsWithTimeout creates a new ChangeComponentSecretParams object with the ability to set a timeout on a request.

func (*ChangeComponentSecretParams) SetAppName

func (o *ChangeComponentSecretParams) SetAppName(appName string)

SetAppName adds the appName to the change component secret params.

func (*ChangeComponentSecretParams) SetComponentName

func (o *ChangeComponentSecretParams) SetComponentName(componentName string)

SetComponentName adds the componentName to the change component secret params.

func (*ChangeComponentSecretParams) SetComponentSecret

func (o *ChangeComponentSecretParams) SetComponentSecret(componentSecret *models.SecretParameters)

SetComponentSecret adds the componentSecret to the change component secret params.

func (*ChangeComponentSecretParams) SetContext deprecated

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

SetContext adds the context to the change component secret params.

Deprecated: use the operation call with context to pass the context instead of ChangeComponentSecretParams.

func (*ChangeComponentSecretParams) SetDefaults

func (o *ChangeComponentSecretParams) SetDefaults()

SetDefaults hydrates default values in the change component secret params (not the query body).

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

func (*ChangeComponentSecretParams) SetEnvName

func (o *ChangeComponentSecretParams) SetEnvName(envName string)

SetEnvName adds the envName to the change component secret params.

func (*ChangeComponentSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change component secret params.

func (*ChangeComponentSecretParams) SetImpersonateGroup

func (o *ChangeComponentSecretParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the change component secret params.

func (*ChangeComponentSecretParams) SetImpersonateUser

func (o *ChangeComponentSecretParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the change component secret params.

func (*ChangeComponentSecretParams) SetSecretName

func (o *ChangeComponentSecretParams) SetSecretName(secretName string)

SetSecretName adds the secretName to the change component secret params.

func (*ChangeComponentSecretParams) SetTimeout

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

SetTimeout adds the timeout to the change component secret params.

func (*ChangeComponentSecretParams) WithAppName

WithAppName adds the appName to the change component secret params.

func (*ChangeComponentSecretParams) WithComponentName

func (o *ChangeComponentSecretParams) WithComponentName(componentName string) *ChangeComponentSecretParams

WithComponentName adds the componentName to the change component secret params.

func (*ChangeComponentSecretParams) WithComponentSecret

func (o *ChangeComponentSecretParams) WithComponentSecret(componentSecret *models.SecretParameters) *ChangeComponentSecretParams

WithComponentSecret adds the componentSecret to the change component secret params.

func (*ChangeComponentSecretParams) WithContext deprecated

WithContext adds the context to the change component secret params.

Deprecated: use the operation call with context to pass the context instead of ChangeComponentSecretParams.

func (*ChangeComponentSecretParams) WithDefaults

WithDefaults hydrates default values in the change component secret params (not the query body).

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

func (*ChangeComponentSecretParams) WithEnvName

WithEnvName adds the envName to the change component secret params.

func (*ChangeComponentSecretParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change component secret params.

func (*ChangeComponentSecretParams) WithImpersonateGroup

func (o *ChangeComponentSecretParams) WithImpersonateGroup(impersonateGroup *string) *ChangeComponentSecretParams

WithImpersonateGroup adds the impersonateGroup to the change component secret params.

func (*ChangeComponentSecretParams) WithImpersonateUser

func (o *ChangeComponentSecretParams) WithImpersonateUser(impersonateUser *string) *ChangeComponentSecretParams

WithImpersonateUser adds the impersonateUser to the change component secret params.

func (*ChangeComponentSecretParams) WithSecretName

func (o *ChangeComponentSecretParams) WithSecretName(secretName string) *ChangeComponentSecretParams

WithSecretName adds the secretName to the change component secret params.

func (*ChangeComponentSecretParams) WithTimeout

WithTimeout adds the timeout to the change component secret params.

func (*ChangeComponentSecretParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ChangeComponentSecretReader

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

ChangeComponentSecretReader is a Reader for the ChangeComponentSecret structure.

func (*ChangeComponentSecretReader) ReadResponse

func (o *ChangeComponentSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ChangeComponentSecretUnauthorized

type ChangeComponentSecretUnauthorized struct {
}

ChangeComponentSecretUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewChangeComponentSecretUnauthorized

func NewChangeComponentSecretUnauthorized() *ChangeComponentSecretUnauthorized

NewChangeComponentSecretUnauthorized creates a ChangeComponentSecretUnauthorized with default headers values

func (*ChangeComponentSecretUnauthorized) Code

Code gets the status code for the change component secret unauthorized response

func (*ChangeComponentSecretUnauthorized) Error

func (*ChangeComponentSecretUnauthorized) IsClientError

func (o *ChangeComponentSecretUnauthorized) IsClientError() bool

IsClientError returns true when this change component secret unauthorized response has a 4xx status code

func (*ChangeComponentSecretUnauthorized) IsCode

func (o *ChangeComponentSecretUnauthorized) IsCode(code int) bool

IsCode returns true when this change component secret unauthorized response a status code equal to that given

func (*ChangeComponentSecretUnauthorized) IsRedirect

func (o *ChangeComponentSecretUnauthorized) IsRedirect() bool

IsRedirect returns true when this change component secret unauthorized response has a 3xx status code

func (*ChangeComponentSecretUnauthorized) IsServerError

func (o *ChangeComponentSecretUnauthorized) IsServerError() bool

IsServerError returns true when this change component secret unauthorized response has a 5xx status code

func (*ChangeComponentSecretUnauthorized) IsSuccess

func (o *ChangeComponentSecretUnauthorized) IsSuccess() bool

IsSuccess returns true when this change component secret unauthorized response has a 2xx status code

func (*ChangeComponentSecretUnauthorized) String

type Client

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

Client for environment API.

func (*Client) ChangeComponentSecret

func (a *Client) ChangeComponentSecret(params *ChangeComponentSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangeComponentSecretOK, error)

ChangeComponentSecret updates an application environment component secret.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.ChangeComponentSecretContext instead.

func (*Client) ChangeComponentSecretContext added in v1.40.2

func (a *Client) ChangeComponentSecretContext(ctx context.Context, params *ChangeComponentSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangeComponentSecretOK, error)

ChangeComponentSecretContext updates an application environment component secret.

Do not use the deprecated [ChangeComponentSecretParams.Context] with this method: it would be ignored.

func (*Client) CreateEnvironment

func (a *Client) CreateEnvironment(params *CreateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnvironmentOK, error)

CreateEnvironment creates application environment.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.CreateEnvironmentContext instead.

func (*Client) CreateEnvironmentContext added in v1.40.2

func (a *Client) CreateEnvironmentContext(ctx context.Context, params *CreateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnvironmentOK, error)

CreateEnvironmentContext creates application environment.

Do not use the deprecated [CreateEnvironmentParams.Context] with this method: it would be ignored.

func (*Client) DeleteEnvironment

func (a *Client) DeleteEnvironment(params *DeleteEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEnvironmentOK, error)

DeleteEnvironment deletes application environment.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.DeleteEnvironmentContext instead.

func (*Client) DeleteEnvironmentContext added in v1.40.2

func (a *Client) DeleteEnvironmentContext(ctx context.Context, params *DeleteEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEnvironmentOK, error)

DeleteEnvironmentContext deletes application environment.

Do not use the deprecated [DeleteEnvironmentParams.Context] with this method: it would be ignored.

func (*Client) DisableEnvironmentAlerting

func (a *Client) DisableEnvironmentAlerting(params *DisableEnvironmentAlertingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableEnvironmentAlertingOK, error)

DisableEnvironmentAlerting disables alerting for an environment.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.DisableEnvironmentAlertingContext instead.

func (*Client) DisableEnvironmentAlertingContext added in v1.40.2

func (a *Client) DisableEnvironmentAlertingContext(ctx context.Context, params *DisableEnvironmentAlertingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableEnvironmentAlertingOK, error)

DisableEnvironmentAlertingContext disables alerting for an environment.

Do not use the deprecated [DisableEnvironmentAlertingParams.Context] with this method: it would be ignored.

func (*Client) EnableEnvironmentAlerting

func (a *Client) EnableEnvironmentAlerting(params *EnableEnvironmentAlertingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableEnvironmentAlertingOK, error)

EnableEnvironmentAlerting enables alerting for an environment.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.EnableEnvironmentAlertingContext instead.

func (*Client) EnableEnvironmentAlertingContext added in v1.40.2

func (a *Client) EnableEnvironmentAlertingContext(ctx context.Context, params *EnableEnvironmentAlertingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableEnvironmentAlertingOK, error)

EnableEnvironmentAlertingContext enables alerting for an environment.

Do not use the deprecated [EnableEnvironmentAlertingParams.Context] with this method: it would be ignored.

func (*Client) GetApplicationEnvironmentDeployments

func (a *Client) GetApplicationEnvironmentDeployments(params *GetApplicationEnvironmentDeploymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApplicationEnvironmentDeploymentsOK, error)

GetApplicationEnvironmentDeployments lists the application environment deployments.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetApplicationEnvironmentDeploymentsContext instead.

func (*Client) GetApplicationEnvironmentDeploymentsContext added in v1.40.2

func (a *Client) GetApplicationEnvironmentDeploymentsContext(ctx context.Context, params *GetApplicationEnvironmentDeploymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApplicationEnvironmentDeploymentsOK, error)

GetApplicationEnvironmentDeploymentsContext lists the application environment deployments.

Do not use the deprecated [GetApplicationEnvironmentDeploymentsParams.Context] with this method: it would be ignored.

func (*Client) GetAzureKeyVaultSecretVersions

func (a *Client) GetAzureKeyVaultSecretVersions(params *GetAzureKeyVaultSecretVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAzureKeyVaultSecretVersionsOK, error)

GetAzureKeyVaultSecretVersions gets azure key vault secret versions for a component.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetAzureKeyVaultSecretVersionsContext instead.

func (*Client) GetAzureKeyVaultSecretVersionsContext added in v1.40.2

func (a *Client) GetAzureKeyVaultSecretVersionsContext(ctx context.Context, params *GetAzureKeyVaultSecretVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAzureKeyVaultSecretVersionsOK, error)

GetAzureKeyVaultSecretVersionsContext gets azure key vault secret versions for a component.

Do not use the deprecated [GetAzureKeyVaultSecretVersionsParams.Context] with this method: it would be ignored.

func (*Client) GetComponentEvents

func (a *Client) GetComponentEvents(params *GetComponentEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetComponentEventsOK, error)

GetComponentEvents lists events for an application environment.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetComponentEventsContext instead.

func (*Client) GetComponentEventsContext added in v1.40.2

func (a *Client) GetComponentEventsContext(ctx context.Context, params *GetComponentEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetComponentEventsOK, error)

GetComponentEventsContext lists events for an application environment.

Do not use the deprecated [GetComponentEventsParams.Context] with this method: it would be ignored.

func (*Client) GetEnvironment

func (a *Client) GetEnvironment(params *GetEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentOK, error)

GetEnvironment gets details for an application environment.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetEnvironmentContext instead.

func (*Client) GetEnvironmentAlertingConfig

func (a *Client) GetEnvironmentAlertingConfig(params *GetEnvironmentAlertingConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentAlertingConfigOK, error)

GetEnvironmentAlertingConfig gets alerts configuration for an environment.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetEnvironmentAlertingConfigContext instead.

func (*Client) GetEnvironmentAlertingConfigContext added in v1.40.2

func (a *Client) GetEnvironmentAlertingConfigContext(ctx context.Context, params *GetEnvironmentAlertingConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentAlertingConfigOK, error)

GetEnvironmentAlertingConfigContext gets alerts configuration for an environment.

Do not use the deprecated [GetEnvironmentAlertingConfigParams.Context] with this method: it would be ignored.

func (*Client) GetEnvironmentContext added in v1.40.2

func (a *Client) GetEnvironmentContext(ctx context.Context, params *GetEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentOK, error)

GetEnvironmentContext gets details for an application environment.

Do not use the deprecated [GetEnvironmentParams.Context] with this method: it would be ignored.

func (*Client) GetEnvironmentEvents

func (a *Client) GetEnvironmentEvents(params *GetEnvironmentEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentEventsOK, error)

GetEnvironmentEvents lists events for an application environment.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetEnvironmentEventsContext instead.

func (*Client) GetEnvironmentEventsContext added in v1.40.2

func (a *Client) GetEnvironmentEventsContext(ctx context.Context, params *GetEnvironmentEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentEventsOK, error)

GetEnvironmentEventsContext lists events for an application environment.

Do not use the deprecated [GetEnvironmentEventsParams.Context] with this method: it would be ignored.

func (*Client) GetEnvironmentResourcesUtilization

func (a *Client) GetEnvironmentResourcesUtilization(params *GetEnvironmentResourcesUtilizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentResourcesUtilizationOK, error)

GetEnvironmentResourcesUtilization gets max resources used by the application.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetEnvironmentResourcesUtilizationContext instead.

func (*Client) GetEnvironmentResourcesUtilizationContext added in v1.40.2

func (a *Client) GetEnvironmentResourcesUtilizationContext(ctx context.Context, params *GetEnvironmentResourcesUtilizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentResourcesUtilizationOK, error)

GetEnvironmentResourcesUtilizationContext gets max resources used by the application.

Do not use the deprecated [GetEnvironmentResourcesUtilizationParams.Context] with this method: it would be ignored.

func (*Client) GetEnvironmentSummary

func (a *Client) GetEnvironmentSummary(params *GetEnvironmentSummaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentSummaryOK, error)

GetEnvironmentSummary lists the environments for an application.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetEnvironmentSummaryContext instead.

func (*Client) GetEnvironmentSummaryContext added in v1.40.2

func (a *Client) GetEnvironmentSummaryContext(ctx context.Context, params *GetEnvironmentSummaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentSummaryOK, error)

GetEnvironmentSummaryContext lists the environments for an application.

Do not use the deprecated [GetEnvironmentSummaryParams.Context] with this method: it would be ignored.

func (*Client) GetReplicaEvents

func (a *Client) GetReplicaEvents(params *GetReplicaEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReplicaEventsOK, error)

GetReplicaEvents lists events for an application environment.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetReplicaEventsContext instead.

func (*Client) GetReplicaEventsContext added in v1.40.2

func (a *Client) GetReplicaEventsContext(ctx context.Context, params *GetReplicaEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReplicaEventsOK, error)

GetReplicaEventsContext lists events for an application environment.

Do not use the deprecated [GetReplicaEventsParams.Context] with this method: it would be ignored.

func (*Client) ResetManuallyScaledComponentsInEnvironment

ResetManuallyScaledComponentsInEnvironment resets all manually scaled component and resumes normal operation in environment.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.ResetManuallyScaledComponentsInEnvironmentContext instead.

func (*Client) ResetManuallyScaledComponentsInEnvironmentContext added in v1.40.2

func (a *Client) ResetManuallyScaledComponentsInEnvironmentContext(ctx context.Context, params *ResetManuallyScaledComponentsInEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetManuallyScaledComponentsInEnvironmentOK, error)

ResetManuallyScaledComponentsInEnvironmentContext resets all manually scaled component and resumes normal operation in environment.

Do not use the deprecated [ResetManuallyScaledComponentsInEnvironmentParams.Context] with this method: it would be ignored.

func (*Client) RestartEnvironment

func (a *Client) RestartEnvironment(params *RestartEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartEnvironmentOK, error)

RestartEnvironment restarts all components in the environment stops all running components in the environment pulls new images from image hub in radix configuration starts all components in the environment again using up to date image.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.RestartEnvironmentContext instead.

func (*Client) RestartEnvironmentContext added in v1.40.2

func (a *Client) RestartEnvironmentContext(ctx context.Context, params *RestartEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartEnvironmentOK, error)

RestartEnvironmentContext restarts all components in the environment stops all running components in the environment pulls new images from image hub in radix configuration starts all components in the environment again using up to date image.

Do not use the deprecated [RestartEnvironmentParams.Context] with this method: it would be ignored.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StartEnvironment

func (a *Client) StartEnvironment(params *StartEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartEnvironmentOK, error)

StartEnvironment deprecateds use reset scale instead that does the same thing but with better naming this method will be removed after 1 september 2025.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.StartEnvironmentContext instead.

func (*Client) StartEnvironmentContext added in v1.40.2

func (a *Client) StartEnvironmentContext(ctx context.Context, params *StartEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartEnvironmentOK, error)

StartEnvironmentContext deprecateds use reset scale instead that does the same thing but with better naming this method will be removed after 1 september 2025.

Do not use the deprecated [StartEnvironmentParams.Context] with this method: it would be ignored.

func (*Client) StopEnvironment

func (a *Client) StopEnvironment(params *StopEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopEnvironmentOK, error)

StopEnvironment stops all components in the environment.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.StopEnvironmentContext instead.

func (*Client) StopEnvironmentContext added in v1.40.2

func (a *Client) StopEnvironmentContext(ctx context.Context, params *StopEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopEnvironmentOK, error)

StopEnvironmentContext stops all components in the environment.

Do not use the deprecated [StopEnvironmentParams.Context] with this method: it would be ignored.

func (*Client) UpdateEnvironmentAlertingConfig

func (a *Client) UpdateEnvironmentAlertingConfig(params *UpdateEnvironmentAlertingConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnvironmentAlertingConfigOK, error)

UpdateEnvironmentAlertingConfig updates alerts configuration for an environment.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.UpdateEnvironmentAlertingConfigContext instead.

func (*Client) UpdateEnvironmentAlertingConfigContext added in v1.40.2

func (a *Client) UpdateEnvironmentAlertingConfigContext(ctx context.Context, params *UpdateEnvironmentAlertingConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnvironmentAlertingConfigOK, error)

UpdateEnvironmentAlertingConfigContext updates alerts configuration for an environment.

Do not use the deprecated [UpdateEnvironmentAlertingConfigParams.Context] with this method: it would be ignored.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {

	// GetEnvironmentResourcesUtilization gets max resources used by the application.
	GetEnvironmentResourcesUtilization(params *GetEnvironmentResourcesUtilizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentResourcesUtilizationOK, error)

	// GetEnvironmentResourcesUtilizationContext gets max resources used by the application.
	GetEnvironmentResourcesUtilizationContext(ctx context.Context, params *GetEnvironmentResourcesUtilizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentResourcesUtilizationOK, error)

	// ChangeComponentSecret update an application environment component secret.
	ChangeComponentSecret(params *ChangeComponentSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangeComponentSecretOK, error)

	// ChangeComponentSecretContext update an application environment component secret.
	ChangeComponentSecretContext(ctx context.Context, params *ChangeComponentSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangeComponentSecretOK, error)

	// CreateEnvironment creates application environment.
	CreateEnvironment(params *CreateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnvironmentOK, error)

	// CreateEnvironmentContext creates application environment.
	CreateEnvironmentContext(ctx context.Context, params *CreateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnvironmentOK, error)

	// DeleteEnvironment deletes application environment.
	DeleteEnvironment(params *DeleteEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEnvironmentOK, error)

	// DeleteEnvironmentContext deletes application environment.
	DeleteEnvironmentContext(ctx context.Context, params *DeleteEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEnvironmentOK, error)

	// DisableEnvironmentAlerting disable alerting for an environment.
	DisableEnvironmentAlerting(params *DisableEnvironmentAlertingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableEnvironmentAlertingOK, error)

	// DisableEnvironmentAlertingContext disable alerting for an environment.
	DisableEnvironmentAlertingContext(ctx context.Context, params *DisableEnvironmentAlertingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableEnvironmentAlertingOK, error)

	// EnableEnvironmentAlerting enable alerting for an environment.
	EnableEnvironmentAlerting(params *EnableEnvironmentAlertingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableEnvironmentAlertingOK, error)

	// EnableEnvironmentAlertingContext enable alerting for an environment.
	EnableEnvironmentAlertingContext(ctx context.Context, params *EnableEnvironmentAlertingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableEnvironmentAlertingOK, error)

	// GetApplicationEnvironmentDeployments lists the application environment deployments.
	GetApplicationEnvironmentDeployments(params *GetApplicationEnvironmentDeploymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApplicationEnvironmentDeploymentsOK, error)

	// GetApplicationEnvironmentDeploymentsContext lists the application environment deployments.
	GetApplicationEnvironmentDeploymentsContext(ctx context.Context, params *GetApplicationEnvironmentDeploymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApplicationEnvironmentDeploymentsOK, error)

	// GetAzureKeyVaultSecretVersions get azure key vault secret versions for a component.
	GetAzureKeyVaultSecretVersions(params *GetAzureKeyVaultSecretVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAzureKeyVaultSecretVersionsOK, error)

	// GetAzureKeyVaultSecretVersionsContext get azure key vault secret versions for a component.
	GetAzureKeyVaultSecretVersionsContext(ctx context.Context, params *GetAzureKeyVaultSecretVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAzureKeyVaultSecretVersionsOK, error)

	// GetComponentEvents lists events for an application environment.
	GetComponentEvents(params *GetComponentEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetComponentEventsOK, error)

	// GetComponentEventsContext lists events for an application environment.
	GetComponentEventsContext(ctx context.Context, params *GetComponentEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetComponentEventsOK, error)

	// GetEnvironment get details for an application environment.
	GetEnvironment(params *GetEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentOK, error)

	// GetEnvironmentContext get details for an application environment.
	GetEnvironmentContext(ctx context.Context, params *GetEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentOK, error)

	// GetEnvironmentAlertingConfig get alerts configuration for an environment.
	GetEnvironmentAlertingConfig(params *GetEnvironmentAlertingConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentAlertingConfigOK, error)

	// GetEnvironmentAlertingConfigContext get alerts configuration for an environment.
	GetEnvironmentAlertingConfigContext(ctx context.Context, params *GetEnvironmentAlertingConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentAlertingConfigOK, error)

	// GetEnvironmentEvents lists events for an application environment.
	GetEnvironmentEvents(params *GetEnvironmentEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentEventsOK, error)

	// GetEnvironmentEventsContext lists events for an application environment.
	GetEnvironmentEventsContext(ctx context.Context, params *GetEnvironmentEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentEventsOK, error)

	// GetEnvironmentSummary lists the environments for an application.
	GetEnvironmentSummary(params *GetEnvironmentSummaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentSummaryOK, error)

	// GetEnvironmentSummaryContext lists the environments for an application.
	GetEnvironmentSummaryContext(ctx context.Context, params *GetEnvironmentSummaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentSummaryOK, error)

	// GetReplicaEvents lists events for an application environment.
	GetReplicaEvents(params *GetReplicaEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReplicaEventsOK, error)

	// GetReplicaEventsContext lists events for an application environment.
	GetReplicaEventsContext(ctx context.Context, params *GetReplicaEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReplicaEventsOK, error)

	// ResetManuallyScaledComponentsInEnvironment reset all manually scaled component and resumes normal operation in environment.
	ResetManuallyScaledComponentsInEnvironment(params *ResetManuallyScaledComponentsInEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetManuallyScaledComponentsInEnvironmentOK, error)

	// ResetManuallyScaledComponentsInEnvironmentContext reset all manually scaled component and resumes normal operation in environment.
	ResetManuallyScaledComponentsInEnvironmentContext(ctx context.Context, params *ResetManuallyScaledComponentsInEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetManuallyScaledComponentsInEnvironmentOK, error)

	// RestartEnvironment restart all components in the environment stops all running components in the environment pulls new images from image hub in radix configuration starts all components in the environment again using up to date image.
	RestartEnvironment(params *RestartEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartEnvironmentOK, error)

	// RestartEnvironmentContext restart all components in the environment stops all running components in the environment pulls new images from image hub in radix configuration starts all components in the environment again using up to date image.
	RestartEnvironmentContext(ctx context.Context, params *RestartEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartEnvironmentOK, error)

	// StartEnvironment deprecated use reset scale instead that does the same thing but with better naming this method will be removed after 1 september 2025.
	StartEnvironment(params *StartEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartEnvironmentOK, error)

	// StartEnvironmentContext deprecated use reset scale instead that does the same thing but with better naming this method will be removed after 1 september 2025.
	StartEnvironmentContext(ctx context.Context, params *StartEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartEnvironmentOK, error)

	// StopEnvironment stops all components in the environment.
	StopEnvironment(params *StopEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopEnvironmentOK, error)

	// StopEnvironmentContext stops all components in the environment.
	StopEnvironmentContext(ctx context.Context, params *StopEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopEnvironmentOK, error)

	// UpdateEnvironmentAlertingConfig update alerts configuration for an environment.
	UpdateEnvironmentAlertingConfig(params *UpdateEnvironmentAlertingConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnvironmentAlertingConfigOK, error)

	// UpdateEnvironmentAlertingConfigContext update alerts configuration for an environment.
	UpdateEnvironmentAlertingConfigContext(ctx context.Context, params *UpdateEnvironmentAlertingConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnvironmentAlertingConfigOK, error)

	SetTransport(transport runtime.ContextualTransport)
}

ClientService is the interface for Client methods.

func New

New creates a new environment API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new environment API client with basic auth credentials.

It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new environment API client with a bearer token for authentication.

It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreateEnvironmentOK

type CreateEnvironmentOK struct {
}

CreateEnvironmentOK describes a response with status code 200, with default header values.

Environment created ok

func NewCreateEnvironmentOK

func NewCreateEnvironmentOK() *CreateEnvironmentOK

NewCreateEnvironmentOK creates a CreateEnvironmentOK with default headers values

func (*CreateEnvironmentOK) Code

func (o *CreateEnvironmentOK) Code() int

Code gets the status code for the create environment o k response

func (*CreateEnvironmentOK) Error

func (o *CreateEnvironmentOK) Error() string

func (*CreateEnvironmentOK) IsClientError

func (o *CreateEnvironmentOK) IsClientError() bool

IsClientError returns true when this create environment o k response has a 4xx status code

func (*CreateEnvironmentOK) IsCode

func (o *CreateEnvironmentOK) IsCode(code int) bool

IsCode returns true when this create environment o k response a status code equal to that given

func (*CreateEnvironmentOK) IsRedirect

func (o *CreateEnvironmentOK) IsRedirect() bool

IsRedirect returns true when this create environment o k response has a 3xx status code

func (*CreateEnvironmentOK) IsServerError

func (o *CreateEnvironmentOK) IsServerError() bool

IsServerError returns true when this create environment o k response has a 5xx status code

func (*CreateEnvironmentOK) IsSuccess

func (o *CreateEnvironmentOK) IsSuccess() bool

IsSuccess returns true when this create environment o k response has a 2xx status code

func (*CreateEnvironmentOK) String

func (o *CreateEnvironmentOK) String() string

type CreateEnvironmentParams

type CreateEnvironmentParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// name of Radix application
	AppName string

	// EnvName.
	//
	// name of environment
	EnvName string

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

CreateEnvironmentParams contains all the parameters to send to the API endpoint

for the create environment operation.

Typically these are written to a http.Request.

func NewCreateEnvironmentParams

func NewCreateEnvironmentParams() *CreateEnvironmentParams

NewCreateEnvironmentParams creates a new CreateEnvironmentParams object, with the default 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 NewCreateEnvironmentParamsWithContext deprecated

func NewCreateEnvironmentParamsWithContext(ctx context.Context) *CreateEnvironmentParams

NewCreateEnvironmentParamsWithContext creates a new CreateEnvironmentParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of CreateEnvironmentParams.

func NewCreateEnvironmentParamsWithHTTPClient

func NewCreateEnvironmentParamsWithHTTPClient(client *http.Client) *CreateEnvironmentParams

NewCreateEnvironmentParamsWithHTTPClient creates a new CreateEnvironmentParams object with the ability to set a custom HTTPClient for a request.

func NewCreateEnvironmentParamsWithTimeout

func NewCreateEnvironmentParamsWithTimeout(timeout time.Duration) *CreateEnvironmentParams

NewCreateEnvironmentParamsWithTimeout creates a new CreateEnvironmentParams object with the ability to set a timeout on a request.

func (*CreateEnvironmentParams) SetAppName

func (o *CreateEnvironmentParams) SetAppName(appName string)

SetAppName adds the appName to the create environment params.

func (*CreateEnvironmentParams) SetContext deprecated

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

SetContext adds the context to the create environment params.

Deprecated: use the operation call with context to pass the context instead of CreateEnvironmentParams.

func (*CreateEnvironmentParams) SetDefaults

func (o *CreateEnvironmentParams) SetDefaults()

SetDefaults hydrates default values in the create environment params (not the query body).

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

func (*CreateEnvironmentParams) SetEnvName

func (o *CreateEnvironmentParams) SetEnvName(envName string)

SetEnvName adds the envName to the create environment params.

func (*CreateEnvironmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create environment params.

func (*CreateEnvironmentParams) SetImpersonateGroup

func (o *CreateEnvironmentParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the create environment params.

func (*CreateEnvironmentParams) SetImpersonateUser

func (o *CreateEnvironmentParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the create environment params.

func (*CreateEnvironmentParams) SetTimeout

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

SetTimeout adds the timeout to the create environment params.

func (*CreateEnvironmentParams) WithAppName

func (o *CreateEnvironmentParams) WithAppName(appName string) *CreateEnvironmentParams

WithAppName adds the appName to the create environment params.

func (*CreateEnvironmentParams) WithContext deprecated

WithContext adds the context to the create environment params.

Deprecated: use the operation call with context to pass the context instead of CreateEnvironmentParams.

func (*CreateEnvironmentParams) WithDefaults

WithDefaults hydrates default values in the create environment params (not the query body).

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

func (*CreateEnvironmentParams) WithEnvName

func (o *CreateEnvironmentParams) WithEnvName(envName string) *CreateEnvironmentParams

WithEnvName adds the envName to the create environment params.

func (*CreateEnvironmentParams) WithHTTPClient

func (o *CreateEnvironmentParams) WithHTTPClient(client *http.Client) *CreateEnvironmentParams

WithHTTPClient adds the HTTPClient to the create environment params.

func (*CreateEnvironmentParams) WithImpersonateGroup

func (o *CreateEnvironmentParams) WithImpersonateGroup(impersonateGroup *string) *CreateEnvironmentParams

WithImpersonateGroup adds the impersonateGroup to the create environment params.

func (*CreateEnvironmentParams) WithImpersonateUser

func (o *CreateEnvironmentParams) WithImpersonateUser(impersonateUser *string) *CreateEnvironmentParams

WithImpersonateUser adds the impersonateUser to the create environment params.

func (*CreateEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the create environment params.

func (*CreateEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type CreateEnvironmentReader

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

CreateEnvironmentReader is a Reader for the CreateEnvironment structure.

func (*CreateEnvironmentReader) ReadResponse

func (o *CreateEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type CreateEnvironmentUnauthorized

type CreateEnvironmentUnauthorized struct {
}

CreateEnvironmentUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateEnvironmentUnauthorized

func NewCreateEnvironmentUnauthorized() *CreateEnvironmentUnauthorized

NewCreateEnvironmentUnauthorized creates a CreateEnvironmentUnauthorized with default headers values

func (*CreateEnvironmentUnauthorized) Code

Code gets the status code for the create environment unauthorized response

func (*CreateEnvironmentUnauthorized) Error

func (*CreateEnvironmentUnauthorized) IsClientError

func (o *CreateEnvironmentUnauthorized) IsClientError() bool

IsClientError returns true when this create environment unauthorized response has a 4xx status code

func (*CreateEnvironmentUnauthorized) IsCode

func (o *CreateEnvironmentUnauthorized) IsCode(code int) bool

IsCode returns true when this create environment unauthorized response a status code equal to that given

func (*CreateEnvironmentUnauthorized) IsRedirect

func (o *CreateEnvironmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this create environment unauthorized response has a 3xx status code

func (*CreateEnvironmentUnauthorized) IsServerError

func (o *CreateEnvironmentUnauthorized) IsServerError() bool

IsServerError returns true when this create environment unauthorized response has a 5xx status code

func (*CreateEnvironmentUnauthorized) IsSuccess

func (o *CreateEnvironmentUnauthorized) IsSuccess() bool

IsSuccess returns true when this create environment unauthorized response has a 2xx status code

func (*CreateEnvironmentUnauthorized) String

type DeleteEnvironmentNotFound

type DeleteEnvironmentNotFound struct {
}

DeleteEnvironmentNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteEnvironmentNotFound

func NewDeleteEnvironmentNotFound() *DeleteEnvironmentNotFound

NewDeleteEnvironmentNotFound creates a DeleteEnvironmentNotFound with default headers values

func (*DeleteEnvironmentNotFound) Code

func (o *DeleteEnvironmentNotFound) Code() int

Code gets the status code for the delete environment not found response

func (*DeleteEnvironmentNotFound) Error

func (o *DeleteEnvironmentNotFound) Error() string

func (*DeleteEnvironmentNotFound) IsClientError

func (o *DeleteEnvironmentNotFound) IsClientError() bool

IsClientError returns true when this delete environment not found response has a 4xx status code

func (*DeleteEnvironmentNotFound) IsCode

func (o *DeleteEnvironmentNotFound) IsCode(code int) bool

IsCode returns true when this delete environment not found response a status code equal to that given

func (*DeleteEnvironmentNotFound) IsRedirect

func (o *DeleteEnvironmentNotFound) IsRedirect() bool

IsRedirect returns true when this delete environment not found response has a 3xx status code

func (*DeleteEnvironmentNotFound) IsServerError

func (o *DeleteEnvironmentNotFound) IsServerError() bool

IsServerError returns true when this delete environment not found response has a 5xx status code

func (*DeleteEnvironmentNotFound) IsSuccess

func (o *DeleteEnvironmentNotFound) IsSuccess() bool

IsSuccess returns true when this delete environment not found response has a 2xx status code

func (*DeleteEnvironmentNotFound) String

func (o *DeleteEnvironmentNotFound) String() string

type DeleteEnvironmentOK

type DeleteEnvironmentOK struct {
}

DeleteEnvironmentOK describes a response with status code 200, with default header values.

Environment deleted ok

func NewDeleteEnvironmentOK

func NewDeleteEnvironmentOK() *DeleteEnvironmentOK

NewDeleteEnvironmentOK creates a DeleteEnvironmentOK with default headers values

func (*DeleteEnvironmentOK) Code

func (o *DeleteEnvironmentOK) Code() int

Code gets the status code for the delete environment o k response

func (*DeleteEnvironmentOK) Error

func (o *DeleteEnvironmentOK) Error() string

func (*DeleteEnvironmentOK) IsClientError

func (o *DeleteEnvironmentOK) IsClientError() bool

IsClientError returns true when this delete environment o k response has a 4xx status code

func (*DeleteEnvironmentOK) IsCode

func (o *DeleteEnvironmentOK) IsCode(code int) bool

IsCode returns true when this delete environment o k response a status code equal to that given

func (*DeleteEnvironmentOK) IsRedirect

func (o *DeleteEnvironmentOK) IsRedirect() bool

IsRedirect returns true when this delete environment o k response has a 3xx status code

func (*DeleteEnvironmentOK) IsServerError

func (o *DeleteEnvironmentOK) IsServerError() bool

IsServerError returns true when this delete environment o k response has a 5xx status code

func (*DeleteEnvironmentOK) IsSuccess

func (o *DeleteEnvironmentOK) IsSuccess() bool

IsSuccess returns true when this delete environment o k response has a 2xx status code

func (*DeleteEnvironmentOK) String

func (o *DeleteEnvironmentOK) String() string

type DeleteEnvironmentParams

type DeleteEnvironmentParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// name of Radix application
	AppName string

	// EnvName.
	//
	// name of environment
	EnvName string

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

DeleteEnvironmentParams contains all the parameters to send to the API endpoint

for the delete environment operation.

Typically these are written to a http.Request.

func NewDeleteEnvironmentParams

func NewDeleteEnvironmentParams() *DeleteEnvironmentParams

NewDeleteEnvironmentParams creates a new DeleteEnvironmentParams object, with the default 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 NewDeleteEnvironmentParamsWithContext deprecated

func NewDeleteEnvironmentParamsWithContext(ctx context.Context) *DeleteEnvironmentParams

NewDeleteEnvironmentParamsWithContext creates a new DeleteEnvironmentParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of DeleteEnvironmentParams.

func NewDeleteEnvironmentParamsWithHTTPClient

func NewDeleteEnvironmentParamsWithHTTPClient(client *http.Client) *DeleteEnvironmentParams

NewDeleteEnvironmentParamsWithHTTPClient creates a new DeleteEnvironmentParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEnvironmentParamsWithTimeout

func NewDeleteEnvironmentParamsWithTimeout(timeout time.Duration) *DeleteEnvironmentParams

NewDeleteEnvironmentParamsWithTimeout creates a new DeleteEnvironmentParams object with the ability to set a timeout on a request.

func (*DeleteEnvironmentParams) SetAppName

func (o *DeleteEnvironmentParams) SetAppName(appName string)

SetAppName adds the appName to the delete environment params.

func (*DeleteEnvironmentParams) SetContext deprecated

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

SetContext adds the context to the delete environment params.

Deprecated: use the operation call with context to pass the context instead of DeleteEnvironmentParams.

func (*DeleteEnvironmentParams) SetDefaults

func (o *DeleteEnvironmentParams) SetDefaults()

SetDefaults hydrates default values in the delete environment params (not the query body).

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

func (*DeleteEnvironmentParams) SetEnvName

func (o *DeleteEnvironmentParams) SetEnvName(envName string)

SetEnvName adds the envName to the delete environment params.

func (*DeleteEnvironmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete environment params.

func (*DeleteEnvironmentParams) SetImpersonateGroup

func (o *DeleteEnvironmentParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the delete environment params.

func (*DeleteEnvironmentParams) SetImpersonateUser

func (o *DeleteEnvironmentParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the delete environment params.

func (*DeleteEnvironmentParams) SetTimeout

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

SetTimeout adds the timeout to the delete environment params.

func (*DeleteEnvironmentParams) WithAppName

func (o *DeleteEnvironmentParams) WithAppName(appName string) *DeleteEnvironmentParams

WithAppName adds the appName to the delete environment params.

func (*DeleteEnvironmentParams) WithContext deprecated

WithContext adds the context to the delete environment params.

Deprecated: use the operation call with context to pass the context instead of DeleteEnvironmentParams.

func (*DeleteEnvironmentParams) WithDefaults

WithDefaults hydrates default values in the delete environment params (not the query body).

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

func (*DeleteEnvironmentParams) WithEnvName

func (o *DeleteEnvironmentParams) WithEnvName(envName string) *DeleteEnvironmentParams

WithEnvName adds the envName to the delete environment params.

func (*DeleteEnvironmentParams) WithHTTPClient

func (o *DeleteEnvironmentParams) WithHTTPClient(client *http.Client) *DeleteEnvironmentParams

WithHTTPClient adds the HTTPClient to the delete environment params.

func (*DeleteEnvironmentParams) WithImpersonateGroup

func (o *DeleteEnvironmentParams) WithImpersonateGroup(impersonateGroup *string) *DeleteEnvironmentParams

WithImpersonateGroup adds the impersonateGroup to the delete environment params.

func (*DeleteEnvironmentParams) WithImpersonateUser

func (o *DeleteEnvironmentParams) WithImpersonateUser(impersonateUser *string) *DeleteEnvironmentParams

WithImpersonateUser adds the impersonateUser to the delete environment params.

func (*DeleteEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the delete environment params.

func (*DeleteEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type DeleteEnvironmentReader

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

DeleteEnvironmentReader is a Reader for the DeleteEnvironment structure.

func (*DeleteEnvironmentReader) ReadResponse

func (o *DeleteEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type DeleteEnvironmentUnauthorized

type DeleteEnvironmentUnauthorized struct {
}

DeleteEnvironmentUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteEnvironmentUnauthorized

func NewDeleteEnvironmentUnauthorized() *DeleteEnvironmentUnauthorized

NewDeleteEnvironmentUnauthorized creates a DeleteEnvironmentUnauthorized with default headers values

func (*DeleteEnvironmentUnauthorized) Code

Code gets the status code for the delete environment unauthorized response

func (*DeleteEnvironmentUnauthorized) Error

func (*DeleteEnvironmentUnauthorized) IsClientError

func (o *DeleteEnvironmentUnauthorized) IsClientError() bool

IsClientError returns true when this delete environment unauthorized response has a 4xx status code

func (*DeleteEnvironmentUnauthorized) IsCode

func (o *DeleteEnvironmentUnauthorized) IsCode(code int) bool

IsCode returns true when this delete environment unauthorized response a status code equal to that given

func (*DeleteEnvironmentUnauthorized) IsRedirect

func (o *DeleteEnvironmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete environment unauthorized response has a 3xx status code

func (*DeleteEnvironmentUnauthorized) IsServerError

func (o *DeleteEnvironmentUnauthorized) IsServerError() bool

IsServerError returns true when this delete environment unauthorized response has a 5xx status code

func (*DeleteEnvironmentUnauthorized) IsSuccess

func (o *DeleteEnvironmentUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete environment unauthorized response has a 2xx status code

func (*DeleteEnvironmentUnauthorized) String

type DisableEnvironmentAlertingBadRequest

type DisableEnvironmentAlertingBadRequest struct {
}

DisableEnvironmentAlertingBadRequest describes a response with status code 400, with default header values.

Alerting already enabled

func NewDisableEnvironmentAlertingBadRequest

func NewDisableEnvironmentAlertingBadRequest() *DisableEnvironmentAlertingBadRequest

NewDisableEnvironmentAlertingBadRequest creates a DisableEnvironmentAlertingBadRequest with default headers values

func (*DisableEnvironmentAlertingBadRequest) Code

Code gets the status code for the disable environment alerting bad request response

func (*DisableEnvironmentAlertingBadRequest) Error

func (*DisableEnvironmentAlertingBadRequest) IsClientError

func (o *DisableEnvironmentAlertingBadRequest) IsClientError() bool

IsClientError returns true when this disable environment alerting bad request response has a 4xx status code

func (*DisableEnvironmentAlertingBadRequest) IsCode

IsCode returns true when this disable environment alerting bad request response a status code equal to that given

func (*DisableEnvironmentAlertingBadRequest) IsRedirect

IsRedirect returns true when this disable environment alerting bad request response has a 3xx status code

func (*DisableEnvironmentAlertingBadRequest) IsServerError

func (o *DisableEnvironmentAlertingBadRequest) IsServerError() bool

IsServerError returns true when this disable environment alerting bad request response has a 5xx status code

func (*DisableEnvironmentAlertingBadRequest) IsSuccess

IsSuccess returns true when this disable environment alerting bad request response has a 2xx status code

func (*DisableEnvironmentAlertingBadRequest) String

type DisableEnvironmentAlertingForbidden

type DisableEnvironmentAlertingForbidden struct {
}

DisableEnvironmentAlertingForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDisableEnvironmentAlertingForbidden

func NewDisableEnvironmentAlertingForbidden() *DisableEnvironmentAlertingForbidden

NewDisableEnvironmentAlertingForbidden creates a DisableEnvironmentAlertingForbidden with default headers values

func (*DisableEnvironmentAlertingForbidden) Code

Code gets the status code for the disable environment alerting forbidden response

func (*DisableEnvironmentAlertingForbidden) Error

func (*DisableEnvironmentAlertingForbidden) IsClientError

func (o *DisableEnvironmentAlertingForbidden) IsClientError() bool

IsClientError returns true when this disable environment alerting forbidden response has a 4xx status code

func (*DisableEnvironmentAlertingForbidden) IsCode

IsCode returns true when this disable environment alerting forbidden response a status code equal to that given

func (*DisableEnvironmentAlertingForbidden) IsRedirect

func (o *DisableEnvironmentAlertingForbidden) IsRedirect() bool

IsRedirect returns true when this disable environment alerting forbidden response has a 3xx status code

func (*DisableEnvironmentAlertingForbidden) IsServerError

func (o *DisableEnvironmentAlertingForbidden) IsServerError() bool

IsServerError returns true when this disable environment alerting forbidden response has a 5xx status code

func (*DisableEnvironmentAlertingForbidden) IsSuccess

IsSuccess returns true when this disable environment alerting forbidden response has a 2xx status code

func (*DisableEnvironmentAlertingForbidden) String

type DisableEnvironmentAlertingInternalServerError

type DisableEnvironmentAlertingInternalServerError struct {
}

DisableEnvironmentAlertingInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewDisableEnvironmentAlertingInternalServerError

func NewDisableEnvironmentAlertingInternalServerError() *DisableEnvironmentAlertingInternalServerError

NewDisableEnvironmentAlertingInternalServerError creates a DisableEnvironmentAlertingInternalServerError with default headers values

func (*DisableEnvironmentAlertingInternalServerError) Code

Code gets the status code for the disable environment alerting internal server error response

func (*DisableEnvironmentAlertingInternalServerError) Error

func (*DisableEnvironmentAlertingInternalServerError) IsClientError

IsClientError returns true when this disable environment alerting internal server error response has a 4xx status code

func (*DisableEnvironmentAlertingInternalServerError) IsCode

IsCode returns true when this disable environment alerting internal server error response a status code equal to that given

func (*DisableEnvironmentAlertingInternalServerError) IsRedirect

IsRedirect returns true when this disable environment alerting internal server error response has a 3xx status code

func (*DisableEnvironmentAlertingInternalServerError) IsServerError

IsServerError returns true when this disable environment alerting internal server error response has a 5xx status code

func (*DisableEnvironmentAlertingInternalServerError) IsSuccess

IsSuccess returns true when this disable environment alerting internal server error response has a 2xx status code

func (*DisableEnvironmentAlertingInternalServerError) String

type DisableEnvironmentAlertingNotFound

type DisableEnvironmentAlertingNotFound struct {
}

DisableEnvironmentAlertingNotFound describes a response with status code 404, with default header values.

Not found

func NewDisableEnvironmentAlertingNotFound

func NewDisableEnvironmentAlertingNotFound() *DisableEnvironmentAlertingNotFound

NewDisableEnvironmentAlertingNotFound creates a DisableEnvironmentAlertingNotFound with default headers values

func (*DisableEnvironmentAlertingNotFound) Code

Code gets the status code for the disable environment alerting not found response

func (*DisableEnvironmentAlertingNotFound) Error

func (*DisableEnvironmentAlertingNotFound) IsClientError

func (o *DisableEnvironmentAlertingNotFound) IsClientError() bool

IsClientError returns true when this disable environment alerting not found response has a 4xx status code

func (*DisableEnvironmentAlertingNotFound) IsCode

IsCode returns true when this disable environment alerting not found response a status code equal to that given

func (*DisableEnvironmentAlertingNotFound) IsRedirect

func (o *DisableEnvironmentAlertingNotFound) IsRedirect() bool

IsRedirect returns true when this disable environment alerting not found response has a 3xx status code

func (*DisableEnvironmentAlertingNotFound) IsServerError

func (o *DisableEnvironmentAlertingNotFound) IsServerError() bool

IsServerError returns true when this disable environment alerting not found response has a 5xx status code

func (*DisableEnvironmentAlertingNotFound) IsSuccess

IsSuccess returns true when this disable environment alerting not found response has a 2xx status code

func (*DisableEnvironmentAlertingNotFound) String

type DisableEnvironmentAlertingOK

type DisableEnvironmentAlertingOK struct {
	Payload *models.AlertingConfig
}

DisableEnvironmentAlertingOK describes a response with status code 200, with default header values.

Successful disable alerting

func NewDisableEnvironmentAlertingOK

func NewDisableEnvironmentAlertingOK() *DisableEnvironmentAlertingOK

NewDisableEnvironmentAlertingOK creates a DisableEnvironmentAlertingOK with default headers values

func (*DisableEnvironmentAlertingOK) Code

Code gets the status code for the disable environment alerting o k response

func (*DisableEnvironmentAlertingOK) Error

func (*DisableEnvironmentAlertingOK) GetPayload

func (*DisableEnvironmentAlertingOK) IsClientError

func (o *DisableEnvironmentAlertingOK) IsClientError() bool

IsClientError returns true when this disable environment alerting o k response has a 4xx status code

func (*DisableEnvironmentAlertingOK) IsCode

func (o *DisableEnvironmentAlertingOK) IsCode(code int) bool

IsCode returns true when this disable environment alerting o k response a status code equal to that given

func (*DisableEnvironmentAlertingOK) IsRedirect

func (o *DisableEnvironmentAlertingOK) IsRedirect() bool

IsRedirect returns true when this disable environment alerting o k response has a 3xx status code

func (*DisableEnvironmentAlertingOK) IsServerError

func (o *DisableEnvironmentAlertingOK) IsServerError() bool

IsServerError returns true when this disable environment alerting o k response has a 5xx status code

func (*DisableEnvironmentAlertingOK) IsSuccess

func (o *DisableEnvironmentAlertingOK) IsSuccess() bool

IsSuccess returns true when this disable environment alerting o k response has a 2xx status code

func (*DisableEnvironmentAlertingOK) String

type DisableEnvironmentAlertingParams

type DisableEnvironmentAlertingParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// Name of application
	AppName string

	// EnvName.
	//
	// Name of environment
	EnvName string

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

DisableEnvironmentAlertingParams contains all the parameters to send to the API endpoint

for the disable environment alerting operation.

Typically these are written to a http.Request.

func NewDisableEnvironmentAlertingParams

func NewDisableEnvironmentAlertingParams() *DisableEnvironmentAlertingParams

NewDisableEnvironmentAlertingParams creates a new DisableEnvironmentAlertingParams 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 NewDisableEnvironmentAlertingParamsWithContext deprecated

func NewDisableEnvironmentAlertingParamsWithContext(ctx context.Context) *DisableEnvironmentAlertingParams

NewDisableEnvironmentAlertingParamsWithContext creates a new DisableEnvironmentAlertingParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of DisableEnvironmentAlertingParams.

func NewDisableEnvironmentAlertingParamsWithHTTPClient

func NewDisableEnvironmentAlertingParamsWithHTTPClient(client *http.Client) *DisableEnvironmentAlertingParams

NewDisableEnvironmentAlertingParamsWithHTTPClient creates a new DisableEnvironmentAlertingParams object with the ability to set a custom HTTPClient for a request.

func NewDisableEnvironmentAlertingParamsWithTimeout

func NewDisableEnvironmentAlertingParamsWithTimeout(timeout time.Duration) *DisableEnvironmentAlertingParams

NewDisableEnvironmentAlertingParamsWithTimeout creates a new DisableEnvironmentAlertingParams object with the ability to set a timeout on a request.

func (*DisableEnvironmentAlertingParams) SetAppName

func (o *DisableEnvironmentAlertingParams) SetAppName(appName string)

SetAppName adds the appName to the disable environment alerting params.

func (*DisableEnvironmentAlertingParams) SetContext deprecated

SetContext adds the context to the disable environment alerting params.

Deprecated: use the operation call with context to pass the context instead of DisableEnvironmentAlertingParams.

func (*DisableEnvironmentAlertingParams) SetDefaults

func (o *DisableEnvironmentAlertingParams) SetDefaults()

SetDefaults hydrates default values in the disable environment alerting params (not the query body).

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

func (*DisableEnvironmentAlertingParams) SetEnvName

func (o *DisableEnvironmentAlertingParams) SetEnvName(envName string)

SetEnvName adds the envName to the disable environment alerting params.

func (*DisableEnvironmentAlertingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable environment alerting params.

func (*DisableEnvironmentAlertingParams) SetImpersonateGroup

func (o *DisableEnvironmentAlertingParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the disable environment alerting params.

func (*DisableEnvironmentAlertingParams) SetImpersonateUser

func (o *DisableEnvironmentAlertingParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the disable environment alerting params.

func (*DisableEnvironmentAlertingParams) SetTimeout

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

SetTimeout adds the timeout to the disable environment alerting params.

func (*DisableEnvironmentAlertingParams) WithAppName

WithAppName adds the appName to the disable environment alerting params.

func (*DisableEnvironmentAlertingParams) WithContext deprecated

WithContext adds the context to the disable environment alerting params.

Deprecated: use the operation call with context to pass the context instead of DisableEnvironmentAlertingParams.

func (*DisableEnvironmentAlertingParams) WithDefaults

WithDefaults hydrates default values in the disable environment alerting params (not the query body).

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

func (*DisableEnvironmentAlertingParams) WithEnvName

WithEnvName adds the envName to the disable environment alerting params.

func (*DisableEnvironmentAlertingParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the disable environment alerting params.

func (*DisableEnvironmentAlertingParams) WithImpersonateGroup

func (o *DisableEnvironmentAlertingParams) WithImpersonateGroup(impersonateGroup *string) *DisableEnvironmentAlertingParams

WithImpersonateGroup adds the impersonateGroup to the disable environment alerting params.

func (*DisableEnvironmentAlertingParams) WithImpersonateUser

func (o *DisableEnvironmentAlertingParams) WithImpersonateUser(impersonateUser *string) *DisableEnvironmentAlertingParams

WithImpersonateUser adds the impersonateUser to the disable environment alerting params.

func (*DisableEnvironmentAlertingParams) WithTimeout

WithTimeout adds the timeout to the disable environment alerting params.

func (*DisableEnvironmentAlertingParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type DisableEnvironmentAlertingReader

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

DisableEnvironmentAlertingReader is a Reader for the DisableEnvironmentAlerting structure.

func (*DisableEnvironmentAlertingReader) ReadResponse

func (o *DisableEnvironmentAlertingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type DisableEnvironmentAlertingUnauthorized

type DisableEnvironmentAlertingUnauthorized struct {
}

DisableEnvironmentAlertingUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDisableEnvironmentAlertingUnauthorized

func NewDisableEnvironmentAlertingUnauthorized() *DisableEnvironmentAlertingUnauthorized

NewDisableEnvironmentAlertingUnauthorized creates a DisableEnvironmentAlertingUnauthorized with default headers values

func (*DisableEnvironmentAlertingUnauthorized) Code

Code gets the status code for the disable environment alerting unauthorized response

func (*DisableEnvironmentAlertingUnauthorized) Error

func (*DisableEnvironmentAlertingUnauthorized) IsClientError

func (o *DisableEnvironmentAlertingUnauthorized) IsClientError() bool

IsClientError returns true when this disable environment alerting unauthorized response has a 4xx status code

func (*DisableEnvironmentAlertingUnauthorized) IsCode

IsCode returns true when this disable environment alerting unauthorized response a status code equal to that given

func (*DisableEnvironmentAlertingUnauthorized) IsRedirect

IsRedirect returns true when this disable environment alerting unauthorized response has a 3xx status code

func (*DisableEnvironmentAlertingUnauthorized) IsServerError

func (o *DisableEnvironmentAlertingUnauthorized) IsServerError() bool

IsServerError returns true when this disable environment alerting unauthorized response has a 5xx status code

func (*DisableEnvironmentAlertingUnauthorized) IsSuccess

IsSuccess returns true when this disable environment alerting unauthorized response has a 2xx status code

func (*DisableEnvironmentAlertingUnauthorized) String

type EnableEnvironmentAlertingBadRequest

type EnableEnvironmentAlertingBadRequest struct {
}

EnableEnvironmentAlertingBadRequest describes a response with status code 400, with default header values.

Alerting already enabled

func NewEnableEnvironmentAlertingBadRequest

func NewEnableEnvironmentAlertingBadRequest() *EnableEnvironmentAlertingBadRequest

NewEnableEnvironmentAlertingBadRequest creates a EnableEnvironmentAlertingBadRequest with default headers values

func (*EnableEnvironmentAlertingBadRequest) Code

Code gets the status code for the enable environment alerting bad request response

func (*EnableEnvironmentAlertingBadRequest) Error

func (*EnableEnvironmentAlertingBadRequest) IsClientError

func (o *EnableEnvironmentAlertingBadRequest) IsClientError() bool

IsClientError returns true when this enable environment alerting bad request response has a 4xx status code

func (*EnableEnvironmentAlertingBadRequest) IsCode

IsCode returns true when this enable environment alerting bad request response a status code equal to that given

func (*EnableEnvironmentAlertingBadRequest) IsRedirect

func (o *EnableEnvironmentAlertingBadRequest) IsRedirect() bool

IsRedirect returns true when this enable environment alerting bad request response has a 3xx status code

func (*EnableEnvironmentAlertingBadRequest) IsServerError

func (o *EnableEnvironmentAlertingBadRequest) IsServerError() bool

IsServerError returns true when this enable environment alerting bad request response has a 5xx status code

func (*EnableEnvironmentAlertingBadRequest) IsSuccess

IsSuccess returns true when this enable environment alerting bad request response has a 2xx status code

func (*EnableEnvironmentAlertingBadRequest) String

type EnableEnvironmentAlertingForbidden

type EnableEnvironmentAlertingForbidden struct {
}

EnableEnvironmentAlertingForbidden describes a response with status code 403, with default header values.

Forbidden

func NewEnableEnvironmentAlertingForbidden

func NewEnableEnvironmentAlertingForbidden() *EnableEnvironmentAlertingForbidden

NewEnableEnvironmentAlertingForbidden creates a EnableEnvironmentAlertingForbidden with default headers values

func (*EnableEnvironmentAlertingForbidden) Code

Code gets the status code for the enable environment alerting forbidden response

func (*EnableEnvironmentAlertingForbidden) Error

func (*EnableEnvironmentAlertingForbidden) IsClientError

func (o *EnableEnvironmentAlertingForbidden) IsClientError() bool

IsClientError returns true when this enable environment alerting forbidden response has a 4xx status code

func (*EnableEnvironmentAlertingForbidden) IsCode

IsCode returns true when this enable environment alerting forbidden response a status code equal to that given

func (*EnableEnvironmentAlertingForbidden) IsRedirect

func (o *EnableEnvironmentAlertingForbidden) IsRedirect() bool

IsRedirect returns true when this enable environment alerting forbidden response has a 3xx status code

func (*EnableEnvironmentAlertingForbidden) IsServerError

func (o *EnableEnvironmentAlertingForbidden) IsServerError() bool

IsServerError returns true when this enable environment alerting forbidden response has a 5xx status code

func (*EnableEnvironmentAlertingForbidden) IsSuccess

IsSuccess returns true when this enable environment alerting forbidden response has a 2xx status code

func (*EnableEnvironmentAlertingForbidden) String

type EnableEnvironmentAlertingInternalServerError

type EnableEnvironmentAlertingInternalServerError struct {
}

EnableEnvironmentAlertingInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewEnableEnvironmentAlertingInternalServerError

func NewEnableEnvironmentAlertingInternalServerError() *EnableEnvironmentAlertingInternalServerError

NewEnableEnvironmentAlertingInternalServerError creates a EnableEnvironmentAlertingInternalServerError with default headers values

func (*EnableEnvironmentAlertingInternalServerError) Code

Code gets the status code for the enable environment alerting internal server error response

func (*EnableEnvironmentAlertingInternalServerError) Error

func (*EnableEnvironmentAlertingInternalServerError) IsClientError

IsClientError returns true when this enable environment alerting internal server error response has a 4xx status code

func (*EnableEnvironmentAlertingInternalServerError) IsCode

IsCode returns true when this enable environment alerting internal server error response a status code equal to that given

func (*EnableEnvironmentAlertingInternalServerError) IsRedirect

IsRedirect returns true when this enable environment alerting internal server error response has a 3xx status code

func (*EnableEnvironmentAlertingInternalServerError) IsServerError

IsServerError returns true when this enable environment alerting internal server error response has a 5xx status code

func (*EnableEnvironmentAlertingInternalServerError) IsSuccess

IsSuccess returns true when this enable environment alerting internal server error response has a 2xx status code

func (*EnableEnvironmentAlertingInternalServerError) String

type EnableEnvironmentAlertingNotFound

type EnableEnvironmentAlertingNotFound struct {
}

EnableEnvironmentAlertingNotFound describes a response with status code 404, with default header values.

Not found

func NewEnableEnvironmentAlertingNotFound

func NewEnableEnvironmentAlertingNotFound() *EnableEnvironmentAlertingNotFound

NewEnableEnvironmentAlertingNotFound creates a EnableEnvironmentAlertingNotFound with default headers values

func (*EnableEnvironmentAlertingNotFound) Code

Code gets the status code for the enable environment alerting not found response

func (*EnableEnvironmentAlertingNotFound) Error

func (*EnableEnvironmentAlertingNotFound) IsClientError

func (o *EnableEnvironmentAlertingNotFound) IsClientError() bool

IsClientError returns true when this enable environment alerting not found response has a 4xx status code

func (*EnableEnvironmentAlertingNotFound) IsCode

func (o *EnableEnvironmentAlertingNotFound) IsCode(code int) bool

IsCode returns true when this enable environment alerting not found response a status code equal to that given

func (*EnableEnvironmentAlertingNotFound) IsRedirect

func (o *EnableEnvironmentAlertingNotFound) IsRedirect() bool

IsRedirect returns true when this enable environment alerting not found response has a 3xx status code

func (*EnableEnvironmentAlertingNotFound) IsServerError

func (o *EnableEnvironmentAlertingNotFound) IsServerError() bool

IsServerError returns true when this enable environment alerting not found response has a 5xx status code

func (*EnableEnvironmentAlertingNotFound) IsSuccess

func (o *EnableEnvironmentAlertingNotFound) IsSuccess() bool

IsSuccess returns true when this enable environment alerting not found response has a 2xx status code

func (*EnableEnvironmentAlertingNotFound) String

type EnableEnvironmentAlertingOK

type EnableEnvironmentAlertingOK struct {
	Payload *models.AlertingConfig
}

EnableEnvironmentAlertingOK describes a response with status code 200, with default header values.

Successful enable alerting

func NewEnableEnvironmentAlertingOK

func NewEnableEnvironmentAlertingOK() *EnableEnvironmentAlertingOK

NewEnableEnvironmentAlertingOK creates a EnableEnvironmentAlertingOK with default headers values

func (*EnableEnvironmentAlertingOK) Code

func (o *EnableEnvironmentAlertingOK) Code() int

Code gets the status code for the enable environment alerting o k response

func (*EnableEnvironmentAlertingOK) Error

func (*EnableEnvironmentAlertingOK) GetPayload

func (*EnableEnvironmentAlertingOK) IsClientError

func (o *EnableEnvironmentAlertingOK) IsClientError() bool

IsClientError returns true when this enable environment alerting o k response has a 4xx status code

func (*EnableEnvironmentAlertingOK) IsCode

func (o *EnableEnvironmentAlertingOK) IsCode(code int) bool

IsCode returns true when this enable environment alerting o k response a status code equal to that given

func (*EnableEnvironmentAlertingOK) IsRedirect

func (o *EnableEnvironmentAlertingOK) IsRedirect() bool

IsRedirect returns true when this enable environment alerting o k response has a 3xx status code

func (*EnableEnvironmentAlertingOK) IsServerError

func (o *EnableEnvironmentAlertingOK) IsServerError() bool

IsServerError returns true when this enable environment alerting o k response has a 5xx status code

func (*EnableEnvironmentAlertingOK) IsSuccess

func (o *EnableEnvironmentAlertingOK) IsSuccess() bool

IsSuccess returns true when this enable environment alerting o k response has a 2xx status code

func (*EnableEnvironmentAlertingOK) String

func (o *EnableEnvironmentAlertingOK) String() string

type EnableEnvironmentAlertingParams

type EnableEnvironmentAlertingParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// Name of application
	AppName string

	// EnvName.
	//
	// Name of environment
	EnvName string

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

EnableEnvironmentAlertingParams contains all the parameters to send to the API endpoint

for the enable environment alerting operation.

Typically these are written to a http.Request.

func NewEnableEnvironmentAlertingParams

func NewEnableEnvironmentAlertingParams() *EnableEnvironmentAlertingParams

NewEnableEnvironmentAlertingParams creates a new EnableEnvironmentAlertingParams 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 NewEnableEnvironmentAlertingParamsWithContext deprecated

func NewEnableEnvironmentAlertingParamsWithContext(ctx context.Context) *EnableEnvironmentAlertingParams

NewEnableEnvironmentAlertingParamsWithContext creates a new EnableEnvironmentAlertingParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of EnableEnvironmentAlertingParams.

func NewEnableEnvironmentAlertingParamsWithHTTPClient

func NewEnableEnvironmentAlertingParamsWithHTTPClient(client *http.Client) *EnableEnvironmentAlertingParams

NewEnableEnvironmentAlertingParamsWithHTTPClient creates a new EnableEnvironmentAlertingParams object with the ability to set a custom HTTPClient for a request.

func NewEnableEnvironmentAlertingParamsWithTimeout

func NewEnableEnvironmentAlertingParamsWithTimeout(timeout time.Duration) *EnableEnvironmentAlertingParams

NewEnableEnvironmentAlertingParamsWithTimeout creates a new EnableEnvironmentAlertingParams object with the ability to set a timeout on a request.

func (*EnableEnvironmentAlertingParams) SetAppName

func (o *EnableEnvironmentAlertingParams) SetAppName(appName string)

SetAppName adds the appName to the enable environment alerting params.

func (*EnableEnvironmentAlertingParams) SetContext deprecated

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

SetContext adds the context to the enable environment alerting params.

Deprecated: use the operation call with context to pass the context instead of EnableEnvironmentAlertingParams.

func (*EnableEnvironmentAlertingParams) SetDefaults

func (o *EnableEnvironmentAlertingParams) SetDefaults()

SetDefaults hydrates default values in the enable environment alerting params (not the query body).

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

func (*EnableEnvironmentAlertingParams) SetEnvName

func (o *EnableEnvironmentAlertingParams) SetEnvName(envName string)

SetEnvName adds the envName to the enable environment alerting params.

func (*EnableEnvironmentAlertingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable environment alerting params.

func (*EnableEnvironmentAlertingParams) SetImpersonateGroup

func (o *EnableEnvironmentAlertingParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the enable environment alerting params.

func (*EnableEnvironmentAlertingParams) SetImpersonateUser

func (o *EnableEnvironmentAlertingParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the enable environment alerting params.

func (*EnableEnvironmentAlertingParams) SetTimeout

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

SetTimeout adds the timeout to the enable environment alerting params.

func (*EnableEnvironmentAlertingParams) WithAppName

WithAppName adds the appName to the enable environment alerting params.

func (*EnableEnvironmentAlertingParams) WithContext deprecated

WithContext adds the context to the enable environment alerting params.

Deprecated: use the operation call with context to pass the context instead of EnableEnvironmentAlertingParams.

func (*EnableEnvironmentAlertingParams) WithDefaults

WithDefaults hydrates default values in the enable environment alerting params (not the query body).

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

func (*EnableEnvironmentAlertingParams) WithEnvName

WithEnvName adds the envName to the enable environment alerting params.

func (*EnableEnvironmentAlertingParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the enable environment alerting params.

func (*EnableEnvironmentAlertingParams) WithImpersonateGroup

func (o *EnableEnvironmentAlertingParams) WithImpersonateGroup(impersonateGroup *string) *EnableEnvironmentAlertingParams

WithImpersonateGroup adds the impersonateGroup to the enable environment alerting params.

func (*EnableEnvironmentAlertingParams) WithImpersonateUser

func (o *EnableEnvironmentAlertingParams) WithImpersonateUser(impersonateUser *string) *EnableEnvironmentAlertingParams

WithImpersonateUser adds the impersonateUser to the enable environment alerting params.

func (*EnableEnvironmentAlertingParams) WithTimeout

WithTimeout adds the timeout to the enable environment alerting params.

func (*EnableEnvironmentAlertingParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type EnableEnvironmentAlertingReader

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

EnableEnvironmentAlertingReader is a Reader for the EnableEnvironmentAlerting structure.

func (*EnableEnvironmentAlertingReader) ReadResponse

func (o *EnableEnvironmentAlertingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type EnableEnvironmentAlertingUnauthorized

type EnableEnvironmentAlertingUnauthorized struct {
}

EnableEnvironmentAlertingUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewEnableEnvironmentAlertingUnauthorized

func NewEnableEnvironmentAlertingUnauthorized() *EnableEnvironmentAlertingUnauthorized

NewEnableEnvironmentAlertingUnauthorized creates a EnableEnvironmentAlertingUnauthorized with default headers values

func (*EnableEnvironmentAlertingUnauthorized) Code

Code gets the status code for the enable environment alerting unauthorized response

func (*EnableEnvironmentAlertingUnauthorized) Error

func (*EnableEnvironmentAlertingUnauthorized) IsClientError

func (o *EnableEnvironmentAlertingUnauthorized) IsClientError() bool

IsClientError returns true when this enable environment alerting unauthorized response has a 4xx status code

func (*EnableEnvironmentAlertingUnauthorized) IsCode

IsCode returns true when this enable environment alerting unauthorized response a status code equal to that given

func (*EnableEnvironmentAlertingUnauthorized) IsRedirect

IsRedirect returns true when this enable environment alerting unauthorized response has a 3xx status code

func (*EnableEnvironmentAlertingUnauthorized) IsServerError

func (o *EnableEnvironmentAlertingUnauthorized) IsServerError() bool

IsServerError returns true when this enable environment alerting unauthorized response has a 5xx status code

func (*EnableEnvironmentAlertingUnauthorized) IsSuccess

IsSuccess returns true when this enable environment alerting unauthorized response has a 2xx status code

func (*EnableEnvironmentAlertingUnauthorized) String

type GetApplicationEnvironmentDeploymentsNotFound

type GetApplicationEnvironmentDeploymentsNotFound struct {
}

GetApplicationEnvironmentDeploymentsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetApplicationEnvironmentDeploymentsNotFound

func NewGetApplicationEnvironmentDeploymentsNotFound() *GetApplicationEnvironmentDeploymentsNotFound

NewGetApplicationEnvironmentDeploymentsNotFound creates a GetApplicationEnvironmentDeploymentsNotFound with default headers values

func (*GetApplicationEnvironmentDeploymentsNotFound) Code

Code gets the status code for the get application environment deployments not found response

func (*GetApplicationEnvironmentDeploymentsNotFound) Error

func (*GetApplicationEnvironmentDeploymentsNotFound) IsClientError

IsClientError returns true when this get application environment deployments not found response has a 4xx status code

func (*GetApplicationEnvironmentDeploymentsNotFound) IsCode

IsCode returns true when this get application environment deployments not found response a status code equal to that given

func (*GetApplicationEnvironmentDeploymentsNotFound) IsRedirect

IsRedirect returns true when this get application environment deployments not found response has a 3xx status code

func (*GetApplicationEnvironmentDeploymentsNotFound) IsServerError

IsServerError returns true when this get application environment deployments not found response has a 5xx status code

func (*GetApplicationEnvironmentDeploymentsNotFound) IsSuccess

IsSuccess returns true when this get application environment deployments not found response has a 2xx status code

func (*GetApplicationEnvironmentDeploymentsNotFound) String

type GetApplicationEnvironmentDeploymentsOK

type GetApplicationEnvironmentDeploymentsOK struct {
	Payload []*models.DeploymentSummary
}

GetApplicationEnvironmentDeploymentsOK describes a response with status code 200, with default header values.

Successful operation

func NewGetApplicationEnvironmentDeploymentsOK

func NewGetApplicationEnvironmentDeploymentsOK() *GetApplicationEnvironmentDeploymentsOK

NewGetApplicationEnvironmentDeploymentsOK creates a GetApplicationEnvironmentDeploymentsOK with default headers values

func (*GetApplicationEnvironmentDeploymentsOK) Code

Code gets the status code for the get application environment deployments o k response

func (*GetApplicationEnvironmentDeploymentsOK) Error

func (*GetApplicationEnvironmentDeploymentsOK) GetPayload

func (*GetApplicationEnvironmentDeploymentsOK) IsClientError

func (o *GetApplicationEnvironmentDeploymentsOK) IsClientError() bool

IsClientError returns true when this get application environment deployments o k response has a 4xx status code

func (*GetApplicationEnvironmentDeploymentsOK) IsCode

IsCode returns true when this get application environment deployments o k response a status code equal to that given

func (*GetApplicationEnvironmentDeploymentsOK) IsRedirect

IsRedirect returns true when this get application environment deployments o k response has a 3xx status code

func (*GetApplicationEnvironmentDeploymentsOK) IsServerError

func (o *GetApplicationEnvironmentDeploymentsOK) IsServerError() bool

IsServerError returns true when this get application environment deployments o k response has a 5xx status code

func (*GetApplicationEnvironmentDeploymentsOK) IsSuccess

IsSuccess returns true when this get application environment deployments o k response has a 2xx status code

func (*GetApplicationEnvironmentDeploymentsOK) String

type GetApplicationEnvironmentDeploymentsParams

type GetApplicationEnvironmentDeploymentsParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// name of Radix application
	AppName string

	// EnvName.
	//
	// environment of Radix application
	EnvName string

	// Latest.
	//
	// indicator to allow only listing the latest
	Latest *bool

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

GetApplicationEnvironmentDeploymentsParams contains all the parameters to send to the API endpoint

for the get application environment deployments operation.

Typically these are written to a http.Request.

func NewGetApplicationEnvironmentDeploymentsParams

func NewGetApplicationEnvironmentDeploymentsParams() *GetApplicationEnvironmentDeploymentsParams

NewGetApplicationEnvironmentDeploymentsParams creates a new GetApplicationEnvironmentDeploymentsParams 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 NewGetApplicationEnvironmentDeploymentsParamsWithContext deprecated

func NewGetApplicationEnvironmentDeploymentsParamsWithContext(ctx context.Context) *GetApplicationEnvironmentDeploymentsParams

NewGetApplicationEnvironmentDeploymentsParamsWithContext creates a new GetApplicationEnvironmentDeploymentsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetApplicationEnvironmentDeploymentsParams.

func NewGetApplicationEnvironmentDeploymentsParamsWithHTTPClient

func NewGetApplicationEnvironmentDeploymentsParamsWithHTTPClient(client *http.Client) *GetApplicationEnvironmentDeploymentsParams

NewGetApplicationEnvironmentDeploymentsParamsWithHTTPClient creates a new GetApplicationEnvironmentDeploymentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetApplicationEnvironmentDeploymentsParamsWithTimeout

func NewGetApplicationEnvironmentDeploymentsParamsWithTimeout(timeout time.Duration) *GetApplicationEnvironmentDeploymentsParams

NewGetApplicationEnvironmentDeploymentsParamsWithTimeout creates a new GetApplicationEnvironmentDeploymentsParams object with the ability to set a timeout on a request.

func (*GetApplicationEnvironmentDeploymentsParams) SetAppName

func (o *GetApplicationEnvironmentDeploymentsParams) SetAppName(appName string)

SetAppName adds the appName to the get application environment deployments params.

func (*GetApplicationEnvironmentDeploymentsParams) SetContext deprecated

SetContext adds the context to the get application environment deployments params.

Deprecated: use the operation call with context to pass the context instead of GetApplicationEnvironmentDeploymentsParams.

func (*GetApplicationEnvironmentDeploymentsParams) SetDefaults

SetDefaults hydrates default values in the get application environment deployments params (not the query body).

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

func (*GetApplicationEnvironmentDeploymentsParams) SetEnvName

func (o *GetApplicationEnvironmentDeploymentsParams) SetEnvName(envName string)

SetEnvName adds the envName to the get application environment deployments params.

func (*GetApplicationEnvironmentDeploymentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get application environment deployments params.

func (*GetApplicationEnvironmentDeploymentsParams) SetImpersonateGroup

func (o *GetApplicationEnvironmentDeploymentsParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the get application environment deployments params.

func (*GetApplicationEnvironmentDeploymentsParams) SetImpersonateUser

func (o *GetApplicationEnvironmentDeploymentsParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the get application environment deployments params.

func (*GetApplicationEnvironmentDeploymentsParams) SetLatest

func (o *GetApplicationEnvironmentDeploymentsParams) SetLatest(latest *bool)

SetLatest adds the latest to the get application environment deployments params.

func (*GetApplicationEnvironmentDeploymentsParams) SetTimeout

SetTimeout adds the timeout to the get application environment deployments params.

func (*GetApplicationEnvironmentDeploymentsParams) WithAppName

WithAppName adds the appName to the get application environment deployments params.

func (*GetApplicationEnvironmentDeploymentsParams) WithContext deprecated

WithContext adds the context to the get application environment deployments params.

Deprecated: use the operation call with context to pass the context instead of GetApplicationEnvironmentDeploymentsParams.

func (*GetApplicationEnvironmentDeploymentsParams) WithDefaults

WithDefaults hydrates default values in the get application environment deployments params (not the query body).

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

func (*GetApplicationEnvironmentDeploymentsParams) WithEnvName

WithEnvName adds the envName to the get application environment deployments params.

func (*GetApplicationEnvironmentDeploymentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get application environment deployments params.

func (*GetApplicationEnvironmentDeploymentsParams) WithImpersonateGroup

WithImpersonateGroup adds the impersonateGroup to the get application environment deployments params.

func (*GetApplicationEnvironmentDeploymentsParams) WithImpersonateUser

WithImpersonateUser adds the impersonateUser to the get application environment deployments params.

func (*GetApplicationEnvironmentDeploymentsParams) WithLatest

WithLatest adds the latest to the get application environment deployments params.

func (*GetApplicationEnvironmentDeploymentsParams) WithTimeout

WithTimeout adds the timeout to the get application environment deployments params.

func (*GetApplicationEnvironmentDeploymentsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetApplicationEnvironmentDeploymentsReader

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

GetApplicationEnvironmentDeploymentsReader is a Reader for the GetApplicationEnvironmentDeployments structure.

func (*GetApplicationEnvironmentDeploymentsReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetApplicationEnvironmentDeploymentsUnauthorized

type GetApplicationEnvironmentDeploymentsUnauthorized struct {
}

GetApplicationEnvironmentDeploymentsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetApplicationEnvironmentDeploymentsUnauthorized

func NewGetApplicationEnvironmentDeploymentsUnauthorized() *GetApplicationEnvironmentDeploymentsUnauthorized

NewGetApplicationEnvironmentDeploymentsUnauthorized creates a GetApplicationEnvironmentDeploymentsUnauthorized with default headers values

func (*GetApplicationEnvironmentDeploymentsUnauthorized) Code

Code gets the status code for the get application environment deployments unauthorized response

func (*GetApplicationEnvironmentDeploymentsUnauthorized) Error

func (*GetApplicationEnvironmentDeploymentsUnauthorized) IsClientError

IsClientError returns true when this get application environment deployments unauthorized response has a 4xx status code

func (*GetApplicationEnvironmentDeploymentsUnauthorized) IsCode

IsCode returns true when this get application environment deployments unauthorized response a status code equal to that given

func (*GetApplicationEnvironmentDeploymentsUnauthorized) IsRedirect

IsRedirect returns true when this get application environment deployments unauthorized response has a 3xx status code

func (*GetApplicationEnvironmentDeploymentsUnauthorized) IsServerError

IsServerError returns true when this get application environment deployments unauthorized response has a 5xx status code

func (*GetApplicationEnvironmentDeploymentsUnauthorized) IsSuccess

IsSuccess returns true when this get application environment deployments unauthorized response has a 2xx status code

func (*GetApplicationEnvironmentDeploymentsUnauthorized) String

type GetAzureKeyVaultSecretVersionsBadRequest

type GetAzureKeyVaultSecretVersionsBadRequest struct {
}

GetAzureKeyVaultSecretVersionsBadRequest describes a response with status code 400, with default header values.

Invalid application

func NewGetAzureKeyVaultSecretVersionsBadRequest

func NewGetAzureKeyVaultSecretVersionsBadRequest() *GetAzureKeyVaultSecretVersionsBadRequest

NewGetAzureKeyVaultSecretVersionsBadRequest creates a GetAzureKeyVaultSecretVersionsBadRequest with default headers values

func (*GetAzureKeyVaultSecretVersionsBadRequest) Code

Code gets the status code for the get azure key vault secret versions bad request response

func (*GetAzureKeyVaultSecretVersionsBadRequest) Error

func (*GetAzureKeyVaultSecretVersionsBadRequest) IsClientError

IsClientError returns true when this get azure key vault secret versions bad request response has a 4xx status code

func (*GetAzureKeyVaultSecretVersionsBadRequest) IsCode

IsCode returns true when this get azure key vault secret versions bad request response a status code equal to that given

func (*GetAzureKeyVaultSecretVersionsBadRequest) IsRedirect

IsRedirect returns true when this get azure key vault secret versions bad request response has a 3xx status code

func (*GetAzureKeyVaultSecretVersionsBadRequest) IsServerError

IsServerError returns true when this get azure key vault secret versions bad request response has a 5xx status code

func (*GetAzureKeyVaultSecretVersionsBadRequest) IsSuccess

IsSuccess returns true when this get azure key vault secret versions bad request response has a 2xx status code

func (*GetAzureKeyVaultSecretVersionsBadRequest) String

type GetAzureKeyVaultSecretVersionsConflict

type GetAzureKeyVaultSecretVersionsConflict struct {
}

GetAzureKeyVaultSecretVersionsConflict describes a response with status code 409, with default header values.

Conflict

func NewGetAzureKeyVaultSecretVersionsConflict

func NewGetAzureKeyVaultSecretVersionsConflict() *GetAzureKeyVaultSecretVersionsConflict

NewGetAzureKeyVaultSecretVersionsConflict creates a GetAzureKeyVaultSecretVersionsConflict with default headers values

func (*GetAzureKeyVaultSecretVersionsConflict) Code

Code gets the status code for the get azure key vault secret versions conflict response

func (*GetAzureKeyVaultSecretVersionsConflict) Error

func (*GetAzureKeyVaultSecretVersionsConflict) IsClientError

func (o *GetAzureKeyVaultSecretVersionsConflict) IsClientError() bool

IsClientError returns true when this get azure key vault secret versions conflict response has a 4xx status code

func (*GetAzureKeyVaultSecretVersionsConflict) IsCode

IsCode returns true when this get azure key vault secret versions conflict response a status code equal to that given

func (*GetAzureKeyVaultSecretVersionsConflict) IsRedirect

IsRedirect returns true when this get azure key vault secret versions conflict response has a 3xx status code

func (*GetAzureKeyVaultSecretVersionsConflict) IsServerError

func (o *GetAzureKeyVaultSecretVersionsConflict) IsServerError() bool

IsServerError returns true when this get azure key vault secret versions conflict response has a 5xx status code

func (*GetAzureKeyVaultSecretVersionsConflict) IsSuccess

IsSuccess returns true when this get azure key vault secret versions conflict response has a 2xx status code

func (*GetAzureKeyVaultSecretVersionsConflict) String

type GetAzureKeyVaultSecretVersionsForbidden

type GetAzureKeyVaultSecretVersionsForbidden struct {
}

GetAzureKeyVaultSecretVersionsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAzureKeyVaultSecretVersionsForbidden

func NewGetAzureKeyVaultSecretVersionsForbidden() *GetAzureKeyVaultSecretVersionsForbidden

NewGetAzureKeyVaultSecretVersionsForbidden creates a GetAzureKeyVaultSecretVersionsForbidden with default headers values

func (*GetAzureKeyVaultSecretVersionsForbidden) Code

Code gets the status code for the get azure key vault secret versions forbidden response

func (*GetAzureKeyVaultSecretVersionsForbidden) Error

func (*GetAzureKeyVaultSecretVersionsForbidden) IsClientError

func (o *GetAzureKeyVaultSecretVersionsForbidden) IsClientError() bool

IsClientError returns true when this get azure key vault secret versions forbidden response has a 4xx status code

func (*GetAzureKeyVaultSecretVersionsForbidden) IsCode

IsCode returns true when this get azure key vault secret versions forbidden response a status code equal to that given

func (*GetAzureKeyVaultSecretVersionsForbidden) IsRedirect

IsRedirect returns true when this get azure key vault secret versions forbidden response has a 3xx status code

func (*GetAzureKeyVaultSecretVersionsForbidden) IsServerError

func (o *GetAzureKeyVaultSecretVersionsForbidden) IsServerError() bool

IsServerError returns true when this get azure key vault secret versions forbidden response has a 5xx status code

func (*GetAzureKeyVaultSecretVersionsForbidden) IsSuccess

IsSuccess returns true when this get azure key vault secret versions forbidden response has a 2xx status code

func (*GetAzureKeyVaultSecretVersionsForbidden) String

type GetAzureKeyVaultSecretVersionsInternalServerError

type GetAzureKeyVaultSecretVersionsInternalServerError struct {
}

GetAzureKeyVaultSecretVersionsInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetAzureKeyVaultSecretVersionsInternalServerError

func NewGetAzureKeyVaultSecretVersionsInternalServerError() *GetAzureKeyVaultSecretVersionsInternalServerError

NewGetAzureKeyVaultSecretVersionsInternalServerError creates a GetAzureKeyVaultSecretVersionsInternalServerError with default headers values

func (*GetAzureKeyVaultSecretVersionsInternalServerError) Code

Code gets the status code for the get azure key vault secret versions internal server error response

func (*GetAzureKeyVaultSecretVersionsInternalServerError) Error

func (*GetAzureKeyVaultSecretVersionsInternalServerError) IsClientError

IsClientError returns true when this get azure key vault secret versions internal server error response has a 4xx status code

func (*GetAzureKeyVaultSecretVersionsInternalServerError) IsCode

IsCode returns true when this get azure key vault secret versions internal server error response a status code equal to that given

func (*GetAzureKeyVaultSecretVersionsInternalServerError) IsRedirect

IsRedirect returns true when this get azure key vault secret versions internal server error response has a 3xx status code

func (*GetAzureKeyVaultSecretVersionsInternalServerError) IsServerError

IsServerError returns true when this get azure key vault secret versions internal server error response has a 5xx status code

func (*GetAzureKeyVaultSecretVersionsInternalServerError) IsSuccess

IsSuccess returns true when this get azure key vault secret versions internal server error response has a 2xx status code

func (*GetAzureKeyVaultSecretVersionsInternalServerError) String

type GetAzureKeyVaultSecretVersionsNotFound

type GetAzureKeyVaultSecretVersionsNotFound struct {
}

GetAzureKeyVaultSecretVersionsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetAzureKeyVaultSecretVersionsNotFound

func NewGetAzureKeyVaultSecretVersionsNotFound() *GetAzureKeyVaultSecretVersionsNotFound

NewGetAzureKeyVaultSecretVersionsNotFound creates a GetAzureKeyVaultSecretVersionsNotFound with default headers values

func (*GetAzureKeyVaultSecretVersionsNotFound) Code

Code gets the status code for the get azure key vault secret versions not found response

func (*GetAzureKeyVaultSecretVersionsNotFound) Error

func (*GetAzureKeyVaultSecretVersionsNotFound) IsClientError

func (o *GetAzureKeyVaultSecretVersionsNotFound) IsClientError() bool

IsClientError returns true when this get azure key vault secret versions not found response has a 4xx status code

func (*GetAzureKeyVaultSecretVersionsNotFound) IsCode

IsCode returns true when this get azure key vault secret versions not found response a status code equal to that given

func (*GetAzureKeyVaultSecretVersionsNotFound) IsRedirect

IsRedirect returns true when this get azure key vault secret versions not found response has a 3xx status code

func (*GetAzureKeyVaultSecretVersionsNotFound) IsServerError

func (o *GetAzureKeyVaultSecretVersionsNotFound) IsServerError() bool

IsServerError returns true when this get azure key vault secret versions not found response has a 5xx status code

func (*GetAzureKeyVaultSecretVersionsNotFound) IsSuccess

IsSuccess returns true when this get azure key vault secret versions not found response has a 2xx status code

func (*GetAzureKeyVaultSecretVersionsNotFound) String

type GetAzureKeyVaultSecretVersionsOK

type GetAzureKeyVaultSecretVersionsOK struct {
	Payload []*models.AzureKeyVaultSecretVersion
}

GetAzureKeyVaultSecretVersionsOK describes a response with status code 200, with default header values.

Successful operation

func NewGetAzureKeyVaultSecretVersionsOK

func NewGetAzureKeyVaultSecretVersionsOK() *GetAzureKeyVaultSecretVersionsOK

NewGetAzureKeyVaultSecretVersionsOK creates a GetAzureKeyVaultSecretVersionsOK with default headers values

func (*GetAzureKeyVaultSecretVersionsOK) Code

Code gets the status code for the get azure key vault secret versions o k response

func (*GetAzureKeyVaultSecretVersionsOK) Error

func (*GetAzureKeyVaultSecretVersionsOK) GetPayload

func (*GetAzureKeyVaultSecretVersionsOK) IsClientError

func (o *GetAzureKeyVaultSecretVersionsOK) IsClientError() bool

IsClientError returns true when this get azure key vault secret versions o k response has a 4xx status code

func (*GetAzureKeyVaultSecretVersionsOK) IsCode

func (o *GetAzureKeyVaultSecretVersionsOK) IsCode(code int) bool

IsCode returns true when this get azure key vault secret versions o k response a status code equal to that given

func (*GetAzureKeyVaultSecretVersionsOK) IsRedirect

func (o *GetAzureKeyVaultSecretVersionsOK) IsRedirect() bool

IsRedirect returns true when this get azure key vault secret versions o k response has a 3xx status code

func (*GetAzureKeyVaultSecretVersionsOK) IsServerError

func (o *GetAzureKeyVaultSecretVersionsOK) IsServerError() bool

IsServerError returns true when this get azure key vault secret versions o k response has a 5xx status code

func (*GetAzureKeyVaultSecretVersionsOK) IsSuccess

func (o *GetAzureKeyVaultSecretVersionsOK) IsSuccess() bool

IsSuccess returns true when this get azure key vault secret versions o k response has a 2xx status code

func (*GetAzureKeyVaultSecretVersionsOK) String

type GetAzureKeyVaultSecretVersionsParams

type GetAzureKeyVaultSecretVersionsParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// Name of application
	AppName string

	// AzureKeyVaultName.
	//
	// Azure Key vault name
	AzureKeyVaultName string

	// ComponentName.
	//
	// secret component of Radix application
	ComponentName string

	// EnvName.
	//
	// secret of Radix application
	EnvName string

	// SecretName.
	//
	// secret (or key, cert) name in Azure Key vault
	SecretName *string

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

GetAzureKeyVaultSecretVersionsParams contains all the parameters to send to the API endpoint

for the get azure key vault secret versions operation.

Typically these are written to a http.Request.

func NewGetAzureKeyVaultSecretVersionsParams

func NewGetAzureKeyVaultSecretVersionsParams() *GetAzureKeyVaultSecretVersionsParams

NewGetAzureKeyVaultSecretVersionsParams creates a new GetAzureKeyVaultSecretVersionsParams 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 NewGetAzureKeyVaultSecretVersionsParamsWithContext deprecated

func NewGetAzureKeyVaultSecretVersionsParamsWithContext(ctx context.Context) *GetAzureKeyVaultSecretVersionsParams

NewGetAzureKeyVaultSecretVersionsParamsWithContext creates a new GetAzureKeyVaultSecretVersionsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetAzureKeyVaultSecretVersionsParams.

func NewGetAzureKeyVaultSecretVersionsParamsWithHTTPClient

func NewGetAzureKeyVaultSecretVersionsParamsWithHTTPClient(client *http.Client) *GetAzureKeyVaultSecretVersionsParams

NewGetAzureKeyVaultSecretVersionsParamsWithHTTPClient creates a new GetAzureKeyVaultSecretVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAzureKeyVaultSecretVersionsParamsWithTimeout

func NewGetAzureKeyVaultSecretVersionsParamsWithTimeout(timeout time.Duration) *GetAzureKeyVaultSecretVersionsParams

NewGetAzureKeyVaultSecretVersionsParamsWithTimeout creates a new GetAzureKeyVaultSecretVersionsParams object with the ability to set a timeout on a request.

func (*GetAzureKeyVaultSecretVersionsParams) SetAppName

func (o *GetAzureKeyVaultSecretVersionsParams) SetAppName(appName string)

SetAppName adds the appName to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) SetAzureKeyVaultName

func (o *GetAzureKeyVaultSecretVersionsParams) SetAzureKeyVaultName(azureKeyVaultName string)

SetAzureKeyVaultName adds the azureKeyVaultName to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) SetComponentName

func (o *GetAzureKeyVaultSecretVersionsParams) SetComponentName(componentName string)

SetComponentName adds the componentName to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) SetContext deprecated

SetContext adds the context to the get azure key vault secret versions params.

Deprecated: use the operation call with context to pass the context instead of GetAzureKeyVaultSecretVersionsParams.

func (*GetAzureKeyVaultSecretVersionsParams) SetDefaults

func (o *GetAzureKeyVaultSecretVersionsParams) SetDefaults()

SetDefaults hydrates default values in the get azure key vault secret versions params (not the query body).

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

func (*GetAzureKeyVaultSecretVersionsParams) SetEnvName

func (o *GetAzureKeyVaultSecretVersionsParams) SetEnvName(envName string)

SetEnvName adds the envName to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) SetImpersonateGroup

func (o *GetAzureKeyVaultSecretVersionsParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) SetImpersonateUser

func (o *GetAzureKeyVaultSecretVersionsParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) SetSecretName

func (o *GetAzureKeyVaultSecretVersionsParams) SetSecretName(secretName *string)

SetSecretName adds the secretName to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) SetTimeout

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

SetTimeout adds the timeout to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) WithAppName

WithAppName adds the appName to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) WithAzureKeyVaultName

func (o *GetAzureKeyVaultSecretVersionsParams) WithAzureKeyVaultName(azureKeyVaultName string) *GetAzureKeyVaultSecretVersionsParams

WithAzureKeyVaultName adds the azureKeyVaultName to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) WithComponentName

WithComponentName adds the componentName to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) WithContext deprecated

WithContext adds the context to the get azure key vault secret versions params.

Deprecated: use the operation call with context to pass the context instead of GetAzureKeyVaultSecretVersionsParams.

func (*GetAzureKeyVaultSecretVersionsParams) WithDefaults

WithDefaults hydrates default values in the get azure key vault secret versions params (not the query body).

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

func (*GetAzureKeyVaultSecretVersionsParams) WithEnvName

WithEnvName adds the envName to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) WithImpersonateGroup

func (o *GetAzureKeyVaultSecretVersionsParams) WithImpersonateGroup(impersonateGroup *string) *GetAzureKeyVaultSecretVersionsParams

WithImpersonateGroup adds the impersonateGroup to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) WithImpersonateUser

func (o *GetAzureKeyVaultSecretVersionsParams) WithImpersonateUser(impersonateUser *string) *GetAzureKeyVaultSecretVersionsParams

WithImpersonateUser adds the impersonateUser to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) WithSecretName

WithSecretName adds the secretName to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) WithTimeout

WithTimeout adds the timeout to the get azure key vault secret versions params.

func (*GetAzureKeyVaultSecretVersionsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetAzureKeyVaultSecretVersionsReader

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

GetAzureKeyVaultSecretVersionsReader is a Reader for the GetAzureKeyVaultSecretVersions structure.

func (*GetAzureKeyVaultSecretVersionsReader) ReadResponse

func (o *GetAzureKeyVaultSecretVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetAzureKeyVaultSecretVersionsUnauthorized

type GetAzureKeyVaultSecretVersionsUnauthorized struct {
}

GetAzureKeyVaultSecretVersionsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetAzureKeyVaultSecretVersionsUnauthorized

func NewGetAzureKeyVaultSecretVersionsUnauthorized() *GetAzureKeyVaultSecretVersionsUnauthorized

NewGetAzureKeyVaultSecretVersionsUnauthorized creates a GetAzureKeyVaultSecretVersionsUnauthorized with default headers values

func (*GetAzureKeyVaultSecretVersionsUnauthorized) Code

Code gets the status code for the get azure key vault secret versions unauthorized response

func (*GetAzureKeyVaultSecretVersionsUnauthorized) Error

func (*GetAzureKeyVaultSecretVersionsUnauthorized) IsClientError

IsClientError returns true when this get azure key vault secret versions unauthorized response has a 4xx status code

func (*GetAzureKeyVaultSecretVersionsUnauthorized) IsCode

IsCode returns true when this get azure key vault secret versions unauthorized response a status code equal to that given

func (*GetAzureKeyVaultSecretVersionsUnauthorized) IsRedirect

IsRedirect returns true when this get azure key vault secret versions unauthorized response has a 3xx status code

func (*GetAzureKeyVaultSecretVersionsUnauthorized) IsServerError

IsServerError returns true when this get azure key vault secret versions unauthorized response has a 5xx status code

func (*GetAzureKeyVaultSecretVersionsUnauthorized) IsSuccess

IsSuccess returns true when this get azure key vault secret versions unauthorized response has a 2xx status code

func (*GetAzureKeyVaultSecretVersionsUnauthorized) String

type GetComponentEventsNotFound

type GetComponentEventsNotFound struct {
}

GetComponentEventsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetComponentEventsNotFound

func NewGetComponentEventsNotFound() *GetComponentEventsNotFound

NewGetComponentEventsNotFound creates a GetComponentEventsNotFound with default headers values

func (*GetComponentEventsNotFound) Code

func (o *GetComponentEventsNotFound) Code() int

Code gets the status code for the get component events not found response

func (*GetComponentEventsNotFound) Error

func (*GetComponentEventsNotFound) IsClientError

func (o *GetComponentEventsNotFound) IsClientError() bool

IsClientError returns true when this get component events not found response has a 4xx status code

func (*GetComponentEventsNotFound) IsCode

func (o *GetComponentEventsNotFound) IsCode(code int) bool

IsCode returns true when this get component events not found response a status code equal to that given

func (*GetComponentEventsNotFound) IsRedirect

func (o *GetComponentEventsNotFound) IsRedirect() bool

IsRedirect returns true when this get component events not found response has a 3xx status code

func (*GetComponentEventsNotFound) IsServerError

func (o *GetComponentEventsNotFound) IsServerError() bool

IsServerError returns true when this get component events not found response has a 5xx status code

func (*GetComponentEventsNotFound) IsSuccess

func (o *GetComponentEventsNotFound) IsSuccess() bool

IsSuccess returns true when this get component events not found response has a 2xx status code

func (*GetComponentEventsNotFound) String

func (o *GetComponentEventsNotFound) String() string

type GetComponentEventsOK

type GetComponentEventsOK struct {
	Payload []*models.Event
}

GetComponentEventsOK describes a response with status code 200, with default header values.

Successful get environment events

func NewGetComponentEventsOK

func NewGetComponentEventsOK() *GetComponentEventsOK

NewGetComponentEventsOK creates a GetComponentEventsOK with default headers values

func (*GetComponentEventsOK) Code

func (o *GetComponentEventsOK) Code() int

Code gets the status code for the get component events o k response

func (*GetComponentEventsOK) Error

func (o *GetComponentEventsOK) Error() string

func (*GetComponentEventsOK) GetPayload

func (o *GetComponentEventsOK) GetPayload() []*models.Event

func (*GetComponentEventsOK) IsClientError

func (o *GetComponentEventsOK) IsClientError() bool

IsClientError returns true when this get component events o k response has a 4xx status code

func (*GetComponentEventsOK) IsCode

func (o *GetComponentEventsOK) IsCode(code int) bool

IsCode returns true when this get component events o k response a status code equal to that given

func (*GetComponentEventsOK) IsRedirect

func (o *GetComponentEventsOK) IsRedirect() bool

IsRedirect returns true when this get component events o k response has a 3xx status code

func (*GetComponentEventsOK) IsServerError

func (o *GetComponentEventsOK) IsServerError() bool

IsServerError returns true when this get component events o k response has a 5xx status code

func (*GetComponentEventsOK) IsSuccess

func (o *GetComponentEventsOK) IsSuccess() bool

IsSuccess returns true when this get component events o k response has a 2xx status code

func (*GetComponentEventsOK) String

func (o *GetComponentEventsOK) String() string

type GetComponentEventsParams

type GetComponentEventsParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// name of Radix application
	AppName string

	// ComponentName.
	//
	// Name of component
	ComponentName string

	// EnvName.
	//
	// name of environment
	EnvName string

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

GetComponentEventsParams contains all the parameters to send to the API endpoint

for the get component events operation.

Typically these are written to a http.Request.

func NewGetComponentEventsParams

func NewGetComponentEventsParams() *GetComponentEventsParams

NewGetComponentEventsParams creates a new GetComponentEventsParams 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 NewGetComponentEventsParamsWithContext deprecated

func NewGetComponentEventsParamsWithContext(ctx context.Context) *GetComponentEventsParams

NewGetComponentEventsParamsWithContext creates a new GetComponentEventsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetComponentEventsParams.

func NewGetComponentEventsParamsWithHTTPClient

func NewGetComponentEventsParamsWithHTTPClient(client *http.Client) *GetComponentEventsParams

NewGetComponentEventsParamsWithHTTPClient creates a new GetComponentEventsParams object with the ability to set a custom HTTPClient for a request.

func NewGetComponentEventsParamsWithTimeout

func NewGetComponentEventsParamsWithTimeout(timeout time.Duration) *GetComponentEventsParams

NewGetComponentEventsParamsWithTimeout creates a new GetComponentEventsParams object with the ability to set a timeout on a request.

func (*GetComponentEventsParams) SetAppName

func (o *GetComponentEventsParams) SetAppName(appName string)

SetAppName adds the appName to the get component events params.

func (*GetComponentEventsParams) SetComponentName

func (o *GetComponentEventsParams) SetComponentName(componentName string)

SetComponentName adds the componentName to the get component events params.

func (*GetComponentEventsParams) SetContext deprecated

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

SetContext adds the context to the get component events params.

Deprecated: use the operation call with context to pass the context instead of GetComponentEventsParams.

func (*GetComponentEventsParams) SetDefaults

func (o *GetComponentEventsParams) SetDefaults()

SetDefaults hydrates default values in the get component events params (not the query body).

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

func (*GetComponentEventsParams) SetEnvName

func (o *GetComponentEventsParams) SetEnvName(envName string)

SetEnvName adds the envName to the get component events params.

func (*GetComponentEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get component events params.

func (*GetComponentEventsParams) SetImpersonateGroup

func (o *GetComponentEventsParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the get component events params.

func (*GetComponentEventsParams) SetImpersonateUser

func (o *GetComponentEventsParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the get component events params.

func (*GetComponentEventsParams) SetTimeout

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

SetTimeout adds the timeout to the get component events params.

func (*GetComponentEventsParams) WithAppName

func (o *GetComponentEventsParams) WithAppName(appName string) *GetComponentEventsParams

WithAppName adds the appName to the get component events params.

func (*GetComponentEventsParams) WithComponentName

func (o *GetComponentEventsParams) WithComponentName(componentName string) *GetComponentEventsParams

WithComponentName adds the componentName to the get component events params.

func (*GetComponentEventsParams) WithContext deprecated

WithContext adds the context to the get component events params.

Deprecated: use the operation call with context to pass the context instead of GetComponentEventsParams.

func (*GetComponentEventsParams) WithDefaults

WithDefaults hydrates default values in the get component events params (not the query body).

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

func (*GetComponentEventsParams) WithEnvName

func (o *GetComponentEventsParams) WithEnvName(envName string) *GetComponentEventsParams

WithEnvName adds the envName to the get component events params.

func (*GetComponentEventsParams) WithHTTPClient

func (o *GetComponentEventsParams) WithHTTPClient(client *http.Client) *GetComponentEventsParams

WithHTTPClient adds the HTTPClient to the get component events params.

func (*GetComponentEventsParams) WithImpersonateGroup

func (o *GetComponentEventsParams) WithImpersonateGroup(impersonateGroup *string) *GetComponentEventsParams

WithImpersonateGroup adds the impersonateGroup to the get component events params.

func (*GetComponentEventsParams) WithImpersonateUser

func (o *GetComponentEventsParams) WithImpersonateUser(impersonateUser *string) *GetComponentEventsParams

WithImpersonateUser adds the impersonateUser to the get component events params.

func (*GetComponentEventsParams) WithTimeout

WithTimeout adds the timeout to the get component events params.

func (*GetComponentEventsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetComponentEventsReader

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

GetComponentEventsReader is a Reader for the GetComponentEvents structure.

func (*GetComponentEventsReader) ReadResponse

func (o *GetComponentEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetComponentEventsUnauthorized

type GetComponentEventsUnauthorized struct {
}

GetComponentEventsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetComponentEventsUnauthorized

func NewGetComponentEventsUnauthorized() *GetComponentEventsUnauthorized

NewGetComponentEventsUnauthorized creates a GetComponentEventsUnauthorized with default headers values

func (*GetComponentEventsUnauthorized) Code

Code gets the status code for the get component events unauthorized response

func (*GetComponentEventsUnauthorized) Error

func (*GetComponentEventsUnauthorized) IsClientError

func (o *GetComponentEventsUnauthorized) IsClientError() bool

IsClientError returns true when this get component events unauthorized response has a 4xx status code

func (*GetComponentEventsUnauthorized) IsCode

func (o *GetComponentEventsUnauthorized) IsCode(code int) bool

IsCode returns true when this get component events unauthorized response a status code equal to that given

func (*GetComponentEventsUnauthorized) IsRedirect

func (o *GetComponentEventsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get component events unauthorized response has a 3xx status code

func (*GetComponentEventsUnauthorized) IsServerError

func (o *GetComponentEventsUnauthorized) IsServerError() bool

IsServerError returns true when this get component events unauthorized response has a 5xx status code

func (*GetComponentEventsUnauthorized) IsSuccess

func (o *GetComponentEventsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get component events unauthorized response has a 2xx status code

func (*GetComponentEventsUnauthorized) String

type GetEnvironmentAlertingConfigForbidden

type GetEnvironmentAlertingConfigForbidden struct {
}

GetEnvironmentAlertingConfigForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetEnvironmentAlertingConfigForbidden

func NewGetEnvironmentAlertingConfigForbidden() *GetEnvironmentAlertingConfigForbidden

NewGetEnvironmentAlertingConfigForbidden creates a GetEnvironmentAlertingConfigForbidden with default headers values

func (*GetEnvironmentAlertingConfigForbidden) Code

Code gets the status code for the get environment alerting config forbidden response

func (*GetEnvironmentAlertingConfigForbidden) Error

func (*GetEnvironmentAlertingConfigForbidden) IsClientError

func (o *GetEnvironmentAlertingConfigForbidden) IsClientError() bool

IsClientError returns true when this get environment alerting config forbidden response has a 4xx status code

func (*GetEnvironmentAlertingConfigForbidden) IsCode

IsCode returns true when this get environment alerting config forbidden response a status code equal to that given

func (*GetEnvironmentAlertingConfigForbidden) IsRedirect

IsRedirect returns true when this get environment alerting config forbidden response has a 3xx status code

func (*GetEnvironmentAlertingConfigForbidden) IsServerError

func (o *GetEnvironmentAlertingConfigForbidden) IsServerError() bool

IsServerError returns true when this get environment alerting config forbidden response has a 5xx status code

func (*GetEnvironmentAlertingConfigForbidden) IsSuccess

IsSuccess returns true when this get environment alerting config forbidden response has a 2xx status code

func (*GetEnvironmentAlertingConfigForbidden) String

type GetEnvironmentAlertingConfigInternalServerError

type GetEnvironmentAlertingConfigInternalServerError struct {
}

GetEnvironmentAlertingConfigInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetEnvironmentAlertingConfigInternalServerError

func NewGetEnvironmentAlertingConfigInternalServerError() *GetEnvironmentAlertingConfigInternalServerError

NewGetEnvironmentAlertingConfigInternalServerError creates a GetEnvironmentAlertingConfigInternalServerError with default headers values

func (*GetEnvironmentAlertingConfigInternalServerError) Code

Code gets the status code for the get environment alerting config internal server error response

func (*GetEnvironmentAlertingConfigInternalServerError) Error

func (*GetEnvironmentAlertingConfigInternalServerError) IsClientError

IsClientError returns true when this get environment alerting config internal server error response has a 4xx status code

func (*GetEnvironmentAlertingConfigInternalServerError) IsCode

IsCode returns true when this get environment alerting config internal server error response a status code equal to that given

func (*GetEnvironmentAlertingConfigInternalServerError) IsRedirect

IsRedirect returns true when this get environment alerting config internal server error response has a 3xx status code

func (*GetEnvironmentAlertingConfigInternalServerError) IsServerError

IsServerError returns true when this get environment alerting config internal server error response has a 5xx status code

func (*GetEnvironmentAlertingConfigInternalServerError) IsSuccess

IsSuccess returns true when this get environment alerting config internal server error response has a 2xx status code

func (*GetEnvironmentAlertingConfigInternalServerError) String

type GetEnvironmentAlertingConfigNotFound

type GetEnvironmentAlertingConfigNotFound struct {
}

GetEnvironmentAlertingConfigNotFound describes a response with status code 404, with default header values.

Not found

func NewGetEnvironmentAlertingConfigNotFound

func NewGetEnvironmentAlertingConfigNotFound() *GetEnvironmentAlertingConfigNotFound

NewGetEnvironmentAlertingConfigNotFound creates a GetEnvironmentAlertingConfigNotFound with default headers values

func (*GetEnvironmentAlertingConfigNotFound) Code

Code gets the status code for the get environment alerting config not found response

func (*GetEnvironmentAlertingConfigNotFound) Error

func (*GetEnvironmentAlertingConfigNotFound) IsClientError

func (o *GetEnvironmentAlertingConfigNotFound) IsClientError() bool

IsClientError returns true when this get environment alerting config not found response has a 4xx status code

func (*GetEnvironmentAlertingConfigNotFound) IsCode

IsCode returns true when this get environment alerting config not found response a status code equal to that given

func (*GetEnvironmentAlertingConfigNotFound) IsRedirect

IsRedirect returns true when this get environment alerting config not found response has a 3xx status code

func (*GetEnvironmentAlertingConfigNotFound) IsServerError

func (o *GetEnvironmentAlertingConfigNotFound) IsServerError() bool

IsServerError returns true when this get environment alerting config not found response has a 5xx status code

func (*GetEnvironmentAlertingConfigNotFound) IsSuccess

IsSuccess returns true when this get environment alerting config not found response has a 2xx status code

func (*GetEnvironmentAlertingConfigNotFound) String

type GetEnvironmentAlertingConfigOK

type GetEnvironmentAlertingConfigOK struct {
	Payload *models.AlertingConfig
}

GetEnvironmentAlertingConfigOK describes a response with status code 200, with default header values.

Successful get alerts config

func NewGetEnvironmentAlertingConfigOK

func NewGetEnvironmentAlertingConfigOK() *GetEnvironmentAlertingConfigOK

NewGetEnvironmentAlertingConfigOK creates a GetEnvironmentAlertingConfigOK with default headers values

func (*GetEnvironmentAlertingConfigOK) Code

Code gets the status code for the get environment alerting config o k response

func (*GetEnvironmentAlertingConfigOK) Error

func (*GetEnvironmentAlertingConfigOK) GetPayload

func (*GetEnvironmentAlertingConfigOK) IsClientError

func (o *GetEnvironmentAlertingConfigOK) IsClientError() bool

IsClientError returns true when this get environment alerting config o k response has a 4xx status code

func (*GetEnvironmentAlertingConfigOK) IsCode

func (o *GetEnvironmentAlertingConfigOK) IsCode(code int) bool

IsCode returns true when this get environment alerting config o k response a status code equal to that given

func (*GetEnvironmentAlertingConfigOK) IsRedirect

func (o *GetEnvironmentAlertingConfigOK) IsRedirect() bool

IsRedirect returns true when this get environment alerting config o k response has a 3xx status code

func (*GetEnvironmentAlertingConfigOK) IsServerError

func (o *GetEnvironmentAlertingConfigOK) IsServerError() bool

IsServerError returns true when this get environment alerting config o k response has a 5xx status code

func (*GetEnvironmentAlertingConfigOK) IsSuccess

func (o *GetEnvironmentAlertingConfigOK) IsSuccess() bool

IsSuccess returns true when this get environment alerting config o k response has a 2xx status code

func (*GetEnvironmentAlertingConfigOK) String

type GetEnvironmentAlertingConfigParams

type GetEnvironmentAlertingConfigParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// Name of application
	AppName string

	// EnvName.
	//
	// Name of environment
	EnvName string

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

GetEnvironmentAlertingConfigParams contains all the parameters to send to the API endpoint

for the get environment alerting config operation.

Typically these are written to a http.Request.

func NewGetEnvironmentAlertingConfigParams

func NewGetEnvironmentAlertingConfigParams() *GetEnvironmentAlertingConfigParams

NewGetEnvironmentAlertingConfigParams creates a new GetEnvironmentAlertingConfigParams 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 NewGetEnvironmentAlertingConfigParamsWithContext deprecated

func NewGetEnvironmentAlertingConfigParamsWithContext(ctx context.Context) *GetEnvironmentAlertingConfigParams

NewGetEnvironmentAlertingConfigParamsWithContext creates a new GetEnvironmentAlertingConfigParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentAlertingConfigParams.

func NewGetEnvironmentAlertingConfigParamsWithHTTPClient

func NewGetEnvironmentAlertingConfigParamsWithHTTPClient(client *http.Client) *GetEnvironmentAlertingConfigParams

NewGetEnvironmentAlertingConfigParamsWithHTTPClient creates a new GetEnvironmentAlertingConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetEnvironmentAlertingConfigParamsWithTimeout

func NewGetEnvironmentAlertingConfigParamsWithTimeout(timeout time.Duration) *GetEnvironmentAlertingConfigParams

NewGetEnvironmentAlertingConfigParamsWithTimeout creates a new GetEnvironmentAlertingConfigParams object with the ability to set a timeout on a request.

func (*GetEnvironmentAlertingConfigParams) SetAppName

func (o *GetEnvironmentAlertingConfigParams) SetAppName(appName string)

SetAppName adds the appName to the get environment alerting config params.

func (*GetEnvironmentAlertingConfigParams) SetContext deprecated

SetContext adds the context to the get environment alerting config params.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentAlertingConfigParams.

func (*GetEnvironmentAlertingConfigParams) SetDefaults

func (o *GetEnvironmentAlertingConfigParams) SetDefaults()

SetDefaults hydrates default values in the get environment alerting config params (not the query body).

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

func (*GetEnvironmentAlertingConfigParams) SetEnvName

func (o *GetEnvironmentAlertingConfigParams) SetEnvName(envName string)

SetEnvName adds the envName to the get environment alerting config params.

func (*GetEnvironmentAlertingConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get environment alerting config params.

func (*GetEnvironmentAlertingConfigParams) SetImpersonateGroup

func (o *GetEnvironmentAlertingConfigParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the get environment alerting config params.

func (*GetEnvironmentAlertingConfigParams) SetImpersonateUser

func (o *GetEnvironmentAlertingConfigParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the get environment alerting config params.

func (*GetEnvironmentAlertingConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get environment alerting config params.

func (*GetEnvironmentAlertingConfigParams) WithAppName

WithAppName adds the appName to the get environment alerting config params.

func (*GetEnvironmentAlertingConfigParams) WithContext deprecated

WithContext adds the context to the get environment alerting config params.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentAlertingConfigParams.

func (*GetEnvironmentAlertingConfigParams) WithDefaults

WithDefaults hydrates default values in the get environment alerting config params (not the query body).

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

func (*GetEnvironmentAlertingConfigParams) WithEnvName

WithEnvName adds the envName to the get environment alerting config params.

func (*GetEnvironmentAlertingConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get environment alerting config params.

func (*GetEnvironmentAlertingConfigParams) WithImpersonateGroup

func (o *GetEnvironmentAlertingConfigParams) WithImpersonateGroup(impersonateGroup *string) *GetEnvironmentAlertingConfigParams

WithImpersonateGroup adds the impersonateGroup to the get environment alerting config params.

func (*GetEnvironmentAlertingConfigParams) WithImpersonateUser

func (o *GetEnvironmentAlertingConfigParams) WithImpersonateUser(impersonateUser *string) *GetEnvironmentAlertingConfigParams

WithImpersonateUser adds the impersonateUser to the get environment alerting config params.

func (*GetEnvironmentAlertingConfigParams) WithTimeout

WithTimeout adds the timeout to the get environment alerting config params.

func (*GetEnvironmentAlertingConfigParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetEnvironmentAlertingConfigReader

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

GetEnvironmentAlertingConfigReader is a Reader for the GetEnvironmentAlertingConfig structure.

func (*GetEnvironmentAlertingConfigReader) ReadResponse

func (o *GetEnvironmentAlertingConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetEnvironmentAlertingConfigUnauthorized

type GetEnvironmentAlertingConfigUnauthorized struct {
}

GetEnvironmentAlertingConfigUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetEnvironmentAlertingConfigUnauthorized

func NewGetEnvironmentAlertingConfigUnauthorized() *GetEnvironmentAlertingConfigUnauthorized

NewGetEnvironmentAlertingConfigUnauthorized creates a GetEnvironmentAlertingConfigUnauthorized with default headers values

func (*GetEnvironmentAlertingConfigUnauthorized) Code

Code gets the status code for the get environment alerting config unauthorized response

func (*GetEnvironmentAlertingConfigUnauthorized) Error

func (*GetEnvironmentAlertingConfigUnauthorized) IsClientError

IsClientError returns true when this get environment alerting config unauthorized response has a 4xx status code

func (*GetEnvironmentAlertingConfigUnauthorized) IsCode

IsCode returns true when this get environment alerting config unauthorized response a status code equal to that given

func (*GetEnvironmentAlertingConfigUnauthorized) IsRedirect

IsRedirect returns true when this get environment alerting config unauthorized response has a 3xx status code

func (*GetEnvironmentAlertingConfigUnauthorized) IsServerError

IsServerError returns true when this get environment alerting config unauthorized response has a 5xx status code

func (*GetEnvironmentAlertingConfigUnauthorized) IsSuccess

IsSuccess returns true when this get environment alerting config unauthorized response has a 2xx status code

func (*GetEnvironmentAlertingConfigUnauthorized) String

type GetEnvironmentEventsNotFound

type GetEnvironmentEventsNotFound struct {
}

GetEnvironmentEventsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetEnvironmentEventsNotFound

func NewGetEnvironmentEventsNotFound() *GetEnvironmentEventsNotFound

NewGetEnvironmentEventsNotFound creates a GetEnvironmentEventsNotFound with default headers values

func (*GetEnvironmentEventsNotFound) Code

Code gets the status code for the get environment events not found response

func (*GetEnvironmentEventsNotFound) Error

func (*GetEnvironmentEventsNotFound) IsClientError

func (o *GetEnvironmentEventsNotFound) IsClientError() bool

IsClientError returns true when this get environment events not found response has a 4xx status code

func (*GetEnvironmentEventsNotFound) IsCode

func (o *GetEnvironmentEventsNotFound) IsCode(code int) bool

IsCode returns true when this get environment events not found response a status code equal to that given

func (*GetEnvironmentEventsNotFound) IsRedirect

func (o *GetEnvironmentEventsNotFound) IsRedirect() bool

IsRedirect returns true when this get environment events not found response has a 3xx status code

func (*GetEnvironmentEventsNotFound) IsServerError

func (o *GetEnvironmentEventsNotFound) IsServerError() bool

IsServerError returns true when this get environment events not found response has a 5xx status code

func (*GetEnvironmentEventsNotFound) IsSuccess

func (o *GetEnvironmentEventsNotFound) IsSuccess() bool

IsSuccess returns true when this get environment events not found response has a 2xx status code

func (*GetEnvironmentEventsNotFound) String

type GetEnvironmentEventsOK

type GetEnvironmentEventsOK struct {
	Payload []*models.Event
}

GetEnvironmentEventsOK describes a response with status code 200, with default header values.

Successful get environment events

func NewGetEnvironmentEventsOK

func NewGetEnvironmentEventsOK() *GetEnvironmentEventsOK

NewGetEnvironmentEventsOK creates a GetEnvironmentEventsOK with default headers values

func (*GetEnvironmentEventsOK) Code

func (o *GetEnvironmentEventsOK) Code() int

Code gets the status code for the get environment events o k response

func (*GetEnvironmentEventsOK) Error

func (o *GetEnvironmentEventsOK) Error() string

func (*GetEnvironmentEventsOK) GetPayload

func (o *GetEnvironmentEventsOK) GetPayload() []*models.Event

func (*GetEnvironmentEventsOK) IsClientError

func (o *GetEnvironmentEventsOK) IsClientError() bool

IsClientError returns true when this get environment events o k response has a 4xx status code

func (*GetEnvironmentEventsOK) IsCode

func (o *GetEnvironmentEventsOK) IsCode(code int) bool

IsCode returns true when this get environment events o k response a status code equal to that given

func (*GetEnvironmentEventsOK) IsRedirect

func (o *GetEnvironmentEventsOK) IsRedirect() bool

IsRedirect returns true when this get environment events o k response has a 3xx status code

func (*GetEnvironmentEventsOK) IsServerError

func (o *GetEnvironmentEventsOK) IsServerError() bool

IsServerError returns true when this get environment events o k response has a 5xx status code

func (*GetEnvironmentEventsOK) IsSuccess

func (o *GetEnvironmentEventsOK) IsSuccess() bool

IsSuccess returns true when this get environment events o k response has a 2xx status code

func (*GetEnvironmentEventsOK) String

func (o *GetEnvironmentEventsOK) String() string

type GetEnvironmentEventsParams

type GetEnvironmentEventsParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// name of Radix application
	AppName string

	// EnvName.
	//
	// name of environment
	EnvName string

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

GetEnvironmentEventsParams contains all the parameters to send to the API endpoint

for the get environment events operation.

Typically these are written to a http.Request.

func NewGetEnvironmentEventsParams

func NewGetEnvironmentEventsParams() *GetEnvironmentEventsParams

NewGetEnvironmentEventsParams creates a new GetEnvironmentEventsParams 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 NewGetEnvironmentEventsParamsWithContext deprecated

func NewGetEnvironmentEventsParamsWithContext(ctx context.Context) *GetEnvironmentEventsParams

NewGetEnvironmentEventsParamsWithContext creates a new GetEnvironmentEventsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentEventsParams.

func NewGetEnvironmentEventsParamsWithHTTPClient

func NewGetEnvironmentEventsParamsWithHTTPClient(client *http.Client) *GetEnvironmentEventsParams

NewGetEnvironmentEventsParamsWithHTTPClient creates a new GetEnvironmentEventsParams object with the ability to set a custom HTTPClient for a request.

func NewGetEnvironmentEventsParamsWithTimeout

func NewGetEnvironmentEventsParamsWithTimeout(timeout time.Duration) *GetEnvironmentEventsParams

NewGetEnvironmentEventsParamsWithTimeout creates a new GetEnvironmentEventsParams object with the ability to set a timeout on a request.

func (*GetEnvironmentEventsParams) SetAppName

func (o *GetEnvironmentEventsParams) SetAppName(appName string)

SetAppName adds the appName to the get environment events params.

func (*GetEnvironmentEventsParams) SetContext deprecated

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

SetContext adds the context to the get environment events params.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentEventsParams.

func (*GetEnvironmentEventsParams) SetDefaults

func (o *GetEnvironmentEventsParams) SetDefaults()

SetDefaults hydrates default values in the get environment events params (not the query body).

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

func (*GetEnvironmentEventsParams) SetEnvName

func (o *GetEnvironmentEventsParams) SetEnvName(envName string)

SetEnvName adds the envName to the get environment events params.

func (*GetEnvironmentEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get environment events params.

func (*GetEnvironmentEventsParams) SetImpersonateGroup

func (o *GetEnvironmentEventsParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the get environment events params.

func (*GetEnvironmentEventsParams) SetImpersonateUser

func (o *GetEnvironmentEventsParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the get environment events params.

func (*GetEnvironmentEventsParams) SetTimeout

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

SetTimeout adds the timeout to the get environment events params.

func (*GetEnvironmentEventsParams) WithAppName

WithAppName adds the appName to the get environment events params.

func (*GetEnvironmentEventsParams) WithContext deprecated

WithContext adds the context to the get environment events params.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentEventsParams.

func (*GetEnvironmentEventsParams) WithDefaults

WithDefaults hydrates default values in the get environment events params (not the query body).

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

func (*GetEnvironmentEventsParams) WithEnvName

WithEnvName adds the envName to the get environment events params.

func (*GetEnvironmentEventsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get environment events params.

func (*GetEnvironmentEventsParams) WithImpersonateGroup

func (o *GetEnvironmentEventsParams) WithImpersonateGroup(impersonateGroup *string) *GetEnvironmentEventsParams

WithImpersonateGroup adds the impersonateGroup to the get environment events params.

func (*GetEnvironmentEventsParams) WithImpersonateUser

func (o *GetEnvironmentEventsParams) WithImpersonateUser(impersonateUser *string) *GetEnvironmentEventsParams

WithImpersonateUser adds the impersonateUser to the get environment events params.

func (*GetEnvironmentEventsParams) WithTimeout

WithTimeout adds the timeout to the get environment events params.

func (*GetEnvironmentEventsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetEnvironmentEventsReader

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

GetEnvironmentEventsReader is a Reader for the GetEnvironmentEvents structure.

func (*GetEnvironmentEventsReader) ReadResponse

func (o *GetEnvironmentEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetEnvironmentEventsUnauthorized

type GetEnvironmentEventsUnauthorized struct {
}

GetEnvironmentEventsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetEnvironmentEventsUnauthorized

func NewGetEnvironmentEventsUnauthorized() *GetEnvironmentEventsUnauthorized

NewGetEnvironmentEventsUnauthorized creates a GetEnvironmentEventsUnauthorized with default headers values

func (*GetEnvironmentEventsUnauthorized) Code

Code gets the status code for the get environment events unauthorized response

func (*GetEnvironmentEventsUnauthorized) Error

func (*GetEnvironmentEventsUnauthorized) IsClientError

func (o *GetEnvironmentEventsUnauthorized) IsClientError() bool

IsClientError returns true when this get environment events unauthorized response has a 4xx status code

func (*GetEnvironmentEventsUnauthorized) IsCode

func (o *GetEnvironmentEventsUnauthorized) IsCode(code int) bool

IsCode returns true when this get environment events unauthorized response a status code equal to that given

func (*GetEnvironmentEventsUnauthorized) IsRedirect

func (o *GetEnvironmentEventsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get environment events unauthorized response has a 3xx status code

func (*GetEnvironmentEventsUnauthorized) IsServerError

func (o *GetEnvironmentEventsUnauthorized) IsServerError() bool

IsServerError returns true when this get environment events unauthorized response has a 5xx status code

func (*GetEnvironmentEventsUnauthorized) IsSuccess

func (o *GetEnvironmentEventsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get environment events unauthorized response has a 2xx status code

func (*GetEnvironmentEventsUnauthorized) String

type GetEnvironmentNotFound

type GetEnvironmentNotFound struct {
}

GetEnvironmentNotFound describes a response with status code 404, with default header values.

Not found

func NewGetEnvironmentNotFound

func NewGetEnvironmentNotFound() *GetEnvironmentNotFound

NewGetEnvironmentNotFound creates a GetEnvironmentNotFound with default headers values

func (*GetEnvironmentNotFound) Code

func (o *GetEnvironmentNotFound) Code() int

Code gets the status code for the get environment not found response

func (*GetEnvironmentNotFound) Error

func (o *GetEnvironmentNotFound) Error() string

func (*GetEnvironmentNotFound) IsClientError

func (o *GetEnvironmentNotFound) IsClientError() bool

IsClientError returns true when this get environment not found response has a 4xx status code

func (*GetEnvironmentNotFound) IsCode

func (o *GetEnvironmentNotFound) IsCode(code int) bool

IsCode returns true when this get environment not found response a status code equal to that given

func (*GetEnvironmentNotFound) IsRedirect

func (o *GetEnvironmentNotFound) IsRedirect() bool

IsRedirect returns true when this get environment not found response has a 3xx status code

func (*GetEnvironmentNotFound) IsServerError

func (o *GetEnvironmentNotFound) IsServerError() bool

IsServerError returns true when this get environment not found response has a 5xx status code

func (*GetEnvironmentNotFound) IsSuccess

func (o *GetEnvironmentNotFound) IsSuccess() bool

IsSuccess returns true when this get environment not found response has a 2xx status code

func (*GetEnvironmentNotFound) String

func (o *GetEnvironmentNotFound) String() string

type GetEnvironmentOK

type GetEnvironmentOK struct {
	Payload *models.Environment
}

GetEnvironmentOK describes a response with status code 200, with default header values.

Successful get environment

func NewGetEnvironmentOK

func NewGetEnvironmentOK() *GetEnvironmentOK

NewGetEnvironmentOK creates a GetEnvironmentOK with default headers values

func (*GetEnvironmentOK) Code

func (o *GetEnvironmentOK) Code() int

Code gets the status code for the get environment o k response

func (*GetEnvironmentOK) Error

func (o *GetEnvironmentOK) Error() string

func (*GetEnvironmentOK) GetPayload

func (o *GetEnvironmentOK) GetPayload() *models.Environment

func (*GetEnvironmentOK) IsClientError

func (o *GetEnvironmentOK) IsClientError() bool

IsClientError returns true when this get environment o k response has a 4xx status code

func (*GetEnvironmentOK) IsCode

func (o *GetEnvironmentOK) IsCode(code int) bool

IsCode returns true when this get environment o k response a status code equal to that given

func (*GetEnvironmentOK) IsRedirect

func (o *GetEnvironmentOK) IsRedirect() bool

IsRedirect returns true when this get environment o k response has a 3xx status code

func (*GetEnvironmentOK) IsServerError

func (o *GetEnvironmentOK) IsServerError() bool

IsServerError returns true when this get environment o k response has a 5xx status code

func (*GetEnvironmentOK) IsSuccess

func (o *GetEnvironmentOK) IsSuccess() bool

IsSuccess returns true when this get environment o k response has a 2xx status code

func (*GetEnvironmentOK) String

func (o *GetEnvironmentOK) String() string

type GetEnvironmentParams

type GetEnvironmentParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// name of Radix application
	AppName string

	// EnvName.
	//
	// name of environment
	EnvName string

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

GetEnvironmentParams contains all the parameters to send to the API endpoint

for the get environment operation.

Typically these are written to a http.Request.

func NewGetEnvironmentParams

func NewGetEnvironmentParams() *GetEnvironmentParams

NewGetEnvironmentParams creates a new GetEnvironmentParams object, with the default 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 NewGetEnvironmentParamsWithContext deprecated

func NewGetEnvironmentParamsWithContext(ctx context.Context) *GetEnvironmentParams

NewGetEnvironmentParamsWithContext creates a new GetEnvironmentParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentParams.

func NewGetEnvironmentParamsWithHTTPClient

func NewGetEnvironmentParamsWithHTTPClient(client *http.Client) *GetEnvironmentParams

NewGetEnvironmentParamsWithHTTPClient creates a new GetEnvironmentParams object with the ability to set a custom HTTPClient for a request.

func NewGetEnvironmentParamsWithTimeout

func NewGetEnvironmentParamsWithTimeout(timeout time.Duration) *GetEnvironmentParams

NewGetEnvironmentParamsWithTimeout creates a new GetEnvironmentParams object with the ability to set a timeout on a request.

func (*GetEnvironmentParams) SetAppName

func (o *GetEnvironmentParams) SetAppName(appName string)

SetAppName adds the appName to the get environment params.

func (*GetEnvironmentParams) SetContext deprecated

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

SetContext adds the context to the get environment params.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentParams.

func (*GetEnvironmentParams) SetDefaults

func (o *GetEnvironmentParams) SetDefaults()

SetDefaults hydrates default values in the get environment params (not the query body).

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

func (*GetEnvironmentParams) SetEnvName

func (o *GetEnvironmentParams) SetEnvName(envName string)

SetEnvName adds the envName to the get environment params.

func (*GetEnvironmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get environment params.

func (*GetEnvironmentParams) SetImpersonateGroup

func (o *GetEnvironmentParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the get environment params.

func (*GetEnvironmentParams) SetImpersonateUser

func (o *GetEnvironmentParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the get environment params.

func (*GetEnvironmentParams) SetTimeout

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

SetTimeout adds the timeout to the get environment params.

func (*GetEnvironmentParams) WithAppName

func (o *GetEnvironmentParams) WithAppName(appName string) *GetEnvironmentParams

WithAppName adds the appName to the get environment params.

func (*GetEnvironmentParams) WithContext deprecated

WithContext adds the context to the get environment params.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentParams.

func (*GetEnvironmentParams) WithDefaults

func (o *GetEnvironmentParams) WithDefaults() *GetEnvironmentParams

WithDefaults hydrates default values in the get environment params (not the query body).

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

func (*GetEnvironmentParams) WithEnvName

func (o *GetEnvironmentParams) WithEnvName(envName string) *GetEnvironmentParams

WithEnvName adds the envName to the get environment params.

func (*GetEnvironmentParams) WithHTTPClient

func (o *GetEnvironmentParams) WithHTTPClient(client *http.Client) *GetEnvironmentParams

WithHTTPClient adds the HTTPClient to the get environment params.

func (*GetEnvironmentParams) WithImpersonateGroup

func (o *GetEnvironmentParams) WithImpersonateGroup(impersonateGroup *string) *GetEnvironmentParams

WithImpersonateGroup adds the impersonateGroup to the get environment params.

func (*GetEnvironmentParams) WithImpersonateUser

func (o *GetEnvironmentParams) WithImpersonateUser(impersonateUser *string) *GetEnvironmentParams

WithImpersonateUser adds the impersonateUser to the get environment params.

func (*GetEnvironmentParams) WithTimeout

func (o *GetEnvironmentParams) WithTimeout(timeout time.Duration) *GetEnvironmentParams

WithTimeout adds the timeout to the get environment params.

func (*GetEnvironmentParams) WriteToRequest

func (o *GetEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type GetEnvironmentReader

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

GetEnvironmentReader is a Reader for the GetEnvironment structure.

func (*GetEnvironmentReader) ReadResponse

func (o *GetEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetEnvironmentResourcesUtilizationNotFound

type GetEnvironmentResourcesUtilizationNotFound struct {
}

GetEnvironmentResourcesUtilizationNotFound describes a response with status code 404, with default header values.

Not found

func NewGetEnvironmentResourcesUtilizationNotFound

func NewGetEnvironmentResourcesUtilizationNotFound() *GetEnvironmentResourcesUtilizationNotFound

NewGetEnvironmentResourcesUtilizationNotFound creates a GetEnvironmentResourcesUtilizationNotFound with default headers values

func (*GetEnvironmentResourcesUtilizationNotFound) Code

Code gets the status code for the get environment resources utilization not found response

func (*GetEnvironmentResourcesUtilizationNotFound) Error

func (*GetEnvironmentResourcesUtilizationNotFound) IsClientError

IsClientError returns true when this get environment resources utilization not found response has a 4xx status code

func (*GetEnvironmentResourcesUtilizationNotFound) IsCode

IsCode returns true when this get environment resources utilization not found response a status code equal to that given

func (*GetEnvironmentResourcesUtilizationNotFound) IsRedirect

IsRedirect returns true when this get environment resources utilization not found response has a 3xx status code

func (*GetEnvironmentResourcesUtilizationNotFound) IsServerError

IsServerError returns true when this get environment resources utilization not found response has a 5xx status code

func (*GetEnvironmentResourcesUtilizationNotFound) IsSuccess

IsSuccess returns true when this get environment resources utilization not found response has a 2xx status code

func (*GetEnvironmentResourcesUtilizationNotFound) String

type GetEnvironmentResourcesUtilizationOK

type GetEnvironmentResourcesUtilizationOK struct {
	Payload *models.ReplicaResourcesUtilizationResponse
}

GetEnvironmentResourcesUtilizationOK describes a response with status code 200, with default header values.

Successful trigger pipeline

func NewGetEnvironmentResourcesUtilizationOK

func NewGetEnvironmentResourcesUtilizationOK() *GetEnvironmentResourcesUtilizationOK

NewGetEnvironmentResourcesUtilizationOK creates a GetEnvironmentResourcesUtilizationOK with default headers values

func (*GetEnvironmentResourcesUtilizationOK) Code

Code gets the status code for the get environment resources utilization o k response

func (*GetEnvironmentResourcesUtilizationOK) Error

func (*GetEnvironmentResourcesUtilizationOK) GetPayload

func (*GetEnvironmentResourcesUtilizationOK) IsClientError

func (o *GetEnvironmentResourcesUtilizationOK) IsClientError() bool

IsClientError returns true when this get environment resources utilization o k response has a 4xx status code

func (*GetEnvironmentResourcesUtilizationOK) IsCode

IsCode returns true when this get environment resources utilization o k response a status code equal to that given

func (*GetEnvironmentResourcesUtilizationOK) IsRedirect

IsRedirect returns true when this get environment resources utilization o k response has a 3xx status code

func (*GetEnvironmentResourcesUtilizationOK) IsServerError

func (o *GetEnvironmentResourcesUtilizationOK) IsServerError() bool

IsServerError returns true when this get environment resources utilization o k response has a 5xx status code

func (*GetEnvironmentResourcesUtilizationOK) IsSuccess

IsSuccess returns true when this get environment resources utilization o k response has a 2xx status code

func (*GetEnvironmentResourcesUtilizationOK) String

type GetEnvironmentResourcesUtilizationParams

type GetEnvironmentResourcesUtilizationParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// Name of the application
	AppName string

	// EnvName.
	//
	// Name of the application environment
	EnvName string

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

GetEnvironmentResourcesUtilizationParams contains all the parameters to send to the API endpoint

for the get environment resources utilization operation.

Typically these are written to a http.Request.

func NewGetEnvironmentResourcesUtilizationParams

func NewGetEnvironmentResourcesUtilizationParams() *GetEnvironmentResourcesUtilizationParams

NewGetEnvironmentResourcesUtilizationParams creates a new GetEnvironmentResourcesUtilizationParams 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 NewGetEnvironmentResourcesUtilizationParamsWithContext deprecated

func NewGetEnvironmentResourcesUtilizationParamsWithContext(ctx context.Context) *GetEnvironmentResourcesUtilizationParams

NewGetEnvironmentResourcesUtilizationParamsWithContext creates a new GetEnvironmentResourcesUtilizationParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentResourcesUtilizationParams.

func NewGetEnvironmentResourcesUtilizationParamsWithHTTPClient

func NewGetEnvironmentResourcesUtilizationParamsWithHTTPClient(client *http.Client) *GetEnvironmentResourcesUtilizationParams

NewGetEnvironmentResourcesUtilizationParamsWithHTTPClient creates a new GetEnvironmentResourcesUtilizationParams object with the ability to set a custom HTTPClient for a request.

func NewGetEnvironmentResourcesUtilizationParamsWithTimeout

func NewGetEnvironmentResourcesUtilizationParamsWithTimeout(timeout time.Duration) *GetEnvironmentResourcesUtilizationParams

NewGetEnvironmentResourcesUtilizationParamsWithTimeout creates a new GetEnvironmentResourcesUtilizationParams object with the ability to set a timeout on a request.

func (*GetEnvironmentResourcesUtilizationParams) SetAppName

func (o *GetEnvironmentResourcesUtilizationParams) SetAppName(appName string)

SetAppName adds the appName to the get environment resources utilization params.

func (*GetEnvironmentResourcesUtilizationParams) SetContext deprecated

SetContext adds the context to the get environment resources utilization params.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentResourcesUtilizationParams.

func (*GetEnvironmentResourcesUtilizationParams) SetDefaults

SetDefaults hydrates default values in the get environment resources utilization params (not the query body).

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

func (*GetEnvironmentResourcesUtilizationParams) SetEnvName

func (o *GetEnvironmentResourcesUtilizationParams) SetEnvName(envName string)

SetEnvName adds the envName to the get environment resources utilization params.

func (*GetEnvironmentResourcesUtilizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get environment resources utilization params.

func (*GetEnvironmentResourcesUtilizationParams) SetImpersonateGroup

func (o *GetEnvironmentResourcesUtilizationParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the get environment resources utilization params.

func (*GetEnvironmentResourcesUtilizationParams) SetImpersonateUser

func (o *GetEnvironmentResourcesUtilizationParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the get environment resources utilization params.

func (*GetEnvironmentResourcesUtilizationParams) SetTimeout

SetTimeout adds the timeout to the get environment resources utilization params.

func (*GetEnvironmentResourcesUtilizationParams) WithAppName

WithAppName adds the appName to the get environment resources utilization params.

func (*GetEnvironmentResourcesUtilizationParams) WithContext deprecated

WithContext adds the context to the get environment resources utilization params.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentResourcesUtilizationParams.

func (*GetEnvironmentResourcesUtilizationParams) WithDefaults

WithDefaults hydrates default values in the get environment resources utilization params (not the query body).

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

func (*GetEnvironmentResourcesUtilizationParams) WithEnvName

WithEnvName adds the envName to the get environment resources utilization params.

func (*GetEnvironmentResourcesUtilizationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get environment resources utilization params.

func (*GetEnvironmentResourcesUtilizationParams) WithImpersonateGroup

WithImpersonateGroup adds the impersonateGroup to the get environment resources utilization params.

func (*GetEnvironmentResourcesUtilizationParams) WithImpersonateUser

WithImpersonateUser adds the impersonateUser to the get environment resources utilization params.

func (*GetEnvironmentResourcesUtilizationParams) WithTimeout

WithTimeout adds the timeout to the get environment resources utilization params.

func (*GetEnvironmentResourcesUtilizationParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetEnvironmentResourcesUtilizationReader

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

GetEnvironmentResourcesUtilizationReader is a Reader for the GetEnvironmentResourcesUtilization structure.

func (*GetEnvironmentResourcesUtilizationReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetEnvironmentSummaryNotFound

type GetEnvironmentSummaryNotFound struct {
}

GetEnvironmentSummaryNotFound describes a response with status code 404, with default header values.

Not found

func NewGetEnvironmentSummaryNotFound

func NewGetEnvironmentSummaryNotFound() *GetEnvironmentSummaryNotFound

NewGetEnvironmentSummaryNotFound creates a GetEnvironmentSummaryNotFound with default headers values

func (*GetEnvironmentSummaryNotFound) Code

Code gets the status code for the get environment summary not found response

func (*GetEnvironmentSummaryNotFound) Error

func (*GetEnvironmentSummaryNotFound) IsClientError

func (o *GetEnvironmentSummaryNotFound) IsClientError() bool

IsClientError returns true when this get environment summary not found response has a 4xx status code

func (*GetEnvironmentSummaryNotFound) IsCode

func (o *GetEnvironmentSummaryNotFound) IsCode(code int) bool

IsCode returns true when this get environment summary not found response a status code equal to that given

func (*GetEnvironmentSummaryNotFound) IsRedirect

func (o *GetEnvironmentSummaryNotFound) IsRedirect() bool

IsRedirect returns true when this get environment summary not found response has a 3xx status code

func (*GetEnvironmentSummaryNotFound) IsServerError

func (o *GetEnvironmentSummaryNotFound) IsServerError() bool

IsServerError returns true when this get environment summary not found response has a 5xx status code

func (*GetEnvironmentSummaryNotFound) IsSuccess

func (o *GetEnvironmentSummaryNotFound) IsSuccess() bool

IsSuccess returns true when this get environment summary not found response has a 2xx status code

func (*GetEnvironmentSummaryNotFound) String

type GetEnvironmentSummaryOK

type GetEnvironmentSummaryOK struct {
	Payload []*models.EnvironmentSummary
}

GetEnvironmentSummaryOK describes a response with status code 200, with default header values.

Successful operation

func NewGetEnvironmentSummaryOK

func NewGetEnvironmentSummaryOK() *GetEnvironmentSummaryOK

NewGetEnvironmentSummaryOK creates a GetEnvironmentSummaryOK with default headers values

func (*GetEnvironmentSummaryOK) Code

func (o *GetEnvironmentSummaryOK) Code() int

Code gets the status code for the get environment summary o k response

func (*GetEnvironmentSummaryOK) Error

func (o *GetEnvironmentSummaryOK) Error() string

func (*GetEnvironmentSummaryOK) GetPayload

func (*GetEnvironmentSummaryOK) IsClientError

func (o *GetEnvironmentSummaryOK) IsClientError() bool

IsClientError returns true when this get environment summary o k response has a 4xx status code

func (*GetEnvironmentSummaryOK) IsCode

func (o *GetEnvironmentSummaryOK) IsCode(code int) bool

IsCode returns true when this get environment summary o k response a status code equal to that given

func (*GetEnvironmentSummaryOK) IsRedirect

func (o *GetEnvironmentSummaryOK) IsRedirect() bool

IsRedirect returns true when this get environment summary o k response has a 3xx status code

func (*GetEnvironmentSummaryOK) IsServerError

func (o *GetEnvironmentSummaryOK) IsServerError() bool

IsServerError returns true when this get environment summary o k response has a 5xx status code

func (*GetEnvironmentSummaryOK) IsSuccess

func (o *GetEnvironmentSummaryOK) IsSuccess() bool

IsSuccess returns true when this get environment summary o k response has a 2xx status code

func (*GetEnvironmentSummaryOK) String

func (o *GetEnvironmentSummaryOK) String() string

type GetEnvironmentSummaryParams

type GetEnvironmentSummaryParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// name of Radix application
	AppName string

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

GetEnvironmentSummaryParams contains all the parameters to send to the API endpoint

for the get environment summary operation.

Typically these are written to a http.Request.

func NewGetEnvironmentSummaryParams

func NewGetEnvironmentSummaryParams() *GetEnvironmentSummaryParams

NewGetEnvironmentSummaryParams creates a new GetEnvironmentSummaryParams 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 NewGetEnvironmentSummaryParamsWithContext deprecated

func NewGetEnvironmentSummaryParamsWithContext(ctx context.Context) *GetEnvironmentSummaryParams

NewGetEnvironmentSummaryParamsWithContext creates a new GetEnvironmentSummaryParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentSummaryParams.

func NewGetEnvironmentSummaryParamsWithHTTPClient

func NewGetEnvironmentSummaryParamsWithHTTPClient(client *http.Client) *GetEnvironmentSummaryParams

NewGetEnvironmentSummaryParamsWithHTTPClient creates a new GetEnvironmentSummaryParams object with the ability to set a custom HTTPClient for a request.

func NewGetEnvironmentSummaryParamsWithTimeout

func NewGetEnvironmentSummaryParamsWithTimeout(timeout time.Duration) *GetEnvironmentSummaryParams

NewGetEnvironmentSummaryParamsWithTimeout creates a new GetEnvironmentSummaryParams object with the ability to set a timeout on a request.

func (*GetEnvironmentSummaryParams) SetAppName

func (o *GetEnvironmentSummaryParams) SetAppName(appName string)

SetAppName adds the appName to the get environment summary params.

func (*GetEnvironmentSummaryParams) SetContext deprecated

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

SetContext adds the context to the get environment summary params.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentSummaryParams.

func (*GetEnvironmentSummaryParams) SetDefaults

func (o *GetEnvironmentSummaryParams) SetDefaults()

SetDefaults hydrates default values in the get environment summary params (not the query body).

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

func (*GetEnvironmentSummaryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get environment summary params.

func (*GetEnvironmentSummaryParams) SetImpersonateGroup

func (o *GetEnvironmentSummaryParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the get environment summary params.

func (*GetEnvironmentSummaryParams) SetImpersonateUser

func (o *GetEnvironmentSummaryParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the get environment summary params.

func (*GetEnvironmentSummaryParams) SetTimeout

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

SetTimeout adds the timeout to the get environment summary params.

func (*GetEnvironmentSummaryParams) WithAppName

WithAppName adds the appName to the get environment summary params.

func (*GetEnvironmentSummaryParams) WithContext deprecated

WithContext adds the context to the get environment summary params.

Deprecated: use the operation call with context to pass the context instead of GetEnvironmentSummaryParams.

func (*GetEnvironmentSummaryParams) WithDefaults

WithDefaults hydrates default values in the get environment summary params (not the query body).

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

func (*GetEnvironmentSummaryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get environment summary params.

func (*GetEnvironmentSummaryParams) WithImpersonateGroup

func (o *GetEnvironmentSummaryParams) WithImpersonateGroup(impersonateGroup *string) *GetEnvironmentSummaryParams

WithImpersonateGroup adds the impersonateGroup to the get environment summary params.

func (*GetEnvironmentSummaryParams) WithImpersonateUser

func (o *GetEnvironmentSummaryParams) WithImpersonateUser(impersonateUser *string) *GetEnvironmentSummaryParams

WithImpersonateUser adds the impersonateUser to the get environment summary params.

func (*GetEnvironmentSummaryParams) WithTimeout

WithTimeout adds the timeout to the get environment summary params.

func (*GetEnvironmentSummaryParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetEnvironmentSummaryReader

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

GetEnvironmentSummaryReader is a Reader for the GetEnvironmentSummary structure.

func (*GetEnvironmentSummaryReader) ReadResponse

func (o *GetEnvironmentSummaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetEnvironmentSummaryUnauthorized

type GetEnvironmentSummaryUnauthorized struct {
}

GetEnvironmentSummaryUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetEnvironmentSummaryUnauthorized

func NewGetEnvironmentSummaryUnauthorized() *GetEnvironmentSummaryUnauthorized

NewGetEnvironmentSummaryUnauthorized creates a GetEnvironmentSummaryUnauthorized with default headers values

func (*GetEnvironmentSummaryUnauthorized) Code

Code gets the status code for the get environment summary unauthorized response

func (*GetEnvironmentSummaryUnauthorized) Error

func (*GetEnvironmentSummaryUnauthorized) IsClientError

func (o *GetEnvironmentSummaryUnauthorized) IsClientError() bool

IsClientError returns true when this get environment summary unauthorized response has a 4xx status code

func (*GetEnvironmentSummaryUnauthorized) IsCode

func (o *GetEnvironmentSummaryUnauthorized) IsCode(code int) bool

IsCode returns true when this get environment summary unauthorized response a status code equal to that given

func (*GetEnvironmentSummaryUnauthorized) IsRedirect

func (o *GetEnvironmentSummaryUnauthorized) IsRedirect() bool

IsRedirect returns true when this get environment summary unauthorized response has a 3xx status code

func (*GetEnvironmentSummaryUnauthorized) IsServerError

func (o *GetEnvironmentSummaryUnauthorized) IsServerError() bool

IsServerError returns true when this get environment summary unauthorized response has a 5xx status code

func (*GetEnvironmentSummaryUnauthorized) IsSuccess

func (o *GetEnvironmentSummaryUnauthorized) IsSuccess() bool

IsSuccess returns true when this get environment summary unauthorized response has a 2xx status code

func (*GetEnvironmentSummaryUnauthorized) String

type GetEnvironmentUnauthorized

type GetEnvironmentUnauthorized struct {
}

GetEnvironmentUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetEnvironmentUnauthorized

func NewGetEnvironmentUnauthorized() *GetEnvironmentUnauthorized

NewGetEnvironmentUnauthorized creates a GetEnvironmentUnauthorized with default headers values

func (*GetEnvironmentUnauthorized) Code

func (o *GetEnvironmentUnauthorized) Code() int

Code gets the status code for the get environment unauthorized response

func (*GetEnvironmentUnauthorized) Error

func (*GetEnvironmentUnauthorized) IsClientError

func (o *GetEnvironmentUnauthorized) IsClientError() bool

IsClientError returns true when this get environment unauthorized response has a 4xx status code

func (*GetEnvironmentUnauthorized) IsCode

func (o *GetEnvironmentUnauthorized) IsCode(code int) bool

IsCode returns true when this get environment unauthorized response a status code equal to that given

func (*GetEnvironmentUnauthorized) IsRedirect

func (o *GetEnvironmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this get environment unauthorized response has a 3xx status code

func (*GetEnvironmentUnauthorized) IsServerError

func (o *GetEnvironmentUnauthorized) IsServerError() bool

IsServerError returns true when this get environment unauthorized response has a 5xx status code

func (*GetEnvironmentUnauthorized) IsSuccess

func (o *GetEnvironmentUnauthorized) IsSuccess() bool

IsSuccess returns true when this get environment unauthorized response has a 2xx status code

func (*GetEnvironmentUnauthorized) String

func (o *GetEnvironmentUnauthorized) String() string

type GetReplicaEventsNotFound

type GetReplicaEventsNotFound struct {
}

GetReplicaEventsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetReplicaEventsNotFound

func NewGetReplicaEventsNotFound() *GetReplicaEventsNotFound

NewGetReplicaEventsNotFound creates a GetReplicaEventsNotFound with default headers values

func (*GetReplicaEventsNotFound) Code

func (o *GetReplicaEventsNotFound) Code() int

Code gets the status code for the get replica events not found response

func (*GetReplicaEventsNotFound) Error

func (o *GetReplicaEventsNotFound) Error() string

func (*GetReplicaEventsNotFound) IsClientError

func (o *GetReplicaEventsNotFound) IsClientError() bool

IsClientError returns true when this get replica events not found response has a 4xx status code

func (*GetReplicaEventsNotFound) IsCode

func (o *GetReplicaEventsNotFound) IsCode(code int) bool

IsCode returns true when this get replica events not found response a status code equal to that given

func (*GetReplicaEventsNotFound) IsRedirect

func (o *GetReplicaEventsNotFound) IsRedirect() bool

IsRedirect returns true when this get replica events not found response has a 3xx status code

func (*GetReplicaEventsNotFound) IsServerError

func (o *GetReplicaEventsNotFound) IsServerError() bool

IsServerError returns true when this get replica events not found response has a 5xx status code

func (*GetReplicaEventsNotFound) IsSuccess

func (o *GetReplicaEventsNotFound) IsSuccess() bool

IsSuccess returns true when this get replica events not found response has a 2xx status code

func (*GetReplicaEventsNotFound) String

func (o *GetReplicaEventsNotFound) String() string

type GetReplicaEventsOK

type GetReplicaEventsOK struct {
	Payload []*models.Event
}

GetReplicaEventsOK describes a response with status code 200, with default header values.

Successful get environment events

func NewGetReplicaEventsOK

func NewGetReplicaEventsOK() *GetReplicaEventsOK

NewGetReplicaEventsOK creates a GetReplicaEventsOK with default headers values

func (*GetReplicaEventsOK) Code

func (o *GetReplicaEventsOK) Code() int

Code gets the status code for the get replica events o k response

func (*GetReplicaEventsOK) Error

func (o *GetReplicaEventsOK) Error() string

func (*GetReplicaEventsOK) GetPayload

func (o *GetReplicaEventsOK) GetPayload() []*models.Event

func (*GetReplicaEventsOK) IsClientError

func (o *GetReplicaEventsOK) IsClientError() bool

IsClientError returns true when this get replica events o k response has a 4xx status code

func (*GetReplicaEventsOK) IsCode

func (o *GetReplicaEventsOK) IsCode(code int) bool

IsCode returns true when this get replica events o k response a status code equal to that given

func (*GetReplicaEventsOK) IsRedirect

func (o *GetReplicaEventsOK) IsRedirect() bool

IsRedirect returns true when this get replica events o k response has a 3xx status code

func (*GetReplicaEventsOK) IsServerError

func (o *GetReplicaEventsOK) IsServerError() bool

IsServerError returns true when this get replica events o k response has a 5xx status code

func (*GetReplicaEventsOK) IsSuccess

func (o *GetReplicaEventsOK) IsSuccess() bool

IsSuccess returns true when this get replica events o k response has a 2xx status code

func (*GetReplicaEventsOK) String

func (o *GetReplicaEventsOK) String() string

type GetReplicaEventsParams

type GetReplicaEventsParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// name of Radix application
	AppName string

	// ComponentName.
	//
	// Name of component
	ComponentName string

	// EnvName.
	//
	// name of environment
	EnvName string

	// PodName.
	//
	// Name of pod
	PodName string

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

GetReplicaEventsParams contains all the parameters to send to the API endpoint

for the get replica events operation.

Typically these are written to a http.Request.

func NewGetReplicaEventsParams

func NewGetReplicaEventsParams() *GetReplicaEventsParams

NewGetReplicaEventsParams creates a new GetReplicaEventsParams 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 NewGetReplicaEventsParamsWithContext deprecated

func NewGetReplicaEventsParamsWithContext(ctx context.Context) *GetReplicaEventsParams

NewGetReplicaEventsParamsWithContext creates a new GetReplicaEventsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetReplicaEventsParams.

func NewGetReplicaEventsParamsWithHTTPClient

func NewGetReplicaEventsParamsWithHTTPClient(client *http.Client) *GetReplicaEventsParams

NewGetReplicaEventsParamsWithHTTPClient creates a new GetReplicaEventsParams object with the ability to set a custom HTTPClient for a request.

func NewGetReplicaEventsParamsWithTimeout

func NewGetReplicaEventsParamsWithTimeout(timeout time.Duration) *GetReplicaEventsParams

NewGetReplicaEventsParamsWithTimeout creates a new GetReplicaEventsParams object with the ability to set a timeout on a request.

func (*GetReplicaEventsParams) SetAppName

func (o *GetReplicaEventsParams) SetAppName(appName string)

SetAppName adds the appName to the get replica events params.

func (*GetReplicaEventsParams) SetComponentName

func (o *GetReplicaEventsParams) SetComponentName(componentName string)

SetComponentName adds the componentName to the get replica events params.

func (*GetReplicaEventsParams) SetContext deprecated

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

SetContext adds the context to the get replica events params.

Deprecated: use the operation call with context to pass the context instead of GetReplicaEventsParams.

func (*GetReplicaEventsParams) SetDefaults

func (o *GetReplicaEventsParams) SetDefaults()

SetDefaults hydrates default values in the get replica events params (not the query body).

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

func (*GetReplicaEventsParams) SetEnvName

func (o *GetReplicaEventsParams) SetEnvName(envName string)

SetEnvName adds the envName to the get replica events params.

func (*GetReplicaEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get replica events params.

func (*GetReplicaEventsParams) SetImpersonateGroup

func (o *GetReplicaEventsParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the get replica events params.

func (*GetReplicaEventsParams) SetImpersonateUser

func (o *GetReplicaEventsParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the get replica events params.

func (*GetReplicaEventsParams) SetPodName

func (o *GetReplicaEventsParams) SetPodName(podName string)

SetPodName adds the podName to the get replica events params.

func (*GetReplicaEventsParams) SetTimeout

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

SetTimeout adds the timeout to the get replica events params.

func (*GetReplicaEventsParams) WithAppName

func (o *GetReplicaEventsParams) WithAppName(appName string) *GetReplicaEventsParams

WithAppName adds the appName to the get replica events params.

func (*GetReplicaEventsParams) WithComponentName

func (o *GetReplicaEventsParams) WithComponentName(componentName string) *GetReplicaEventsParams

WithComponentName adds the componentName to the get replica events params.

func (*GetReplicaEventsParams) WithContext deprecated

WithContext adds the context to the get replica events params.

Deprecated: use the operation call with context to pass the context instead of GetReplicaEventsParams.

func (*GetReplicaEventsParams) WithDefaults

WithDefaults hydrates default values in the get replica events params (not the query body).

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

func (*GetReplicaEventsParams) WithEnvName

func (o *GetReplicaEventsParams) WithEnvName(envName string) *GetReplicaEventsParams

WithEnvName adds the envName to the get replica events params.

func (*GetReplicaEventsParams) WithHTTPClient

func (o *GetReplicaEventsParams) WithHTTPClient(client *http.Client) *GetReplicaEventsParams

WithHTTPClient adds the HTTPClient to the get replica events params.

func (*GetReplicaEventsParams) WithImpersonateGroup

func (o *GetReplicaEventsParams) WithImpersonateGroup(impersonateGroup *string) *GetReplicaEventsParams

WithImpersonateGroup adds the impersonateGroup to the get replica events params.

func (*GetReplicaEventsParams) WithImpersonateUser

func (o *GetReplicaEventsParams) WithImpersonateUser(impersonateUser *string) *GetReplicaEventsParams

WithImpersonateUser adds the impersonateUser to the get replica events params.

func (*GetReplicaEventsParams) WithPodName

func (o *GetReplicaEventsParams) WithPodName(podName string) *GetReplicaEventsParams

WithPodName adds the podName to the get replica events params.

func (*GetReplicaEventsParams) WithTimeout

WithTimeout adds the timeout to the get replica events params.

func (*GetReplicaEventsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetReplicaEventsReader

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

GetReplicaEventsReader is a Reader for the GetReplicaEvents structure.

func (*GetReplicaEventsReader) ReadResponse

func (o *GetReplicaEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetReplicaEventsUnauthorized

type GetReplicaEventsUnauthorized struct {
}

GetReplicaEventsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetReplicaEventsUnauthorized

func NewGetReplicaEventsUnauthorized() *GetReplicaEventsUnauthorized

NewGetReplicaEventsUnauthorized creates a GetReplicaEventsUnauthorized with default headers values

func (*GetReplicaEventsUnauthorized) Code

Code gets the status code for the get replica events unauthorized response

func (*GetReplicaEventsUnauthorized) Error

func (*GetReplicaEventsUnauthorized) IsClientError

func (o *GetReplicaEventsUnauthorized) IsClientError() bool

IsClientError returns true when this get replica events unauthorized response has a 4xx status code

func (*GetReplicaEventsUnauthorized) IsCode

func (o *GetReplicaEventsUnauthorized) IsCode(code int) bool

IsCode returns true when this get replica events unauthorized response a status code equal to that given

func (*GetReplicaEventsUnauthorized) IsRedirect

func (o *GetReplicaEventsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get replica events unauthorized response has a 3xx status code

func (*GetReplicaEventsUnauthorized) IsServerError

func (o *GetReplicaEventsUnauthorized) IsServerError() bool

IsServerError returns true when this get replica events unauthorized response has a 5xx status code

func (*GetReplicaEventsUnauthorized) IsSuccess

func (o *GetReplicaEventsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get replica events unauthorized response has a 2xx status code

func (*GetReplicaEventsUnauthorized) String

type ResetManuallyScaledComponentsInEnvironmentNotFound

type ResetManuallyScaledComponentsInEnvironmentNotFound struct {
}

ResetManuallyScaledComponentsInEnvironmentNotFound describes a response with status code 404, with default header values.

Not found

func NewResetManuallyScaledComponentsInEnvironmentNotFound

func NewResetManuallyScaledComponentsInEnvironmentNotFound() *ResetManuallyScaledComponentsInEnvironmentNotFound

NewResetManuallyScaledComponentsInEnvironmentNotFound creates a ResetManuallyScaledComponentsInEnvironmentNotFound with default headers values

func (*ResetManuallyScaledComponentsInEnvironmentNotFound) Code

Code gets the status code for the reset manually scaled components in environment not found response

func (*ResetManuallyScaledComponentsInEnvironmentNotFound) Error

func (*ResetManuallyScaledComponentsInEnvironmentNotFound) IsClientError

IsClientError returns true when this reset manually scaled components in environment not found response has a 4xx status code

func (*ResetManuallyScaledComponentsInEnvironmentNotFound) IsCode

IsCode returns true when this reset manually scaled components in environment not found response a status code equal to that given

func (*ResetManuallyScaledComponentsInEnvironmentNotFound) IsRedirect

IsRedirect returns true when this reset manually scaled components in environment not found response has a 3xx status code

func (*ResetManuallyScaledComponentsInEnvironmentNotFound) IsServerError

IsServerError returns true when this reset manually scaled components in environment not found response has a 5xx status code

func (*ResetManuallyScaledComponentsInEnvironmentNotFound) IsSuccess

IsSuccess returns true when this reset manually scaled components in environment not found response has a 2xx status code

func (*ResetManuallyScaledComponentsInEnvironmentNotFound) String

type ResetManuallyScaledComponentsInEnvironmentOK

type ResetManuallyScaledComponentsInEnvironmentOK struct {
}

ResetManuallyScaledComponentsInEnvironmentOK describes a response with status code 200, with default header values.

Environment started ok

func NewResetManuallyScaledComponentsInEnvironmentOK

func NewResetManuallyScaledComponentsInEnvironmentOK() *ResetManuallyScaledComponentsInEnvironmentOK

NewResetManuallyScaledComponentsInEnvironmentOK creates a ResetManuallyScaledComponentsInEnvironmentOK with default headers values

func (*ResetManuallyScaledComponentsInEnvironmentOK) Code

Code gets the status code for the reset manually scaled components in environment o k response

func (*ResetManuallyScaledComponentsInEnvironmentOK) Error

func (*ResetManuallyScaledComponentsInEnvironmentOK) IsClientError

IsClientError returns true when this reset manually scaled components in environment o k response has a 4xx status code

func (*ResetManuallyScaledComponentsInEnvironmentOK) IsCode

IsCode returns true when this reset manually scaled components in environment o k response a status code equal to that given

func (*ResetManuallyScaledComponentsInEnvironmentOK) IsRedirect

IsRedirect returns true when this reset manually scaled components in environment o k response has a 3xx status code

func (*ResetManuallyScaledComponentsInEnvironmentOK) IsServerError

IsServerError returns true when this reset manually scaled components in environment o k response has a 5xx status code

func (*ResetManuallyScaledComponentsInEnvironmentOK) IsSuccess

IsSuccess returns true when this reset manually scaled components in environment o k response has a 2xx status code

func (*ResetManuallyScaledComponentsInEnvironmentOK) String

type ResetManuallyScaledComponentsInEnvironmentParams

type ResetManuallyScaledComponentsInEnvironmentParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// Name of application
	AppName string

	// EnvName.
	//
	// Name of environment
	EnvName string

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

ResetManuallyScaledComponentsInEnvironmentParams contains all the parameters to send to the API endpoint

for the reset manually scaled components in environment operation.

Typically these are written to a http.Request.

func NewResetManuallyScaledComponentsInEnvironmentParams

func NewResetManuallyScaledComponentsInEnvironmentParams() *ResetManuallyScaledComponentsInEnvironmentParams

NewResetManuallyScaledComponentsInEnvironmentParams creates a new ResetManuallyScaledComponentsInEnvironmentParams 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 NewResetManuallyScaledComponentsInEnvironmentParamsWithContext deprecated

func NewResetManuallyScaledComponentsInEnvironmentParamsWithContext(ctx context.Context) *ResetManuallyScaledComponentsInEnvironmentParams

NewResetManuallyScaledComponentsInEnvironmentParamsWithContext creates a new ResetManuallyScaledComponentsInEnvironmentParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ResetManuallyScaledComponentsInEnvironmentParams.

func NewResetManuallyScaledComponentsInEnvironmentParamsWithHTTPClient

func NewResetManuallyScaledComponentsInEnvironmentParamsWithHTTPClient(client *http.Client) *ResetManuallyScaledComponentsInEnvironmentParams

NewResetManuallyScaledComponentsInEnvironmentParamsWithHTTPClient creates a new ResetManuallyScaledComponentsInEnvironmentParams object with the ability to set a custom HTTPClient for a request.

func NewResetManuallyScaledComponentsInEnvironmentParamsWithTimeout

func NewResetManuallyScaledComponentsInEnvironmentParamsWithTimeout(timeout time.Duration) *ResetManuallyScaledComponentsInEnvironmentParams

NewResetManuallyScaledComponentsInEnvironmentParamsWithTimeout creates a new ResetManuallyScaledComponentsInEnvironmentParams object with the ability to set a timeout on a request.

func (*ResetManuallyScaledComponentsInEnvironmentParams) SetAppName

SetAppName adds the appName to the reset manually scaled components in environment params.

func (*ResetManuallyScaledComponentsInEnvironmentParams) SetContext deprecated

SetContext adds the context to the reset manually scaled components in environment params.

Deprecated: use the operation call with context to pass the context instead of ResetManuallyScaledComponentsInEnvironmentParams.

func (*ResetManuallyScaledComponentsInEnvironmentParams) SetDefaults

SetDefaults hydrates default values in the reset manually scaled components in environment params (not the query body).

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

func (*ResetManuallyScaledComponentsInEnvironmentParams) SetEnvName

SetEnvName adds the envName to the reset manually scaled components in environment params.

func (*ResetManuallyScaledComponentsInEnvironmentParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the reset manually scaled components in environment params.

func (*ResetManuallyScaledComponentsInEnvironmentParams) SetImpersonateGroup

func (o *ResetManuallyScaledComponentsInEnvironmentParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the reset manually scaled components in environment params.

func (*ResetManuallyScaledComponentsInEnvironmentParams) SetImpersonateUser

func (o *ResetManuallyScaledComponentsInEnvironmentParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the reset manually scaled components in environment params.

func (*ResetManuallyScaledComponentsInEnvironmentParams) SetTimeout

SetTimeout adds the timeout to the reset manually scaled components in environment params.

func (*ResetManuallyScaledComponentsInEnvironmentParams) WithAppName

WithAppName adds the appName to the reset manually scaled components in environment params.

func (*ResetManuallyScaledComponentsInEnvironmentParams) WithContext deprecated

WithContext adds the context to the reset manually scaled components in environment params.

Deprecated: use the operation call with context to pass the context instead of ResetManuallyScaledComponentsInEnvironmentParams.

func (*ResetManuallyScaledComponentsInEnvironmentParams) WithDefaults

WithDefaults hydrates default values in the reset manually scaled components in environment params (not the query body).

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

func (*ResetManuallyScaledComponentsInEnvironmentParams) WithEnvName

WithEnvName adds the envName to the reset manually scaled components in environment params.

func (*ResetManuallyScaledComponentsInEnvironmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the reset manually scaled components in environment params.

func (*ResetManuallyScaledComponentsInEnvironmentParams) WithImpersonateGroup

WithImpersonateGroup adds the impersonateGroup to the reset manually scaled components in environment params.

func (*ResetManuallyScaledComponentsInEnvironmentParams) WithImpersonateUser

WithImpersonateUser adds the impersonateUser to the reset manually scaled components in environment params.

func (*ResetManuallyScaledComponentsInEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the reset manually scaled components in environment params.

func (*ResetManuallyScaledComponentsInEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ResetManuallyScaledComponentsInEnvironmentReader

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

ResetManuallyScaledComponentsInEnvironmentReader is a Reader for the ResetManuallyScaledComponentsInEnvironment structure.

func (*ResetManuallyScaledComponentsInEnvironmentReader) ReadResponse

ReadResponse reads a server response into the received o.

type ResetManuallyScaledComponentsInEnvironmentUnauthorized

type ResetManuallyScaledComponentsInEnvironmentUnauthorized struct {
}

ResetManuallyScaledComponentsInEnvironmentUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewResetManuallyScaledComponentsInEnvironmentUnauthorized

func NewResetManuallyScaledComponentsInEnvironmentUnauthorized() *ResetManuallyScaledComponentsInEnvironmentUnauthorized

NewResetManuallyScaledComponentsInEnvironmentUnauthorized creates a ResetManuallyScaledComponentsInEnvironmentUnauthorized with default headers values

func (*ResetManuallyScaledComponentsInEnvironmentUnauthorized) Code

Code gets the status code for the reset manually scaled components in environment unauthorized response

func (*ResetManuallyScaledComponentsInEnvironmentUnauthorized) Error

func (*ResetManuallyScaledComponentsInEnvironmentUnauthorized) IsClientError

IsClientError returns true when this reset manually scaled components in environment unauthorized response has a 4xx status code

func (*ResetManuallyScaledComponentsInEnvironmentUnauthorized) IsCode

IsCode returns true when this reset manually scaled components in environment unauthorized response a status code equal to that given

func (*ResetManuallyScaledComponentsInEnvironmentUnauthorized) IsRedirect

IsRedirect returns true when this reset manually scaled components in environment unauthorized response has a 3xx status code

func (*ResetManuallyScaledComponentsInEnvironmentUnauthorized) IsServerError

IsServerError returns true when this reset manually scaled components in environment unauthorized response has a 5xx status code

func (*ResetManuallyScaledComponentsInEnvironmentUnauthorized) IsSuccess

IsSuccess returns true when this reset manually scaled components in environment unauthorized response has a 2xx status code

func (*ResetManuallyScaledComponentsInEnvironmentUnauthorized) String

type RestartEnvironmentForbidden

type RestartEnvironmentForbidden struct {
}

RestartEnvironmentForbidden describes a response with status code 403, with default header values.

Forbidden

func NewRestartEnvironmentForbidden

func NewRestartEnvironmentForbidden() *RestartEnvironmentForbidden

NewRestartEnvironmentForbidden creates a RestartEnvironmentForbidden with default headers values

func (*RestartEnvironmentForbidden) Code

func (o *RestartEnvironmentForbidden) Code() int

Code gets the status code for the restart environment forbidden response

func (*RestartEnvironmentForbidden) Error

func (*RestartEnvironmentForbidden) IsClientError

func (o *RestartEnvironmentForbidden) IsClientError() bool

IsClientError returns true when this restart environment forbidden response has a 4xx status code

func (*RestartEnvironmentForbidden) IsCode

func (o *RestartEnvironmentForbidden) IsCode(code int) bool

IsCode returns true when this restart environment forbidden response a status code equal to that given

func (*RestartEnvironmentForbidden) IsRedirect

func (o *RestartEnvironmentForbidden) IsRedirect() bool

IsRedirect returns true when this restart environment forbidden response has a 3xx status code

func (*RestartEnvironmentForbidden) IsServerError

func (o *RestartEnvironmentForbidden) IsServerError() bool

IsServerError returns true when this restart environment forbidden response has a 5xx status code

func (*RestartEnvironmentForbidden) IsSuccess

func (o *RestartEnvironmentForbidden) IsSuccess() bool

IsSuccess returns true when this restart environment forbidden response has a 2xx status code

func (*RestartEnvironmentForbidden) String

func (o *RestartEnvironmentForbidden) String() string

type RestartEnvironmentNotFound

type RestartEnvironmentNotFound struct {
}

RestartEnvironmentNotFound describes a response with status code 404, with default header values.

Not found

func NewRestartEnvironmentNotFound

func NewRestartEnvironmentNotFound() *RestartEnvironmentNotFound

NewRestartEnvironmentNotFound creates a RestartEnvironmentNotFound with default headers values

func (*RestartEnvironmentNotFound) Code

func (o *RestartEnvironmentNotFound) Code() int

Code gets the status code for the restart environment not found response

func (*RestartEnvironmentNotFound) Error

func (*RestartEnvironmentNotFound) IsClientError

func (o *RestartEnvironmentNotFound) IsClientError() bool

IsClientError returns true when this restart environment not found response has a 4xx status code

func (*RestartEnvironmentNotFound) IsCode

func (o *RestartEnvironmentNotFound) IsCode(code int) bool

IsCode returns true when this restart environment not found response a status code equal to that given

func (*RestartEnvironmentNotFound) IsRedirect

func (o *RestartEnvironmentNotFound) IsRedirect() bool

IsRedirect returns true when this restart environment not found response has a 3xx status code

func (*RestartEnvironmentNotFound) IsServerError

func (o *RestartEnvironmentNotFound) IsServerError() bool

IsServerError returns true when this restart environment not found response has a 5xx status code

func (*RestartEnvironmentNotFound) IsSuccess

func (o *RestartEnvironmentNotFound) IsSuccess() bool

IsSuccess returns true when this restart environment not found response has a 2xx status code

func (*RestartEnvironmentNotFound) String

func (o *RestartEnvironmentNotFound) String() string

type RestartEnvironmentOK

type RestartEnvironmentOK struct {
}

RestartEnvironmentOK describes a response with status code 200, with default header values.

Environment started ok

func NewRestartEnvironmentOK

func NewRestartEnvironmentOK() *RestartEnvironmentOK

NewRestartEnvironmentOK creates a RestartEnvironmentOK with default headers values

func (*RestartEnvironmentOK) Code

func (o *RestartEnvironmentOK) Code() int

Code gets the status code for the restart environment o k response

func (*RestartEnvironmentOK) Error

func (o *RestartEnvironmentOK) Error() string

func (*RestartEnvironmentOK) IsClientError

func (o *RestartEnvironmentOK) IsClientError() bool

IsClientError returns true when this restart environment o k response has a 4xx status code

func (*RestartEnvironmentOK) IsCode

func (o *RestartEnvironmentOK) IsCode(code int) bool

IsCode returns true when this restart environment o k response a status code equal to that given

func (*RestartEnvironmentOK) IsRedirect

func (o *RestartEnvironmentOK) IsRedirect() bool

IsRedirect returns true when this restart environment o k response has a 3xx status code

func (*RestartEnvironmentOK) IsServerError

func (o *RestartEnvironmentOK) IsServerError() bool

IsServerError returns true when this restart environment o k response has a 5xx status code

func (*RestartEnvironmentOK) IsSuccess

func (o *RestartEnvironmentOK) IsSuccess() bool

IsSuccess returns true when this restart environment o k response has a 2xx status code

func (*RestartEnvironmentOK) String

func (o *RestartEnvironmentOK) String() string

type RestartEnvironmentParams

type RestartEnvironmentParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// Name of application
	AppName string

	// EnvName.
	//
	// Name of environment
	EnvName string

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

RestartEnvironmentParams contains all the parameters to send to the API endpoint

for the restart environment operation.

Typically these are written to a http.Request.

func NewRestartEnvironmentParams

func NewRestartEnvironmentParams() *RestartEnvironmentParams

NewRestartEnvironmentParams creates a new RestartEnvironmentParams 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 NewRestartEnvironmentParamsWithContext deprecated

func NewRestartEnvironmentParamsWithContext(ctx context.Context) *RestartEnvironmentParams

NewRestartEnvironmentParamsWithContext creates a new RestartEnvironmentParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of RestartEnvironmentParams.

func NewRestartEnvironmentParamsWithHTTPClient

func NewRestartEnvironmentParamsWithHTTPClient(client *http.Client) *RestartEnvironmentParams

NewRestartEnvironmentParamsWithHTTPClient creates a new RestartEnvironmentParams object with the ability to set a custom HTTPClient for a request.

func NewRestartEnvironmentParamsWithTimeout

func NewRestartEnvironmentParamsWithTimeout(timeout time.Duration) *RestartEnvironmentParams

NewRestartEnvironmentParamsWithTimeout creates a new RestartEnvironmentParams object with the ability to set a timeout on a request.

func (*RestartEnvironmentParams) SetAppName

func (o *RestartEnvironmentParams) SetAppName(appName string)

SetAppName adds the appName to the restart environment params.

func (*RestartEnvironmentParams) SetContext deprecated

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

SetContext adds the context to the restart environment params.

Deprecated: use the operation call with context to pass the context instead of RestartEnvironmentParams.

func (*RestartEnvironmentParams) SetDefaults

func (o *RestartEnvironmentParams) SetDefaults()

SetDefaults hydrates default values in the restart environment params (not the query body).

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

func (*RestartEnvironmentParams) SetEnvName

func (o *RestartEnvironmentParams) SetEnvName(envName string)

SetEnvName adds the envName to the restart environment params.

func (*RestartEnvironmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the restart environment params.

func (*RestartEnvironmentParams) SetImpersonateGroup

func (o *RestartEnvironmentParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the restart environment params.

func (*RestartEnvironmentParams) SetImpersonateUser

func (o *RestartEnvironmentParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the restart environment params.

func (*RestartEnvironmentParams) SetTimeout

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

SetTimeout adds the timeout to the restart environment params.

func (*RestartEnvironmentParams) WithAppName

func (o *RestartEnvironmentParams) WithAppName(appName string) *RestartEnvironmentParams

WithAppName adds the appName to the restart environment params.

func (*RestartEnvironmentParams) WithContext deprecated

WithContext adds the context to the restart environment params.

Deprecated: use the operation call with context to pass the context instead of RestartEnvironmentParams.

func (*RestartEnvironmentParams) WithDefaults

WithDefaults hydrates default values in the restart environment params (not the query body).

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

func (*RestartEnvironmentParams) WithEnvName

func (o *RestartEnvironmentParams) WithEnvName(envName string) *RestartEnvironmentParams

WithEnvName adds the envName to the restart environment params.

func (*RestartEnvironmentParams) WithHTTPClient

func (o *RestartEnvironmentParams) WithHTTPClient(client *http.Client) *RestartEnvironmentParams

WithHTTPClient adds the HTTPClient to the restart environment params.

func (*RestartEnvironmentParams) WithImpersonateGroup

func (o *RestartEnvironmentParams) WithImpersonateGroup(impersonateGroup *string) *RestartEnvironmentParams

WithImpersonateGroup adds the impersonateGroup to the restart environment params.

func (*RestartEnvironmentParams) WithImpersonateUser

func (o *RestartEnvironmentParams) WithImpersonateUser(impersonateUser *string) *RestartEnvironmentParams

WithImpersonateUser adds the impersonateUser to the restart environment params.

func (*RestartEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the restart environment params.

func (*RestartEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type RestartEnvironmentReader

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

RestartEnvironmentReader is a Reader for the RestartEnvironment structure.

func (*RestartEnvironmentReader) ReadResponse

func (o *RestartEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type RestartEnvironmentUnauthorized

type RestartEnvironmentUnauthorized struct {
}

RestartEnvironmentUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewRestartEnvironmentUnauthorized

func NewRestartEnvironmentUnauthorized() *RestartEnvironmentUnauthorized

NewRestartEnvironmentUnauthorized creates a RestartEnvironmentUnauthorized with default headers values

func (*RestartEnvironmentUnauthorized) Code

Code gets the status code for the restart environment unauthorized response

func (*RestartEnvironmentUnauthorized) Error

func (*RestartEnvironmentUnauthorized) IsClientError

func (o *RestartEnvironmentUnauthorized) IsClientError() bool

IsClientError returns true when this restart environment unauthorized response has a 4xx status code

func (*RestartEnvironmentUnauthorized) IsCode

func (o *RestartEnvironmentUnauthorized) IsCode(code int) bool

IsCode returns true when this restart environment unauthorized response a status code equal to that given

func (*RestartEnvironmentUnauthorized) IsRedirect

func (o *RestartEnvironmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this restart environment unauthorized response has a 3xx status code

func (*RestartEnvironmentUnauthorized) IsServerError

func (o *RestartEnvironmentUnauthorized) IsServerError() bool

IsServerError returns true when this restart environment unauthorized response has a 5xx status code

func (*RestartEnvironmentUnauthorized) IsSuccess

func (o *RestartEnvironmentUnauthorized) IsSuccess() bool

IsSuccess returns true when this restart environment unauthorized response has a 2xx status code

func (*RestartEnvironmentUnauthorized) String

type StartEnvironmentNotFound

type StartEnvironmentNotFound struct {
}

StartEnvironmentNotFound describes a response with status code 404, with default header values.

Not found

func NewStartEnvironmentNotFound

func NewStartEnvironmentNotFound() *StartEnvironmentNotFound

NewStartEnvironmentNotFound creates a StartEnvironmentNotFound with default headers values

func (*StartEnvironmentNotFound) Code

func (o *StartEnvironmentNotFound) Code() int

Code gets the status code for the start environment not found response

func (*StartEnvironmentNotFound) Error

func (o *StartEnvironmentNotFound) Error() string

func (*StartEnvironmentNotFound) IsClientError

func (o *StartEnvironmentNotFound) IsClientError() bool

IsClientError returns true when this start environment not found response has a 4xx status code

func (*StartEnvironmentNotFound) IsCode

func (o *StartEnvironmentNotFound) IsCode(code int) bool

IsCode returns true when this start environment not found response a status code equal to that given

func (*StartEnvironmentNotFound) IsRedirect

func (o *StartEnvironmentNotFound) IsRedirect() bool

IsRedirect returns true when this start environment not found response has a 3xx status code

func (*StartEnvironmentNotFound) IsServerError

func (o *StartEnvironmentNotFound) IsServerError() bool

IsServerError returns true when this start environment not found response has a 5xx status code

func (*StartEnvironmentNotFound) IsSuccess

func (o *StartEnvironmentNotFound) IsSuccess() bool

IsSuccess returns true when this start environment not found response has a 2xx status code

func (*StartEnvironmentNotFound) String

func (o *StartEnvironmentNotFound) String() string

type StartEnvironmentOK

type StartEnvironmentOK struct {
}

StartEnvironmentOK describes a response with status code 200, with default header values.

Environment started ok

func NewStartEnvironmentOK

func NewStartEnvironmentOK() *StartEnvironmentOK

NewStartEnvironmentOK creates a StartEnvironmentOK with default headers values

func (*StartEnvironmentOK) Code

func (o *StartEnvironmentOK) Code() int

Code gets the status code for the start environment o k response

func (*StartEnvironmentOK) Error

func (o *StartEnvironmentOK) Error() string

func (*StartEnvironmentOK) IsClientError

func (o *StartEnvironmentOK) IsClientError() bool

IsClientError returns true when this start environment o k response has a 4xx status code

func (*StartEnvironmentOK) IsCode

func (o *StartEnvironmentOK) IsCode(code int) bool

IsCode returns true when this start environment o k response a status code equal to that given

func (*StartEnvironmentOK) IsRedirect

func (o *StartEnvironmentOK) IsRedirect() bool

IsRedirect returns true when this start environment o k response has a 3xx status code

func (*StartEnvironmentOK) IsServerError

func (o *StartEnvironmentOK) IsServerError() bool

IsServerError returns true when this start environment o k response has a 5xx status code

func (*StartEnvironmentOK) IsSuccess

func (o *StartEnvironmentOK) IsSuccess() bool

IsSuccess returns true when this start environment o k response has a 2xx status code

func (*StartEnvironmentOK) String

func (o *StartEnvironmentOK) String() string

type StartEnvironmentParams

type StartEnvironmentParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// Name of application
	AppName string

	// EnvName.
	//
	// Name of environment
	EnvName string

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

StartEnvironmentParams contains all the parameters to send to the API endpoint

for the start environment operation.

Typically these are written to a http.Request.

func NewStartEnvironmentParams

func NewStartEnvironmentParams() *StartEnvironmentParams

NewStartEnvironmentParams creates a new StartEnvironmentParams 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 NewStartEnvironmentParamsWithContext deprecated

func NewStartEnvironmentParamsWithContext(ctx context.Context) *StartEnvironmentParams

NewStartEnvironmentParamsWithContext creates a new StartEnvironmentParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of StartEnvironmentParams.

func NewStartEnvironmentParamsWithHTTPClient

func NewStartEnvironmentParamsWithHTTPClient(client *http.Client) *StartEnvironmentParams

NewStartEnvironmentParamsWithHTTPClient creates a new StartEnvironmentParams object with the ability to set a custom HTTPClient for a request.

func NewStartEnvironmentParamsWithTimeout

func NewStartEnvironmentParamsWithTimeout(timeout time.Duration) *StartEnvironmentParams

NewStartEnvironmentParamsWithTimeout creates a new StartEnvironmentParams object with the ability to set a timeout on a request.

func (*StartEnvironmentParams) SetAppName

func (o *StartEnvironmentParams) SetAppName(appName string)

SetAppName adds the appName to the start environment params.

func (*StartEnvironmentParams) SetContext deprecated

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

SetContext adds the context to the start environment params.

Deprecated: use the operation call with context to pass the context instead of StartEnvironmentParams.

func (*StartEnvironmentParams) SetDefaults

func (o *StartEnvironmentParams) SetDefaults()

SetDefaults hydrates default values in the start environment params (not the query body).

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

func (*StartEnvironmentParams) SetEnvName

func (o *StartEnvironmentParams) SetEnvName(envName string)

SetEnvName adds the envName to the start environment params.

func (*StartEnvironmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start environment params.

func (*StartEnvironmentParams) SetImpersonateGroup

func (o *StartEnvironmentParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the start environment params.

func (*StartEnvironmentParams) SetImpersonateUser

func (o *StartEnvironmentParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the start environment params.

func (*StartEnvironmentParams) SetTimeout

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

SetTimeout adds the timeout to the start environment params.

func (*StartEnvironmentParams) WithAppName

func (o *StartEnvironmentParams) WithAppName(appName string) *StartEnvironmentParams

WithAppName adds the appName to the start environment params.

func (*StartEnvironmentParams) WithContext deprecated

WithContext adds the context to the start environment params.

Deprecated: use the operation call with context to pass the context instead of StartEnvironmentParams.

func (*StartEnvironmentParams) WithDefaults

WithDefaults hydrates default values in the start environment params (not the query body).

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

func (*StartEnvironmentParams) WithEnvName

func (o *StartEnvironmentParams) WithEnvName(envName string) *StartEnvironmentParams

WithEnvName adds the envName to the start environment params.

func (*StartEnvironmentParams) WithHTTPClient

func (o *StartEnvironmentParams) WithHTTPClient(client *http.Client) *StartEnvironmentParams

WithHTTPClient adds the HTTPClient to the start environment params.

func (*StartEnvironmentParams) WithImpersonateGroup

func (o *StartEnvironmentParams) WithImpersonateGroup(impersonateGroup *string) *StartEnvironmentParams

WithImpersonateGroup adds the impersonateGroup to the start environment params.

func (*StartEnvironmentParams) WithImpersonateUser

func (o *StartEnvironmentParams) WithImpersonateUser(impersonateUser *string) *StartEnvironmentParams

WithImpersonateUser adds the impersonateUser to the start environment params.

func (*StartEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the start environment params.

func (*StartEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type StartEnvironmentReader

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

StartEnvironmentReader is a Reader for the StartEnvironment structure.

func (*StartEnvironmentReader) ReadResponse

func (o *StartEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type StartEnvironmentUnauthorized

type StartEnvironmentUnauthorized struct {
}

StartEnvironmentUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewStartEnvironmentUnauthorized

func NewStartEnvironmentUnauthorized() *StartEnvironmentUnauthorized

NewStartEnvironmentUnauthorized creates a StartEnvironmentUnauthorized with default headers values

func (*StartEnvironmentUnauthorized) Code

Code gets the status code for the start environment unauthorized response

func (*StartEnvironmentUnauthorized) Error

func (*StartEnvironmentUnauthorized) IsClientError

func (o *StartEnvironmentUnauthorized) IsClientError() bool

IsClientError returns true when this start environment unauthorized response has a 4xx status code

func (*StartEnvironmentUnauthorized) IsCode

func (o *StartEnvironmentUnauthorized) IsCode(code int) bool

IsCode returns true when this start environment unauthorized response a status code equal to that given

func (*StartEnvironmentUnauthorized) IsRedirect

func (o *StartEnvironmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this start environment unauthorized response has a 3xx status code

func (*StartEnvironmentUnauthorized) IsServerError

func (o *StartEnvironmentUnauthorized) IsServerError() bool

IsServerError returns true when this start environment unauthorized response has a 5xx status code

func (*StartEnvironmentUnauthorized) IsSuccess

func (o *StartEnvironmentUnauthorized) IsSuccess() bool

IsSuccess returns true when this start environment unauthorized response has a 2xx status code

func (*StartEnvironmentUnauthorized) String

type StopEnvironmentNotFound

type StopEnvironmentNotFound struct {
}

StopEnvironmentNotFound describes a response with status code 404, with default header values.

Not found

func NewStopEnvironmentNotFound

func NewStopEnvironmentNotFound() *StopEnvironmentNotFound

NewStopEnvironmentNotFound creates a StopEnvironmentNotFound with default headers values

func (*StopEnvironmentNotFound) Code

func (o *StopEnvironmentNotFound) Code() int

Code gets the status code for the stop environment not found response

func (*StopEnvironmentNotFound) Error

func (o *StopEnvironmentNotFound) Error() string

func (*StopEnvironmentNotFound) IsClientError

func (o *StopEnvironmentNotFound) IsClientError() bool

IsClientError returns true when this stop environment not found response has a 4xx status code

func (*StopEnvironmentNotFound) IsCode

func (o *StopEnvironmentNotFound) IsCode(code int) bool

IsCode returns true when this stop environment not found response a status code equal to that given

func (*StopEnvironmentNotFound) IsRedirect

func (o *StopEnvironmentNotFound) IsRedirect() bool

IsRedirect returns true when this stop environment not found response has a 3xx status code

func (*StopEnvironmentNotFound) IsServerError

func (o *StopEnvironmentNotFound) IsServerError() bool

IsServerError returns true when this stop environment not found response has a 5xx status code

func (*StopEnvironmentNotFound) IsSuccess

func (o *StopEnvironmentNotFound) IsSuccess() bool

IsSuccess returns true when this stop environment not found response has a 2xx status code

func (*StopEnvironmentNotFound) String

func (o *StopEnvironmentNotFound) String() string

type StopEnvironmentOK

type StopEnvironmentOK struct {
}

StopEnvironmentOK describes a response with status code 200, with default header values.

Environment stopped ok

func NewStopEnvironmentOK

func NewStopEnvironmentOK() *StopEnvironmentOK

NewStopEnvironmentOK creates a StopEnvironmentOK with default headers values

func (*StopEnvironmentOK) Code

func (o *StopEnvironmentOK) Code() int

Code gets the status code for the stop environment o k response

func (*StopEnvironmentOK) Error

func (o *StopEnvironmentOK) Error() string

func (*StopEnvironmentOK) IsClientError

func (o *StopEnvironmentOK) IsClientError() bool

IsClientError returns true when this stop environment o k response has a 4xx status code

func (*StopEnvironmentOK) IsCode

func (o *StopEnvironmentOK) IsCode(code int) bool

IsCode returns true when this stop environment o k response a status code equal to that given

func (*StopEnvironmentOK) IsRedirect

func (o *StopEnvironmentOK) IsRedirect() bool

IsRedirect returns true when this stop environment o k response has a 3xx status code

func (*StopEnvironmentOK) IsServerError

func (o *StopEnvironmentOK) IsServerError() bool

IsServerError returns true when this stop environment o k response has a 5xx status code

func (*StopEnvironmentOK) IsSuccess

func (o *StopEnvironmentOK) IsSuccess() bool

IsSuccess returns true when this stop environment o k response has a 2xx status code

func (*StopEnvironmentOK) String

func (o *StopEnvironmentOK) String() string

type StopEnvironmentParams

type StopEnvironmentParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AppName.
	//
	// Name of application
	AppName string

	// EnvName.
	//
	// Name of environment
	EnvName string

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

StopEnvironmentParams contains all the parameters to send to the API endpoint

for the stop environment operation.

Typically these are written to a http.Request.

func NewStopEnvironmentParams

func NewStopEnvironmentParams() *StopEnvironmentParams

NewStopEnvironmentParams creates a new StopEnvironmentParams 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 NewStopEnvironmentParamsWithContext deprecated

func NewStopEnvironmentParamsWithContext(ctx context.Context) *StopEnvironmentParams

NewStopEnvironmentParamsWithContext creates a new StopEnvironmentParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of StopEnvironmentParams.

func NewStopEnvironmentParamsWithHTTPClient

func NewStopEnvironmentParamsWithHTTPClient(client *http.Client) *StopEnvironmentParams

NewStopEnvironmentParamsWithHTTPClient creates a new StopEnvironmentParams object with the ability to set a custom HTTPClient for a request.

func NewStopEnvironmentParamsWithTimeout

func NewStopEnvironmentParamsWithTimeout(timeout time.Duration) *StopEnvironmentParams

NewStopEnvironmentParamsWithTimeout creates a new StopEnvironmentParams object with the ability to set a timeout on a request.

func (*StopEnvironmentParams) SetAppName

func (o *StopEnvironmentParams) SetAppName(appName string)

SetAppName adds the appName to the stop environment params.

func (*StopEnvironmentParams) SetContext deprecated

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

SetContext adds the context to the stop environment params.

Deprecated: use the operation call with context to pass the context instead of StopEnvironmentParams.

func (*StopEnvironmentParams) SetDefaults

func (o *StopEnvironmentParams) SetDefaults()

SetDefaults hydrates default values in the stop environment params (not the query body).

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

func (*StopEnvironmentParams) SetEnvName

func (o *StopEnvironmentParams) SetEnvName(envName string)

SetEnvName adds the envName to the stop environment params.

func (*StopEnvironmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop environment params.

func (*StopEnvironmentParams) SetImpersonateGroup

func (o *StopEnvironmentParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the stop environment params.

func (*StopEnvironmentParams) SetImpersonateUser

func (o *StopEnvironmentParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the stop environment params.

func (*StopEnvironmentParams) SetTimeout

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

SetTimeout adds the timeout to the stop environment params.

func (*StopEnvironmentParams) WithAppName

func (o *StopEnvironmentParams) WithAppName(appName string) *StopEnvironmentParams

WithAppName adds the appName to the stop environment params.

func (*StopEnvironmentParams) WithContext deprecated

WithContext adds the context to the stop environment params.

Deprecated: use the operation call with context to pass the context instead of StopEnvironmentParams.

func (*StopEnvironmentParams) WithDefaults

func (o *StopEnvironmentParams) WithDefaults() *StopEnvironmentParams

WithDefaults hydrates default values in the stop environment params (not the query body).

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

func (*StopEnvironmentParams) WithEnvName

func (o *StopEnvironmentParams) WithEnvName(envName string) *StopEnvironmentParams

WithEnvName adds the envName to the stop environment params.

func (*StopEnvironmentParams) WithHTTPClient

func (o *StopEnvironmentParams) WithHTTPClient(client *http.Client) *StopEnvironmentParams

WithHTTPClient adds the HTTPClient to the stop environment params.

func (*StopEnvironmentParams) WithImpersonateGroup

func (o *StopEnvironmentParams) WithImpersonateGroup(impersonateGroup *string) *StopEnvironmentParams

WithImpersonateGroup adds the impersonateGroup to the stop environment params.

func (*StopEnvironmentParams) WithImpersonateUser

func (o *StopEnvironmentParams) WithImpersonateUser(impersonateUser *string) *StopEnvironmentParams

WithImpersonateUser adds the impersonateUser to the stop environment params.

func (*StopEnvironmentParams) WithTimeout

func (o *StopEnvironmentParams) WithTimeout(timeout time.Duration) *StopEnvironmentParams

WithTimeout adds the timeout to the stop environment params.

func (*StopEnvironmentParams) WriteToRequest

func (o *StopEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type StopEnvironmentReader

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

StopEnvironmentReader is a Reader for the StopEnvironment structure.

func (*StopEnvironmentReader) ReadResponse

func (o *StopEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type StopEnvironmentUnauthorized

type StopEnvironmentUnauthorized struct {
}

StopEnvironmentUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewStopEnvironmentUnauthorized

func NewStopEnvironmentUnauthorized() *StopEnvironmentUnauthorized

NewStopEnvironmentUnauthorized creates a StopEnvironmentUnauthorized with default headers values

func (*StopEnvironmentUnauthorized) Code

func (o *StopEnvironmentUnauthorized) Code() int

Code gets the status code for the stop environment unauthorized response

func (*StopEnvironmentUnauthorized) Error

func (*StopEnvironmentUnauthorized) IsClientError

func (o *StopEnvironmentUnauthorized) IsClientError() bool

IsClientError returns true when this stop environment unauthorized response has a 4xx status code

func (*StopEnvironmentUnauthorized) IsCode

func (o *StopEnvironmentUnauthorized) IsCode(code int) bool

IsCode returns true when this stop environment unauthorized response a status code equal to that given

func (*StopEnvironmentUnauthorized) IsRedirect

func (o *StopEnvironmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this stop environment unauthorized response has a 3xx status code

func (*StopEnvironmentUnauthorized) IsServerError

func (o *StopEnvironmentUnauthorized) IsServerError() bool

IsServerError returns true when this stop environment unauthorized response has a 5xx status code

func (*StopEnvironmentUnauthorized) IsSuccess

func (o *StopEnvironmentUnauthorized) IsSuccess() bool

IsSuccess returns true when this stop environment unauthorized response has a 2xx status code

func (*StopEnvironmentUnauthorized) String

func (o *StopEnvironmentUnauthorized) String() string

type UpdateEnvironmentAlertingConfigBadRequest

type UpdateEnvironmentAlertingConfigBadRequest struct {
}

UpdateEnvironmentAlertingConfigBadRequest describes a response with status code 400, with default header values.

Invalid configuration

func NewUpdateEnvironmentAlertingConfigBadRequest

func NewUpdateEnvironmentAlertingConfigBadRequest() *UpdateEnvironmentAlertingConfigBadRequest

NewUpdateEnvironmentAlertingConfigBadRequest creates a UpdateEnvironmentAlertingConfigBadRequest with default headers values

func (*UpdateEnvironmentAlertingConfigBadRequest) Code

Code gets the status code for the update environment alerting config bad request response

func (*UpdateEnvironmentAlertingConfigBadRequest) Error

func (*UpdateEnvironmentAlertingConfigBadRequest) IsClientError

IsClientError returns true when this update environment alerting config bad request response has a 4xx status code

func (*UpdateEnvironmentAlertingConfigBadRequest) IsCode

IsCode returns true when this update environment alerting config bad request response a status code equal to that given

func (*UpdateEnvironmentAlertingConfigBadRequest) IsRedirect

IsRedirect returns true when this update environment alerting config bad request response has a 3xx status code

func (*UpdateEnvironmentAlertingConfigBadRequest) IsServerError

IsServerError returns true when this update environment alerting config bad request response has a 5xx status code

func (*UpdateEnvironmentAlertingConfigBadRequest) IsSuccess

IsSuccess returns true when this update environment alerting config bad request response has a 2xx status code

func (*UpdateEnvironmentAlertingConfigBadRequest) String

type UpdateEnvironmentAlertingConfigForbidden

type UpdateEnvironmentAlertingConfigForbidden struct {
}

UpdateEnvironmentAlertingConfigForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateEnvironmentAlertingConfigForbidden

func NewUpdateEnvironmentAlertingConfigForbidden() *UpdateEnvironmentAlertingConfigForbidden

NewUpdateEnvironmentAlertingConfigForbidden creates a UpdateEnvironmentAlertingConfigForbidden with default headers values

func (*UpdateEnvironmentAlertingConfigForbidden) Code

Code gets the status code for the update environment alerting config forbidden response

func (*UpdateEnvironmentAlertingConfigForbidden) Error

func (*UpdateEnvironmentAlertingConfigForbidden) IsClientError

IsClientError returns true when this update environment alerting config forbidden response has a 4xx status code

func (*UpdateEnvironmentAlertingConfigForbidden) IsCode

IsCode returns true when this update environment alerting config forbidden response a status code equal to that given

func (*UpdateEnvironmentAlertingConfigForbidden) IsRedirect

IsRedirect returns true when this update environment alerting config forbidden response has a 3xx status code

func (*UpdateEnvironmentAlertingConfigForbidden) IsServerError

IsServerError returns true when this update environment alerting config forbidden response has a 5xx status code

func (*UpdateEnvironmentAlertingConfigForbidden) IsSuccess

IsSuccess returns true when this update environment alerting config forbidden response has a 2xx status code

func (*UpdateEnvironmentAlertingConfigForbidden) String

type UpdateEnvironmentAlertingConfigInternalServerError

type UpdateEnvironmentAlertingConfigInternalServerError struct {
}

UpdateEnvironmentAlertingConfigInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewUpdateEnvironmentAlertingConfigInternalServerError

func NewUpdateEnvironmentAlertingConfigInternalServerError() *UpdateEnvironmentAlertingConfigInternalServerError

NewUpdateEnvironmentAlertingConfigInternalServerError creates a UpdateEnvironmentAlertingConfigInternalServerError with default headers values

func (*UpdateEnvironmentAlertingConfigInternalServerError) Code

Code gets the status code for the update environment alerting config internal server error response

func (*UpdateEnvironmentAlertingConfigInternalServerError) Error

func (*UpdateEnvironmentAlertingConfigInternalServerError) IsClientError

IsClientError returns true when this update environment alerting config internal server error response has a 4xx status code

func (*UpdateEnvironmentAlertingConfigInternalServerError) IsCode

IsCode returns true when this update environment alerting config internal server error response a status code equal to that given

func (*UpdateEnvironmentAlertingConfigInternalServerError) IsRedirect

IsRedirect returns true when this update environment alerting config internal server error response has a 3xx status code

func (*UpdateEnvironmentAlertingConfigInternalServerError) IsServerError

IsServerError returns true when this update environment alerting config internal server error response has a 5xx status code

func (*UpdateEnvironmentAlertingConfigInternalServerError) IsSuccess

IsSuccess returns true when this update environment alerting config internal server error response has a 2xx status code

func (*UpdateEnvironmentAlertingConfigInternalServerError) String

type UpdateEnvironmentAlertingConfigNotFound

type UpdateEnvironmentAlertingConfigNotFound struct {
}

UpdateEnvironmentAlertingConfigNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateEnvironmentAlertingConfigNotFound

func NewUpdateEnvironmentAlertingConfigNotFound() *UpdateEnvironmentAlertingConfigNotFound

NewUpdateEnvironmentAlertingConfigNotFound creates a UpdateEnvironmentAlertingConfigNotFound with default headers values

func (*UpdateEnvironmentAlertingConfigNotFound) Code

Code gets the status code for the update environment alerting config not found response

func (*UpdateEnvironmentAlertingConfigNotFound) Error

func (*UpdateEnvironmentAlertingConfigNotFound) IsClientError

func (o *UpdateEnvironmentAlertingConfigNotFound) IsClientError() bool

IsClientError returns true when this update environment alerting config not found response has a 4xx status code

func (*UpdateEnvironmentAlertingConfigNotFound) IsCode

IsCode returns true when this update environment alerting config not found response a status code equal to that given

func (*UpdateEnvironmentAlertingConfigNotFound) IsRedirect

IsRedirect returns true when this update environment alerting config not found response has a 3xx status code

func (*UpdateEnvironmentAlertingConfigNotFound) IsServerError

func (o *UpdateEnvironmentAlertingConfigNotFound) IsServerError() bool

IsServerError returns true when this update environment alerting config not found response has a 5xx status code

func (*UpdateEnvironmentAlertingConfigNotFound) IsSuccess

IsSuccess returns true when this update environment alerting config not found response has a 2xx status code

func (*UpdateEnvironmentAlertingConfigNotFound) String

type UpdateEnvironmentAlertingConfigOK

type UpdateEnvironmentAlertingConfigOK struct {
	Payload *models.AlertingConfig
}

UpdateEnvironmentAlertingConfigOK describes a response with status code 200, with default header values.

Successful alerts config update

func NewUpdateEnvironmentAlertingConfigOK

func NewUpdateEnvironmentAlertingConfigOK() *UpdateEnvironmentAlertingConfigOK

NewUpdateEnvironmentAlertingConfigOK creates a UpdateEnvironmentAlertingConfigOK with default headers values

func (*UpdateEnvironmentAlertingConfigOK) Code

Code gets the status code for the update environment alerting config o k response

func (*UpdateEnvironmentAlertingConfigOK) Error

func (*UpdateEnvironmentAlertingConfigOK) GetPayload

func (*UpdateEnvironmentAlertingConfigOK) IsClientError

func (o *UpdateEnvironmentAlertingConfigOK) IsClientError() bool

IsClientError returns true when this update environment alerting config o k response has a 4xx status code

func (*UpdateEnvironmentAlertingConfigOK) IsCode

func (o *UpdateEnvironmentAlertingConfigOK) IsCode(code int) bool

IsCode returns true when this update environment alerting config o k response a status code equal to that given

func (*UpdateEnvironmentAlertingConfigOK) IsRedirect

func (o *UpdateEnvironmentAlertingConfigOK) IsRedirect() bool

IsRedirect returns true when this update environment alerting config o k response has a 3xx status code

func (*UpdateEnvironmentAlertingConfigOK) IsServerError

func (o *UpdateEnvironmentAlertingConfigOK) IsServerError() bool

IsServerError returns true when this update environment alerting config o k response has a 5xx status code

func (*UpdateEnvironmentAlertingConfigOK) IsSuccess

func (o *UpdateEnvironmentAlertingConfigOK) IsSuccess() bool

IsSuccess returns true when this update environment alerting config o k response has a 2xx status code

func (*UpdateEnvironmentAlertingConfigOK) String

type UpdateEnvironmentAlertingConfigParams

type UpdateEnvironmentAlertingConfigParams struct {

	// ImpersonateGroup.
	//
	// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
	ImpersonateGroup *string

	// ImpersonateUser.
	//
	// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	ImpersonateUser *string

	// AlertsConfig.
	//
	// Alerts configuration
	AlertsConfig *models.UpdateAlertingConfig

	// AppName.
	//
	// Name of application
	AppName string

	// EnvName.
	//
	// Name of environment
	EnvName string

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

UpdateEnvironmentAlertingConfigParams contains all the parameters to send to the API endpoint

for the update environment alerting config operation.

Typically these are written to a http.Request.

func NewUpdateEnvironmentAlertingConfigParams

func NewUpdateEnvironmentAlertingConfigParams() *UpdateEnvironmentAlertingConfigParams

NewUpdateEnvironmentAlertingConfigParams creates a new UpdateEnvironmentAlertingConfigParams 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 NewUpdateEnvironmentAlertingConfigParamsWithContext deprecated

func NewUpdateEnvironmentAlertingConfigParamsWithContext(ctx context.Context) *UpdateEnvironmentAlertingConfigParams

NewUpdateEnvironmentAlertingConfigParamsWithContext creates a new UpdateEnvironmentAlertingConfigParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of UpdateEnvironmentAlertingConfigParams.

func NewUpdateEnvironmentAlertingConfigParamsWithHTTPClient

func NewUpdateEnvironmentAlertingConfigParamsWithHTTPClient(client *http.Client) *UpdateEnvironmentAlertingConfigParams

NewUpdateEnvironmentAlertingConfigParamsWithHTTPClient creates a new UpdateEnvironmentAlertingConfigParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateEnvironmentAlertingConfigParamsWithTimeout

func NewUpdateEnvironmentAlertingConfigParamsWithTimeout(timeout time.Duration) *UpdateEnvironmentAlertingConfigParams

NewUpdateEnvironmentAlertingConfigParamsWithTimeout creates a new UpdateEnvironmentAlertingConfigParams object with the ability to set a timeout on a request.

func (*UpdateEnvironmentAlertingConfigParams) SetAlertsConfig

func (o *UpdateEnvironmentAlertingConfigParams) SetAlertsConfig(alertsConfig *models.UpdateAlertingConfig)

SetAlertsConfig adds the alertsConfig to the update environment alerting config params.

func (*UpdateEnvironmentAlertingConfigParams) SetAppName

func (o *UpdateEnvironmentAlertingConfigParams) SetAppName(appName string)

SetAppName adds the appName to the update environment alerting config params.

func (*UpdateEnvironmentAlertingConfigParams) SetContext deprecated

SetContext adds the context to the update environment alerting config params.

Deprecated: use the operation call with context to pass the context instead of UpdateEnvironmentAlertingConfigParams.

func (*UpdateEnvironmentAlertingConfigParams) SetDefaults

func (o *UpdateEnvironmentAlertingConfigParams) SetDefaults()

SetDefaults hydrates default values in the update environment alerting config params (not the query body).

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

func (*UpdateEnvironmentAlertingConfigParams) SetEnvName

func (o *UpdateEnvironmentAlertingConfigParams) SetEnvName(envName string)

SetEnvName adds the envName to the update environment alerting config params.

func (*UpdateEnvironmentAlertingConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update environment alerting config params.

func (*UpdateEnvironmentAlertingConfigParams) SetImpersonateGroup

func (o *UpdateEnvironmentAlertingConfigParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the update environment alerting config params.

func (*UpdateEnvironmentAlertingConfigParams) SetImpersonateUser

func (o *UpdateEnvironmentAlertingConfigParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the update environment alerting config params.

func (*UpdateEnvironmentAlertingConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update environment alerting config params.

func (*UpdateEnvironmentAlertingConfigParams) WithAlertsConfig

WithAlertsConfig adds the alertsConfig to the update environment alerting config params.

func (*UpdateEnvironmentAlertingConfigParams) WithAppName

WithAppName adds the appName to the update environment alerting config params.

func (*UpdateEnvironmentAlertingConfigParams) WithContext deprecated

WithContext adds the context to the update environment alerting config params.

Deprecated: use the operation call with context to pass the context instead of UpdateEnvironmentAlertingConfigParams.

func (*UpdateEnvironmentAlertingConfigParams) WithDefaults

WithDefaults hydrates default values in the update environment alerting config params (not the query body).

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

func (*UpdateEnvironmentAlertingConfigParams) WithEnvName

WithEnvName adds the envName to the update environment alerting config params.

func (*UpdateEnvironmentAlertingConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update environment alerting config params.

func (*UpdateEnvironmentAlertingConfigParams) WithImpersonateGroup

func (o *UpdateEnvironmentAlertingConfigParams) WithImpersonateGroup(impersonateGroup *string) *UpdateEnvironmentAlertingConfigParams

WithImpersonateGroup adds the impersonateGroup to the update environment alerting config params.

func (*UpdateEnvironmentAlertingConfigParams) WithImpersonateUser

WithImpersonateUser adds the impersonateUser to the update environment alerting config params.

func (*UpdateEnvironmentAlertingConfigParams) WithTimeout

WithTimeout adds the timeout to the update environment alerting config params.

func (*UpdateEnvironmentAlertingConfigParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type UpdateEnvironmentAlertingConfigReader

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

UpdateEnvironmentAlertingConfigReader is a Reader for the UpdateEnvironmentAlertingConfig structure.

func (*UpdateEnvironmentAlertingConfigReader) ReadResponse

func (o *UpdateEnvironmentAlertingConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type UpdateEnvironmentAlertingConfigUnauthorized

type UpdateEnvironmentAlertingConfigUnauthorized struct {
}

UpdateEnvironmentAlertingConfigUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUpdateEnvironmentAlertingConfigUnauthorized

func NewUpdateEnvironmentAlertingConfigUnauthorized() *UpdateEnvironmentAlertingConfigUnauthorized

NewUpdateEnvironmentAlertingConfigUnauthorized creates a UpdateEnvironmentAlertingConfigUnauthorized with default headers values

func (*UpdateEnvironmentAlertingConfigUnauthorized) Code

Code gets the status code for the update environment alerting config unauthorized response

func (*UpdateEnvironmentAlertingConfigUnauthorized) Error

func (*UpdateEnvironmentAlertingConfigUnauthorized) IsClientError

IsClientError returns true when this update environment alerting config unauthorized response has a 4xx status code

func (*UpdateEnvironmentAlertingConfigUnauthorized) IsCode

IsCode returns true when this update environment alerting config unauthorized response a status code equal to that given

func (*UpdateEnvironmentAlertingConfigUnauthorized) IsRedirect

IsRedirect returns true when this update environment alerting config unauthorized response has a 3xx status code

func (*UpdateEnvironmentAlertingConfigUnauthorized) IsServerError

IsServerError returns true when this update environment alerting config unauthorized response has a 5xx status code

func (*UpdateEnvironmentAlertingConfigUnauthorized) IsSuccess

IsSuccess returns true when this update environment alerting config unauthorized response has a 2xx status code

func (*UpdateEnvironmentAlertingConfigUnauthorized) String

Source Files

Jump to

Keyboard shortcuts

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